/* Vaultron site: page styles on Thundera Shell v2 tokens. The top bar is the shell's own (shell.css); no external fonts. */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--th-bg);
  color: var(--th-text);
  font-family: var(--th-font-sans);
  font-size: var(--th-fs-base);
  line-height: var(--th-lh-normal);
  -webkit-font-smoothing: antialiased;
}
/* Scoped to the page so the shell's bar, launcher, drawer and footer keep their own link styles. */
:where(main) a { color: var(--brand-ad); text-decoration: none; }
:where(main) a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-ad); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--th-font-display); letter-spacing: var(--th-tracking-tight); line-height: var(--th-lh-tight); margin: 0; }
h1 { font-size: var(--th-fs-5xl); font-weight: var(--th-fw-black); letter-spacing: var(--th-tracking-display); }
h2 { font-size: var(--th-fs-3xl); font-weight: var(--th-fw-bold); margin-bottom: var(--th-space-4); }
h3 { font-size: var(--th-fs-lg); font-weight: var(--th-fw-semibold); margin-bottom: var(--th-space-2); }
p { margin: 0 0 var(--th-space-4); color: var(--th-text-2); }
ul, ol { color: var(--th-text-2); padding-left: 1.25em; margin: 0 0 var(--th-space-4); }
li { margin-bottom: var(--th-space-2); }
code, kbd { font-family: var(--th-font-mono); font-size: .92em; background: var(--th-surface-2); padding: 1px 6px; border-radius: var(--th-radius-xs); }

.wrap { max-width: var(--th-container); margin: 0 auto; padding: 0 var(--th-gutter); }
.wrap-narrow { max-width: var(--th-container-narrow); margin: 0 auto; padding: 0 var(--th-gutter); }
section { padding: var(--th-section-y) 0 0; }
.not-found { padding-top: 96px; padding-bottom: 96px; }
.lede { font-size: var(--th-fs-lg); color: var(--th-text-2); max-width: 60ch; }
.eyebrow { font-size: var(--th-fs-xs); letter-spacing: var(--th-tracking-wide); text-transform: uppercase; color: var(--brand-ad); font-weight: var(--th-fw-semibold); margin-bottom: var(--th-space-3); display: block; }

.cta-row { display: flex; gap: var(--th-space-3); flex-wrap: wrap; margin-top: var(--th-space-8); align-items: center; }
.cta-row:not(:has(:not([hidden]))) { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: var(--th-radius-md); font-weight: var(--th-fw-semibold); font-size: var(--th-fs-sm); border: 1px solid var(--th-border-2); color: var(--th-text); background: var(--th-surface-2); }
.btn:hover { text-decoration: none; background: var(--th-surface-3); }
.btn-primary { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); color: var(--th-text-inverse); border-color: transparent; }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); filter: brightness(1.06); }
.btn[hidden], [hidden] { display: none !important; }

.card { background: var(--th-surface-1); border: 1px solid var(--th-border); border-radius: var(--th-radius-lg); padding: var(--th-space-6); }
.card p:last-child { margin-bottom: 0; }
.card h3 { color: var(--th-text); }

.note { border-left: 3px solid var(--brand-ad); padding: var(--th-space-3) var(--th-space-4); background: var(--th-surface-1); border-radius: 0 var(--th-radius-md) var(--th-radius-md) 0; margin: var(--th-space-6) 0; }
.note p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: var(--th-space-4) 0 var(--th-space-6); font-size: var(--th-fs-sm); }
th, td { text-align: left; padding: var(--th-space-3) var(--th-space-3); border-bottom: 1px solid var(--th-border); vertical-align: top; color: var(--th-text-2); }
th { color: var(--th-text); font-weight: var(--th-fw-semibold); }


.docs { display: grid; grid-template-columns: 220px 1fr; gap: var(--th-space-12); padding: var(--th-space-12) 0 var(--th-section-y); }
.docs-nav ol { list-style: none; padding: 0; margin: 0; }
.docs-nav li { margin-bottom: var(--th-space-1); }
.docs-nav a { display: block; padding: var(--th-space-2) var(--th-space-3); border-radius: var(--th-radius-sm); color: var(--th-text-2); font-size: var(--th-fs-sm); }
.docs-nav a:hover { background: var(--th-hover); text-decoration: none; color: var(--th-text); }
.docs-nav a[aria-current="page"] { background: var(--th-surface-2); color: var(--th-text); }
.docs-body { min-width: 0; max-width: 780px; }
.docs-body h1 { font-size: var(--th-fs-4xl); margin-bottom: var(--th-space-4); }
.docs-body h2 { font-size: var(--th-fs-2xl); margin-top: var(--th-space-12); }
.docs-body h3 { margin-top: var(--th-space-6); }
.crumbs { font-size: var(--th-fs-sm); color: var(--th-text-3); margin-bottom: var(--th-space-4); }
.pager { display: flex; justify-content: space-between; gap: var(--th-space-4); margin-top: var(--th-space-12); padding-top: var(--th-space-6); border-top: 1px solid var(--th-border); font-size: var(--th-fs-sm); }
.toc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--th-space-4); margin-top: var(--th-space-8); }
.toc-cards a { display: block; height: 100%; }
.toc-cards a:hover { text-decoration: none; border-color: var(--th-border-3); }

@media (max-width: 899.98px) {
  .docs { grid-template-columns: 1fr; gap: var(--th-space-8); }
  .toc-cards { grid-template-columns: 1fr; }
  .docs-nav { border-bottom: 1px solid var(--th-border); padding-bottom: var(--th-space-4); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ── Landing (generated by scripts/build-vaultron-site.py) ─────────────────────────────── */
.th-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: none; }
#how, #features, #pricing, #faq { scroll-margin-top: 72px; }

/* Device frames around the real app screens (demo content only). */
.vr-phone, .vr-tablet { position: relative; background: linear-gradient(160deg, #2a3142, #0c0f17 55%, #1b2030); padding: 9px; box-shadow: 0 0 0 1px var(--th-border-2), 0 30px 60px -20px rgba(0, 0, 0, .7), var(--brand-glow); }
.vr-phone { border-radius: 46px; width: min(300px, 62vw); }
.vr-phone img { border-radius: 38px; }
.vr-tablet { border-radius: 30px; width: min(480px, 80vw); }
.vr-tablet img { border-radius: 22px; }
.vr-phone picture, .vr-tablet picture { display: block; }
/* Looping clip of the same screen, laid exactly over the still (same box, same corner radius). It fades in once
   it plays; until then, with scripts off, with reduced motion or on Save-Data, the still is what you see. */
.vr-phone video.vr-anim { position: absolute; top: 9px; left: 9px; width: calc(100% - 18px); height: calc(100% - 18px);
  border-radius: 38px; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; background: transparent; }
.vr-phone.is-playing video.vr-anim { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .vr-phone video.vr-anim { display: none; } }

/* Hero */
.vr-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 var(--th-space-8);
  background: radial-gradient(55% 60% at 78% 20%, color-mix(in srgb, var(--brand-2) 26%, transparent), transparent 70%),
              radial-gradient(40% 40% at 10% 90%, color-mix(in srgb, var(--brand-1) 12%, transparent), transparent 70%); }
.vr-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--brand-1) 45%, transparent) 1.2px, transparent 1.6px);
  background-size: 28px 28px; -webkit-mask-image: radial-gradient(60% 70% at 75% 35%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 75% 35%, #000, transparent 75%); }
.vr-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--th-space-12); align-items: center; }
.vr-hero h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.25rem); }
.vr-accent { display: block; background: linear-gradient(120deg, var(--brand-1), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 6px; }
.vr-h1-kw { display: block; margin-top: var(--th-space-3); font-size: var(--th-fs-xl); font-weight: 600; letter-spacing: 0; color: var(--th-text-2, var(--th-text)); }
.vr-hero .lede { margin-top: var(--th-space-5); }
.vr-chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--th-space-2); padding: 0; margin: var(--th-space-6) 0 0; }
.vr-chips li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px 6px 8px; border-radius: var(--th-radius-full); background: var(--th-surface-1); border: 1px solid var(--th-border-2); color: var(--th-text); font-size: var(--th-fs-sm); }
.vr-chips .vr-chip-law { padding: 0; }
.vr-chips .vr-chip-law a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; color: inherit; text-decoration: none; border-radius: var(--th-radius-full); }
.vr-chips .vr-chip-law a:hover, .vr-chips .vr-chip-law a:focus-visible { background: var(--th-surface-2); }
.vr-chips .ico { width: 16px; height: 16px; color: var(--brand-ad); }
.vr-hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.vr-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand-1) 30%, transparent), transparent 65%); filter: blur(10px); }
.vr-back { position: absolute; width: min(260px, 46vw); transform: translate(-58%, 24px) rotate(-8deg); opacity: .9; }
.vr-front { position: relative; transform: translate(22%, var(--py, 0px)); }
.vr-langbar { position: relative; display: flex; justify-content: flex-end; margin-top: var(--th-space-6); }

/* Language switcher: plain links, so it works without JavaScript. */
.vr-lang { position: relative; font-size: var(--th-fs-sm); }
.vr-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: var(--th-radius-full); border: 1px solid var(--th-border-2); background: var(--th-surface-1); color: var(--th-text); cursor: pointer; }
.vr-lang summary::-webkit-details-marker { display: none; }
.vr-lang summary .ico { width: 18px; height: 18px; color: var(--brand-ad); }
.vr-lang ul { position: absolute; right: 0; z-index: 5; list-style: none; margin: 8px 0 0; padding: 6px; min-width: 220px; background: var(--th-surface-2); border: 1px solid var(--th-border-2); border-radius: var(--th-radius-md); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); }
.vr-lang-bottom ul { bottom: 100%; margin: 0 0 8px; right: 50%; transform: translateX(50%); }
.vr-lang li { margin: 0; }
.vr-lang a { display: block; padding: 10px 12px; border-radius: var(--th-radius-sm); color: var(--th-text-2); }
.vr-lang a:hover { background: var(--th-hover); color: var(--th-text); text-decoration: none; }
.vr-lang a[aria-current] { color: var(--th-text); background: var(--th-surface-3); }

/* App Store badge: hidden until config.js sets APP_STORE_URL, then shown by site.js. */
.vr-badge { display: inline-block; line-height: 0; }
.legal-page { padding: clamp(32px, 6vw, 72px) 0 96px; }
.legal-lang { margin: 0 0 var(--th-space-4); font-size: var(--th-fs-sm); }
.vr-badge img { width: 150px; height: 50px; }
.vr-center { justify-content: center; }

/* How it works */
.vr-steps { list-style: none; padding: 0; margin: var(--th-space-8) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--th-space-5); counter-reset: none; }
.vr-step { position: relative; margin: 0; padding: var(--th-space-6); border-radius: var(--th-radius-lg); background: linear-gradient(180deg, var(--th-surface-1), transparent); border: 1px solid var(--th-border); }
.vr-step .ico { width: 28px; height: 28px; color: var(--brand-ad); margin-bottom: var(--th-space-4); }
.vr-step-n { position: absolute; top: var(--th-space-5); right: var(--th-space-6); font-family: var(--th-font-display); font-size: var(--th-fs-3xl); font-weight: var(--th-fw-black); color: transparent; -webkit-text-stroke: 1px var(--th-border-3); }
.vr-step p { margin: 0; }

/* Features: alternating screenshot rows, then a grid of smaller details. */
.vr-features { display: grid; gap: clamp(48px, 8vw, 112px); margin-top: var(--th-space-12); }
.vr-feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--th-space-12); align-items: center; }
.vr-feature-art { display: flex; justify-content: center; position: relative; }
.vr-feature-art::before { content: ""; position: absolute; inset: 10% 12%; border-radius: 40%; background: radial-gradient(circle, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%); }
.vr-flip .vr-feature-art { order: 2; }
.vr-feature-copy h3 { font-size: var(--th-fs-2xl); font-weight: var(--th-fw-bold); margin-bottom: var(--th-space-3); color: var(--th-text); }
.vr-feature-copy > p { font-size: var(--th-fs-md); max-width: 52ch; }
.vr-checks { list-style: none; padding: 0; margin: var(--th-space-5) 0 0; }
.vr-checks li { display: flex; gap: 10px; align-items: flex-start; }
.vr-checks .ico { width: 20px; height: 20px; color: var(--brand-ad); margin-top: 2px; }
.vr-pro { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: var(--th-radius-full); font-family: var(--th-font-sans); font-size: var(--th-fs-2xs); font-weight: var(--th-fw-bold); letter-spacing: var(--th-tracking-wide); text-transform: uppercase; color: var(--brand-ad); background: var(--brand-soft); border: 1px solid var(--brand-line); }
/* Shake to lock */
.vr-shake { display: grid; grid-template-columns: auto 1fr; gap: var(--th-space-8); align-items: start; padding: clamp(28px, 5vw, 56px);
  border-radius: var(--th-radius-xl, 24px); background: var(--th-surface-1); border: 1px solid var(--th-border-2); }
.vr-shake-ico { width: clamp(56px, 8vw, 88px); height: clamp(56px, 8vw, 88px); color: var(--brand-1); }
@media (max-width: 640px) { .vr-shake { grid-template-columns: 1fr; gap: var(--th-space-4); } }
.vr-more-title { margin-top: clamp(56px, 8vw, 96px); font-size: var(--th-fs-xl); color: var(--th-text); }
.vr-sub { color: var(--th-text-3); font-weight: var(--th-fw-semibold); }
.vr-cards { list-style: none; padding: 0; margin: var(--th-space-6) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--th-space-5); }
.vr-cards .card { margin: 0; }
.vr-cards .ico { width: 26px; height: 26px; color: var(--brand-ad); margin-bottom: var(--th-space-3); }
.card { background: var(--th-surface-1); border: 1px solid var(--th-border); border-radius: var(--th-radius-lg); padding: var(--th-space-6); }
.card p:last-child { margin-bottom: 0; }
.card h3 { color: var(--th-text); }

/* Privacy band */
.vr-band { margin-top: var(--th-section-y); padding-bottom: var(--th-section-y); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-2) 9%, transparent) 40%, transparent); border-block: 1px solid var(--th-border); }
.vr-privacy { list-style: none; padding: 0; margin: var(--th-space-8) 0 var(--th-space-6); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--th-space-8); }
.vr-privacy li { margin: 0; }
.vr-privacy .ico { width: 30px; height: 30px; color: var(--brand-ad); margin-bottom: var(--th-space-3); }
.vr-privacy h3 { color: var(--th-text); }
.vr-link { font-weight: var(--th-fw-semibold); }

/* Pricing */
.vr-compare { margin-top: var(--th-space-8); overflow-x: auto; border: 1px solid var(--th-border); border-radius: var(--th-radius-lg); background: var(--th-surface-1); }
.vr-compare table { margin: 0; font-size: var(--th-fs-base); }
.vr-compare th, .vr-compare td { padding: 14px var(--th-space-5); }
.vr-compare thead th { font-size: var(--th-fs-sm); color: var(--th-text-2); text-transform: uppercase; letter-spacing: var(--th-tracking-wide); }
.vr-compare tbody th { font-weight: var(--th-fw-medium, 500); color: var(--th-text); }
.vr-compare tbody tr:last-child > * { border-bottom: 0; }
.vr-compare td:nth-child(n+2), .vr-compare th:nth-child(n+2) { text-align: center; width: 28%; }
.vr-col-pro { color: var(--brand-ad) !important; }
.vr-yes .ico { color: var(--brand-ad); margin: 0 auto; display: block; }
.vr-no .ico { color: var(--th-text-3); margin: 0 auto; display: block; }
.vr-prices { list-style: none; padding: 0; margin: var(--th-space-5) 0 var(--th-space-5); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--th-space-4); }
.vr-price { position: relative; margin: 0; padding: var(--th-space-6); border-radius: var(--th-radius-lg); background: var(--th-surface-1); border: 1px solid var(--th-border); }
.vr-price-hl { border-color: var(--brand-line); box-shadow: var(--brand-glow); background: linear-gradient(180deg, var(--brand-soft), var(--th-surface-1)); }
.vr-price h4 { margin: 0 0 var(--th-space-2); font-size: var(--th-fs-sm); color: var(--th-text-2); text-transform: uppercase; letter-spacing: var(--th-tracking-wide); }
.vr-tag { position: absolute; top: var(--th-space-5); right: var(--th-space-5); padding: 2px 8px; border-radius: var(--th-radius-full); font-size: var(--th-fs-2xs); font-weight: var(--th-fw-bold); color: var(--brand-od); background: var(--brand-1); }
.vr-amount { margin: 0; font-family: var(--th-font-display); font-size: var(--th-fs-3xl); font-weight: var(--th-fw-black); color: var(--th-text); }
.vr-unit { margin: 0 0 var(--th-space-4); font-size: var(--th-fs-sm); }
.vr-family { margin: 0; padding-top: var(--th-space-3); border-top: 1px solid var(--th-border); font-size: var(--th-fs-sm); }
.vr-family strong { color: var(--th-text); }
.vr-note { font-size: var(--th-fs-sm); color: var(--th-text-3); max-width: 80ch; }

/* FAQ */
.vr-faq { margin: var(--th-space-8) 0 var(--th-space-6); border-top: 1px solid var(--th-border); }
.vr-qa { border-bottom: 1px solid var(--th-border); }
.vr-qa summary { list-style: none; cursor: pointer; padding: var(--th-space-5) 36px var(--th-space-5) 0; position: relative; font-weight: var(--th-fw-semibold); color: var(--th-text); font-size: var(--th-fs-md); }
.vr-qa summary::-webkit-details-marker { display: none; }
.vr-qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand-ad); }
.vr-qa[open] summary::after { content: "−"; }
.vr-qa p { margin: 0 0 var(--th-space-5); max-width: 68ch; }

/* Final call to action */
.vr-final { padding-bottom: var(--th-section-y); }
.vr-final-in { text-align: center; padding: clamp(40px, 7vw, 80px) var(--th-space-6); border-radius: var(--th-radius-2xl); border: 1px solid var(--brand-line);
  background: radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--brand-2) 26%, transparent), transparent 70%), var(--th-surface-1); }
.vr-final-in img { margin: 0 auto var(--th-space-4); width: 96px; height: 96px; }
.vr-final-in .lede { margin: var(--th-space-3) auto 0; }
.vr-final .cta-row { margin-top: var(--th-space-6); }
.vr-final .vr-langbar { margin-top: var(--th-space-6); }

/* Scroll reveals: only once lang.js has marked the page, so nothing hides without JavaScript. */
.vr-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.vr-js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 899.98px) {
  .vr-hero-grid, .vr-feature { grid-template-columns: 1fr; gap: var(--th-space-8); }
  .vr-hero-art { min-height: 0; padding: var(--th-space-4) 0 var(--th-space-8); }
  .vr-back { transform: translate(-34%, 18px) rotate(-7deg); }
  .vr-front { transform: translate(16%, 0); }
  .vr-feature-art .vr-phone { width: 56vw; }
  .vr-flip .vr-feature-art { order: 0; }
  .vr-steps, .vr-cards, .vr-privacy { grid-template-columns: 1fr; }
  .vr-prices { grid-template-columns: repeat(2, 1fr); }
  .vr-langbar { justify-content: flex-start; }
  .vr-compare th, .vr-compare td { padding: 12px var(--th-space-3); font-size: var(--th-fs-sm); }
}
@media (min-width: 900px) and (max-width: 1200px) {
  .vr-cards { grid-template-columns: repeat(2, 1fr); }
  .vr-prices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .vr-prices { grid-template-columns: 1fr; }
  .vr-phone { width: 58vw; }
  .vr-back { width: 44vw; }
}
@media (prefers-reduced-motion: reduce) {
  .vr-js .reveal { opacity: 1; transform: none; }
}

/* Privacy-law line: a subtle acronym chip, then the factual sentence. */
.vr-law { max-width: 70ch; color: var(--th-text-2, inherit); }
.vr-law-badge { display: inline-block; margin-right: 6px; padding: 1px 10px; border-radius: var(--th-radius-full); border: 1px solid var(--th-border-2); background: var(--th-surface-1); color: var(--th-text); font-size: var(--th-fs-sm); font-weight: 600; letter-spacing: .04em; text-decoration: none; }
