/* nos — marketing site
   Night navy, moonlight gold, off-white paper. No framework, no build step. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --night-950: #081226;
  --night-900: #0C1A33;
  --night-850: #101F3E;
  --night-800: #14264A;
  --night-700: #1B2E57;
  --night-600: #2A4275;
  --slate: #6E7FA6;
  --mist: #A7B3CC;
  --moon: #F4D795;
  --moon-deep: #E9B949;
  --cream: #F6EFD9;
  --paper: #F4F1EA;
  --paper-2: #ECE7DA;
  --card: #FCFBF8;
  --line: #E4DFD2;
  --ink: #0C1A33;
  --muted: #55607A;
  --dawn: #FF8F70;
  --dawn-ink: #B83E22;
  --ok: #1C6B58;

  --display: "Outfit", "Century Gothic", "Avenir Next", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(76px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--moon-deep); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 72px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--moon); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(90deg, var(--ink) 46%, var(--moon-deep) 46%); }
.eyebrow--night { color: var(--mist); }
.eyebrow--night::before { background: linear-gradient(90deg, var(--night-600) 46%, var(--moon) 46%); }
.sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.sub--night { color: var(--mist); }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.fine--night { color: #8E9BB8; }
.head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.head--left { margin-inline: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 14px; font-family: var(--text); font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.btn--moon { background: var(--moon); color: var(--ink); box-shadow: 0 0 0 0 rgba(244, 215, 149, 0); }
.btn--moon:hover { background: #F8E0A8; box-shadow: 0 10px 34px -10px rgba(244, 215, 149, .55); }
.btn--ghost { border-color: rgba(246, 239, 217, .28); color: var(--cream); }
.btn--ghost:hover { border-color: rgba(246, 239, 217, .6); background: rgba(246, 239, 217, .06); }
.btn--navy { background: var(--ink); color: var(--cream); }
.btn--navy:hover { background: var(--night-800); box-shadow: 0 12px 30px -14px rgba(12, 26, 51, .6); }
.btn--line { border-color: #CFC8B6; background: var(--card); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--text { padding-inline: 10px; color: var(--muted); background: none; }
.btn--text:hover { color: var(--ink); transform: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: -0.01em; color: var(--cream); text-decoration: none; }
.logo__moon { width: 1.06ex; height: 1.06ex; margin: 0 .05em -.03ex; flex: none; }
.logo__dark { fill: var(--night-600); }
.logo__lit { fill: var(--moon); }
.logo--sm { font-size: 30px; color: var(--ink); }
.logo--sm .logo__dark { fill: var(--ink); }
.logo--sm .logo__lit { fill: var(--moon-deep); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-stuck { background: rgba(8, 18, 38, .82); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { padding: 12px 0; font-size: 14.5px; font-weight: 500; color: var(--mist); text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--cream); }

/* ---------- Stars ---------- */
.stars { position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 7% 16%, rgba(246,239,217,.85) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 18% 62%, rgba(246,239,217,.6) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 29% 28%, rgba(246,239,217,.5) 50%, transparent 52%),
    radial-gradient(1px 1px at 38% 78%, rgba(246,239,217,.55) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 46% 12%, rgba(246,239,217,.7) 50%, transparent 52%),
    radial-gradient(1.1px 1.1px at 55% 52%, rgba(246,239,217,.4) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 63% 22%, rgba(246,239,217,.6) 50%, transparent 52%),
    radial-gradient(1px 1px at 71% 70%, rgba(246,239,217,.5) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 82% 9%, rgba(246,239,217,.75) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 90% 44%, rgba(246,239,217,.5) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 95% 82%, rgba(246,239,217,.55) 50%, transparent 52%),
    radial-gradient(1px 1px at 12% 88%, rgba(246,239,217,.45) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 3% 46%, rgba(246,239,217,.5) 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 76% 36%, rgba(246,239,217,.45) 50%, transparent 52%); }
.stars--soft { opacity: .6; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(52% 46% at 76% 40%, rgba(244, 215, 149, .13), transparent 70%),
    radial-gradient(90% 80% at 20% 0%, #13264B 0%, transparent 60%),
    var(--night-900); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-top: clamp(128px, 15vw, 176px); padding-bottom: clamp(150px, 19vw, 250px); }
.hero h1 { font-size: clamp(46px, 6.6vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.hl { color: var(--moon); font-weight: 500; }
.lede { max-width: 33em; margin-top: 26px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--mist); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .fine { margin-top: 18px; }
.horizon { position: absolute; left: -8%; bottom: -1px; width: 116%; height: clamp(64px, 9.5vw, 140px); background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

.hero__art { position: relative; justify-self: center; width: min(100%, 410px); padding-bottom: 100px; }
.glass { border: 1px solid rgba(255, 255, 255, .09); border-radius: 26px; background: linear-gradient(160deg, rgba(27, 46, 87, .86), rgba(16, 31, 62, .86)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .07); }
.glass--main { position: relative; padding: 22px 26px 84px; text-align: center; }
.glass__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--mist); }
.glass__top span:first-child { font-family: var(--display); font-size: 16px; font-weight: 500; color: var(--cream); }
.dot-ok { display: inline-flex; align-items: center; gap: 7px; }
.dot-ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #86D5BE; }
.moon { width: 70%; margin: 18px auto 10px; overflow: visible; filter: drop-shadow(0 0 30px rgba(244, 215, 149, .24)); }
.count { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.count__n { font-family: var(--display); font-weight: 300; font-size: 82px; line-height: .95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.count__of { font-family: var(--display); font-size: 20px; color: var(--mist); }
.count__label { margin-top: 4px; font-size: 13.5px; color: var(--mist); }
.glass--cross { position: absolute; right: -10%; bottom: 0; width: 58%; padding: 16px 18px 12px; border-radius: 20px; animation: drift 9s ease-in-out infinite; }
.glass--gap { position: absolute; left: -10%; bottom: 58px; width: 50%; padding: 14px 16px; border-radius: 18px; animation: drift 11s ease-in-out -4s infinite; }
.glass__k { font-size: 12px; color: var(--mist); }
.glass__v { font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.15; color: var(--moon); }
.glass__v2 { margin-top: 2px; font-size: 14.5px; font-weight: 600; }
.glass__v2 span { display: block; font-weight: 500; font-size: 13px; color: var(--dawn); }
.spark { width: 100%; margin-top: 6px; overflow: visible; }
.spark__line { stroke: var(--dawn); stroke-width: 1; stroke-dasharray: 3 5; opacity: .8; }
.spark__before { fill: none; stroke: var(--slate); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spark__after { fill: none; stroke: var(--moon); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spark__dot { fill: var(--moon); }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Moon gauge parts (drawn by site.js) */
.moon__ring { fill: none; stroke: var(--night-700); stroke-width: 9; }
.moon__lit-ring { fill: none; stroke: var(--moon); stroke-width: 9; }
.moon__dark { fill: #16294F; }
.moon__lit { fill: var(--moon); }
.moon__crater { fill: #E2C37C; }

/* ---------- The rule ---------- */
.rule { padding-block: clamp(28px, 4vw, 56px) var(--section); }
.tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.test { padding: 34px 32px 36px; border: 1px solid var(--line); border-radius: 26px; background: var(--card); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.test:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(12, 26, 51, .35); }
.test__n { font-family: var(--display); font-weight: 300; font-size: clamp(72px, 8vw, 112px); line-height: .9; letter-spacing: -0.04em; }
.test h3 { margin-top: 18px; }
.test p:last-child { margin-top: 10px; font-size: 16px; color: var(--muted); }
.aside { max-width: 760px; margin: 34px auto 0; padding: 18px 24px; border-radius: 18px; background: var(--paper-2); font-size: 15.5px; color: #3F4A63; text-align: center; text-wrap: pretty; }

/* ---------- How ---------- */
.how { padding-block: 0 var(--section); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 24px; right: calc(25% - 45px); top: 23px; border-top: 1px dashed #BFB8A6; }
.step { position: relative; }
.step__i { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--moon); font-family: var(--display); font-size: 15px; font-weight: 500; box-shadow: 0 0 0 8px var(--paper); }
.step h3 { margin-top: 22px; }
.step p { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* ---------- Year (night panel) ---------- */
.year, .wait { position: relative; overflow: hidden; width: min(100% - 2 * clamp(10px, 2vw, 28px), 1360px); margin-inline: auto; border-radius: clamp(28px, 4vw, 48px); color: var(--cream);
  background: radial-gradient(70% 90% at 85% 10%, #15294F 0%, transparent 60%), var(--night-900); }
.year__in { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(56px, 8vw, 104px); }
.legend { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; font-size: 14px; color: var(--mist); }
.legend li { display: inline-flex; align-items: center; gap: 9px; }
.k { width: 10px; height: 18px; border-radius: 3px; }
.k--let { background: var(--moon); box-shadow: 0 0 10px rgba(244, 215, 149, .5); }
.k--ahead { background: var(--slate); }
.k--gap { border: 1.5px solid var(--dawn); }
.k--open { background: #172A52; }
.grid-card { padding: clamp(16px, 2.4vw, 28px); border: 1px solid rgba(255, 255, 255, .07); border-radius: 24px; background: rgba(8, 18, 38, .5); }
.yrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) 26px; align-items: center; gap: 10px; }
.yrow + .yrow { margin-top: clamp(4px, .6vw, 7px); }
.yrow__m { font-size: 12.5px; color: var(--mist); }
.yrow__n { font-family: var(--display); font-size: 14px; text-align: right; color: var(--cream); }
.ycells { display: grid; grid-template-columns: repeat(31, minmax(0, 1fr)); gap: clamp(1.5px, .25vw, 3px); }
.yc { aspect-ratio: 1 / 2; border-radius: 2.5px; background: #172A52; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--i) * 3ms); }
.yc--none { background: transparent; }
.yc--let { background: var(--moon); box-shadow: 0 0 7px rgba(244, 215, 149, .35); }
.yc--ahead { background: var(--slate); }
/* With scripts on, the lights come on in sequence as the grid scrolls into view. */
.js .reveal:not(.is-in) .yc--let, .js .reveal:not(.is-in) .yc--ahead { background: #172A52; box-shadow: none; }
.yc--gap { background: transparent; box-shadow: inset 0 0 0 1.5px var(--dawn); }

/* ---------- Evidence ---------- */
.proof { padding-block: var(--section); }
.proof__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 6vw, 88px); }
.ticks { display: grid; gap: 12px; margin-top: 28px; font-size: 16px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23F4D795' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin-top: 22px; }
.doc { position: relative; width: min(100%, 400px); margin-inline: auto; aspect-ratio: 40 / 50; }
.doc__sheet { position: absolute; inset: 0 6% 4% 0; padding: 9% 9% 8%; border-radius: 10px; background: #fff; box-shadow: 0 2px 4px rgba(12, 26, 51, .06), 0 40px 70px -34px rgba(12, 26, 51, .45); transform: rotate(-2.2deg); }
.doc__sheet--back { inset: 5% 0 0 7%; background: var(--paper-2); box-shadow: none; transform: rotate(3deg); }
.doc__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); font-family: var(--display); font-size: 18px; font-weight: 500; }
.doc__head svg { width: 18px; height: 18px; }
.doc__title { margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc__table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.doc__table th { padding: 7px 0; font-size: 10.5px; font-weight: 500; text-align: right; color: var(--muted); border-bottom: 1px solid var(--line); }
.doc__table td { padding: 9px 0; text-align: right; font-family: var(--display); font-size: 16px; border-bottom: 1px solid var(--line); }
.doc__table th:first-child, .doc__table td:first-child { text-align: left; font-family: var(--text); font-size: 13px; font-weight: 500; }
.doc__lines { display: grid; gap: 8px; margin-top: 18px; }
.doc__lines i { height: 5px; border-radius: 3px; background: #E6E1D3; }
.doc__lines i:nth-child(2) { width: 82%; } .doc__lines i:nth-child(3) { width: 90%; } .doc__lines i:nth-child(4) { width: 54%; }
.doc__ticks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.doc__ticks span { padding: 4px 9px; border-radius: 999px; background: #DDEBE4; font-size: 10.5px; font-weight: 600; color: var(--ok); }

/* ---------- Calculator ---------- */
.calc { padding-block: 0 var(--section); }
.calc__box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border: 1px solid var(--line); border-radius: 32px; background: var(--card); box-shadow: 0 50px 90px -60px rgba(12, 26, 51, .5); overflow: hidden; }
.calc__in { padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.big-field { display: grid; gap: 8px; }
.big-field__k { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.big-field input { width: 100%; min-height: 64px; padding: 0 18px; border: 1px solid #CFC8B6; border-radius: 16px; background: #fff; font-family: var(--display); font-size: 30px; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.big-field input::placeholder { color: #B9B3A3; font-weight: 300; }
.big-field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(233, 185, 73, .35); }
.big-field__h { font-size: 13.5px; color: var(--muted); }
.group { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.group__k { font-size: 14.5px; font-weight: 600; }
.group__k span { font-weight: 400; color: var(--muted); }
.tabs { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 14px; background: var(--paper-2); }
.tab { min-height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: none; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab.is-on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(12, 26, 51, .14); }
.panel { display: flex; flex-direction: column; gap: 14px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 20px; border: 1.5px dashed #C9C2B0; border-radius: 20px; background: var(--paper); text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--ink); background: #EFEBE0; }
.drop svg { width: 30px; height: 30px; margin-bottom: 6px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop strong { font-family: var(--display); font-size: 19px; font-weight: 500; }
.drop span { font-size: 14px; color: var(--muted); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--moon-deep); outline-offset: 3px; }
.files { display: grid; gap: 8px; }
.files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.files b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files span { flex: none; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #3F4A63; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.help { font-size: 14.5px; color: var(--muted); }
.help summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.help p { margin-top: 8px; }
.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 10px; align-items: end; }
.row label, .prior label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.row input, .prior input, .form input, .form select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #CFC8B6; border-radius: 12px; background: #fff; font-size: 16px; color: var(--ink); }
.row input:focus, .prior input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(233, 185, 73, .35); }
.row__x { width: 44px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: none; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; }
.row__x:hover { border-color: var(--dawn-ink); color: var(--dawn-ink); }
.prior { margin: 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); }
.prior legend { padding: 0; font-size: 14.5px; font-weight: 600; float: left; width: 100%; margin-bottom: 12px; }
.prior legend span { font-weight: 400; color: var(--muted); }
.prior__grid { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.calc__out { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 48px) clamp(22px, 3vw, 40px); text-align: center; color: var(--cream);
  background: radial-gradient(80% 60% at 50% 22%, rgba(244, 215, 149, .12), transparent 70%), var(--night-900); }
.calc__out > * { position: relative; }
.calc__out .stars { position: absolute; }
.moon--calc { width: min(62%, 230px); margin: 0 auto 10px; }
.verdict { max-width: 26em; margin-top: 16px; font-family: var(--display); font-size: 21px; line-height: 1.3; text-wrap: balance; }
.verdict b { font-weight: 500; color: var(--moon); }
.verdict.is-short b { color: var(--dawn); }
.facts { display: grid; width: 100%; margin-top: 22px; border-top: 1px solid var(--night-700); text-align: left; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--night-700); font-size: 14.5px; }
.facts dt { color: var(--mist); }
.facts dd { font-weight: 500; text-align: right; }
.calc__out .btn { margin-top: 22px; }
.calc__out .fine { margin-top: 16px; }

/* ---------- Pricing ---------- */
.pricing { padding-block: 0 var(--section); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; margin-inline: auto; }
.plan { position: relative; padding: 34px 34px 36px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.plan--night { border-color: transparent; color: var(--cream); background: radial-gradient(90% 80% at 90% 0%, #1A3160 0%, transparent 62%), var(--night-900); box-shadow: 0 40px 70px -40px rgba(12, 26, 51, .7); }
.plan h3 { font-size: 18px; font-family: var(--text); font-weight: 600; letter-spacing: 0; }
.price { margin-top: 16px; font-size: 17px; color: var(--muted); }
.plan--night .price { color: var(--mist); }
.price span { font-family: var(--display); font-weight: 300; font-size: clamp(60px, 7vw, 84px); line-height: .9; letter-spacing: -0.04em; color: var(--ink); margin-right: 6px; }
.plan--night .price span { color: var(--cream); }
.plan__note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.plan--night .plan__note { color: var(--mist); }
.plan__tag { position: absolute; right: 24px; top: 24px; padding: 6px 12px; border-radius: 999px; background: var(--moon); font-size: 12px; font-weight: 700; color: var(--ink); }
.includes { max-width: 880px; margin: 18px auto 0; padding: 32px 34px 36px; border-radius: 28px; background: var(--paper-2); }
.includes h3 { font-size: 18px; font-family: var(--text); font-weight: 600; letter-spacing: 0; }
.includes .btn { margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { padding-block: 0 var(--section); }
.faq__in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .head { margin-bottom: 0; position: sticky; top: 110px; }
.qa { border-top: 1px solid #D5CFBF; }
.qa details { border-bottom: 1px solid #D5CFBF; }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--display); font-size: clamp(19px, 2vw, 23px); font-weight: 400; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M11 17h12M17 11v12' stroke='%230C1A33' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 34px no-repeat; border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .2s; }
.qa details[open] summary::after { transform: rotate(45deg); background-color: var(--moon); border-color: var(--moon); }
.qa details p { max-width: 38em; padding: 0 60px 26px 0; color: var(--muted); }

/* ---------- Waiting list ---------- */
.wait { text-align: center; }
.wait__in { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: clamp(64px, 9vw, 120px); }
.wait__moon { width: 56px; height: 56px; margin-bottom: 28px; filter: drop-shadow(0 0 26px rgba(244, 215, 149, .4)); }
.wait h2 { max-width: 14em; }
.wait .sub { max-width: 30em; }
.form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 680px; margin-top: 34px; }
.form input, .form select { min-height: 52px; border-color: transparent; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.form input { flex: 1 1 240px; width: auto; }
.form select { flex: 0 1 170px; width: auto; }
.form select option { color: var(--ink); }
.form input::placeholder { color: #8E9BB8; }
.form input:focus, .form select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--moon); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { min-height: 26px; margin-top: 16px; font-size: 15px; color: var(--mist); }
.form__msg.is-ok { color: var(--moon); }
.form__msg.is-bad { color: var(--dawn); }

/* ---------- Footer ---------- */
.foot { padding-block: 56px 48px; }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px; }
.foot__line { font-size: 15px; color: var(--muted); }
.foot__links { display: flex; gap: 24px; font-size: 14.5px; }
.foot__links a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__small { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Simple pages (privacy, 404) ---------- */
.page { max-width: 720px; margin-inline: auto; padding: 140px var(--pad) 96px; }
.page h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; }
.page h2 { margin-top: 40px; font-size: 24px; }
.page p, .page li { margin-top: 14px; color: #3F4A63; }
.page ul { list-style: disc; padding-left: 22px; }
.page .todo { padding: 2px 6px; border-radius: 6px; background: #FBE6DE; color: var(--dawn-ink); font-weight: 600; }
.nav--solid { background: var(--night-900); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__in .btn { margin-left: auto; }
  .hero__in { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(120px, 22vw, 200px); }
  .hero__art { width: min(100%, 400px); margin-top: 8px; }
  .year__in, .proof__in, .calc__box, .faq__in { grid-template-columns: minmax(0, 1fr); }
  .faq .head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .steps::before { display: none; }
  .step__i { box-shadow: none; }
  .proof__in .doc { order: 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .tests, .plans { grid-template-columns: minmax(0, 1fr); }
  .test { padding: 26px 24px 28px; }
  .ticks--cols, .prior__grid { grid-template-columns: minmax(0, 1fr); }
  .glass--cross { right: -2%; }
  .glass--gap { left: -2%; }
  .foot__in { grid-template-columns: 1fr; justify-items: start; }
  .qa details p { padding-right: 0; }
  .btn { min-height: 50px; padding-inline: 22px; }
  .cta-row .btn { flex: 1 1 100%; }
  .form input, .form select, .form .btn { flex: 1 1 100%; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .count__n { font-size: 68px; }
  .nav__in .btn { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .glass--cross, .glass--gap { animation: none; }
  .yc { transition: none; }
  .btn, .test { transition: none; }
}

/* Analytics consent banner (analytics.js) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(12, 26, 51, .18); font-family: var(--text); font-size: 15px; line-height: 1.4; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent a { color: var(--ink); }
.consent__btns { display: flex; gap: 8px; }
