:root {
  --ink: #102a43;
  --ink-deep: #0a1c2c;
  --paper: #f5f0e7;
  --paper-soft: #fbf8f2;
  --white: #fffefa;
  --amber: #ee9b46;
  --amber-light: #ffd7a6;
  --sage: #b8cbb8;
  --success: #276749;
  --danger: #a43d3d;
  --line: rgba(16, 42, 67, .15);
  --text-muted: #526475;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1240px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-soft); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.skip-link { position: fixed; left: 16px; top: 12px; transform: translateY(-150%); z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; box-shadow: 0 8px 30px rgba(8, 25, 40, .18); }
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 90; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--amber); }

.site-header { width: min(calc(100% - 48px), var(--max)); height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 80; }
.site-header.is-stuck { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); height: 64px; padding: 0 16px 0 20px; border: 1px solid rgba(255,255,255,.55); border-radius: 18px; background: rgba(251,248,242,.88); backdrop-filter: blur(18px); box-shadow: 0 12px 40px rgba(16,42,67,.1); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.03em; font-size: 19px; }
.brand strong { color: var(--amber); }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; align-items: end; padding: 5px; background: var(--ink); border-radius: 9px; }
.brand-mark i { display: block; background: var(--white); border-radius: 2px; }
.brand-mark i:nth-child(1) { height: 45%; }
.brand-mark i:nth-child(2) { height: 75%; background: var(--amber); }
.brand-mark i:nth-child(3) { height: 100%; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--ink); transition: right .3s var(--ease); }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.auth-entry { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .25s, transform .25s; }
.auth-entry:hover { background: var(--paper); transform: translateY(-2px); }
.auth-entry-dot { width: 8px; height: 8px; border: 2px solid var(--amber); border-radius: 50%; transition: background .25s, box-shadow .25s; }
html[data-authenticated="true"] .auth-entry-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(238,155,70,.16); }
.header-cta { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--ink); border-radius: 999px; padding: 11px 16px 11px 20px; font-size: 13px; font-weight: 600; transition: color .25s, background .25s, transform .25s; }
.header-cta span { font-size: 16px; }
.header-cta:hover { color: var(--white); background: var(--ink); transform: translateY(-2px); }
.menu-toggle, .mobile-menu { display: none; }

.auth-dialog { width: min(920px, calc(100vw - 40px)); max-width: none; max-height: min(760px, calc(100vh - 40px)); padding: 0; overflow: auto; border: 0; border-radius: 28px; color: var(--ink); background: transparent; box-shadow: 0 38px 100px rgba(8,25,40,.34); }
.auth-dialog::backdrop { background: rgba(8,25,40,.58); backdrop-filter: blur(8px); }
.auth-dialog[open] .auth-shell { animation: auth-enter .42s var(--ease) both; }
.auth-shell { height: min(610px, calc(100vh - 40px)); min-height: 480px; display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; position: relative; border-radius: 28px; background: var(--white); }
.auth-close { width: 42px; height: 42px; display: grid; place-items: center; position: absolute; z-index: 3; right: 18px; top: 18px; border: 1px solid rgba(16,42,67,.13); border-radius: 50%; background: rgba(255,254,250,.9); font-family: var(--sans); font-size: 26px; line-height: 1; cursor: pointer; transition: background .25s, transform .25s; }
.auth-close:hover { background: var(--amber-light); transform: rotate(5deg); }
.auth-aside { padding: 36px; overflow: hidden; position: relative; color: var(--white); background: var(--ink); }
.brand-auth { position: relative; z-index: 2; }
.brand-auth .brand-mark { background: var(--white); }
.brand-auth .brand-mark i { background: var(--ink); }
.brand-auth .brand-mark i:nth-child(2) { background: var(--amber); }
.auth-aside-copy { max-width: 300px; position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 52px; }
.auth-aside h2 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(44px, 4vw, 59px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.auth-aside h2 em { color: var(--amber); font-weight: 500; }
.auth-aside-copy > p:last-child { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.auth-orbit { position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.auth-orbit-one { width: 360px; height: 360px; right: -190px; top: 38px; }
.auth-orbit-two { width: 220px; height: 220px; right: -112px; top: 108px; border-style: dashed; animation: orbit 24s linear infinite; }
.auth-panel { min-height: 0; padding: 54px 64px 50px; display: flex; align-items: flex-start; overflow-y: auto; }
.auth-panel > div { width: 100%; }
.auth-kicker { margin: 0 0 12px; color: var(--amber); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 700; }
.auth-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.auth-intro, .auth-session > p:not(.auth-kicker) { margin: 16px 0 28px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.auth-modes { margin-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-soft); }
.auth-modes button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .25s, background .25s, box-shadow .25s; }
.auth-modes button[aria-pressed="true"] { color: var(--white); background: var(--ink); box-shadow: 0 7px 18px rgba(16,42,67,.17); }
.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 7px; }
.auth-field label { font-size: 12px; font-weight: 700; }
.auth-field input { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid rgba(16,42,67,.2); border-radius: 12px; color: var(--ink); background: var(--white); font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.auth-field input::placeholder { color: #8794a0; }
.auth-field input:hover { border-color: rgba(16,42,67,.38); }
.auth-field input:focus { outline: 0; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(238,155,70,.15); }
.auth-field input[aria-invalid="true"] { border-color: var(--danger); background: #fff9f7; }
.auth-field-help, .auth-field-error { min-height: 15px; margin: 0; font-size: 10px; line-height: 1.5; }
.auth-field-help { color: var(--text-muted); }
.auth-field-error { color: var(--danger); font-weight: 600; }
.auth-status { margin: 0; padding: 11px 13px; border-radius: 10px; font-size: 11px; line-height: 1.55; }
.auth-status[data-tone="success"] { color: var(--success); background: rgba(184,203,184,.28); }
.auth-status[data-tone="error"] { color: var(--danger); background: rgba(164,61,61,.08); }
.auth-submit { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; border: 0; border-radius: 13px; color: var(--white); background: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 13px 28px rgba(16,42,67,.18); transition: background .25s, transform .25s, box-shadow .25s; }
.auth-submit:hover { background: var(--ink-deep); transform: translateY(-2px); box-shadow: 0 17px 34px rgba(16,42,67,.25); }
.auth-submit:disabled, .auth-signout:disabled, .auth-modes button:disabled { opacity: .58; cursor: wait; transform: none; }
.auth-privacy { margin: 20px 0 0; padding-left: 20px; position: relative; color: var(--text-muted); font-size: 10px; line-height: 1.55; }
.auth-privacy::before { content: ""; width: 7px; height: 9px; position: absolute; left: 2px; top: 2px; border: 1.5px solid var(--sage); border-radius: 2px; }
.auth-privacy::after { content: ""; width: 5px; height: 5px; position: absolute; left: 3px; top: -2px; border: 1.5px solid var(--sage); border-bottom: 0; border-radius: 5px 5px 0 0; }
.auth-avatar { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 20px; color: var(--white); background: var(--ink); font-family: var(--serif); font-size: 31px; box-shadow: 10px 10px 0 var(--amber-light); }
.auth-session strong { overflow-wrap: anywhere; }
.auth-signout { min-height: 48px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 12px; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .25s, background .25s; }
.auth-signout:hover { color: var(--white); background: var(--ink); }

@keyframes auth-enter { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

.hero { min-height: calc(100vh - 78px); max-width: var(--max); margin: 0 auto; padding: 5.5vh 0 80px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 7%; position: relative; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; }
.eyebrow > span { width: 26px; height: 1px; background: var(--amber); }
.hero h1, .section h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: .96; }
.hero h1 { font-size: clamp(64px, 7.4vw, 110px); }
.hero h1 em, .section h2 em { color: var(--amber); font-weight: 500; }
.hero-intro { max-width: 590px; margin: 30px 0 32px; color: var(--text-muted); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 23px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.button span { font-size: 20px; transition: transform .25s var(--ease); }
.button:hover { transform: translateY(-3px); }
.button:hover span { transform: translateX(4px); }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 13px 30px rgba(16,42,67,.2); }
.button-primary:hover { background: var(--ink-deep); box-shadow: 0 17px 36px rgba(16,42,67,.26); }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateY(4px); }
.hero-proof { margin-top: clamp(42px, 7vh, 78px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 20px; }
.hero-proof div { display: flex; flex-direction: column; gap: 4px; padding-right: 16px; }
.hero-proof strong { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.hero-proof span { color: var(--text-muted); font-size: 11px; line-height: 1.4; }

.hero-visual { min-height: 590px; display: grid; place-items: center; position: relative; }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.glow-one { width: 360px; height: 360px; right: -120px; top: -80px; background: rgba(238,155,70,.16); }
.glow-two { width: 260px; height: 260px; left: 38%; bottom: 0; background: rgba(184,203,184,.22); }
.orbit { position: absolute; border: 1px solid rgba(16,42,67,.14); border-radius: 50%; }
.orbit-a { width: 540px; height: 540px; }
.orbit-b { width: 420px; height: 420px; border-style: dashed; animation: orbit 30s linear infinite; }
.lesson-card { width: min(420px, 84%); min-height: 520px; padding: 30px; background: var(--white); border: 1px solid rgba(16,42,67,.09); border-radius: 27px; box-shadow: 0 32px 80px rgba(16,42,67,.16); position: relative; z-index: 2; transform-style: preserve-3d; transition: transform .2s ease-out; }
.lesson-topline, .lesson-footer { display: flex; align-items: center; justify-content: space-between; }
.lesson-badge { color: var(--ink); background: #e8eee6; padding: 8px 11px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.lesson-time { color: var(--text-muted); font-size: 11px; }
.lesson-kicker { margin: 58px 0 12px; color: var(--amber); text-transform: uppercase; letter-spacing: .17em; font-size: 10px; font-weight: 700; }
.lesson-card h2 { max-width: 340px; margin: 0; font-family: var(--serif); font-size: 35px; line-height: 1.05; letter-spacing: -.035em; }
.lesson-card > p:not(.lesson-kicker) { margin: 18px 0 24px; color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.accounting-preview { border-block: 1px solid var(--line); padding: 13px 0; font-size: 10px; }
.accounting-preview > div { display: grid; grid-template-columns: 1.5fr .6fr .6fr; min-height: 31px; align-items: center; border-bottom: 1px solid rgba(16,42,67,.07); }
.accounting-preview > div:last-child { border: 0; }
.accounting-preview .entry-head { color: #7b8893; text-transform: uppercase; letter-spacing: .08em; font-size: 8px; }
.accounting-preview span:nth-child(n+2) { text-align: right; }
.accounting-preview b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; border-radius: 5px; color: var(--white); background: var(--ink); }
.draw-line { width: 42px; height: 5px; justify-self: end; border-radius: 9px; background: var(--amber); transform-origin: left; animation: draw 3.6s var(--ease) infinite; }
.draw-line.delay { animation-delay: .55s; background: var(--sage); }
.lesson-footer { margin-top: 22px; }
.lesson-footer > span { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 10px; }
.lesson-footer i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(238,155,70,.15); }
.lesson-footer button { border: 0; background: none; padding: 10px 0 10px 12px; font-size: 11px; font-weight: 700; cursor: pointer; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 14px 10px 10px; border: 1px solid rgba(16,42,67,.1); border-radius: 13px; color: var(--ink); background: rgba(255,254,250,.9); backdrop-filter: blur(12px); box-shadow: 0 12px 36px rgba(16,42,67,.12); font-size: 11px; font-weight: 600; animation: float 5s ease-in-out infinite; }
.floating-note span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: var(--white); background: var(--ink); font-size: 9px; }
.note-one { left: 0; top: 25%; }
.note-two { right: -2%; top: 48%; animation-delay: -1.7s; }
.note-three { left: 5%; bottom: 16%; animation-delay: -3.2s; }

.marquee { overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.12); color: var(--white); background: var(--ink); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 17px; }
.marquee i { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }

.section { padding: 130px max(24px, calc((100vw - var(--max)) / 2)); }
.section h2 { font-size: clamp(48px, 6vw, 82px); }
.method { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8%; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading > p:last-child { max-width: 490px; margin: 0 0 5px; color: var(--text-muted); line-height: 1.7; }
.method-steps { margin-top: 84px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.method-step { position: relative; padding: 36px 38px 10px 0; }
.method-step + .method-step { padding-left: 38px; border-left: 1px solid var(--line); }
.step-number { color: #9caaaf; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.step-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 52px 0 28px; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, transform .3s var(--ease); }
.method-step:hover .step-icon { background: var(--amber-light); transform: rotate(-7deg) scale(1.05); }
.step-icon svg { width: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.method-step h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 31px; font-weight: 600; }
.method-step p { max-width: 330px; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

.program { color: var(--white); background: var(--ink); position: relative; overflow: hidden; }
.program::before { content: ""; width: 680px; height: 680px; position: absolute; right: -300px; top: -280px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.program-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8%; align-items: end; position: relative; }
.program-intro .eyebrow { grid-column: 1 / -1; }
.eyebrow-light { color: var(--white); }
.program-intro > p:last-child { max-width: 470px; margin: 0 0 5px; color: rgba(255,255,255,.62); line-height: 1.7; }
.filter-row { margin: 62px 0 32px; display: flex; gap: 9px; flex-wrap: wrap; }
.filter { min-height: 43px; padding: 0 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.72); background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; transition: color .25s, background .25s, border-color .25s; }
.filter:hover { color: var(--white); border-color: rgba(255,255,255,.5); }
.filter.active { color: var(--ink); border-color: var(--amber); background: var(--amber); }
.ue-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); position: relative; }
.ue-card { min-height: 210px; padding: 24px; display: flex; flex-direction: column; position: relative; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); transition: background .3s, transform .4s var(--ease), opacity .25s; }
.ue-card:hover { background: rgba(255,255,255,.06); }
.ue-card.feature { background: var(--amber); color: var(--ink); }
.ue-card.feature:hover { background: #f4aa59; }
.ue-card.optional { border-style: dashed; color: rgba(255,255,255,.58); }
.ue-card.is-hidden { display: none; }
.ue-num { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.ue-num strong { font-family: var(--serif); font-size: 23px; letter-spacing: 0; }
.ue-arrow { position: absolute; right: 21px; top: 19px; font-size: 22px; transition: transform .3s var(--ease); }
.ue-card:hover .ue-arrow { transform: translate(4px, -4px); }
.ue-card p { max-width: 220px; margin: auto 0 22px; font-family: var(--serif); font-size: 23px; line-height: 1.08; }
.ue-tag { color: currentColor; opacity: .6; text-transform: uppercase; letter-spacing: .11em; font-size: 8px; font-weight: 700; }

.experience { display: grid; grid-template-columns: .78fr 1.22fr; gap: 9%; align-items: center; background: var(--paper-soft); }
.experience-copy h2 { font-size: clamp(46px, 5.3vw, 76px); }
.experience-copy > p:not(.eyebrow) { max-width: 500px; color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.experience-copy ul { margin: 31px 0 0; padding: 0; list-style: none; }
.experience-copy li { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.experience-copy li span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: var(--ink); background: var(--amber-light); font-size: 11px; font-weight: 700; }
.experience-demo { min-height: 600px; display: grid; place-items: center; position: relative; }
.demo-shell { width: min(690px, 100%); height: 445px; display: grid; grid-template-columns: 86px 1fr; overflow: hidden; border: 1px solid rgba(16,42,67,.09); border-radius: 24px; background: var(--white); box-shadow: 0 28px 80px rgba(16,42,67,.15); transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); transition: transform .6s var(--ease); }
.experience-demo:hover .demo-shell { transform: perspective(1000px) rotateY(0) rotateX(0) translateY(-5px); }
.demo-sidebar { padding: 23px; display: flex; flex-direction: column; align-items: center; gap: 24px; background: var(--ink); }
.mini-logo { width: 30px; height: 30px; border: 6px double var(--amber); border-radius: 8px; margin-bottom: 32px; }
.demo-sidebar i { width: 26px; height: 4px; display: block; border-radius: 5px; background: rgba(255,255,255,.27); }
.demo-sidebar i:nth-of-type(2) { background: var(--amber); }
.demo-content { padding: 28px 38px; }
.demo-top { display: flex; justify-content: space-between; align-items: center; }
.demo-top > span { padding: 7px 9px; border-radius: 7px; color: var(--ink); background: var(--amber-light); font-size: 9px; font-weight: 700; }
.demo-top div { display: flex; gap: 7px; }
.demo-top i { width: 28px; height: 28px; display: block; border: 1px solid var(--line); border-radius: 50%; }
.demo-breadcrumb { margin: 38px 0 21px; color: #7a8994; font-size: 9px; }
.demo-breadcrumb span { margin: 0 8px; }
.demo-title { width: 78%; height: 16px; margin: 9px 0; border-radius: 3px; background: var(--ink); }
.demo-title.short { width: 49%; }
.demo-paragraph { width: 96%; height: 6px; margin: 14px 0; border-radius: 5px; background: #d8dddc; }
.demo-paragraph.tiny { width: 67%; }
.demo-callout { margin-top: 34px; padding: 19px; border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: #f7efe3; }
.demo-callout span { display: block; margin-bottom: 13px; color: var(--amber); text-transform: uppercase; letter-spacing: .12em; font-size: 8px; font-weight: 700; }
.demo-callout i { width: 92%; height: 5px; display: block; margin: 10px 0; border-radius: 4px; background: #d7d2ca; }
.demo-callout i:last-child { width: 58%; }
.demo-pill { position: absolute; padding: 12px 17px; border: 1px solid rgba(16,42,67,.1); border-radius: 999px; background: rgba(255,254,250,.92); box-shadow: 0 12px 30px rgba(16,42,67,.12); font-size: 11px; font-weight: 600; animation: float 5s ease-in-out infinite; }
.pill-a { left: 0; top: 18%; }
.pill-b { right: -2%; bottom: 18%; animation-delay: -2.5s; }

.closing { min-height: 470px; margin: 0 max(20px, calc((100vw - var(--max)) / 2)); padding: 84px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; overflow: hidden; position: relative; border-radius: var(--radius-lg); color: var(--white); background: var(--ink); }
.closing > *:not(.closing-orb) { position: relative; z-index: 2; }
.closing h2 { font-size: clamp(48px, 6vw, 80px); }
.button-light { color: var(--ink); background: var(--white); flex-shrink: 0; }
.button-light:hover { background: var(--amber-light); }
.closing-orb { width: 640px; height: 640px; position: absolute; right: -220px; top: -380px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018); animation: breathe 7s ease-in-out infinite; }
footer { max-width: var(--max); margin: 0 auto; padding: 55px 0; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
footer > p { margin: 0; color: var(--text-muted); font-size: 12px; text-align: center; }
footer .copyright { text-align: right; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes draw { 0%, 15% { transform: scaleX(0); opacity: .3; } 40%, 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(0); opacity: .3; transform-origin: right; } }
@keyframes breathe { 50% { transform: scale(1.04); opacity: .72; } }

@media (max-width: 1100px) {
  :root { --max: calc(100vw - 64px); }
  .hero { gap: 2%; }
  .hero-visual { min-height: 520px; }
  .lesson-card { width: 370px; }
  .orbit-a { width: 460px; height: 460px; }
  .orbit-b { width: 360px; height: 360px; }
  .note-one { left: -1%; }.note-two { right: -3%; }.note-three { left: 0; }
  .ue-grid { grid-template-columns: repeat(3, 1fr); }
  .closing { padding: 64px; }
  .desktop-nav { gap: 20px; }
  .auth-entry { padding-inline: 10px; }
}

@media (max-width: 820px) {
  :root { --max: calc(100vw - 40px); }
  .desktop-nav, .header-actions { display: none; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
  .menu-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.7px) rotate(-45deg); }
  .mobile-menu { position: absolute; left: 0; right: 0; top: 66px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(251,248,242,.97); box-shadow: 0 20px 50px rgba(16,42,67,.14); }
  .mobile-menu:not([hidden]) { display: grid; gap: 5px; }
  .mobile-menu a { padding: 12px; border-radius: 10px; font-weight: 600; }
  .mobile-menu a:hover { background: var(--paper); }
  .mobile-auth-entry { min-height: 48px; margin-top: 5px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 10px; color: var(--white); background: var(--ink); font-weight: 700; cursor: pointer; }
  .auth-dialog { width: min(680px, calc(100vw - 32px)); }
  .auth-shell { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .auth-aside { min-height: 210px; padding: 28px; }
  .auth-aside-copy { left: 28px; bottom: 27px; }
  .auth-aside-copy > p:last-child { display: none; }
  .auth-aside h2 { max-width: 430px; margin: 0; font-size: 42px; }
  .auth-aside .eyebrow { margin-bottom: 13px; }
  .auth-panel { padding: 44px 48px 40px; }
  .hero { min-height: auto; padding: 70px 0 85px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 660px; }
  .hero-visual { margin-top: 70px; min-height: 590px; }
  .hero-proof { max-width: 590px; }
  .lesson-card { width: min(430px, 75vw); }
  .note-one { left: 8%; }.note-two { right: 5%; }.note-three { left: 12%; }
  .section { padding-top: 100px; padding-bottom: 100px; }
  .section-heading, .program-intro { grid-template-columns: 1fr; gap: 28px; }
  .section-heading > p:last-child, .program-intro > p:last-child { margin-top: 0; }
  .method-steps { grid-template-columns: 1fr; }
  .method-step, .method-step + .method-step { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 45px 80px 1fr; gap: 14px; align-items: center; }
  .step-icon { margin: 0; }
  .method-step h3 { margin: 0; }
  .method-step p { grid-column: 3; }
  .ue-grid { grid-template-columns: repeat(2, 1fr); }
  .experience { grid-template-columns: 1fr; gap: 60px; }
  .experience-demo { min-height: 520px; }
  .closing { min-height: 500px; padding: 50px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  footer { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  footer .brand { justify-self: center; }
  footer .copyright { text-align: center; }
}

@media (max-width: 520px) {
  :root { --max: calc(100vw - 32px); }
  .site-header { width: var(--max); height: 68px; }
  .site-header.is-stuck { width: calc(100% - 24px); top: 8px; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(53px, 16.6vw, 72px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .button { width: 100%; }
  .text-link { padding-left: 8px; }
  .hero-proof { grid-template-columns: 1fr; gap: 0; }
  .hero-proof div { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero-visual { min-height: 500px; margin: 55px -6px 0; }
  .lesson-card { width: 88vw; min-height: 480px; padding: 24px; }
  .lesson-card h2 { font-size: 30px; }
  .lesson-kicker { margin-top: 46px; }
  .orbit-a { width: 105vw; height: 105vw; }
  .orbit-b { width: 82vw; height: 82vw; }
  .floating-note { font-size: 9px; padding: 7px 10px 7px 7px; }
  .floating-note span { width: 23px; height: 23px; }
  .note-one { left: 0; top: 22%; }.note-two { right: -3%; top: 51%; }.note-three { left: 3%; bottom: 8%; }
  .section { padding: 82px 16px; }
  .section h2 { font-size: 47px; }
  .method-step, .method-step + .method-step { grid-template-columns: 36px 66px 1fr; }
  .step-icon { width: 54px; height: 54px; }
  .method-step p { grid-column: 1 / -1; padding-left: 102px; }
  .filter-row { margin-top: 45px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .filter { flex: 0 0 auto; }
  .ue-grid { grid-template-columns: 1fr; }
  .ue-card { min-height: 174px; }
  .experience { padding-inline: 16px; }
  .experience-demo { min-height: 430px; }
  .demo-shell { height: 370px; grid-template-columns: 52px 1fr; border-radius: 18px; }
  .demo-sidebar { padding: 14px 10px; }
  .demo-sidebar i { width: 20px; }
  .demo-content { padding: 20px 18px; }
  .pill-a { left: -7px; top: 10%; }.pill-b { right: -7px; bottom: 8%; }
  .closing { margin: 0 16px; padding: 38px 26px; border-radius: 24px; }
  .closing h2 { font-size: 46px; }
  footer { padding-inline: 16px; }
  .auth-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); border-radius: 20px; }
  .auth-shell { border-radius: 20px; }
  .auth-aside { min-height: 180px; padding: 23px; }
  .brand-auth { font-size: 17px; }
  .auth-aside-copy { left: 23px; bottom: 22px; }
  .auth-aside h2 { font-size: 34px; }
  .auth-aside .eyebrow { display: none; }
  .auth-panel { padding: 40px 24px 28px; }
  .auth-panel h2 { padding-right: 24px; font-size: 39px; }
  .auth-close { right: 12px; top: 12px; }
}

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