/* YadVault website. Palette follows the product UI: violet primary, teal accent.
   System font stack: nothing is loaded from outside this site. */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f6fc;
  --surface: #ffffff;
  --text: #14122b;
  --muted: #5b5876;
  --line: #e6e3f3;
  --primary: #6d28d9;
  --primary-hover: #5b21b6;
  --on-primary: #ffffff;
  --primary-soft: #efe9fe;
  --accent: #0f766e;
  --accent-soft: #d9f5f1;
  --link: #5b21b6;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --shadow: 0 1px 2px rgb(20 18 43 / .05), 0 12px 32px -12px rgb(60 30 130 / .18);
  --shadow-lg: 0 30px 80px -24px rgb(80 40 170 / .35);
  --glow-1: rgb(139 92 246 / .22);
  --glow-2: rgb(45 212 191 / .20);
  --radius: 16px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

:root[data-theme="dark"] {
  --bg: #0b0a14;
  --bg-alt: #100f1c;
  --surface: #15132a;
  --text: #efeefa;
  --muted: #a9a6c4;
  --line: #28254a;
  --primary: #7c3aed;
  --primary-hover: #8b5cf6;
  --primary-soft: #261d52;
  --accent: #2dd4bf;
  --accent-soft: #0f2f33;
  --link: #b9a2fb;
  --danger: #ff8a80;
  --danger-soft: #3a1717;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 30px 80px -24px rgb(0 0 0 / .8);
  --glow-1: rgb(124 58 237 / .28);
  --glow-2: rgb(45 212 191 / .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -0.035em; }
h2, .h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .9em; background: var(--primary-soft); padding: .12em .4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
:root[data-theme="dark"] :focus-visible { outline-color: #b9a2fb; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* theme-specific visibility */
:root[data-theme="light"] .only-dark, :root[data-theme="dark"] .only-light { display: none !important; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem;
  color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 550; font-size: .97rem; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: var(--primary-soft); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.icon-btn:hover { background: var(--primary-soft); }
.icon-btn .icon { width: 20px; height: 20px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 650 1rem/1 var(--font); padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-sm { padding: 10px 16px; font-size: .94rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 24px -10px rgb(109 40 217 / .7); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-light { background: #fff; color: #3b0f8c; }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / .5); background: transparent; }
.btn-outline-light:hover { background: rgb(255 255 255 / .12); }

/* ---------- layout blocks ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(32px, 5vw, 64px) 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; margin-bottom: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 750; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); }
.grad { background: linear-gradient(100deg, #7c3aed 10%, #14b8a6 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .grad { background-image: linear-gradient(100deg, #a78bfa 10%, #2dd4bf 90%); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.chip { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  background: var(--primary-soft); color: var(--primary); }
:root[data-theme="dark"] .chip { color: #c4b2fc; }
.chip .icon { width: 24px; height: 24px; }
.pill { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
  background: var(--primary); color: #fff; padding: 3px 8px; border-radius: 999px; margin-left: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%; z-index: -1;
  background: radial-gradient(40% 50% at 18% 30%, var(--glow-1), transparent 70%),
              radial-gradient(35% 45% at 85% 20%, var(--glow-2), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.hero-copy .lead { max-width: 56ch; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .96rem; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--accent); }
.frame { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.caption { margin-top: 14px; text-align: center; }

/* ---------- grids ---------- */
.promises, .grid3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--muted); font-size: 1rem; }

/* tabs */
.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.tablist button { font: 650 .96rem var(--font); padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.tablist button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.js .panel { display: none; }
.js .panel.active { display: block; }
.panel:not(:last-child) { border-bottom: 1px solid var(--line); }
.js .panel:not(:last-child) { border-bottom: 0; }
.frame.wide { max-width: 1040px; margin-inline: auto; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 28px; }
.stats div { text-align: center; padding: 12px; }
.stats strong { display: block; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.stats div:nth-child(odd) strong { color: var(--primary); }
.stats div:nth-child(even) strong { color: var(--accent); }
:root[data-theme="dark"] .stats div:nth-child(odd) strong { color: #b9a2fb; }
.stats span { display: block; color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 20px; grid-template-columns: 1fr; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, #8b5cf6, #5b21b6); color: #fff; font-weight: 800; }
.code { background: #0e0c1f; color: #e8e4ff; padding: 16px 18px; border-radius: 12px; overflow-x: auto; margin: 14px 0 0; font-size: .92rem; line-height: 1.7; }
.code code { background: none; padding: 0; color: inherit; }
.reqs ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.reqs li { margin-bottom: .4em; }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 20px; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan .btn { margin-top: auto; }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--primary); color: #fff; font-size: .78rem; font-weight: 750;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.price { margin: .2em 0 .4em; }
.price strong { font-size: 3rem; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); font-weight: 550; }
.list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.list .icon { margin-top: .22em; color: var(--accent); }
.list .icon:has(path[d^="M6 6"]) { color: var(--muted); }
.list.roomy { gap: 18px; }
.list.roomy .icon { color: var(--primary); width: 1.5em; height: 1.5em; margin-top: .1em; }
:root[data-theme="dark"] .list.roomy .icon { color: #b9a2fb; }
.trial { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft)); }
.trial h3 { margin-bottom: .3em; }
.table-wrap { overflow-x: auto; margin: 40px 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .98rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare tbody th { font-weight: 550; }
.compare tr:last-child > * { border-bottom: 0; }
.compare td .icon { color: var(--accent); }
.compare td .icon:has(path[d^="M6 6"]) { color: var(--muted); }

/* privacy split */
.split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
.honest { background: var(--bg-alt); box-shadow: none; }
.honest .list { margin-bottom: 18px; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* final cta */
.final { text-align: center; color: #fff; border-radius: 28px; padding: clamp(40px, 7vw, 80px) 24px;
  background: radial-gradient(60% 90% at 90% 0%, rgb(45 212 191 / .45), transparent 60%),
              linear-gradient(135deg, #7c3aed, #4c1d95); box-shadow: var(--shadow-lg); }
.final h2 { max-width: 20ch; margin-inline: auto; }
.final p { opacity: .92; font-size: 1.15rem; margin-bottom: 28px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg-alt); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer p { margin-bottom: .5em; }

/* ---------- order + status ---------- */
.form-card { padding: clamp(22px, 4vw, 40px); }
.progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: .88rem; font-weight: 650; }
.progress li { flex: 1; padding-top: 10px; border-top: 4px solid var(--line); color: var(--muted); }
.progress li.active, .progress li.past { border-color: var(--primary); color: var(--text); }
.plan-pick { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.plan-pick legend { font-weight: 650; margin-bottom: 10px; padding: 0; }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; inset: 0; }
.radio-card span { display: flex; flex-direction: column; gap: 2px; height: 100%; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.radio-card em { font-style: normal; color: var(--muted); }
.radio-card input:checked + span { border-color: var(--primary); background: var(--primary-soft); }
.radio-card input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"] {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 14px; }
.field input:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.hint { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.err { color: var(--danger); font-size: .9rem; margin: 6px 0 0; font-weight: 550; }
.err:empty { display: none; }
.code-input { font-family: var(--mono) !important; font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; max-width: 280px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: var(--danger-soft); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  padding: 12px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 550; }
.prose .alert { background: var(--primary-soft); color: var(--text); border-color: var(--line); }
.prose h2 { margin-top: 2em; font-size: 1.6rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.keybox { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 24px 0; }
.keybox label { display: block; font-weight: 650; margin-bottom: 8px; }
.key { display: block; word-break: break-all; font-size: .95rem; line-height: 1.6; background: var(--bg); border: 1px solid var(--line);
  padding: 14px; border-radius: 10px; margin-bottom: 14px; user-select: all; }
.licfile { white-space: pre-wrap; font-family: var(--mono); font-size: .8rem; max-height: 18rem; overflow: auto; margin-top: 0; }
.keyref { word-break: break-all; }
.steps-list li { margin-bottom: .6em; }
.pulse { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }
.status-fulfilled { border-color: var(--accent); }

@media (min-width: 720px) {
  .promises, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .trial { flex-direction: row; align-items: center; justify-content: space-between; }
  .trial > div { max-width: 62ch; }
  .plan-pick { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .promises { grid-template-columns: repeat(3, 1fr); }
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.3fr 1fr; gap: 64px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-actions .btn { padding: 9px 12px; font-size: .88rem; }
}
@media (max-width: 420px) {
  .nav-actions .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dot { transition: none; animation: none; }
}

section[id] { scroll-margin-top: 68px; }
.hero-grid > *, .steps > *, .promises > *, .grid3 > *, .plans > *, .split > *, .stats > * { min-width: 0; }
.hero { overflow: clip; }
body { overflow-x: clip; }

/* ---------- forms: selects, textareas, checkbox, notice ---------- */
.field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 14px; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field.check { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; }
.field.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--primary); }
.field.check label { margin: 0; font-weight: 450; }
.field.check .err { grid-column: 2; }
.two { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
.notice { background: var(--primary-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  margin-bottom: 22px; font-size: .96rem; }
.pow:empty { display: none; }
.ok-box { text-align: center; padding: 24px 8px; }
.ok-box:focus { outline: none; }
.contact-split { align-items: center; }
@media (min-width: 720px) { .two { grid-template-columns: 1fr 1fr; } }

/* ---------- legal pages ---------- */
.prose h2 { scroll-margin-top: 84px; }
.prose h3 { margin-top: 1.6em; font-size: 1.1rem; }
.prose .meta { color: var(--muted); font-size: .92rem; }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin: 20px 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 1; }
.toc li { margin-bottom: .2em; }
.ph { background: color-mix(in srgb, #f59e0b 22%, transparent); border-radius: 4px; padding: 0 3px; }
.table-wrap.legal { margin: 18px 0; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .94rem; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table thead th { background: var(--bg-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.legal-table tr:last-child > * { border-bottom: 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.legal-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .94rem; }
.legal-nav a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 404 ---------- */
.nf { position: relative; overflow: clip; text-align: center; padding: clamp(56px, 10vw, 128px) 0; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 55% at 50% 30%, var(--glow-1), transparent 70%),
              radial-gradient(30% 40% at 80% 70%, var(--glow-2), transparent 70%); }
.nf-code { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 20px);
  font-size: clamp(5rem, 22vw, 11rem); font-weight: 850; line-height: 1; letter-spacing: -0.06em; margin-bottom: 8px; }
.nf-code span { background: linear-gradient(160deg, #8b5cf6, #5b21b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .nf-code span { background-image: linear-gradient(160deg, #c4b2fc, #7c3aed); }
.nf-door { width: 0.78em; height: 0.78em; filter: drop-shadow(0 18px 28px rgb(109 40 217 / .35)); animation: nf-float 4s ease-in-out infinite; }
@keyframes nf-float { 50% { transform: translateY(-10px) rotate(-4deg); } }
.nf p.lead { max-width: 46ch; margin: 0 auto 28px; }
.nf .cta-row { justify-content: center; }
.nf-links { margin-top: 28px; display: flex; gap: 6px 20px; justify-content: center; flex-wrap: wrap; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .nf-door { animation: none; } }

picture { display: block; }
