:root {
  --ink: #321d14;
  --text: #3c3934;
  --muted: #6c665f;
  --paper: #fcf8ef;
  --white: #fff;
  --wine: #8b293c;
  --wine-dark: #5d1c2a;
  --gold: #e6a83e;
  --green: #17675e;
  --blue: #304a86;
  --coral: #c45539;
  --line: #ded3bf;
  --shadow: 0 20px 52px rgba(62, 39, 23, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font: 17px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; border-radius: 12px; color: #fff; background: var(--wine-dark); font-weight: 850; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid #176fc1; outline-offset: 3px; }

.nav-shell { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 rgba(50, 29, 20, .09); backdrop-filter: blur(18px); }
.nav { min-height: 78px; max-width: 1180px; margin: auto; padding: 10px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; line-height: 1.15; }
.brand img { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 15px; object-fit: cover; box-shadow: 0 6px 16px rgba(75, 38, 17, .16); }
.brand span { display: grid; }
.brand b { white-space: nowrap; font-size: .96rem; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .66rem; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #392f2a; text-decoration: none; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.nav-links a:hover { color: var(--wine); }
.button { min-height: 48px; padding: 12px 20px; border: 0; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: var(--wine); box-shadow: 0 10px 24px rgba(139, 41, 60, .2); text-decoration: none; font-weight: 900; }
.button:hover { background: var(--wine-dark); transform: translateY(-1px); }
.button-small { min-height: 44px; padding: 10px 16px; white-space: nowrap; font-size: .78rem; }
.text-link { color: var(--wine-dark); font-weight: 900; text-underline-offset: 4px; }

.hero { position: relative; min-height: min(780px, calc(100vh - 125px)); overflow: hidden; display: grid; align-items: center; isolation: isolate; background: #e9c476; }
.hero-cover { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero:after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(255, 251, 242, .95) 0%, rgba(255, 251, 242, .88) 34%, rgba(255, 251, 242, .2) 60%, rgba(255, 251, 242, 0) 78%); pointer-events: none; }
.hero-copy { width: min(610px, calc(100% - 48px)); margin-left: max(24px, calc((100vw - 1180px) / 2)); padding: 72px 0; }
.eyebrow { margin: 0 0 12px; color: var(--wine); font-size: .75rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.hero-pill { width: fit-content; padding: 8px 12px; border-radius: 999px; color: var(--green); background: rgba(255, 255, 255, .88); box-shadow: 0 8px 20px rgba(62, 39, 23, .1); }
.hero-pill span { width: 8px; height: 8px; margin-right: 5px; display: inline-block; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(196, 85, 57, .15); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.02; letter-spacing: -.035em; }
h1 { margin: .25em 0; font-size: clamp(3.3rem, 6.7vw, 6.2rem); }
h2 { margin: .18em 0 .4em; font-size: clamp(2.35rem, 5vw, 4.5rem); }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.lead { max-width: 700px; color: #514a43; font-size: 1.18rem; }
.hero-actions { margin: 28px 0 25px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.status-card { width: fit-content; padding: 11px 15px; border: 1px solid rgba(94, 50, 26, .16); border-radius: 14px; display: grid; background: rgba(255, 255, 255, .88); box-shadow: 0 8px 24px rgba(62, 39, 23, .09); }
.status-card span { color: #934016; font-size: .66rem; font-weight: 950; letter-spacing: .08em; }
.status-card b { color: var(--ink); font-size: .85rem; }

.proof-strip { padding: 21px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; color: #fff; background: var(--ink); }
.proof-strip article { min-height: 54px; padding: 4px 24px; border-left: 1px solid rgba(255, 255, 255, .18); display: grid; align-content: center; }
.proof-strip article:first-child { border-left: 0; }
.proof-strip b, .proof-strip span { display: block; }
.proof-strip b { color: #ffd987; }
.proof-strip span { opacity: .82; font-size: .8rem; }

.section { max-width: 1180px; margin: auto; padding: 96px 24px; scroll-margin-top: 120px; }
.section-heading { margin-bottom: 38px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 48px; }
.section-heading > p { margin-bottom: 14px; color: var(--muted); font-size: 1.04rem; }
.world-grid, .interaction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.world-card, .interaction-grid article, .program-grid article { border: 1px solid var(--line); border-radius: 25px; background: var(--white); box-shadow: 0 10px 30px rgba(62, 39, 23, .07); }
.world-card { min-height: 340px; padding: 29px; display: flex; flex-direction: column; }
.world-card small, .program-grid small { margin: 18px 0 7px; color: var(--wine); font-size: .68rem; font-weight: 950; letter-spacing: .1em; }
.world-card h3, .interaction-grid h3, .program-grid h3 { margin: 0 0 10px; color: var(--ink); font-size: 1.35rem; line-height: 1.15; }
.world-card p { flex: 1; }
.world-card > b { color: var(--green); font-size: .76rem; }
.world-icon { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--wine); font-size: 2.1rem; box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .12); }
.geography-card .world-icon { background: var(--green); }
.emc-card .world-icon { background: var(--blue); }

.method-section { max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); color: #fff; background: var(--blue); }
.method-section h2, .method-section h3 { color: #fff; }
.method-section h2 em { color: #ffe09c; }
.method-section .eyebrow { color: #ffe09c; }
.method-section .section-heading > p { color: rgba(255, 255, 255, .82); }
.method-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.method-steps li { min-height: 245px; padding: 22px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 22px; background: rgba(255, 255, 255, .1); }
.method-steps li > span { width: 38px; height: 38px; margin-bottom: 28px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: #ffe09c; font-weight: 950; }
.method-steps p { color: rgba(255, 255, 255, .82); font-size: .9rem; }

.app-section { max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); background: #f1e9dc; }
.interaction-grid article { padding: 18px; }
.interaction-grid article > p { color: var(--muted); font-size: .88rem; }
.mini-source, .mini-timeline, .mini-map { height: 190px; margin-bottom: 24px; padding: 22px; border-radius: 18px; overflow: hidden; position: relative; background: #fbf6e9; }
.mini-source { display: grid; align-content: center; border: 1px solid #d8c9af; background: repeating-linear-gradient(0deg, #fffaf0, #fffaf0 26px, #eadfc9 27px); }
.mini-source span { color: var(--wine); font-size: .64rem; font-weight: 950; letter-spacing: .1em; }
.mini-source b { color: var(--ink); font: 700 1.45rem Georgia, serif; }
.mini-source p { margin: 8px 0 0; }
.mini-timeline { display: grid; align-content: center; text-align: center; background: #f2edfb; }
.mini-timeline i { height: 6px; border-radius: 999px; background: var(--blue); }
.mini-timeline i:after { content: ""; width: 18px; height: 18px; position: absolute; left: 50%; top: 77px; border: 5px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--blue); }
.mini-timeline span { margin-top: 22px; color: var(--wine); font-weight: 900; }
.mini-map { color: #174e54; background: radial-gradient(circle at 62% 46%, #ead087 0 12%, transparent 13%), linear-gradient(135deg, #d4ece3, #aed3c7); }
.mini-map:before, .mini-map:after { content: ""; position: absolute; border: 2px solid rgba(23, 103, 94, .33); border-radius: 50%; transform: rotate(-20deg); }
.mini-map:before { width: 210px; height: 90px; left: -20px; top: 42px; }
.mini-map:after { width: 140px; height: 190px; right: -45px; top: -20px; }
.mini-map span, .mini-map b { position: relative; z-index: 2; }
.mini-map b { position: absolute; right: 25px; bottom: 30px; font-size: .7rem; }
.point { width: 13px; height: 13px; position: absolute; z-index: 2; border: 3px solid #fff; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 2px var(--wine); }
.p1 { right: 55px; bottom: 53px; }
.p2 { left: 70px; top: 85px; }
.support-tools { margin-top: 18px; padding: 18px 22px; border-radius: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; color: #fff; background: var(--green); font-size: .78rem; font-weight: 850; }

.program-alert { margin-bottom: 20px; padding: 22px 25px; border-left: 6px solid var(--gold); border-radius: 17px; background: #fff7df; }
.program-alert b { color: #7b4412; }
.program-alert p { margin: 5px 0 0; }
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.program-grid article { padding: 27px; }
.program-grid ul { margin-bottom: 0; padding-left: 20px; }
.program-grid li + li { margin-top: 7px; }
.future-program { color: #fff; border-color: var(--green) !important; background: var(--green) !important; }
.future-program h3 { color: #fff; }
.future-program small { color: #ffe09c; }

.parents-section { max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; background: #efeafb; }
.check-list { padding: 0; list-style: none; }
.check-list li { margin: 10px 0; }
.check-list li:before { content: "✓"; margin-right: 10px; color: var(--green); font-weight: 950; }
.parent-card { padding: 30px; border: 1px solid #d7cceb; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.parent-card > span { color: var(--wine); font-size: .68rem; font-weight: 950; letter-spacing: .1em; }
.parent-card h3 { margin: 8px 0 24px; color: var(--ink); font-size: 1.5rem; }
.parent-card div { margin: 17px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 15px; }
.parent-card i { height: 9px; grid-column: 1 / -1; overflow: hidden; border-radius: 999px; background: #e7e2ee; }
.parent-card i:after { content: ""; width: var(--progress); height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--wine), var(--gold)); }
.parent-card small { color: var(--muted); }
.parent-card > p { margin: 20px 0 0; color: var(--muted); font-size: .72rem; }

.launch-section { margin-top: 90px; margin-bottom: 90px; padding: 42px 54px; border-radius: 34px; display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 48px; color: #fff; background: linear-gradient(135deg, var(--wine-dark), var(--wine)); box-shadow: var(--shadow); }
.launch-section img { width: 250px; border-radius: 28px; }
.launch-section h2 { color: #fff; }
.launch-section h2 em, .launch-section .eyebrow { color: #ffe09c; }
.launch-section .button { color: var(--wine-dark); background: #fff; }

.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; color: var(--ink); cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--wine); font-size: 1.3rem; }
.faq-list details p { padding: 0 20px 18px 0; color: var(--muted); }
.contact-section { margin-bottom: 90px; padding: 40px 48px; border: 1px solid var(--line); border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #fff; box-shadow: var(--shadow); }
.contact-section h2 { font-size: clamp(2rem, 4vw, 3.5rem); }

.footer { padding: 46px max(24px, calc((100vw - 1180px) / 2)); color: #fff; background: var(--ink); }
.footer .brand { color: #fff; }
.footer .brand small { color: rgba(255, 255, 255, .66); }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer-main nav { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-main a { color: #fff; }
.footer-main > small { color: rgba(255, 255, 255, .65); }
.official-disclaimer { max-width: 1000px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .7); font-size: .72rem; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .button-small { margin-left: auto; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer .brand, .footer-main nav { justify-content: center; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { min-height: 68px; padding: 8px 14px; gap: 10px; }
  .brand img { width: 44px; height: 44px; flex-basis: 44px; }
  .brand b { font-size: .83rem; }
  .nav .button-small { width: 44px; min-height: 44px; overflow: hidden; padding: 0; color: #fff; font-size: 0; }
  .nav .button-small:after { content: "Apps"; color: #fff; font-size: .62rem; }
  .hero { min-height: 730px; align-items: end; }
  .hero-cover { object-position: 67% center; }
  .hero:after { background: linear-gradient(0deg, rgba(255, 251, 242, .98) 0%, rgba(255, 251, 242, .9) 48%, rgba(255, 251, 242, .06) 78%); }
  .hero-copy { width: auto; margin: 0; padding: 250px 20px 36px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { text-align: center; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); padding: 16px; }
  .proof-strip article:nth-child(3) { border-left: 0; }
  .section { padding: 72px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 4px; }
  .world-grid, .interaction-grid, .program-grid, .parents-section, .faq-section { grid-template-columns: 1fr; }
  .world-card { min-height: 285px; }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li { min-height: 0; }
  .support-tools { grid-template-columns: repeat(2, 1fr); }
  .parents-section, .faq-section { gap: 36px; }
  .launch-section { margin: 60px 18px; padding: 28px; grid-template-columns: 1fr; text-align: center; }
  .launch-section img { width: 190px; margin: auto; }
  .contact-section { margin: 0 18px 70px; padding: 30px 25px; align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #3c3934; --line: #8b7968; }
  .hero:after { background: linear-gradient(90deg, #fff 0%, #fff 46%, rgba(255, 255, 255, .08) 76%); }
  .status-card, .world-card, .interaction-grid article, .program-grid article, .parent-card { border-width: 2px; }
}
