:root {
    color-scheme: light;
    --night: #081225;
    --night-soft: #101e34;
    --ink: #142136;
    --muted: #536078;
    --accent: #ff9552;
    --paper: #f7f8fc;
    --border: #dce2ed;
    --type: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--type); color: var(--ink); background: var(--paper); }
body.page-home { display: flex; flex-direction: column; min-height: 100dvh; background: var(--night); }
.page-home main { display: flex; flex: 1; }
.page-home .hero { display: flex; flex: 1; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #528bff; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; left: 16px; top: 10px; padding: 8px 16px; background: white; color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.top { position: relative; z-index: 1; background: var(--night); color: #f7f9ff; border-bottom: 1px solid #ffffff20; }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { display: block; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 19px; line-height: 1.25; }
.brand small { margin-top: 2px; font-size: 11px; letter-spacing: .1em; color: #b6c2d6; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 4vw, 48px); color: #dce5f5; font-size: 14px; }
.top nav a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; transition: background .18s, border-color .18s; }
.button.primary { background: var(--accent); color: var(--night); }
.button.primary:hover { background: #ffae78; }
.button.outline { color: #f7f9ff; background: #101b2fc9; border-color: #a3b8e65e; }
.button.outline:hover { background: #223554; border-color: #aac4f4; }
.top-action { min-height: 42px; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: var(--night); }
.hero::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, #081225 6%, #081225 26%, #081225be 44%, transparent 68%), linear-gradient(0deg, #081225 0%, transparent 18%); }
.hero-art { position: absolute; z-index: -2; right: 0; top: 50%; transform: translateY(-50%); width: min(78%, 1450px); height: auto; }
.hero-inner { display: grid; align-content: center; justify-items: start; min-height: clamp(420px, 42vw, 620px); padding-block: 64px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #214c8d; font-weight: 750; font-size: 13px; letter-spacing: .16em; }
.hero .eyebrow { color: #ffae78; }
.eyebrow i, .capabilities i { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hero h1 { margin: 0; font-size: clamp(40px, 5.5vw, 76px); line-height: 1.12; letter-spacing: -.075em; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 460px; color: #d1daed; font-size: clamp(15px, 1.4vw, 19px); }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.capability-bar { background: #0f1d34; border-block: 1px solid #ffffff24; color: #dbe6fb; }
.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); }
.capabilities span { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 23px 12px; text-align: center; font-size: 14px; }
.capabilities span + span { border-left: 1px solid #ffffff24; }
.capabilities i { width: 5px; height: 5px; background: #ff9552; }
.solutions, .faq { padding-block: clamp(66px, 8vw, 115px); }
.section-head h2 { margin-top: 12px; font-size: clamp(31px, 4.2vw, 58px); line-height: 1.2; letter-spacing: -.055em; }
.cards { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { min-width: 0; padding: clamp(26px, 4vw, 58px); border-radius: 12px; border: 1px solid var(--border); background: white; }
.card.buyer { background: #eaf1ff; border-color: #d7e3fa; }
.card.publisher { background: #fff4e9; border-color: #f3e2d3; }
.card-tag { color: #335582; font-size: 11px; font-weight: 750; letter-spacing: .14em; }
.publisher .card-tag { color: #84431a; }
.card h3 { margin: 11px 0 10px; font-size: clamp(23px, 2.6vw, 37px); line-height: 1.3; }
.card > p:not(.card-tag) { max-width: 390px; color: var(--muted); }
.card a { display: inline-flex; gap: 12px; margin-top: 24px; font-weight: 750; border-bottom: 1px solid currentColor; }
.card a:hover { color: #214c8d; }
.workflow { background: #eaf0fa; padding-block: clamp(56px, 7vw, 92px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { border-top: 1px solid #adbcd4; padding: 22px 24px 0 0; counter-increment: step; }
.steps li::before { display: block; margin-bottom: 10px; color: #315485; content: "0" counter(step); font: 700 13px/1.5 var(--type); }
.steps strong { font-size: 18px; }
.steps p, .questions p { color: var(--muted); }
.faq { display: grid; grid-template-columns: minmax(245px, .82fr) 1.18fr; gap: clamp(24px, 7vw, 96px); }
.questions details { border-top: 1px solid var(--border); }
.questions details:last-child { border-bottom: 1px solid var(--border); }
.questions summary { padding: 18px 0; font-weight: 750; cursor: pointer; }
.questions p { padding: 0 0 20px; }
.footer { color: white; background: var(--night); }
.footer-inner { min-height: 108px; }
.footer-inner > small { color: #b6c2d6; }
@media (max-width: 850px) {
    .wrap { width: calc(100% - 48px); }
    .hero-art { width: 106%; right: -25%; }
    .hero::after { background: linear-gradient(90deg, #081225 2%, #081225cf 36%, #08122512 85%), linear-gradient(0deg, #081225 0%, transparent 21%); }
}
@media (max-width: 620px) {
    .wrap { width: calc(100% - 36px); }
    .top-inner { flex-wrap: wrap; padding-block: 14px 10px; gap: 14px 8px; }
    .top nav { order: 3; width: 100%; justify-content: flex-start; border-top: 1px solid #ffffff24; padding-top: 8px; gap: 24px; }
    .top nav a { padding-block: 4px; }
    .top-action { padding-inline: 12px; gap: 6px; }
    .hero-inner { min-height: 500px; align-content: start; padding-block: 48px 230px; }
    .hero h1 { font-size: clamp(40px, 10vw, 60px); }
    .hero-art { top: auto; bottom: -4%; right: -13%; width: 118%; max-height: 63%; object-fit: contain; object-position: center bottom; transform: none; }
    .hero::after { background: linear-gradient(180deg, #081225 26%, #081225b0 54%, transparent 83%, #081225 100%); }
    .capabilities { grid-template-columns: 1fr 1fr; }
    .capabilities span { padding: 13px 4px; font-size: 12px; }
    .capabilities span:nth-child(3) { border-left: 0; }
    .capabilities span:nth-child(n+3) { border-top: 1px solid #ffffff24; }
    .cards, .steps, .faq { grid-template-columns: 1fr; }
    .steps li { padding-bottom: 16px; }
    .footer-inner { flex-wrap: wrap; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Expanded public homepage; shared portal/login styles remain scoped out. */
body.page-home { background: var(--paper); }
.page-home main { display: block; }
.page-home section[id] { scroll-margin-top: 24px; }
.page-home h1, .page-home h2, .page-home h3 { text-wrap: balance; }
.page-home .hero h1 { margin-block: 22px; font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -.045em; }
.page-home .hero-copy { max-width: 510px; }
.page-home .hero-note { margin-top: 24px; font-size: 13px; color: #c0cde2; }
.page-home .section-space { padding-block: clamp(64px, 7vw, 96px); }
.page-home .section-description { margin-top: 20px; color: var(--muted); max-width: 670px; }
.page-home .section-head h2 { letter-spacing: -.035em; }
.page-home .platform-overview { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 86px); }
.page-home .intro { font-size: 19px; line-height: 1.85; }
.page-home .overview-copy > p + p { margin-top: 18px; color: var(--muted); }
.page-home .overview-copy .overview-note { border-top: 1px solid var(--border); padding-top: 22px; color: #214c8d; }
.page-home .solutions { padding-block: clamp(64px, 7vw, 96px); border-block: 1px solid var(--border); background: #eef2f8; }
.page-home .card { padding: clamp(26px, 3.2vw, 44px); }
.page-home .card > p:not(.card-tag) { max-width: none; }
.page-home .service-list { list-style: none; margin: 26px 0 0; padding: 0; }
.page-home .service-list li { border-top: 1px solid #b7c6de80; padding-block: 15px; }
.page-home .service-list strong, .page-home .service-list span { display: block; }
.page-home .service-list span { color: var(--muted); margin-top: 4px; font-size: 14px; }
.page-home .format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.page-home .format-grid article { border-top: 2px solid #315485; padding-top: 24px; }
.page-home .card-number { font-size: 12px; letter-spacing: .06em; color: #315485; font-weight: 750; }
.page-home .format-grid h3 { margin-block: 18px 12px; font-size: 25px; }
.page-home .format-grid p { color: var(--muted); }
.page-home .billing { background: var(--night); color: #f7f9ff; }
.page-home .billing .eyebrow { color: #ffae78; }
.page-home .billing .section-description { color: #bfcee4; }
.page-home .billing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.page-home .billing-grid article { min-width: 0; border: 1px solid #ffffff30; border-radius: 8px; padding: 24px 20px; background: #ffffff05; }
.page-home .billing-grid article > span { font-size: 12px; color: #a9bcd6; }
.page-home .billing-grid h3 { color: #ffae78; font-size: 32px; margin-block: 18px 8px; }
.page-home .billing-grid strong { display: block; font-size: 14px; }
.page-home .billing-grid p { color: #c4d0e2; font-size: 14px; margin-top: 12px; }
.page-home .billing-note { margin-top: 24px; font-size: 13px; color: #bfcee4; }
.page-home .workflow-path { margin-top: 40px; }
.page-home .workflow-path h3 { font-size: 21px; }
.page-home .workflow-path + .workflow-path { margin-top: 46px; }
.page-home .steps { margin-top: 22px; gap: 24px; }
.page-home .steps li { padding-right: 0; }
.page-home .steps p { margin-top: 8px; }
.page-home .questions summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 21px 2px; }
.page-home .questions summary::-webkit-details-marker { display: none; }
.page-home .questions summary::after { content: "+"; color: #315485; font-size: 23px; line-height: 1; flex: 0 0 20px; text-align: center; }
.page-home .questions details[open] summary::after { content: "−"; }
.page-home .questions summary:hover { color: #214c8d; }
.page-home .questions p { padding: 0 28px 24px 2px; overflow-wrap: anywhere; }
.page-home .join { background: #132540; color: white; padding-block: 60px; border-bottom: 1px solid #ffffff24; }
.page-home .join .eyebrow { color: #ffae78; }
.page-home .join-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.page-home .join h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.3; margin-block: 12px; }
.page-home .join p:not(.eyebrow) { color: #c4d0e2; }
.page-home .join .actions { margin-top: 0; }
.page-home .footer nav { display: flex; flex-wrap: wrap; gap: 14px 24px; color: #c4d0e2; font-size: 13px; }
.page-home .footer nav a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 621px) and (max-width: 1050px) {
    .page-home .top-inner { flex-wrap: wrap; padding-block: 16px; }
    .page-home .top nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid #ffffff24; padding-top: 12px; }
    .page-home .billing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 850px) {
    .page-home .platform-overview, .page-home .faq { grid-template-columns: 1fr; }
    .page-home .join-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
    .page-home .top nav { gap: 12px; justify-content: space-between; font-size: 13px; }
    .page-home .brand { gap: 8px; }
    .page-home .brand strong { font-size: 17px; }
    .page-home .top .brand img { width: 36px; height: 36px; }
    .page-home .hero-inner { padding-bottom: 260px; }
    .page-home .hero-art { max-height: 50%; }
    .page-home .hero h1 { font-size: clamp(38px, 10vw, 60px); }
    .page-home .format-grid { grid-template-columns: 1fr; gap: 30px; }
    .page-home .billing-grid { grid-template-columns: 1fr 1fr; }
    .page-home .billing-grid article:last-child { grid-column: 1 / -1; }
    .page-home .billing-grid article { padding: 20px 16px; }
    .page-home .steps { gap: 0; }
}

.trc-support{padding:28px;border:1px solid #d7e0ea;border-left:4px solid #ee7b2d;border-radius:12px;background:#f4f7fb;overflow-wrap:anywhere}.trc-support h3{font-size:24px;margin:0 0 16px}.trc-support p{line-height:1.8}.trc-support a{display:block;margin:10px 0;color:#254c78}
