/* iVault Mail — site styles (landing, terms, 404, register, forgot) */

@font-face {
  font-family: "Geologica";
  src: url("/landing/fonts/geologica.woff") format("woff");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("/landing/fonts/golos-text.woff") format("woff");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ember: #FF6A13;
  --ember-soft: #FF8A47;
  --rust: #B8410A;
  --rust-dark: #8A2F05;
  --ink: #1A120D;
  --ink-2: #3A2A20;
  --peach: #FFE6D3;
  --peach-2: #FFC79E;
  --milk: #FFF6EF;
  --white: #FFFFFF;
  --line: #F1E4D9;
  --line-2: #D9CCC2;
  --text: #1A120D;
  --text-2: #3D2F27;
  --muted: #5A4A40;
  --muted-2: #6B5D54;
  --on-dark: #FFF6EF;
  --on-dark-2: #D9CCC2;
  --ok-bg: #E3F4E6;
  --ok: #1E6B30;
  --font-head: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gut: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--rust); }
a:hover { color: var(--rust-dark); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .on-dark :focus-visible { outline-color: var(--ember); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.on-dark .eyebrow { color: var(--ember-soft); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-word { font-family: var(--font-head); font-size: 21px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.brand-word span { font-weight: 400; color: var(--rust); }
.on-dark .brand, .on-dark .brand:hover { color: var(--on-dark); }
.on-dark .brand-word span { color: var(--ember-soft); }
.on-ember .brand-word span { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-ember { background: var(--ember); color: var(--ink); }
.btn-ember:hover { background: var(--ember-soft); color: var(--ink); }
.btn-line { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; padding: 0 14px; }
.btn-ghost:hover { color: var(--rust); }
.btn-block { width: 100%; border-radius: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.lang-btn {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #EDE2D8;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer;
}
.lang-btn:hover { border-color: var(--ink); }
.lang-btn b { color: var(--rust); }
.on-dark .lang-btn { background: transparent; color: var(--on-dark); border-color: var(--ink-2); }
.on-dark .lang-btn b { color: var(--ember-soft); }

/* ---------- landing: hero ---------- */
.hero { background: var(--ember); position: relative; overflow: hidden; }
.topnav { padding-top: 20px; position: relative; z-index: 5; }
.topnav-pill {
  display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap;
  padding: 10px 10px 10px 18px; border-radius: 999px; background: #fff;
  box-shadow: 0 10px 30px rgba(26, 18, 13, .12);
}
.topnav-links { display: flex; gap: 22px; flex: 1 1 auto; justify-content: center; }
.topnav-links a { color: var(--text-2); text-decoration: none; font-weight: 500; }
.topnav-links a:hover { color: var(--rust); }
.topnav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.hero-body { padding-top: 88px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; position: relative; z-index: 1; }
.hero-kicker { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 {
  font-size: clamp(50px, 9.2vw, 112px); line-height: .95; font-weight: 900; letter-spacing: -.045em; max-width: 1050px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: .16em; padding: 0 .3em .07em .2em; border-radius: 999px;
  background: #fff; vertical-align: middle; white-space: nowrap;
}
.hero-pill svg { width: .55em; height: .73em; }
.hero-lead { max-width: 620px; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.vault-stage { position: relative; max-width: 1100px; height: 420px; margin: 64px auto 0; }
.vault-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-app {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 520px; max-width: 92%; background: #fff; border-radius: 20px 20px 0 0;
  border: 1px solid var(--line); border-bottom: 0; overflow: hidden;
  box-shadow: 0 -10px 40px rgba(120, 50, 10, .12); text-align: left; font-size: 13px;
}
.mini-bar { height: 40px; background: var(--ink); display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.mini-bar svg { width: 20px; height: 20px; }
.mini-search { flex: 1; height: 22px; border-radius: 6px; background: var(--ink-2); }
.mini-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--ember); }
.mini-ribbon { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted-2); }
.mini-ribbon span { height: 26px; padding: 0 10px; display: flex; align-items: center; }
.mini-ribbon .on { background: var(--ember); color: var(--ink); font-weight: 700; border-radius: 6px; padding: 0 12px; }
.mini-panes { display: flex; }
.mini-folders { flex: 0 0 120px; padding: 10px; background: #FAF5F0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.mini-folders span { padding: 6px 8px; color: var(--muted-2); }
.mini-folders .on { background: var(--peach); color: var(--ink); font-weight: 700; border-radius: 5px; box-shadow: inset 3px 0 0 var(--ember); }
.mini-list { flex: 1; min-width: 0; }
.mini-row { padding: 10px 14px; border-bottom: 1px solid #F5EDE6; display: flex; flex-direction: column; gap: 2px; }
.mini-row b { font-size: 13px; }
.mini-row i { font-style: normal; font-size: 12px; color: var(--muted-2); }
.mini-row.unread i { color: var(--rust); font-weight: 700; }
.mini-row.sel { background: #FFF1E6; box-shadow: inset 3px 0 0 var(--ember); }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--on-dark); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 40s linear infinite; }
.ticker-group { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-head); font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.ticker-group i { font-style: normal; color: var(--ember); font-size: 14px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- sections ---------- */
.section { padding: 128px 0; }
.section-milk { background: var(--milk); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head p { max-width: 380px; font-size: 18px; color: var(--muted); }
.big-title { font-size: clamp(40px, 6vw, 64px); line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.center-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 56px; }
.center-head p { max-width: 560px; font-size: 18px; color: var(--muted); }

.manifesto .wrap { max-width: 1100px; display: flex; flex-direction: column; gap: 40px; }
.manifesto .eyebrow { display: flex; align-items: center; gap: 12px; }
.manifesto .eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--ember); }
.manifesto-text { font-family: var(--font-head); font-size: clamp(28px, 4.2vw, 50px); line-height: 1.18; font-weight: 600; letter-spacing: -.025em; }
.manifesto-text mark { background: var(--peach); color: inherit; padding: 0 .2em; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.manifesto-text em { font-style: normal; color: var(--rust); }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink); display: inline-flex; align-items: center; font-weight: 700; }
.tag-ember { background: var(--ember); border-color: var(--ember); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 251px; overflow: hidden; }
.tile h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.tile p { font-size: 15px; color: var(--muted); }
.tile-xl { grid-column: span 2; grid-row: span 2; background: var(--ink); color: var(--on-dark); padding: 40px; min-height: 520px; }
.tile-xl h3 { font-size: clamp(30px, 3vw, 38px); line-height: 1.08; letter-spacing: -.03em; }
.tile-xl p { font-size: 17px; color: var(--on-dark-2); max-width: 440px; }
.tile-ember { background: var(--ember); justify-content: space-between; }
.tile-ember .num { font-family: var(--font-head); font-size: 96px; line-height: .9; font-weight: 900; letter-spacing: -.05em; }
.tile-ember span { font-size: 17px; font-weight: 600; line-height: 1.4; }
.tile-milk { background: var(--milk); border: 1px solid var(--line); justify-content: space-between; }
.tile-wide { grid-column: span 2; border: 2px solid var(--ink); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 28px; }
.tile-wide > div { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.tile-wide h3 { font-size: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.chip-line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.blocked { display: flex; flex-direction: column; gap: 10px; }
.blocked span { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #FAF5F0; color: var(--muted-2); text-decoration: line-through; }
.blocked svg { width: 18px; height: 18px; flex: 0 0 auto; }
.wire { margin: auto -80px -60px 0; border-radius: 14px 0 0 0; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.wire-bar { height: 30px; background: var(--ember); display: flex; align-items: center; padding: 0 12px; }
.wire-bar span { width: 70px; height: 10px; border-radius: 4px; background: var(--ink); }
.wire-body { display: flex; height: 200px; }
.wire-a { flex: 0 0 120px; background: #FAF5F0; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.wire-b { flex: 0 0 180px; border-right: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.wire-c { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.wire i { display: block; border-radius: 4px; background: #EDE2D8; height: 10px; }
.wire .w-hi { background: var(--peach-2); height: 12px; }
.wire .w-row { height: 34px; border-radius: 6px; background: #FAF5F0; }
.wire .w-sel { height: 34px; border-radius: 6px; background: #FFF1E6; box-shadow: inset 3px 0 0 var(--ember); }
.wire .w-title { height: 14px; width: 60%; background: var(--ink); }

/* journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.journey li { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.journey .n { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.journey h3 { font-size: 21px; font-weight: 800; }
.journey p { font-size: 15px; color: var(--muted); }
.journey li.final { background: var(--ember); border-color: var(--ember); }
.journey li.final p { color: var(--ink); }
.journey li.final .n { background: var(--ink); border-color: var(--ink); }
.journey li.final .n svg { width: 22px; height: 28px; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-weight: 600; margin-top: 40px; }
.checks span { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* do / never */
.donever { display: flex; flex-wrap: wrap; gap: 18px; }
.donever > div { flex: 1 1 440px; border-radius: 28px; padding: 44px; display: flex; flex-direction: column; gap: 24px; }
.donever h2 { font-size: 48px; font-weight: 900; letter-spacing: -.04em; }
.donever ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 19px; font-weight: 600; }
.donever li { display: flex; gap: 14px; align-items: flex-start; }
.donever li svg { width: 26px; height: 26px; flex: 0 0 auto; }
.do-box { background: var(--ember); }
.never-box { background: var(--ink); color: var(--on-dark); }

/* key claim */
.keycut { padding: 0 var(--gut) 128px; }
.keycut-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.keycut-inner > p { max-width: 520px; font-size: 18px; color: var(--muted); }
.keytag { width: 100%; display: flex; flex-wrap: wrap; border-radius: 28px; background: var(--ink); color: var(--on-dark); overflow: hidden; text-align: left; }
.keytag-hole { flex: 0 0 120px; background: var(--ember); display: flex; align-items: center; justify-content: center; min-height: 150px; }
.keytag-hole span { width: 44px; height: 44px; border-radius: 50%; background: var(--milk); box-shadow: inset 0 0 0 10px var(--ink); }
.keytag-body { flex: 1 1 420px; padding: 30px 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.keytag label { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-soft); }
.keytag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.keytag-field { flex: 1 1 320px; display: flex; align-items: baseline; gap: 4px; border-bottom: 2px solid var(--ember); padding-bottom: 8px; min-width: 0; }
.keytag-field input { flex: 1; width: 0; min-width: 0; border: 0; outline: none; background: transparent; color: #fff; font: 800 40px var(--font-head); letter-spacing: -.02em; }
.keytag-field input::placeholder { color: #6E5A4E; }
.keytag-field span { font-family: var(--font-head); font-size: 26px; font-weight: 500; color: #CDBFB4; }
.keytag-status { min-height: 24px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--peach-2); }
.keytag-status.bad { color: #FFB59A; }

/* faq */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-q { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.faq-q h2 { margin-bottom: 12px; }
.faq-q button {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 12px 22px;
  border: 1px solid #EDE2D8; border-radius: 16px; background: #fff; color: var(--ink); font-weight: 600; font-size: 17px; text-align: left; cursor: pointer;
}
.faq-q button:hover { border-color: var(--ink); }
.faq-q button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.faq-q button svg { width: 18px; height: 18px; flex: 0 0 auto; opacity: 0; }
.faq-q button[aria-selected="true"] svg { opacity: 1; }
.faq-a { flex: 1 1 480px; align-self: flex-start; margin-top: 88px; border-radius: 28px; background: #fff; border: 1px solid var(--line); padding: 44px; }
.faq-a [role="tabpanel"] { display: flex; flex-direction: column; gap: 18px; }
.faq-a [role="tabpanel"][hidden] { display: none; }
.faq-a h3 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.faq-a p { font-size: 18px; line-height: 1.65; color: var(--text-2); }

/* footer */
.site-footer { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.site-footer .wrap { padding-top: 72px; display: flex; flex-direction: column; gap: 48px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 56px; }
.foot-cta { display: flex; flex-direction: column; gap: 16px; max-width: 360px; align-items: flex-start; }
.foot-cta strong { font-family: var(--font-head); font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot-cols div { display: flex; flex-direction: column; gap: 12px; }
.foot-cols h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #CDBFB4; }
.foot-cols a { color: var(--on-dark); text-decoration: none; }
.foot-cols a:hover { color: var(--ember); }
.foot-cols a.mail { color: var(--ember-soft); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ink-2); font-size: 14px; color: #CDBFB4; }
.foot-bottom button { background: none; border: 0; color: #CDBFB4; cursor: pointer; padding: 0; }
.foot-bottom button:hover { color: var(--ember); }
.foot-giant { font-family: var(--font-head); font-size: clamp(120px, 24vw, 300px); line-height: .78; font-weight: 900; letter-spacing: -.06em; color: var(--ember); white-space: nowrap; margin-bottom: -.09em; user-select: none; }

/* ---------- inner pages: shared top bar ---------- */
.pagebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.pagebar-actions { display: flex; align-items: center; gap: 12px; }

/* terms */
.terms-head { background: var(--ink); color: var(--on-dark); }
.terms-head .wrap { padding-bottom: 72px; display: flex; flex-direction: column; gap: 64px; }
.terms-head h1 { font-size: clamp(48px, 7vw, 84px); line-height: .95; font-weight: 900; letter-spacing: -.045em; }
.terms-head p { max-width: 600px; font-size: 19px; color: var(--on-dark-2); }
.terms-head .intro { display: flex; flex-direction: column; gap: 16px; }
.terms-body { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.toc { flex: 1 1 240px; max-width: 300px; position: sticky; top: 24px; }
.toc-box { padding: 24px; border-radius: 22px; background: var(--milk); display: flex; flex-direction: column; gap: 4px; }
.toc-box h2 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.toc-box a { display: flex; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-weight: 500; }
.toc-box a span { color: var(--rust); }
.toc-box a:hover, .toc-box a.on { background: var(--ember); color: var(--ink); }
.toc-box a:hover span, .toc-box a.on span { color: var(--ink); }
.terms-doc { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 48px; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.terms-doc section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.terms-doc h2 { display: flex; align-items: baseline; gap: 16px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.terms-doc h2 span { color: var(--ember); }
.terms-doc ul { margin: 0; padding-left: 22px; }
.terms-doc li + li { margin-top: 6px; }
.terms-doc .hl { padding: 32px; border-radius: 22px; background: var(--milk); }
.terms-doc .contact { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; border-radius: 22px; background: var(--ember); color: var(--ink); }
.terms-doc .contact h2, .terms-doc .contact h2 span { color: var(--ink); }
.mini-foot { border-top: 1px solid var(--line); }
.mini-foot .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted-2); }
.mini-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* 404 */
.nf > .wrap { width: 100%; }
.nf { min-height: 100vh; display: flex; flex-direction: column; background: var(--ember); overflow: hidden; }
.nf main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; padding: 16px 16px 64px; }
.nf-code { display: flex; align-items: center; gap: .05em; font-family: var(--font-head); font-size: clamp(120px, 22vw, 260px); line-height: .85; font-weight: 900; letter-spacing: -.06em; }
.nf-code svg { width: .88em; height: .88em; }
.nf h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.02; font-weight: 900; letter-spacing: -.04em; }
.nf p { max-width: 460px; font-size: 19px; font-weight: 500; }
.nf a.link-dark { color: var(--ink); }

/* ---------- auth pages (register / forgot) ---------- */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-side { flex: 0 1 540px; min-width: 0; background: var(--ember); padding: 40px 56px; display: flex; flex-direction: column; gap: 36px; position: relative; overflow: hidden; }
.auth-side h1 { margin-top: 32px; font-size: clamp(44px, 5vw, 60px); line-height: .98; font-weight: 900; letter-spacing: -.045em; }
.perks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 18px; font-weight: 600; }
.perks li { display: flex; align-items: center; gap: 14px; }
.perks i { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--ember); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.perks svg { width: 18px; height: 18px; }
.keybadge { margin-top: auto; align-self: flex-start; display: flex; align-items: center; height: 96px; max-width: 100%; border-radius: 20px; background: var(--ink); color: var(--on-dark); padding-right: 28px; transform: rotate(-4deg); box-shadow: 0 20px 40px rgba(26, 18, 13, .3); }
.keybadge i { width: 96px; height: 96px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.keybadge i::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--ember); box-shadow: inset 0 0 0 8px var(--ink), 0 0 0 3px var(--ember); }
.keybadge span { font-family: var(--font-head); font-size: 21px; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.keybadge span b { color: var(--ember-soft); font-weight: 800; }
.auth-main { flex: 999 1 480px; padding: 40px 24px 56px; display: flex; flex-direction: column; align-items: center; gap: 24px; overflow: hidden; }
.auth-top { align-self: stretch; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; align-items: center; font-size: 15px; font-weight: 600; }
.auth-top .muted { color: var(--muted-2); font-weight: 400; }
.auth-form { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.auth-form h2 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field-label { font-size: 14px; font-weight: 700; }
.input, .addr {
  min-height: 56px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff;
  font-size: 17px; font-weight: 500; transition: border-color .15s ease, box-shadow .15s ease;
}
.input { width: 100%; padding: 0 16px; }
textarea.input { padding: 14px 16px; min-height: 120px; line-height: 1.5; font-weight: 400; resize: vertical; }
.input:focus, .addr:focus-within { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255, 106, 19, .2); }
.addr { display: flex; align-items: center; padding: 0 16px; border-width: 2px; border-color: var(--ink); }
.addr input { flex: 1; width: 0; min-width: 0; border: 0; outline: none; background: transparent; font-size: 18px; font-weight: 600; }
.addr span { font-size: 18px; color: var(--muted-2); white-space: nowrap; }
.pass { display: flex; align-items: center; padding-right: 8px; }
.pass input { flex: 1; width: 0; min-width: 0; border: 0; outline: none; background: transparent; padding: 0 0 0 16px; min-height: 52px; font-size: 18px; }
.pass button { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pass button:hover { color: var(--ink); background: var(--milk); }
.pass button svg { width: 20px; height: 20px; }
.hint { font-size: 13px; color: var(--muted-2); }
.meter { display: flex; gap: 6px; }
.meter i { flex: 1; height: 5px; border-radius: 999px; background: var(--line); transition: background-color .2s; }
.meter[data-level="1"] i:nth-child(1) { background: #E2541B; }
.meter[data-level="2"] i:nth-child(-n+2) { background: var(--ember); }
.meter[data-level="3"] i { background: var(--ember); }
.status { align-self: flex-start; display: none; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.status.show { display: inline-flex; }
.status svg { width: 14px; height: 14px; }
.status.ok { background: var(--ok-bg); color: var(--ok); }
.status.taken { background: var(--peach); color: var(--rust-dark); }
.status.info { background: var(--line); color: var(--text-2); }
.status.wait { background: var(--milk); color: var(--muted-2); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ember); flex: 0 0 auto; }
.alert { padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.alert[hidden] { display: none; }
.alert-err { background: #FDE3DA; color: #8A2005; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.captcha { min-height: 78px; }

.done { display: flex; flex-direction: column; gap: 18px; }
.done[hidden] { display: none; }
.done h2 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.done .addr-big { font-family: var(--font-head); font-size: 28px; font-weight: 800; padding: 18px 22px; border-radius: 16px; background: var(--milk); word-break: break-all; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.settings-box { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); font-size: 15px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.settings-box dt { color: var(--muted-2); }
.settings-box dd { margin: 0; font-weight: 600; }

/* forgot */
.forgot-page { min-height: 100vh; background: var(--milk); }
.forgot-main { padding-top: 32px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.forgot-intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.forgot-intro h1 { font-size: clamp(44px, 5.5vw, 64px); line-height: .98; font-weight: 900; letter-spacing: -.045em; }
.forgot-intro > p { max-width: 440px; font-size: 18px; color: var(--muted); }
.steps3 { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.steps3 li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); line-height: 1.5; }
.steps3 b { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--peach); color: var(--rust-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.steps3 li:first-child b { background: var(--ember); color: var(--ink); }
.card-form { flex: 1 1 460px; max-width: 560px; padding: 40px; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(120, 50, 10, .1); display: flex; flex-direction: column; gap: 20px; }
.card-form h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.card-form .addr { border-width: 1.5px; border-color: var(--line-2); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li.final { grid-column: span 2; }
  .faq-a { margin-top: 0; }
}
@media (max-width: 860px) {
  .topnav-links { display: none; }
  .topnav-pill { border-radius: 24px; }
  .hero-body { padding-top: 56px; }
  .vault-stage { height: 320px; margin-top: 40px; }
  .section { padding: 88px 0; }
  .auth-side { flex-basis: 100%; padding: 28px 24px; gap: 24px; }
  .auth-side h1 { margin-top: 8px; }
  .keybadge { display: none; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .topnav-actions .btn-ghost { display: none; }
  .topnav-pill { padding: 8px 8px 8px 12px; gap: 8px; flex-wrap: nowrap; }
  .topnav-actions { gap: 6px; }
  .topnav .lang-btn { padding: 0 10px; min-height: 40px; }
  .brand-word { font-size: 19px; }
  .topnav-actions .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-xl, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-xl { min-height: 0; padding: 28px; }
  .wire { display: none; }
  .tile { padding: 26px; min-height: 0; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey li.final { grid-column: auto; }
  .donever > div { padding: 30px 24px; flex-basis: 100%; }
  .donever h2 { font-size: 40px; }
  .keytag-hole { flex-basis: 100%; min-height: 72px; }
  .keytag-body { padding: 24px; }
  .keytag-field input { font-size: 30px; }
  .keytag-field span { font-size: 18px; }
  .faq-a { padding: 28px 24px; }
  .faq-a h3 { font-size: 24px; }
  .card-form { padding: 26px 20px; }
  .addr span, .addr input { font-size: 16px; }
  .ticker-group { font-size: 19px; }
  .tile-ember .num { font-size: 72px; }
  .mini-folders { display: none; }
}
@media (max-width: 420px) {
  .topnav .brand-word span { display: none; }
  .topnav-actions .btn { padding: 0 14px; font-size: 14px; }
}
