:root {
    --ink: #101712;
    --muted: #667168;
    --paper: #f5f4ee;
    --white: #ffffff;
    --forest: #0a1710;
    --forest-soft: #12271a;
    --green: #267a50;
    --lime: #d5f38e;
    --rule: rgba(16, 23, 18, .18);
    --light-rule: rgba(255, 255, 255, .2);
    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 750; line-height: 1.06; letter-spacing: -.055em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.section { padding: clamp(88px, 10vw, 144px) 0; }
section[id] { scroll-margin-top: 80px; }
.section-copy { max-width: 570px; }
.section-eyebrow { margin-bottom: 18px; color: var(--green); font-size: 12px; font-weight: 760; letter-spacing: .1em; }
.section-title { margin-bottom: 22px; font-size: clamp(44px, 5vw, 72px); }
.section-desc { color: var(--muted); font-size: 17px; line-height: 1.76; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; min-height: 72px; border-bottom: 1px solid rgba(213,243,142,.28); background: rgba(12,31,20,.84); backdrop-filter: blur(14px); }
.nav.scrolled { background: rgba(10,28,18,.96); }
.nav-inner { width: min(100% - 48px, 1200px); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 780; text-decoration: none; }
.nav-logo img { border-radius: 9px; }
.nav-logo-text { font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: rgba(255,255,255,.76); font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: var(--lime); }
.nav-cta { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; color: var(--forest) !important; background: var(--lime); font-weight: 700; }
.nav-mobile-toggle, .mobile-menu-close { display: none; border: 0; color: #fff; background: transparent; }
.mobile-menu { position: fixed; inset: 0; z-index: 30; display: grid; place-content: center; gap: 24px; visibility: hidden; opacity: 0; background: var(--forest); transition: .2s; }
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu a { color: #fff; font-size: 26px; font-weight: 700; text-align: center; text-decoration: none; }

/* Hero */
.hero { position: relative; min-height: 800px; overflow: hidden; padding: 136px 0 156px; color: #fff; background: var(--forest); }
.hero-art, .hero-art-overlay { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; filter: brightness(1.03) saturate(.96) contrast(1.02); }
.hero-art-overlay { background: linear-gradient(90deg, rgba(4,13,8,.72) 0%, rgba(4,13,8,.64) 34%, rgba(4,13,8,.14) 64%, rgba(4,13,8,.08) 100%); }
.hero-grid, .match-evidence { position: relative; z-index: 1; }
.hero-content { max-width: 635px; padding-top: 68px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--lime); font-size: 12px; font-weight: 760; letter-spacing: .1em; }
.hero-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero-title { margin-bottom: 22px; font-size: clamp(58px, 6.1vw, 88px); }
.hero-description { max-width: 510px; margin-bottom: 32px; color: rgba(255,255,255,.86); font-size: 17px; }
.hero-actions, .final-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; border-radius: 999px; font-weight: 740; text-decoration: none; }
.btn-primary, .btn-lime { color: var(--forest); background: var(--lime); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.match-evidence { position: absolute; right: 0; bottom: 0; left: 0; min-height: 120px; display: grid; grid-template-columns: .72fr 1.75fr auto; align-items: center; gap: 34px; color: #fff; border-top: 1px solid rgba(255,255,255,.24); background: rgba(7,35,48,.84); box-shadow: 0 0 0 100vmax rgba(7,35,48,.84); clip-path: inset(0 -100vmax); backdrop-filter: blur(5px); }
.match-evidence strong, .match-evidence span { display: block; }
.match-evidence strong { margin-bottom: 4px; font-size: 14px; }
.match-evidence span { color: rgba(255,255,255,.62); font-size: 13px; }
.match-evidence-finding { padding-left: 34px; border-left: 1px solid var(--light-rule); }
.match-evidence-link { color: var(--lime); font-weight: 700; text-decoration: none; }
.match-evidence-link::after, .text-link::after { content: ' →'; }

/* Product proof */
.highlight-stage { background: var(--paper); }
.highlight-stage-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .7fr); align-items: center; gap: clamp(48px, 8vw, 112px); }
.highlight-product-proof { min-height: 510px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 22px; border-bottom: 1px solid var(--rule); }
.highlight-product-proof picture { width: 236px; }
.highlight-product-proof img { border: 6px solid var(--ink); border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -18px 44px rgba(16,23,18,.1); }
.highlight-match-meta { width: 100%; display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); }
.highlight-match-meta dt { margin-bottom: 5px; color: #778177; font-size: 11px; }
.highlight-match-meta dd { color: #303a33; font-size: 12px; line-height: 1.45; }

/* Analysis */
.analysis-section { color: #fff; background: var(--forest); }
.analysis-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); align-items: center; gap: clamp(54px, 9vw, 132px); }
.analysis-layout .section-copy { order: 1; }
.analysis-section .section-eyebrow { display: inline-flex; padding: 5px 11px; border: 1px solid rgba(213,243,142,.62); border-radius: 999px; color: var(--lime); }
.analysis-section .section-title { color: #fff; }
.analysis-section .section-desc { color: rgba(255,255,255,.64); }
.analysis-visual { order: 2; display: flex; justify-content: flex-end; }
.analysis-device { width: 292px; padding: 7px; border-radius: 42px; background: #080d0a; }
.analysis-device img { border-radius: 34px; }
.analysis-points { margin: 36px 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--light-rule); }
.analysis-points li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--light-rule); }
.analysis-points li > span, .text-link { color: var(--lime); font-size: 12px; font-weight: 760; letter-spacing: .08em; text-decoration: none; }
.analysis-points strong { display: block; margin-bottom: 3px; }
.analysis-points p { color: rgba(255,255,255,.58); font-size: 14px; }

/* Coach */
.coach-stage { background: var(--paper); }
.coach-layout { display: grid; grid-template-columns: minmax(0,.84fr) minmax(500px,1.16fr); align-items: start; gap: clamp(58px,9vw,136px); }
.coach-stage .section-title { max-width: 560px; font-size: clamp(46px,4.7vw,68px); }
.coach-boundary { margin-top: 22px; color: var(--muted); font-size: 13px; }
.coach-example { padding: 4px 0; border-width: 1px 0; border-style: solid; border-color: var(--rule); }
.coach-example-label { margin-bottom: 2px; color: var(--green); font-size: 11px; font-weight: 760; letter-spacing: .1em; }
.coach-turn { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 20px 0; }
.coach-turn + .coach-turn { border-top: 1px solid var(--rule); }
.coach-turn span { color: var(--green); font-size: 13px; font-weight: 750; }
.coach-turn p { color: #2a342d; }
.coach-answer strong { color: var(--ink); }
.coach-final { padding-left: 20px; border-left: 2px solid var(--green); }

/* Social and process */
.next-match-section { background: #e9eee8; }
.next-match-heading { max-width: 680px; margin-bottom: 58px; }
.next-match-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; }
.next-match-proof { min-height: 450px; display: grid; grid-template-columns: 1fr 210px; align-items: end; padding: 34px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.next-match-copy > span { display: block; margin-bottom: 14px; color: var(--green); font-size: 12px; font-weight: 750; }
.next-match-copy h3 { margin-bottom: 12px; font-size: 26px; }
.next-match-copy p, .next-match-boundary { color: var(--muted); font-size: 14px; }
.next-match-proof picture { width: 190px; justify-self: end; }
.next-match-proof img { border: 6px solid var(--ink); border-radius: 28px; }
.next-match-boundary { margin-top: 26px; }
.trust-section { background: var(--white); }
.trust-intro { display: grid; grid-template-columns: minmax(300px,.76fr) minmax(480px,1.24fr); gap: clamp(54px,9vw,140px); margin-bottom: 96px; }
.trust-title { max-width: 430px; margin-bottom: 20px; font-size: clamp(46px,4.7vw,68px); }
.trust-title span { color: var(--green); }
.trust-lede { max-width: 410px; color: var(--muted); }
.process-path { margin: 0; padding: 0; list-style: none; }
.process-path li { display: grid; grid-template-columns: 48px minmax(140px,.85fr) minmax(0,1.2fr); align-items: center; gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); }
.process-path li:last-child { border-bottom: 1px solid var(--rule); }
.process-index { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-size: 12px; font-weight: 800; }
.process-path strong { font-size: 21px; }
.process-path p { color: var(--muted); font-size: 14px; }
.faq-list { max-width: 860px; display: grid; gap: 0; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--green); font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { max-width: 680px; padding: 0 0 22px; color: var(--muted); font-size: 14px; }

.final-cta { color: #fff; background: var(--forest); text-align: center; }
.final-cta-inner { max-width: 780px; }
.final-cta .section-eyebrow { color: var(--lime); }
.final-cta-inner > p { margin-bottom: 28px; color: rgba(255,255,255,.66); font-size: 17px; }
.final-cta-actions { justify-content: center; }
.final-cta small { display: block; margin-top: 20px; color: rgba(255,255,255,.45); }
.footer { padding: 70px 0 28px; background: #f0f1eb; }
.footer-inner { display: grid; grid-template-columns: 1.35fr .8fr 1.05fr 1fr; gap: 48px; }
.footer .nav-logo { color: var(--ink); }
.footer-brand p, .footer-links a, .footer-bottom { color: var(--muted); font-size: 14px; }
.footer-brand p { margin-top: 14px; }
.footer-links, .footer-social { display: grid; align-content: start; gap: 9px; }
.footer-heading { min-height: 22px; margin-bottom: 6px; color: var(--green); font-size: 13px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a, .footer-social-row { min-height: 30px; display: flex; align-items: center; }
.footer-social { position: relative; }
.footer-social-row { width: 100%; gap: 10px; color: var(--ink); font-size: 14px; text-align: left; text-decoration: none; }
.footer-social-row picture { width: 18px; height: 18px; display: block; flex: 0 0 18px; }
.footer-social-icon { width: 18px; height: 18px; display: block; object-fit: contain; }
.footer-social-row .footer-external-icon { width: 14px; height: 14px; margin-left: auto; flex-basis: 14px; }
.footer-external-icon img { width: 14px; height: 14px; display: block; }
.footer-social-details { position: relative; padding-top: 8px; border-top: 1px solid var(--rule); }
.footer-social-details summary { min-height: 44px; cursor: pointer; list-style: none; }
.footer-social-details summary::-webkit-details-marker { display: none; }
.footer-social-label { display: grid; gap: 3px; }
.footer-social-label small { color: var(--muted); font-size: 12px; }
.footer-qr-popover {
    width: 228px;
    position: absolute;
    right: 0;
    bottom: calc(100% + 70px);
    z-index: 3;
    padding: 20px;
    display: grid;
    gap: 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(16,23,18,.1);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(6,23,15,.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.footer-qr-popover::after {
    content: '';
    width: 12px;
    height: 12px;
    position: absolute;
    right: 34px;
    bottom: -7px;
    background: #fff;
    border-right: 1px solid rgba(16,23,18,.1);
    border-bottom: 1px solid rgba(16,23,18,.1);
    transform: rotate(45deg);
}
.footer-qr-popover strong { font-size: 15px; }
.footer-qr-popover picture, .footer-qr-popover img { width: 100%; display: block; }
.footer-qr-popover small { color: var(--muted); font-size: 12px; text-align: center; }
.footer-social-details[open] .footer-qr-popover,
.footer-social-details:hover .footer-qr-popover,
.footer-social-details:focus-within .footer-qr-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.footer-social-row:hover, .footer-social-row:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--green); }
.footer-bottom { margin-top: 48px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; border-top: 1px solid var(--rule); font-size: 12px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.beian-link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.beian-link picture { display: block; flex: 0 0 13px; }
.beian-badge { width: 13px; height: 14px; }

/* TestFlight */
.testflight-page { color: #fff; background: var(--forest); }
.testflight-nav { width: min(100% - 48px,1200px); min-height: 74px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.testflight-back { color: rgba(255,255,255,.65); font-size: 14px; text-decoration: none; }
.testflight-hero { min-height: 420px; display: grid; place-items: center; padding: 70px 24px; text-align: center; background: var(--forest-soft); }
.testflight-hero-inner { max-width: 700px; }
.testflight-hero h1 { margin-bottom: 20px; font-size: clamp(52px,7vw,88px); }
.testflight-hero em { color: var(--lime); font-style: normal; }
.testflight-hero p { color: rgba(255,255,255,.68); font-size: 17px; }
.testflight-steps { padding: 86px 24px; color: var(--ink); background: var(--paper); }
.testflight-section-heading { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.testflight-section-heading h2 { margin-bottom: 14px; font-size: clamp(38px,5vw,62px); }
.testflight-section-heading p { color: var(--muted); }
.testflight-step-grid { width: min(100%,1120px); margin: auto; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--rule); }
.testflight-step { min-height: 250px; padding: 28px; border-bottom: 1px solid var(--rule); }
.testflight-step + .testflight-step { border-left: 1px solid var(--rule); }
.testflight-step > span { display: block; margin-bottom: 32px; color: var(--green); font-size: 12px; font-weight: 800; }
.testflight-step h3 { margin-bottom: 12px; font-size: 24px; }
.testflight-step p { color: var(--muted); font-size: 14px; }
.testflight-step-note { margin-top: 20px; color: var(--green); font-size: 12px; font-weight: 700; }
.testflight-main-cta { display: flex; width: fit-content; margin: 36px auto 0; }
.testflight-short-note { margin-top: 20px; color: var(--muted); font-size: 13px; text-align: center; }
.testflight-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px max(24px,calc((100% - 1120px)/2)); color: rgba(255,255,255,.55); font-size: 13px; }
.testflight-footer a { color: inherit; text-decoration: none; }

@media (max-width: 1100px) {
    .footer-inner { grid-template-columns: 1.2fr 1fr; gap: 40px 64px; }
}

@media (max-width: 768px) {
    .container { width: min(100% - 36px,1240px); }
    .section { padding: 78px 0; }
    .nav-inner { width: min(100% - 36px,1200px); }
    .nav-links { display: none; }
    .nav-mobile-toggle { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
    .mobile-menu-close { position: absolute; top: 18px; right: 18px; display: block; }
    .hero { min-height: 700px; padding: 108px 0 170px; }
    .hero-art img { object-position: 66% center; filter: brightness(.9) saturate(.9) contrast(1.02); }
    .hero-art-overlay { background: linear-gradient(90deg, rgba(4,13,8,.76) 0%, rgba(4,13,8,.66) 46%, rgba(4,13,8,.28) 100%); }
    .hero-content { max-width: 330px; padding-top: 44px; }
    .hero-title { font-size: clamp(51px,13vw,66px); }
    .hero-description { max-width: 310px; font-size: 16px; }
    .match-evidence { min-height: 154px; grid-template-columns: 1fr; gap: 9px; padding: 17px 0; }
    .match-evidence-finding { padding: 0; border: 0; }
    .match-evidence span { max-width: calc(100% - 85px); font-size: 12px; }
    .match-evidence-link { position: absolute; right: 0; bottom: 18px; }
    .highlight-stage-inner, .analysis-layout, .coach-layout, .next-match-layout, .trust-intro { grid-template-columns: 1fr; gap: 40px; }
    .section-title, .coach-stage .section-title, .trust-title { font-size: clamp(42px,11vw,54px); }
    .highlight-product-proof { min-height: 470px; }
    .highlight-product-proof picture { width: 202px; }
    .highlight-match-meta { gap: 9px; }
    .highlight-match-meta dt { font-size: 10px; }
    .highlight-match-meta dd { font-size: 11px; }
    .analysis-visual { order: 2; justify-content: center; }
    .analysis-device { width: 234px; }
    .coach-turn { grid-template-columns: 48px 1fr; gap: 12px; padding: 17px 0; }
    .next-match-proof { grid-template-columns: 1fr 180px; min-height: 390px; padding: 24px 0; }
    .next-match-proof picture { width: 164px; }
    .process-path li { grid-template-columns: 46px 1fr; gap: 8px 18px; padding: 20px 0; }
    .process-path p { grid-column: 2; }
    .footer { padding-top: 54px; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-heading { margin-bottom: 2px; }
    .footer-links, .footer-social { gap: 5px; }
    .footer-social-row { min-height: 44px; }
    .footer-qr-popover {
        width: min(100%,260px);
        position: static;
        margin: 10px 0 4px 28px;
        padding: 18px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
    }
    .footer-qr-popover::after { display: none; }
    .footer-social-details[open] .footer-qr-popover { display: grid; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .testflight-step-grid { grid-template-columns: 1fr; }
    .testflight-step + .testflight-step { border-left: 0; }
    .testflight-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1; transform: none; }
}
