:root {
  color-scheme: light;
  font-family: Inter, Avenir Next, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --forest: #173f38;
  --forest-2: #24564c;
  --moss: #7d9471;
  --leather: #8f5f42;
  --gold: #d8aa5f;
  --sand: #efe3cf;
  --cream: #faf6ed;
  --paper: #fffdf8;
  --ink: #1d2c29;
  --muted: #66736f;
  --line: rgba(23, 63, 56, .13);
  --shadow: 0 34px 90px rgba(31, 51, 45, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); margin: 0; overflow-x: clip; }
a { color: inherit; }
img { display: block; height: auto; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { margin-inline: auto; max-width: 1220px; padding-inline: 28px; width: 100%; }
.skip { background: var(--forest); color: white; left: 18px; padding: 11px 16px; position: fixed; top: -100px; z-index: 100; }
.skip:focus { top: 18px; }

.site-header {
  backdrop-filter: blur(20px);
  background: rgba(250, 246, 237, .88);
  border-bottom: 1px solid rgba(23, 63, 56, .08);
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 30;
}
.document-page .site-header { position: sticky; }
.header-inner { align-items: center; display: flex; justify-content: space-between; min-height: 82px; }
.brand { align-items: center; display: inline-flex; font-size: 1.16rem; font-weight: 830; gap: 11px; letter-spacing: -.035em; text-decoration: none; }
.brand img { border-radius: 13px; box-shadow: 0 10px 25px rgba(23, 63, 56, .18); }
.site-nav { align-items: center; display: flex; gap: 25px; }
.site-nav > a { color: #566661; font-size: .87rem; font-weight: 730; text-decoration: none; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--forest-2); }
.language { align-items: center; background: rgba(255, 255, 255, .65); border: 1px solid var(--line); border-radius: 999px; display: flex; padding: 3px; }
.language a { border-radius: 999px; color: #697570; font-size: .68rem; font-weight: 850; padding: 7px 9px; text-decoration: none; }
.language a[aria-current="page"] { background: var(--forest); color: #fff; }
.menu-toggle { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--forest); display: none; font: inherit; font-size: .8rem; font-weight: 760; gap: 9px; padding: 9px 13px; }
.menu-icon, .menu-icon::before, .menu-icon::after { background: currentColor; border-radius: 8px; content: ""; display: block; height: 2px; position: relative; width: 16px; }
.menu-icon::before, .menu-icon::after { left: 0; position: absolute; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(216, 170, 95, .26), transparent 27%),
    radial-gradient(circle at 5% 80%, rgba(125, 148, 113, .22), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, var(--cream) 57%, #e9eadc 100%);
  min-height: min(930px, 100svh);
  overflow: hidden;
  padding: 143px 0 80px;
  position: relative;
}
.arena-line { border: 1px solid rgba(23, 63, 56, .1); border-radius: 999px; height: 780px; position: absolute; right: -255px; top: 40px; transform: rotate(-12deg); width: 530px; }
.arena-line::before, .arena-line::after { border: 1px solid rgba(23, 63, 56, .08); border-radius: inherit; content: ""; inset: 54px; position: absolute; }
.arena-line::after { inset: 112px; }
.hero-grid { align-items: center; display: grid; gap: 58px; grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); position: relative; z-index: 2; }
.hero-copy { max-width: 690px; }
.eyebrow { align-items: center; color: var(--leather); display: flex; font-size: .72rem; font-weight: 870; gap: 10px; letter-spacing: .14em; margin: 0; text-transform: uppercase; }
.eyebrow::before { background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 5px rgba(216, 170, 95, .16); content: ""; height: 7px; width: 7px; }
.hero h1 { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 7.1vw, 7.5rem); font-weight: 600; letter-spacing: -.065em; line-height: .88; margin: 25px 0 0; }
.hero h1 em { color: var(--leather); font-style: italic; font-weight: 500; }
.lead { color: #5c6a65; font-size: clamp(1.05rem, 1.45vw, 1.22rem); line-height: 1.7; margin: 31px 0 0; max-width: 650px; }
.hero-actions, .store-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { align-items: center; border: 1px solid transparent; border-radius: 999px; display: inline-flex; font-size: .9rem; font-weight: 790; gap: 10px; justify-content: center; min-height: 53px; padding: 12px 22px; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); box-shadow: 0 18px 36px rgba(23, 63, 56, .22); color: white; }
.button-secondary { background: rgba(255, 255, 255, .62); border-color: var(--line); color: var(--forest); }
.trust { display: flex; flex-wrap: wrap; gap: 11px 22px; list-style: none; margin: 27px 0 0; padding: 0; }
.trust li { align-items: center; color: #64716c; display: flex; font-size: .8rem; gap: 8px; }
.trust li::before { background: #dfead8; border-radius: 50%; color: var(--forest-2); content: "✓"; display: grid; font-size: .66rem; font-weight: 900; height: 19px; place-items: center; width: 19px; }
.hero-visual { height: 655px; justify-self: center; max-width: 650px; position: relative; width: 100%; }
.hero-photo { border: 9px solid rgba(255,255,255,.7); border-radius: 42px 42px 110px 42px; box-shadow: 0 45px 100px -34px rgba(23,63,56,.52); inset: 22px 0 42px 0; overflow: hidden; position: absolute; }
.hero-photo::after { background: linear-gradient(120deg, rgba(20,54,47,.06), transparent 45%, rgba(216,170,95,.1)); content: ""; inset: 0; pointer-events: none; position: absolute; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 58% center; width: 100%; }
.phone { background: #14221f; border: 1px solid rgba(255,255,255,.45); border-radius: 36px; bottom: -5px; box-shadow: 0 40px 90px -27px rgba(14,39,34,.72); overflow: hidden; padding: 7px; position: absolute; right: -18px; transform: rotate(2deg); width: 218px; z-index: 6; }
.phone img { border-radius: 39px; }
.phone::after { background: #14221f; border-radius: 0 0 14px 14px; content: ""; height: 17px; left: 50%; position: absolute; top: 6px; transform: translateX(-50%); width: 76px; }
.arena-preview { align-items: center; backdrop-filter: blur(18px); background: rgba(255,253,248,.94); border: 1px solid rgba(23,63,56,.13); border-radius: 22px; bottom: 4px; box-shadow: 0 26px 58px rgba(23,63,56,.2); display: flex; gap: 13px; left: -25px; padding: 10px 16px 10px 10px; position: absolute; transform: rotate(-3deg); width: 188px; z-index: 7; }
.arena-preview img { background: var(--cream); border-radius: 13px; height: 84px; object-fit: cover; object-position: top; width: 54px; }
.arena-preview span { color: var(--forest); font-size: .72rem; font-weight: 820; line-height: 1.35; }
.floating-note { backdrop-filter: blur(18px); background: rgba(255,253,248,.94); border: 1px solid rgba(23,63,56,.13); border-radius: 20px; box-shadow: 0 24px 54px rgba(23,63,56,.18); left: -24px; padding: 17px 20px 17px 52px; position: absolute; top: 0; transform: rotate(-2deg); z-index: 8; }
.floating-note span { background: var(--gold); border-radius: 50%; color: var(--forest); display: grid; font-weight: 900; height: 30px; left: 14px; place-items: center; position: absolute; top: 17px; width: 30px; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { color: var(--forest); font-size: .86rem; }
.floating-note small { color: #75807c; font-size: .68rem; margin-top: 4px; }

.proof { background: var(--forest); color: #eef4eb; padding: 29px 0; }
.proof ul { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.proof li { align-items: center; display: flex; font-size: .81rem; font-weight: 730; gap: 10px; justify-content: center; }
.proof li::before { background: var(--gold); border-radius: 50%; content: ""; height: 7px; width: 7px; }

.section { padding: 120px 0; }
.section-paper { background: var(--paper); }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: white; }
.section-head { max-width: 830px; }
.section-head h2, .path-copy h2, .independent h2, .faq h2, .final h2 { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 4.7vw, 5.2rem); font-weight: 600; letter-spacing: -.055em; line-height: .98; margin: 20px 0 0; }
.section-head > p:last-child, .path-copy > p:last-child { color: var(--muted); font-size: 1.04rem; line-height: 1.72; margin: 25px 0 0; max-width: 680px; }
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-top: 62px; }
.feature-card { background: #f6f0e5; border: 1px solid var(--line); border-radius: 28px; min-height: 315px; padding: 31px; position: relative; }
.feature-number { color: #7c877f; font-size: .68rem; font-weight: 850; letter-spacing: .12em; position: absolute; right: 26px; top: 25px; }
.feature-icon { background: #dfe9d9; border-radius: 18px; color: var(--forest); display: grid; font-family: Georgia, serif; font-size: 1.55rem; height: 58px; place-items: center; width: 58px; }
.feature-card:nth-child(2) .feature-icon { background: #eadccd; color: var(--leather); }
.feature-card:nth-child(3) .feature-icon { background: #f2e3bd; color: #8d651f; }
.feature-card:nth-child(4) .feature-icon { background: #dde7e2; color: var(--forest-2); }
.feature-card h3 { color: var(--forest); font-size: 1.25rem; letter-spacing: -.035em; margin: 48px 0 0; }
.feature-card p { color: var(--muted); font-size: .91rem; line-height: 1.66; margin: 13px 0 0; }

.path-grid { align-items: center; display: grid; gap: 78px; grid-template-columns: .92fr 1.08fr; }
.path-card { background: #f8f3e8; border: 1px solid rgba(23,63,56,.1); border-radius: 34px; box-shadow: 0 28px 70px rgba(83,66,43,.12); padding: 35px; }
.path-list { list-style: none; margin: 0; padding: 0; }
.path-list li { align-items: center; border-bottom: 1px solid rgba(23,63,56,.11); display: grid; gap: 15px; grid-template-columns: 42px 1fr auto; padding: 16px 0; }
.path-list li:last-child { border: 0; }
.path-badge { background: var(--forest); border-radius: 13px; color: white; display: grid; font-size: .65rem; font-weight: 850; height: 42px; place-items: center; width: 42px; }
.path-list strong { color: var(--forest); display: block; font-size: .93rem; }
.path-list small { color: #78827d; display: block; font-size: .72rem; margin-top: 4px; }
.path-check { color: var(--moss); font-weight: 900; }

.screens .eyebrow { color: #d9b879; justify-content: center; }
.screens .section-head h2 { color: white; }
.screens .section-head > p:last-child { color: #b9c8c2; margin-inline: auto; }
.center { margin-inline: auto; text-align: center; }
.content-grid { display: grid; gap: 22px; grid-template-areas: "app arena arena" "app knowledge exam"; grid-template-columns: .82fr 1fr 1fr; grid-template-rows: repeat(2, 340px); margin-top: 70px; }
.content-card { background: #f8f3e9; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; box-shadow: 0 35px 65px rgba(0,0,0,.23); color: var(--ink); display: flex; flex-direction: column; margin: 0; min-width: 0; overflow: hidden; }
.content-card-app { grid-area: app; }
.content-card-arena { grid-area: arena; }
.content-card-knowledge { grid-area: knowledge; }
.content-card-exam { grid-area: exam; }
.content-card figcaption { background: rgba(255,253,248,.96); border-top: 1px solid var(--line); margin-top: auto; padding: 19px 22px 21px; position: relative; z-index: 3; }
.content-card figcaption strong, .content-card figcaption span { display: block; }
.content-card figcaption strong { color: var(--forest); font-size: .96rem; }
.content-card figcaption span { color: var(--muted); font-size: .78rem; line-height: 1.5; margin-top: 6px; }
.device-peek { background: linear-gradient(150deg, #d9cdb8, #f9f5ec); flex: 1; min-height: 0; overflow: hidden; padding: 18px 18px 0; }
.device-peek img { border: 7px solid #172521; border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 24px 55px rgba(23,63,56,.25); height: auto; margin: 0 auto; max-width: 286px; width: 100%; }
.content-card-exam .device-peek { padding: 0; }
.content-card-exam .device-peek img { border: 0; border-radius: 0; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; width: 100%; }
.arena-media { align-items: center; background: radial-gradient(circle at 80% 30%, #d9b574, transparent 31%), linear-gradient(135deg, #eadbc4, #b9cabd); display: flex; flex: 1; gap: 25px; justify-content: center; min-height: 0; overflow: hidden; padding: 23px 35px; }
.arena-media img { background: var(--paper); border-radius: 18px; box-shadow: 0 23px 45px rgba(23,63,56,.18); object-fit: cover; object-position: top; }
.arena-main { height: 250px; transform: rotate(-4deg); width: 142px; }
.arena-mini { height: 220px; transform: rotate(5deg); width: 125px; }
.knowledge-media { background: linear-gradient(145deg, #e5d4b9, #f3eadb); display: grid; flex: 1; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; padding: 24px; }
.knowledge-media img { align-self: center; background: var(--paper); border-radius: 22px; box-shadow: 0 20px 38px rgba(75,55,34,.15); width: 100%; }
.knowledge-media img:last-child { transform: translateY(10px) rotate(2deg); }

.independent-grid { align-items: center; display: grid; gap: 90px; grid-template-columns: .8fr 1.2fr; }
.independent-mark { background: radial-gradient(circle at 35% 30%, #f0d497, var(--gold) 48%, #b5784e); border-radius: 44% 56% 52% 48%; display: grid; min-height: 430px; place-items: center; transform: rotate(-3deg); }
.independent-mark img { border-radius: 48px; box-shadow: 0 34px 70px rgba(76,49,27,.28); transform: rotate(3deg); width: 215px; }
.independent > p { color: var(--muted); font-size: 1.02rem; line-height: 1.72; margin: 24px 0 0; }
.independent-note { background: #e8efe4; border: 1px solid rgba(23,63,56,.13); border-radius: 22px; margin-top: 30px; padding: 21px 23px; }
.independent-note strong { color: var(--forest); display: block; }
.independent-note p { color: #64716c; font-size: .86rem; line-height: 1.6; margin: 7px 0 0; }

.faq { background: #ece4d6; }
.faq-grid { display: grid; gap: 90px; grid-template-columns: .7fr 1.3fr; }
.faq h2 { margin-top: 0; }
.faq details { border-bottom: 1px solid rgba(23,63,56,.17); }
.faq summary { color: var(--forest); cursor: pointer; font-size: 1.04rem; font-weight: 790; list-style: none; padding: 23px 45px 23px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.45rem; font-weight: 400; position: absolute; right: 5px; top: 17px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); line-height: 1.66; margin: -3px 0 23px; max-width: 660px; }

.final { background: linear-gradient(145deg, #102f2a, var(--forest)); color: white; padding: 115px 0; text-align: center; }
.final img { border-radius: 25px; box-shadow: 0 25px 60px rgba(0,0,0,.28); margin: 0 auto 27px; }
.final .eyebrow { color: #d9b879; justify-content: center; }
.final h2 { color: white; }
.final p { color: #bfcec8; line-height: 1.66; margin: 22px auto 0; max-width: 680px; }
.final .store-actions { justify-content: center; }
.final .button { background: white; color: var(--forest); min-width: 225px; }
.final .button:hover { background: #f1dcae; }

.site-footer { background: #0b2823; color: #c9d7d2; padding: 44px 0 31px; }
.footer-main, .footer-meta { align-items: center; display: flex; justify-content: space-between; }
.footer-main { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 30px; }
.footer-main p { color: #91a49d; font-size: .78rem; }
.footer-meta { gap: 30px; padding-top: 27px; }
.footer-meta > span { color: #718982; font-size: .7rem; }
.footer-meta nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.footer-meta a { color: #9eb0aa; font-size: .72rem; text-decoration: none; }
.footer-meta a:hover { color: white; }

.document-page { background: #edf1e9; }
.doc-shell { min-height: 70vh; padding: 70px 0 100px; }
.doc-shell .wrap { max-width: 920px; }
.doc-card { background: var(--paper); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 28px 75px rgba(23,63,56,.1); padding: clamp(31px, 6vw, 68px); }
.doc-card h1 { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.055em; line-height: .98; margin: 0; }
.doc-card h2 { color: var(--forest); font-size: 1.18rem; letter-spacing: -.02em; margin: 38px 0 10px; }
.doc-card p, .doc-card li { color: #596862; line-height: 1.72; }
.doc-card ul, .doc-card ol { padding-left: 22px; }
.doc-card a { color: var(--forest-2); font-weight: 680; }
.updated { color: #7c8984 !important; font-size: .8rem; margin: 13px 0 34px !important; }
.doc-note { background: #edf3e9; border-radius: 16px; font-size: .84rem; padding: 16px 18px; }
.support-grid { display: grid; gap: 15px; grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.support-grid a { background: #eff2e9; border: 1px solid var(--line); border-radius: 18px; padding: 19px; text-decoration: none; }
.support-grid strong, .support-grid span { display: block; }
.support-grid span { color: var(--muted); font-size: .78rem; margin-top: 5px; }
.not-found { align-items: center; display: flex; min-height: 70vh; text-align: center; }
.not-found .doc-card { margin-inline: auto; max-width: 720px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal][data-visible] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 1050px) {
  .hero-grid { gap: 34px; grid-template-columns: .9fr 1.1fr; }
  .hero-visual { transform: scale(.9); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-areas: "app arena" "knowledge exam"; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 420px); }
  .path-grid, .independent-grid { gap: 55px; }
}

@media (max-width: 780px) {
  .wrap { padding-inline: 20px; }
  .site-header { position: absolute; }
  .document-page .site-header { position: sticky; }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { align-items: stretch; background: rgba(250,246,237,.98); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 55px rgba(23,63,56,.16); display: none; flex-direction: column; gap: 0; padding: 12px; position: absolute; right: 20px; top: 64px; width: min(300px, calc(100vw - 40px)); }
  .site-nav[data-open] { display: flex; }
  .site-nav > a { border-radius: 12px; padding: 12px; }
  .language { justify-content: center; margin-top: 7px; }
  .hero { min-height: auto; padding: 124px 0 70px; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 6rem); }
  .hero-visual { height: 535px; margin-top: 18px; max-width: 620px; transform: none; }
  .hero-photo { bottom: 40px; }
  .phone { right: 0; width: 178px; }
  .arena-preview { left: 3px; }
  .proof ul { grid-template-columns: repeat(2, 1fr); }
  .proof li { justify-content: flex-start; }
  .section { padding: 84px 0; }
  .path-grid, .independent-grid, .faq-grid { grid-template-columns: 1fr; }
  .independent-mark { min-height: 380px; order: 2; }
  .faq-grid { gap: 45px; }
  .footer-main, .footer-meta { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-meta nav { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .hero-actions .button, .store-actions .button { width: 100%; }
  .hero-visual { height: 460px; }
  .hero-photo { border-radius: 30px 30px 70px 30px; inset: 25px 0 46px; }
  .hero-photo img { object-position: 60% center; }
  .phone { border-radius: 28px; right: -7px; width: 150px; }
  .phone img { border-radius: 23px; }
  .arena-preview { bottom: 0; left: -5px; width: 153px; }
  .arena-preview img { height: 67px; width: 43px; }
  .floating-note { left: 7px; padding-right: 15px; top: 0; }
  .proof ul, .feature-grid, .support-grid { grid-template-columns: 1fr; }
  .content-grid { display: flex; flex-direction: column; }
  .content-card { min-height: 390px; }
  .content-card-app { min-height: 590px; }
  .content-card-exam .device-peek { min-height: 270px; }
  .feature-card { min-height: 275px; }
  .path-card { padding: 25px; }
  .path-list li { grid-template-columns: 38px 1fr auto; }
  .path-badge { height: 38px; width: 38px; }
  .doc-shell { padding-top: 42px; }
  .doc-card { border-radius: 23px; }
}
