:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --paper-light: #fffdf8;
  --ink: #171923;
  --muted: #656874;
  --line: #dedbd1;
  --night: #171a2c;
  --purple: #6a5af5;
  --lime: #d6ff72;
  --coral: #ff765f;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; border-radius: 4px; }
::selection { color: var(--night); background: var(--lime); }

.site-header {
  position: relative; z-index: 3; min-height: 82px; display: flex; align-items: center;
  justify-content: space-between; gap: 28px; padding: 0 clamp(22px, 6vw, 92px);
  border-bottom: 1px solid rgba(23, 25, 35, .1);
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--purple); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-size: 1.12rem; line-height: 1; font-weight: 850; letter-spacing: -.075em; }
.brand-name > span { color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 45px); }
.site-nav a, .header-cta { font-size: .79rem; font-weight: 700; }
.site-nav a { color: #565966; }
.site-nav a:hover, .text-link:hover { color: var(--purple); }
.header-cta { display: inline-flex; align-items: center; gap: 13px; padding: 12px 15px; border: 1px solid #bcb8ae; border-radius: 999px; white-space: nowrap; }
.header-cta span { color: var(--purple); font-size: 1rem; }
.header-cta:hover { color: white; border-color: var(--night); background: var(--night); }

.hero {
  position: relative; min-height: 690px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr);
  align-items: center; gap: clamp(24px, 5vw, 76px); overflow: hidden;
  padding: 70px clamp(24px, 9vw, 140px) 98px;
  background:
    radial-gradient(ellipse at 87% 35%, rgba(214, 255, 114, .42), transparent 30%),
    radial-gradient(ellipse at 70% 82%, rgba(106, 90, 245, .12), transparent 38%),
    var(--paper);
}
.hero-copy { position: relative; z-index: 1; max-width: 610px; }
.eyebrow, .section-tag, .preview-overline, .preview-subject, .preview-brand, .preview-caption,
.path-meta, .path-kicker, .build-flow, .site-footer small, .footer-top {
  font-family: var(--mono); font-size: .65rem; font-weight: 700; letter-spacing: .095em;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; color: #646774; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 118, 95, .15); }
.hero h1 { margin: 0; font-size: clamp(3.8rem, 7.4vw, 7.25rem); line-height: .91; font-weight: 800; letter-spacing: -.085em; }
.hero h1 span { color: var(--purple); }
.hero-text { max-width: 485px; margin: 27px 0 0; color: #5f626d; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 31px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 0 20px; border-radius: 5px; font-size: .82rem; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1rem; }
.button-dark { color: #fff; background: var(--night); }
.button-dark:hover { background: var(--purple); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 750; }
.text-link span { color: var(--coral); }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 53px; color: #777a82; font-size: .8rem; }
.note-mark { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--night); background: var(--lime); font-size: .95rem; }

.learning-preview {
  position: relative; z-index: 1; width: min(100%, 590px); justify-self: end; padding: 15px;
  border: 1px solid rgba(23, 25, 35, .08); border-radius: 18px; background: rgba(255, 253, 248, .88);
  box-shadow: 0 28px 80px rgba(34, 33, 54, .14); transform: rotate(1.2deg);
}
.preview-top { display: flex; align-items: center; justify-content: space-between; padding: 3px 4px 13px; border-bottom: 1px solid #e8e5dd; }
.preview-brand { display: flex; align-items: center; gap: 7px; color: #6c6d77; font-size: .56rem; }
.preview-brand i { width: 8px; height: 8px; border-radius: 2px; background: var(--purple); transform: rotate(45deg); }
.preview-brand b { color: var(--purple); }
.preview-menu { color: #92939a; letter-spacing: .15em; }
.preview-content { padding: 24px clamp(16px, 3vw, 29px) 20px; }
.preview-overline { display: flex; justify-content: space-between; gap: 14px; color: #92929b; font-size: .57rem; }
.preview-overline span:first-child { color: var(--purple); }
.preview-subject { margin: 29px 0 9px; color: #8a8b94; font-size: .57rem; }
.preview-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.preview-title-row h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1; letter-spacing: -.065em; }
.preview-title-row p { max-width: 345px; margin: 9px 0 0; color: #737681; font-size: .78rem; line-height: 1.55; }
.level-pill { flex: none; padding: 7px 8px; border: 1px solid #d5dfbe; border-radius: 999px; color: #516739; background: #f0f7df; font: 700 .53rem var(--mono); letter-spacing: .07em; }
.lesson-list { margin-top: 22px; border-top: 1px solid #e8e5dd; }
.lesson-list a { display: grid; grid-template-columns: 31px 1fr 22px; align-items: center; gap: 10px; min-height: 51px; border-bottom: 1px solid #e8e5dd; }
.lesson-list a:hover .lesson-name { color: var(--purple); }
.lesson-number { color: #a0a1a7; font: 600 .65rem var(--mono); }
.lesson-name { font-size: .75rem; font-weight: 650; }
.lesson-arrow { color: var(--purple); text-align: right; }
.preview-link { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; color: var(--purple); font-size: .76rem; font-weight: 750; }
.preview-sticker {
  position: absolute; right: -24px; top: 20%; display: grid; place-items: center; gap: 2px;
  width: 75px; height: 75px; border: 1px solid rgba(23, 25, 35, .1); border-radius: 50%;
  color: var(--night); background: var(--lime); font: 700 .5rem var(--mono); letter-spacing: .05em; transform: rotate(9deg);
}
.preview-sticker b { font-size: 1rem; }
.preview-caption { display: flex; align-items: center; gap: 9px; padding: 0 8px 2px; color: #90919a; font-size: .5rem; }
.preview-caption i { height: 1px; flex: 1; background: #e4e1d8; }
.hero-bottom { position: absolute; right: clamp(24px, 9vw, 140px); bottom: 25px; display: flex; align-items: center; gap: 12px; color: #797b83; font: 700 .59rem var(--mono); letter-spacing: .1em; }
.hero-bottom i { width: 22px; height: 1px; background: #bbbac0; }

.section-wrap { padding-right: clamp(24px, 12vw, 188px); padding-left: clamp(24px, 12vw, 188px); }
.purpose { padding-top: 112px; padding-bottom: 122px; background: var(--paper-light); }
.section-tag { display: flex; align-items: center; gap: 12px; color: #757782; }
.section-tag span:first-child { color: var(--coral); }
.purpose-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 8vw, 112px); margin-top: 52px; }
.purpose h2, .ways-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.03; font-weight: 750; letter-spacing: -.075em; }
.purpose h2 em { color: var(--purple); font-style: normal; }
.purpose-copy { max-width: 470px; padding-top: 6px; }
.purpose-copy p, .ways-heading p, .path-description { margin: 0 0 17px; color: #626671; font-size: .94rem; line-height: 1.8; }
.purpose-signoff { display: block; margin-top: 24px; color: #555866; font-size: .85rem; font-weight: 700; }
.purpose-signoff b { margin-left: 5px; color: var(--coral); }

.ways { padding: 83px 0 99px; color: #f6f4eb; background: var(--night); }
.section-tag-light { color: #aaaab7; }
.section-tag-light span:first-child { color: var(--lime); }
.ways-heading { display: flex; align-items: end; justify-content: space-between; gap: 38px; margin: 42px 0 45px; }
.ways-heading h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.ways-heading h2 em { color: var(--lime); font-style: normal; }
.ways-heading p { max-width: 360px; margin: 0 0 7px; color: #c2c3ca; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.path-card { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 26px clamp(22px, 3vw, 39px) 27px; border-radius: 9px; color: var(--ink); }
.path-learn { background: var(--lime); }
.path-build { color: #fff; background: var(--purple); }
.path-meta { display: flex; align-items: center; justify-content: space-between; font-size: .58rem; opacity: .72; }
.path-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font: 1rem Arial, sans-serif; }
.path-kicker { margin: 25px 0 10px; font-size: .56rem; opacity: .64; }
.path-card h3 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: .99; letter-spacing: -.07em; }
.path-description { max-width: 450px; margin: 14px 0 18px; color: inherit; font-size: .83rem; opacity: .76; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: auto 0 20px; }
.topic-chips span { padding: 7px 10px; border: 1px solid rgba(23, 25, 35, .2); border-radius: 999px; font-size: .67rem; font-weight: 700; }
.build-flow { display: flex; align-items: center; gap: clamp(8px, 1.8vw, 21px); margin: auto 0 20px; font-size: .59rem; }
.build-flow span { display: flex; align-items: center; gap: 6px; }
.build-flow i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; font-style: normal; font-size: .5rem; }
.build-flow b { color: var(--lime); font-size: .9rem; }
.path-link { display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding-top: 13px; border-top: 1px solid rgba(23, 25, 35, .22); font-size: .78rem; font-weight: 800; }
.path-build .path-link { border-color: rgba(255, 255, 255, .35); }
.path-link span { font-size: 1rem; }
.path-link:hover { gap: 12px; }

.closing { display: grid; justify-items: center; padding-top: 103px; padding-bottom: 108px; text-align: center; background: var(--paper); }
.closing-symbol { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--night); background: var(--coral); font-size: 1.15rem; }
.closing p { max-width: 690px; margin: 23px 0 27px; font-size: clamp(2.2rem, 4.5vw, 4.1rem); line-height: 1.08; font-weight: 750; letter-spacing: -.075em; }
.closing p em { color: var(--purple); font-style: normal; }
.site-footer { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(22px, 6vw, 92px); border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: #777983; font-size: .75rem; }
.footer-top, .site-footer small { color: #777983; font-size: .56rem; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, .88fr) minmax(370px, 1.12fr); padding-right: 6vw; padding-left: 6vw; }
  .hero h1 { font-size: clamp(3.7rem, 7vw, 6rem); }
  .section-wrap { padding-right: 8vw; padding-left: 8vw; }
  .purpose-grid { gap: 45px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .site-header { min-height: 68px; gap: 12px; padding: 0 18px; }
  .site-nav { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .header-cta { gap: 8px; padding: 10px 12px; font-size: .7rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 37px; padding: 58px 24px 70px; }
  .hero h1 { font-size: clamp(3.8rem, 15vw, 6.5rem); }
  .hero-text { max-width: 540px; font-size: .97rem; }
  .hero-note { margin-top: 32px; }
  .learning-preview { width: min(100%, 590px); justify-self: center; transform: rotate(.5deg); }
  .preview-sticker { right: -11px; width: 62px; height: 62px; }
  .hero-bottom { right: 24px; bottom: 22px; }
  .section-wrap { padding-right: 24px; padding-left: 24px; }
  .purpose { padding-top: 78px; padding-bottom: 84px; }
  .purpose-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 35px; }
  .purpose h2 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .purpose-copy { padding-top: 0; }
  .ways { padding: 68px 0 76px; }
  .ways-heading { display: block; margin: 34px 0 29px; }
  .ways-heading h2 { font-size: clamp(2.7rem, 10vw, 4.2rem); }
  .ways-heading p { margin-top: 17px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 365px; padding: 23px 24px; }
  .path-card h3 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .closing { padding-top: 77px; padding-bottom: 82px; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 21px 20px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer small { grid-column: 2; grid-row: 1; text-align: right; }
  .footer-top { grid-column: 2; grid-row: 3; text-align: right; }
}

@media (max-width: 420px) {
  .site-header { padding: 0 13px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 1rem; }
  .header-cta { padding: 9px 10px; font-size: .65rem; }
  .hero { padding-right: 19px; padding-left: 19px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 3.5rem); }
  .preview-content { padding-right: 11px; padding-left: 11px; }
  .preview-overline { font-size: .49rem; }
  .level-pill { padding: 6px; font-size: .47rem; }
  .lesson-list a { grid-template-columns: 24px 1fr 16px; gap: 7px; }
  .lesson-name { font-size: .69rem; }
  .preview-caption { font-size: .43rem; }
  .preview-sticker { right: -5px; top: 17%; width: 54px; height: 54px; }
  .build-flow { gap: 7px; font-size: .49rem; }
  .build-flow span { gap: 4px; }
  .build-flow i { width: 19px; height: 19px; }
}

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