/* VaultDoc Lite website. Colours follow the app's theme (android/.../ui/theme/Color.kt). No web fonts, no third-party
   requests: everything here is served from this site. */

:root {
  color-scheme: light dark;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #F0F2F6;
  --tile: #E6EBF3;
  --text: #121A2B;
  --text-2: #3A4456;
  --muted: #5A6477;
  --line: #DCE1E8;
  --primary: #2A5194;
  --on-primary: #FFFFFF;
  --primary-c: #DCE5F6;
  --on-primary-c: #163569;
  --amber: #F5C451;
  --soon-c: #FFF0CC;
  --on-soon: #6B4A00;
  --over-c: #FCE8E6;
  --on-over: #9F1D14;
  --sugg-c: #DDF1EC;
  --on-sugg: #0B5A4F;
  --sugg-line: #8CC7BA;
  --band-1: #23467F;
  --band-2: #172F5A;
  --band-text: #FFFFFF;
  --band-muted: #C9D6F0;
  --band-card: rgba(255, 255, 255, .07);
  --band-line: rgba(255, 255, 255, .14);
  --phone: #121722;
  --shadow: 0 1px 2px rgba(18, 26, 43, .06), 0 8px 24px rgba(18, 26, 43, .08);
  --shadow-lg: 0 2px 6px rgba(18, 26, 43, .08), 0 30px 60px -12px rgba(18, 26, 43, .28);
  --radius: 1.25rem;
  --wrap: 72rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E131C;
    --surface: #192030;
    --surface-2: #161D29;
    --tile: #273044;
    --text: #E6EBF3;
    --text-2: #C3CBD8;
    --muted: #9DA8BB;
    --line: #2F394B;
    --primary: #9DB8F2;
    --on-primary: #0E2350;
    --primary-c: #233F73;
    --on-primary-c: #D9E4FF;
    --soon-c: #3B2D0C;
    --on-soon: #F5C451;
    --over-c: #47201D;
    --on-over: #FFB4AB;
    --sugg-c: #123630;
    --on-sugg: #8FD9CB;
    --sugg-line: #3A7F72;
    --band-1: #172238;
    --band-2: #111926;
    --band-muted: #B4C1D8;
    --band-card: rgba(157, 184, 242, .06);
    --band-line: rgba(157, 184, 242, .16);
    --phone: #05080D;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 60px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  overflow-wrap: break-word;
}
:lang(de) p, :lang(de) li { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
.i { width: 1.25em; height: 1.25em; flex: none; }
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: .375rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; hyphens: manual; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--primary); color: var(--on-primary); padding: .5rem 1rem;
  border-radius: .5rem; z-index: 10; }
.skip:focus { top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--text); text-decoration: none; font-weight: 800;
  font-size: 1.125rem; letter-spacing: -.01em; }
.brand img { width: 2rem; height: 2rem; border-radius: .5rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--text-2); text-decoration: none; font-size: .9375rem; font-weight: 600; padding: .5rem .75rem;
  border-radius: 999px; }
.nav a:hover { background: var(--tile); color: var(--text); }
.nav .lang { border: 1px solid var(--line); margin-left: .25rem; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 52rem) { .nav .section-link { display: none; } }

/* Shared bits */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary); }
.section { padding: 5rem 0; }
@media (min-width: 60rem) { .section { padding: 7rem 0; } }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin-top: .75rem; }
.section-head p { color: var(--text-2); margin-top: 1rem; font-size: 1.125rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem; border-radius: 999px; font-size: .875rem;
  font-weight: 600; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: #1E7A46; flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, #1E7A46 22%, transparent); }
@media (prefers-color-scheme: dark) { .dot { background: #6CCB94; box-shadow: 0 0 0 3px rgba(108, 203, 148, .2); } }

/* Phone frame */
.phone { position: relative; width: 100%; padding: .55rem; border-radius: 2.6rem; background: var(--phone);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone img { width: 100%; height: auto; aspect-ratio: 640 / 1422; border-radius: 2.1rem; background: #F4F5F8; }
.phone::before { content: ""; position: absolute; top: 1.05rem; left: 50%; width: .55rem; height: .55rem; margin-left: -.275rem;
  border-radius: 50%; background: #0A0D12; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); z-index: 1; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 4.5rem; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60rem; height: 60rem; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--primary-c) 90%, transparent), transparent); opacity: .9; }
.hero .wrap { position: relative; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 60rem) { .hero { padding: 5rem 0 6rem; } .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: 4rem; } }
.hero-app { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.75rem; }
.hero-app img { width: 3.5rem; height: 3.5rem; border-radius: 1rem; box-shadow: var(--shadow); }
.hero-app strong { display: block; font-size: 1.125rem; letter-spacing: -.01em; }
.hero-app span { color: var(--muted); font-size: .9375rem; }
.hero h1 { font-size: clamp(2.375rem, 1.4rem + 4.4vw, 4.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--primary); }
.lede { margin-top: 1.5rem; font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); color: var(--text-2); max-width: 34rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.store-soon { display: inline-flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem .75rem 1rem; border-radius: 1rem;
  background: var(--text); color: var(--bg); }
.store-soon svg { width: 1.5rem; height: 1.5rem; flex: none; }
.store-soon small { display: block; font-size: .75rem; opacity: .75; line-height: 1.2; }
.store-soon b { display: block; font-size: 1.0625rem; line-height: 1.25; }
.button-ghost { display: inline-flex; align-items: center; gap: .375rem; padding: .875rem 1.125rem; border-radius: 1rem;
  font-weight: 700; text-decoration: none; color: var(--primary); }
.button-ghost:hover { background: var(--tile); }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 2.25rem 0 0; padding: 0; list-style: none; color: var(--text-2);
  font-size: .9375rem; font-weight: 600; }
.facts li { display: inline-flex; align-items: center; gap: .4rem; }
.facts svg { width: 1.1rem; height: 1.1rem; color: var(--primary); flex: none; }

.hero-visual { position: relative; justify-self: center; width: min(19rem, 78vw); margin: 0 auto; }
@media (min-width: 60rem) { .hero-visual { width: 20rem; margin-right: 3rem; } }
.hero-visual .phone.back { position: absolute; top: 2.5rem; left: -42%; width: 88%; transform: rotate(-7deg); opacity: .96;
  box-shadow: var(--shadow); }
.hero-visual .phone.back img { filter: saturate(.9); }
@media (max-width: 40rem) { .hero-visual .phone.back { display: none; } }
.notif { position: absolute; left: -2.5rem; right: 1.5rem; bottom: 2.25rem; display: flex; gap: .75rem; align-items: flex-start;
  padding: .875rem 1rem; border-radius: 1.125rem; background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  font-size: .875rem; line-height: 1.35; }
@media (max-width: 40rem) { .notif { left: -.75rem; right: -.75rem; } }
.notif img { width: 2.25rem; height: 2.25rem; border-radius: .625rem; flex: none; }
.notif .meta { color: var(--muted); font-size: .75rem; }
.notif b { display: block; margin-top: .1rem; }
.chip-float { position: absolute; top: 5rem; right: -2.25rem; display: flex; align-items: center; gap: .4rem; padding: .5rem .75rem;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .8125rem;
  font-weight: 700; color: var(--text); }
.chip-float svg { width: 1rem; height: 1rem; color: var(--primary); }
@media (max-width: 40rem) { .chip-float { right: -.5rem; } }

/* Document types strip */
.types { border-block: 1px solid var(--line); background: var(--surface); padding: 1.5rem 0; }
.types .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.types p { font-weight: 700; color: var(--muted); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.types ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.types li { padding: .3rem .75rem; border-radius: 999px; background: var(--tile); color: var(--text-2); font-size: .875rem;
  font-weight: 600; }

/* How it works */
.steps { display: grid; gap: 1.25rem; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-radius: .75rem; background: var(--primary); color: var(--on-primary); font-weight: 800; margin-bottom: 1.25rem; }
.step h3 { font-size: 1.3125rem; }
.step p { color: var(--text-2); margin-top: .625rem; }
.demo { margin-top: auto; padding-top: 1.5rem; }
.demo-box { border-radius: 1rem; background: var(--surface-2); border: 1px solid var(--line); padding: 1rem; display: grid; gap: .5rem; }
.source { display: flex; align-items: center; gap: .625rem; padding: .625rem .75rem; border-radius: .75rem; background: var(--surface);
  border: 1px solid var(--line); font-weight: 600; font-size: .9375rem; }
.source svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex: none; }
.sugg { display: flex; align-items: center; gap: .75rem; padding: .75rem .875rem; border-radius: .875rem; background: var(--sugg-c);
  border: 1.5px dashed var(--sugg-line); color: var(--on-sugg); }
.sugg svg { width: 1.25rem; height: 1.25rem; flex: none; }
.sugg b { display: block; font-size: 1.0625rem; letter-spacing: .01em; color: var(--on-sugg); }
.sugg small { display: block; font-size: .8125rem; }
.sugg .use { margin-left: auto; white-space: nowrap; font-weight: 700; color: var(--primary); font-size: .9375rem; }
.demo-note { font-size: .8125rem; color: var(--muted); padding: 0 .25rem; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: .375rem; }
.timeline span { display: grid; place-items: center; text-align: center; min-height: 3.25rem; padding: .375rem .25rem; border-radius: .75rem;
  font-weight: 800; font-size: 1.125rem; line-height: 1.1; background: var(--tile); color: var(--text-2); }
.timeline span small { display: block; font-weight: 600; font-size: .75rem; color: inherit; opacity: .8; }
.timeline .wide { grid-column: span 2; display: flex; gap: .35rem; justify-content: center; font-size: .8125rem; line-height: 1.2; }
.timeline .wide .i { width: 1.1rem; height: 1.1rem; }
.timeline .t-soon { background: var(--soon-c); color: var(--on-soon); }
.timeline .t-over { background: var(--over-c); color: var(--on-over); }
.timeline-caption { font-size: .8125rem; color: var(--muted); padding: 0 .25rem; }

/* Privacy band */
.band { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--band-1), var(--band-2)); color: var(--band-text); }
.band::after { content: ""; position: absolute; right: -12rem; top: -12rem; width: 36rem; height: 36rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(157, 184, 242, .22), transparent); pointer-events: none; }
.band .wrap { position: relative; z-index: 1; }
.band .eyebrow { color: var(--amber); }
.band .section-head p { color: var(--band-muted); }
.band a { color: #FFFFFF; }
@media (prefers-color-scheme: dark) { .band a { color: var(--primary); } }
.promise { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 3rem; padding: 1.75rem; border-radius: var(--radius);
  background: var(--band-card); border: 1px solid var(--band-line); }
@media (min-width: 48rem) { .promise { grid-template-columns: auto 1fr; gap: 2rem; padding: 2rem 2.25rem; } }
.promise .no-net { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 1.5rem; background: rgba(245, 196, 81, .14);
  color: var(--amber); }
.promise .no-net svg { width: 2.75rem; height: 2.75rem; }
.promise h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); }
.promise p { margin-top: .5rem; color: var(--band-muted); }
.grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.card { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card h3 { font-size: 1.125rem; margin-top: 1rem; letter-spacing: -.01em; }
.card p { color: var(--text-2); margin-top: .5rem; font-size: 1rem; }
.icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .875rem; background: var(--primary-c);
  color: var(--on-primary-c); }
.icon svg { width: 1.375rem; height: 1.375rem; }
.band .card { background: var(--band-card); border-color: var(--band-line); }
.band .card p { color: var(--band-muted); }
.band .icon { background: rgba(157, 184, 242, .16); color: #D9E4FF; }
.leaves { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .leaves { grid-template-columns: 1fr 1fr 1fr; align-items: start; } }
.leaves h3 { font-size: 1.125rem; }
.leaves p { color: var(--band-muted); font-size: 1rem; }
.leaves .lead p { margin-top: .5rem; }
.leaves div:not(.lead) { padding-left: 1rem; border-left: 2px solid var(--amber); }
.leaves div:not(.lead) h3 { font-size: 1rem; }

/* Features */
.features .card { background: var(--surface); box-shadow: var(--shadow); }
.mini-status { display: grid; gap: .375rem; margin-top: 1rem; font-size: .8125rem; font-weight: 700; }
.mini-status span { padding: .375rem .625rem; border-radius: .625rem; }
.s-over { background: var(--over-c); color: var(--on-over); }
.s-soon { background: var(--soon-c); color: var(--on-soon); }
.s-later { background: var(--tile); color: var(--text-2); }

/* Gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(15rem, 66vw); gap: 1.5rem; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: .5rem 1.25rem 2rem; margin: 0 -1.25rem; list-style: none; scrollbar-width: thin; }
@media (min-width: 64rem) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: .5rem 0 0; } }
.gallery li { scroll-snap-align: center; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 1.25rem; text-align: center; }
.gallery figcaption b { display: block; font-size: 1rem; }
.gallery figcaption span { display: block; color: var(--muted); font-size: .875rem; line-height: 1.45; margin-top: .25rem; }
.gallery .phone { border-radius: 2rem; padding: .45rem; }
.gallery .phone img { border-radius: 1.6rem; }
.gallery .phone::before { top: .85rem; width: .45rem; height: .45rem; margin-left: -.225rem; }
.scroll-hint { color: var(--muted); font-size: .875rem; margin-top: -1rem; }
@media (min-width: 64rem) { .scroll-hint { display: none; } }

/* FAQ */
.faq-layout { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
  .faq-layout .section-head { position: sticky; top: 7rem; } }
.faq { display: grid; gap: .75rem; }
.faq details { border-radius: 1rem; background: var(--surface); border: 1px solid var(--line); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.125rem 1.25rem; font-weight: 700; font-size: 1.0625rem; border-radius: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .625rem; height: .625rem; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq .answer { padding: 0 1.25rem 1.25rem; color: var(--text-2); }
.faq .answer p + p { margin-top: .75rem; }

/* Closing CTA */
.closing { text-align: center; padding: 5rem 0; }
.closing img { width: 4.5rem; height: 4.5rem; border-radius: 1.25rem; margin: 0 auto 1.5rem; box-shadow: var(--shadow-lg); }
.closing h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
.closing p { color: var(--text-2); margin: 1rem auto 0; max-width: 34rem; font-size: 1.125rem; }
.closing .cta { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 3rem 0 2.5rem; font-size: .9375rem;
  color: var(--text-2); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer .maker { display: flex; gap: .875rem; align-items: flex-start; max-width: 24rem; }
.site-footer .maker svg { width: 2.25rem; height: 2.25rem; flex: none; }
.site-footer .fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: .5rem 1.5rem; color: var(--muted); font-size: .875rem; }
.turtle-shell { fill: #0B5A4F; }
.turtle-core { fill: #F5C451; }
@media (prefers-color-scheme: dark) { .turtle-shell { fill: #8FD9CB; } }
ul.grid { list-style: none; margin: 0; padding: 0; }
.section.flush { padding-top: 0; }
.closing.band p { color: var(--band-muted); }
.closing.band img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 20px 40px -10px rgba(0, 0, 0, .5); }
.avatars { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: 0; list-style: none; }
.avatars li { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .75rem .25rem .25rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.avatars b { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; font-size: .8125rem; }
.av-me { background: #DCE5F6; color: #163569; }
.av-rose { background: #FBE3EC; color: #8E2750; }
.av-teal { background: #DDF1EC; color: #0B5A4F; }
.av-amber { background: #FFF0C2; color: #6B4A00; }
@media (prefers-color-scheme: dark) {
  .av-me { background: #2B4172; color: #D9E4FF; }
  .av-rose { background: #55243B; color: #FFD9E6; }
  .av-teal { background: #174A42; color: #A8EBDD; }
  .av-amber { background: #4A3A0E; color: #FFE08A; }
}
.faq-layout .section-head { margin-bottom: 0; }
