/* ==========================================================================
   Avera Vault — public site
   --------------------------------------------------------------------------
   The white-and-green canvas the phone app uses: one green family, generous
   whitespace, hairline borders, nothing decorative that isn't load-bearing.
   Colour lives on tokens only; components never hardcode a hex.
   ========================================================================== */

:root {
  color-scheme: light;

  --brand:        #16A96A;
  --brand-bright: #3DC57F;
  --brand-deep:   #0E8A57;
  --brand-dark:   #0B6C45;
  --brand-50:     #EDFBF3;
  --brand-100:    #D3F5E1;
  --brand-200:    #A7E9C4;
  --brand-ring:   rgba(22, 169, 106, .22);

  --bg:          #F7FAF8;
  --surface:     #FFFFFF;
  --surface-alt: #F2F6F3;
  --surface-sunk:#EDF2EF;

  --line:        #E3EAE5;
  --line-strong: #CBD8CF;

  --ink:      #0B1F17;
  --ink-700:  #2A3B33;
  --ink-500:  #5B6B63;
  --ink-300:  #8C9A93;

  --danger:      #D64545;
  --danger-soft: #FDECEC;
  --warning:     #9A6206;
  --warning-soft:#FDF4E3;
  --warning-line:#F0DCB4;

  --shadow-sm: 0 1px 2px rgba(11, 31, 23, .05);
  --shadow-md: 0 10px 30px -12px rgba(11, 31, 23, .16);
  --shadow-lg: 0 40px 80px -32px rgba(11, 31, 23, .28);
  --shadow-brand: 0 24px 48px -20px rgba(22, 169, 106, .45);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --wrap: 1120px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --brand:        #3DC57F;
    --brand-bright: #6FD9A0;
    --brand-deep:   #16A96A;
    --brand-dark:   #0E8A57;
    --brand-50:     rgba(61, 197, 127, .10);
    --brand-100:    rgba(61, 197, 127, .16);
    --brand-200:    rgba(61, 197, 127, .28);
    --brand-ring:   rgba(61, 197, 127, .30);

    --bg:          #07110C;
    --surface:     #0F1A14;
    --surface-alt: #132019;
    --surface-sunk:#0B1510;

    --line:        #1C2C24;
    --line-strong: #2A3D33;

    --ink:     #E7F3EC;
    --ink-700: #C2D5CB;
    --ink-500: #8FA39A;
    --ink-300: #667A72;

    --danger:      #F07167;
    --danger-soft: rgba(240, 113, 103, .13);
    --warning:     #E0A82E;
    --warning-soft:rgba(224, 168, 46, .12);
    --warning-line:rgba(224, 168, 46, .28);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .40);
    --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, .70);
    --shadow-brand: 0 24px 48px -20px rgba(0, 0, 0, .60);
  }
}

/* --------------------------------------------------------------- reset ---- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.35rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.115rem; font-weight: 700; letter-spacing: -.012em; }
h4 { font-size: 1rem; font-weight: 650; letter-spacing: 0; }
p  { margin: 0; }

a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

strong { color: var(--ink); font-weight: 650; }
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .1em .4em;
}

.skip {
  position: absolute; left: 0; top: 0; z-index: 100;
  width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0; white-space: nowrap;
}
.skip:focus {
  width: auto; height: auto; overflow: visible; clip-path: none;
  text-decoration: none;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

/* -------------------------------------------------------------- topbar ---- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
@supports not (backdrop-filter: blur(1px)) { .topbar { background: var(--bg); } }
.topbar-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-word { font-size: 1.16rem; font-weight: 800; letter-spacing: -.035em; }
.mark { display: block; flex: none; border-radius: 30%; }
.mark-flat { box-shadow: none; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--ink-500);
  font-size: .93rem; font-weight: 550;
  padding: .45rem .7rem;
  border-radius: var(--r-pill);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--surface-alt); text-decoration: none; }
.nav a.is-active { color: var(--brand-deep); background: var(--brand-50); }

@media (max-width: 780px) {
  .topbar-inner { flex-wrap: wrap; row-gap: 4px; min-height: 0; padding-block: 12px; }
  .nav { margin-left: 0; width: 100%; gap: 2px; }
  .nav a { padding: .4rem .6rem; }
}

/* ---------------------------------------------------------------- hero ---- */

.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background:
    radial-gradient(58% 48% at 22% 8%, var(--brand-50) 0%, transparent 68%),
    radial-gradient(42% 40% at 88% 0%, var(--brand-100) 0%, transparent 70%);
  opacity: .9; pointer-events: none;
}
.hero > .wrap { position: relative; }

.hero-grid {
  display: grid; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--brand-200);
  color: var(--brand-deep);
  font-size: .8rem; font-weight: 650; letter-spacing: .01em;
  padding: .4rem .8rem .4rem .55rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring);
}

.hero h1 { margin-top: 20px; max-width: 15ch; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand-bright), var(--brand-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { margin-top: 20px; font-size: clamp(1.03rem, 1.6vw, 1.16rem); max-width: 48ch; color: var(--ink-500); }

.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .96rem; font-weight: 650; letter-spacing: -.005em;
  padding: .78rem 1.35rem; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s cubic-bezier(.2,0,0,1), box-shadow .16s ease, background .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff; box-shadow: var(--shadow-brand);
}
.btn-primary:hover { box-shadow: 0 28px 54px -20px rgba(22, 169, 106, .55); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand-200); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }

.hero-note { margin-top: 18px; font-size: .87rem; color: var(--ink-300); }

/* Phone illustration ------------------------------------------------------ */

.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::after {
  content: ""; position: absolute; bottom: -6%; left: 50%; translate: -50% 0;
  width: 72%; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11,31,23,.20), transparent);
  filter: blur(10px);
}
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.6;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-lg);
  rotate: -2.2deg;
}
.phone-screen {
  height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, var(--brand-50), var(--surface) 42%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 20px 16px 16px;
}
.phone-notch {
  position: absolute; top: 17px; left: 50%; translate: -50% 0;
  width: 84px; height: 6px; border-radius: var(--r-pill);
  background: var(--line-strong); z-index: 2;
}
.phone-head { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.phone-head b { font-size: .95rem; color: var(--ink); letter-spacing: -.02em; }
.phone-head .lock {
  margin-left: auto; font-size: .62rem; font-weight: 700; letter-spacing: .06em;
  color: var(--brand-deep); background: var(--brand-50);
  border: 1px solid var(--brand-200); border-radius: var(--r-pill); padding: .18rem .5rem;
}
.phone-stat {
  margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); padding: 11px 13px; box-shadow: var(--shadow-sm);
}
.phone-stat span { display: block; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-300); font-weight: 650; }
.phone-stat b { font-size: 1.22rem; color: var(--ink); letter-spacing: -.03em; }
.phone-tiles { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.phone-tile {
  aspect-ratio: 1; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.phone-tile::before {
  content: ""; width: 9px; height: 6px;
  border: 1.8px solid var(--line-strong); border-bottom: 0;
  border-radius: 5px 5px 0 0;
}
.phone-tile::after {
  content: ""; width: 14px; height: 10px; border-radius: 3px;
  background: var(--line-strong);
}
.phone-tile:nth-child(3n+1) { background: var(--brand-50); border-color: var(--brand-100); }
.phone-tile:nth-child(3n+1)::before { border-color: var(--brand-200); }
.phone-tile:nth-child(3n+1)::after { background: var(--brand-200); }
.phone-bar { margin-top: auto; display: flex; gap: 6px; padding-top: 14px; }
.phone-bar i { flex: 1; height: 5px; border-radius: var(--r-pill); background: var(--surface-sunk); }
.phone-bar i:first-child { background: var(--brand); flex: 1.6; }

/* -------------------------------------------------------------- section --- */

.section { padding: clamp(52px, 7.5vw, 92px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 46px); }
.section-head.centred { margin-inline: auto; text-align: center; }
.kicker {
  font-size: .74rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-deep); margin: 0 0 12px;
}
.section-head p { margin-top: 14px; color: var(--ink-500); font-size: 1.04rem; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.section-alt .card { background: var(--bg); }
.card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-500); font-size: .965rem; }
.card-static:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }

.icon {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand-deep);
}
.icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Numbered steps ---------------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 24px;
}
.section-alt .step { background: var(--bg); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand-deep); font-weight: 750; font-size: .92rem;
}
.step h3 { margin-bottom: 5px; }
.step p { color: var(--ink-500); font-size: .965rem; }

/* Fact list --------------------------------------------------------------- */

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { position: relative; padding-left: 32px; color: var(--ink-500); }
.facts li strong { display: block; color: var(--ink); font-weight: 650; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-50); border: 1px solid var(--brand-200);
}
.facts li::after {
  content: ""; position: absolute; left: 5.5px; top: .68em;
  width: 7px; height: 4px; border: 1.8px solid var(--brand-deep);
  border-top: 0; border-right: 0; rotate: -45deg;
}
.facts.no li::before { background: var(--danger-soft); border-color: var(--danger); }
.facts.no li::after {
  left: 5.5px; top: .74em; width: 7px; height: 2px;
  border: 0; rotate: 0deg; border-radius: 1px;
  background: var(--danger);
}

/* Split feature ----------------------------------------------------------- */

/* Both columns start on the same line: centring leaves a heading floating
   in the middle whenever the two sides differ much in height. */
.split { display: grid; gap: clamp(28px, 5vw, 60px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

.keybox {
  background: linear-gradient(150deg, var(--brand-deep), #063824);
  color: #EAF7F0; border-radius: var(--r-xl); padding: 30px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.09);
}
.keybox h3 { color: #fff; }
.keybox ol { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: k; }
.keybox li {
  position: relative; padding-left: 39px;
  font-size: .93rem; color: rgba(234,247,240,.78);
}
.keybox li::before {
  counter-increment: k; content: counter(k);
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: .78rem;
}
.keybox li b { color: #fff; font-weight: 650; }
.keybox .seal {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .84rem; color: rgba(234,247,240,.66);
}

/* Callouts ---------------------------------------------------------------- */

.note {
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  background: var(--surface); border-radius: var(--r-md);
  padding: 18px 22px; font-size: .96rem;
}
.note.warn { border-left-color: var(--warning); background: var(--warning-soft); border-color: var(--warning-line); }
.note.warn strong { color: var(--ink); }
.note.stop { border-left-color: var(--danger); background: var(--danger-soft); border-color: var(--danger); }
.note h3 { margin-bottom: 6px; font-size: 1rem; }

/* CTA band ---------------------------------------------------------------- */

.cta { padding: clamp(46px, 6vw, 76px) 0; }
.cta-inner {
  background: linear-gradient(140deg, var(--brand-deep), var(--brand-dark) 55%, #063824);
  border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px);
  color: #EAF7F0; text-align: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ""; position: absolute; inset: auto -20% -70% -20%; height: 140%;
  background: radial-gradient(50% 50% at 50% 0%, rgba(255,255,255,.14), transparent 70%);
}
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; }
.cta-inner p { margin: 14px auto 0; max-width: 56ch; color: rgba(234,247,240,.80); }
.cta-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.26); color: #fff; }
.cta .btn-ghost:hover { background: rgba(255,255,255,.2); }
.cta .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 18px 36px -16px rgba(0,0,0,.5); }

/* ------------------------------------------------------------ documents --- */

.doc-head {
  padding: clamp(44px, 6vw, 76px) 0 clamp(26px, 3.5vw, 40px);
  background:
    radial-gradient(60% 100% at 12% 0%, var(--brand-50), transparent 72%);
  border-bottom: 1px solid var(--line);
}
.doc-head h1 { max-width: 18ch; }
.doc-head .lede { margin-top: 16px; max-width: 62ch; font-size: 1.06rem; color: var(--ink-500); }
.doc-dates { margin-top: 22px; font-size: .85rem; color: var(--ink-300); }

.doc-body { padding: clamp(36px, 5vw, 60px) 0 clamp(52px, 7vw, 88px); }
.doc-layout { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 232px minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } }

.toc { position: sticky; top: 92px; font-size: .9rem; }
@media (max-width: 900px) {
  .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
}
.toc h2 { font-size: .74rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-300); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc a {
  display: block; color: var(--ink-500); padding: .32rem .6rem;
  border-radius: var(--r-sm); border-left: 2px solid transparent;
}
.toc a:hover { color: var(--ink); background: var(--surface-alt); text-decoration: none; border-left-color: var(--brand-200); }

.prose { max-width: 72ch; }
.prose section + section { margin-top: 42px; }
.prose section { scroll-margin-top: 92px; }
.prose h2 {
  font-size: 1.36rem; letter-spacing: -.022em;
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.prose h3 { margin: 26px 0 8px; }
.prose p { margin-top: 12px; }
.prose p:first-of-type { margin-top: 0; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 9px; }
.prose li { padding-left: 4px; }
.prose li::marker { color: var(--brand); }
.prose .note { margin-top: 20px; }
.prose dl { margin: 16px 0 0; display: grid; gap: 14px; }
.prose dt { color: var(--ink); font-weight: 650; }
.prose dd { margin: 4px 0 0; color: var(--ink-500); }

.table-scroll { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 650; background: var(--surface-alt); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }

/* Support-page extras ----------------------------------------------------- */

.faq { display: grid; gap: 10px; }
details.qa {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
details.qa[open] { border-color: var(--brand-200); }
details.qa summary {
  cursor: pointer; list-style: none; padding: 17px 22px;
  font-weight: 650; color: var(--ink); display: flex; align-items: center; gap: 12px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 9px; height: 9px; border: 1.9px solid var(--ink-300);
  border-top: 0; border-left: 0; rotate: 45deg; translate: 0 -2px;
  transition: rotate .18s ease;
}
details.qa[open] summary::after { rotate: -135deg; translate: 0 2px; border-color: var(--brand-deep); }
details.qa .qa-body { padding: 0 22px 20px; color: var(--ink-500); font-size: .965rem; }
details.qa .qa-body p + p { margin-top: 10px; }

.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.contact-card .addr { display: block; margin-top: 10px; font-size: 1.04rem; font-weight: 650; }
.contact-card .meta { margin-top: 12px; font-size: .87rem; color: var(--ink-300); }

/* Timeline (deletion) ----------------------------------------------------- */

.timeline { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 26px 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 5px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); z-index: 1;
}
.timeline li:last-child::before { background: var(--danger); border-color: var(--danger); }
.timeline li::after {
  content: ""; position: absolute; left: 10.2px; top: 16px; bottom: 0;
  width: 1.6px; background: linear-gradient(var(--brand-200), var(--line));
}
.timeline li:last-child::after { display: none; }
.timeline .when {
  display: block; font-size: .72rem; font-weight: 750; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: 3px;
}
.timeline strong { display: block; margin-bottom: 3px; }
.timeline p { color: var(--ink-500); font-size: .95rem; }

/* -------------------------------------------------------------- footer ---- */

.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 60px); }
.footer-inner {
  display: grid; gap: 34px;
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, .75fr));
  padding-bottom: 34px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-tag { margin-top: 14px; max-width: 38ch; font-size: .92rem; color: var(--ink-500); }
.footer-nav { display: grid; gap: 9px; align-content: start; }
.footer-nav h2 {
  font-size: .72rem; font-weight: 750; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-300); margin-bottom: 2px;
}
.footer-nav a { color: var(--ink-500); font-size: .93rem; }
.footer-nav a:hover { color: var(--brand-deep); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-300);
}

/* --------------------------------------------------------------- print ---- */

@media print {
  .topbar, .footer, .skip, .cta, .toc { display: none !important; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .doc-layout { display: block; }
  .prose { max-width: none; }
  .doc-head { background: none; }
  a { color: #111; text-decoration: underline; }
}
