/* ==========================================================================
   DocShare — design system
   Brand: authoritative Dutch financial/legal-tech. Ink navy, warm paper,
   restrained gold accent, editorial serif headings.
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Core palette */
  --ink:        #08131F;
  --navy-950:   #0A1A2E;
  --navy-900:   #0C2039;
  --navy-800:   #123156;
  --navy-700:   #1A4275;
  --blue-600:   #23578F;
  --blue-500:   #3B7CBF;
  --blue-300:   #8FB8DD;
  --blue-100:   #DCE8F4;

  --gold-600:   #9A7629;
  --gold-500:   #B8913C;
  --gold-400:   #D2AE5C;
  --gold-100:   #F3E9D2;

  --green-700:  #15654A;
  --green-600:  #1B7F5A;
  --green-100:  #DDF0E7;

  --red-600:    #A8372A;
  --red-100:    #F7E2DE;

  --paper:      #FBF9F5;
  --paper-2:    #F3EFE8;
  --paper-3:    #E9E3D9;
  --white:      #FFFFFF;

  --text:       #14263A;
  --text-muted: #55677C;
  --text-faint: #7C8CA0;

  --line:       rgba(10, 26, 46, 0.12);
  --line-soft:  rgba(10, 26, 46, 0.07);
  --line-dark:  rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Space & shape */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 46, .06), 0 1px 3px rgba(10, 26, 46, .05);
  --shadow:    0 2px 4px rgba(10, 26, 46, .04), 0 8px 24px rgba(10, 26, 46, .08);
  --shadow-lg: 0 4px 8px rgba(10, 26, 46, .05), 0 24px 56px rgba(10, 26, 46, .14);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy-800); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--navy-950);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 1.35rem + 3.6vw, 4.1rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.1vw, 2.9rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

code, kbd, samp, pre { font-family: var(--font-mono); font-size: .9em; }

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

::selection { background: var(--navy-800); color: var(--paper); }

/* --- Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }
.container--mid { max-width: 960px; }

.section { padding-block: clamp(64px, 8vw, 116px); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }

.section--dark {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .78);
  --line: var(--line-dark);
  --line-soft: rgba(255, 255, 255, .08);
  --text: rgba(255, 255, 255, .78);
  --text-muted: rgba(255, 255, 255, .58);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: var(--blue-300); }
.section--dark a:hover { color: #fff; }

.section--paper2 { background: var(--paper-2); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --- Eyebrow / section heads --------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .75rem; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-600);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55;
}
.section--dark .eyebrow { color: var(--gold-400); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p {
  font-size: 1.125rem; color: var(--text-muted); line-height: 1.6; max-width: 62ch;
  text-wrap: pretty;
}
.section-head--center p { margin-inline: auto; }

.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  letter-spacing: -0.005em; line-height: 1;
  padding: 14px 24px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--navy-800); color: #fff; box-shadow: var(--shadow); }

.btn--gold { background: var(--gold-500); color: var(--ink); }
.btn--gold:hover { background: var(--gold-400); color: var(--ink); }

.btn--ghost {
  background: transparent; color: var(--navy-900); border-color: var(--line);
}
.btn--ghost:hover { background: var(--white); border-color: rgba(10,26,46,.28); color: var(--navy-900); }

.section--dark .btn--ghost, .hero .btn--ghost {
  color: #fff; border-color: rgba(255,255,255,.28);
}
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff;
}

.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--paper-2); color: var(--navy-900); }

.btn--sm { padding: 10px 16px; font-size: .875rem; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  min-height: 40px; /* comfortable tap target */
}
.link-arrow::after { content: "→"; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* --- Header -------------------------------------------------------------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.66);
  font-size: .8rem; letter-spacing: .01em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: center; gap: 10px 26px;
  min-height: 38px; flex-wrap: wrap; text-align: center;
}
.topbar span { display: inline-flex; align-items: center; gap: .5em; }
.topbar svg { flex: none; opacity: .8; }
.topbar b { color: rgba(255,255,255,.92); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 245, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex; align-items: center; gap: 20px; min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy-950); flex: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.32rem;
  letter-spacing: -0.02em;
}
.brand__name em { font-style: normal; color: var(--gold-600); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block; padding: 9px 13px; border-radius: var(--radius-sm);
  font-size: .925rem; font-weight: 520; color: var(--text); text-decoration: none;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav a:hover { background: rgba(10,26,46,.055); color: var(--navy-900); }
.nav a[aria-current="page"] { color: var(--navy-900); font-weight: 650; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; color: var(--navy-900);
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav, .header-actions { display: none; }
  .site-header.is-open .nav,
  .site-header.is-open .header-actions {
    display: flex; flex-direction: column; align-items: stretch;
    width: 100%; margin: 0; gap: 2px;
  }
  .site-header.is-open .container { flex-wrap: wrap; padding-bottom: 20px; }
  .site-header.is-open .nav { order: 3; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
  .site-header.is-open .nav a { padding: 12px 10px; font-size: 1rem; }
  .site-header.is-open .header-actions { order: 4; padding-top: 10px; gap: 8px; }
  .site-header.is-open .header-actions .btn { width: 100%; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(35, 87, 143, .38), transparent 62%),
    radial-gradient(700px 420px at 4% 108%, rgba(184, 145, 60, .16), transparent 60%),
    linear-gradient(168deg, var(--navy-950) 0%, var(--ink) 62%, #060F19 100%);
  color: rgba(255,255,255,.76);
  padding-block: clamp(60px, 7.5vw, 104px) clamp(64px, 8vw, 112px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(70% 62% at 50% 34%, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 62% at 50% 34%, #000 22%, transparent 78%);
}
.hero > .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.hero h1 { color: #fff; margin-bottom: .32em; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero__sub {
  font-size: clamp(1.06rem, .98rem + .5vw, 1.24rem);
  color: rgba(255,255,255,.7); max-width: 54ch; line-height: 1.6;
  margin-bottom: 2rem; text-wrap: pretty;
}
.hero .btn-row { margin-bottom: 2.25rem; }

.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .8rem; font-weight: 550; color: rgba(255,255,255,.82);
  margin-bottom: 1.6rem; backdrop-filter: blur(6px);
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-600);
  box-shadow: 0 0 0 3px rgba(27,127,90,.28);
}

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; color: rgba(255,255,255,.6);
}
.hero__trust span { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust svg { color: var(--gold-400); flex: none; }

/* --- Document preview mock (hero) ---------------------------------------- */
.docmock { position: relative; perspective: 1400px; }
.docmock__card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden; transform: rotateY(-7deg) rotateX(2.5deg); transform-origin: right center;
}
@media (max-width: 980px) { .docmock__card { transform: none; } }

.docmock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.docmock__dots { display: flex; gap: 5px; }
.docmock__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(10,26,46,.16); display: block; }
.docmock__url {
  flex: 1; min-width: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; font-family: var(--font-mono);
  font-size: .66rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.docmock__url b { color: var(--navy-800); font-weight: 600; }

.docmock__body { position: relative; padding: 22px; background: var(--paper-2); }
.docmock__page {
  background: #fff; border-radius: 4px; padding: 26px 24px; box-shadow: var(--shadow-sm);
  filter: blur(6px); opacity: .92; user-select: none;
}
.docmock__page .l { height: 8px; border-radius: 3px; background: rgba(10,26,46,.2); margin-bottom: 10px; }
.docmock__page .l.t { height: 14px; width: 62%; background: rgba(10,26,46,.42); margin-bottom: 18px; }
.docmock__page .l.s { width: 88%; }
.docmock__page .l.m { width: 74%; }
.docmock__page .l.xs { width: 44%; }
.docmock__page .blk {
  height: 46px; border-radius: 4px; background: rgba(35,87,143,.16); margin: 16px 0;
}

.docmock__lock {
  position: absolute; inset: 22px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, rgba(10,26,46,.06), rgba(10,26,46,.3));
  border-radius: 4px; text-align: center; padding: 20px;
}
.docmock__lockicon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(251,249,245,.94); color: var(--navy-900);
  box-shadow: 0 6px 20px rgba(8,19,31,.3);
}
.docmock__locktext {
  font-size: .8rem; font-weight: 600; color: #fff; letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(8,19,31,.7);
}
.docmock__foot {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: var(--white); border-top: 1px solid var(--line);
}
.docmock__foot .btn { flex: 1; }
.docmock__meta { font-size: .72rem; color: var(--text-faint); font-family: var(--font-mono); }

/* --- Logo strip ---------------------------------------------------------- */
.logostrip { background: var(--white); border-block: 1px solid var(--line-soft); padding-block: 34px; }
.logostrip__label {
  text-align: center; font-size: .74rem; font-weight: 650; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 22px;
}
.logostrip__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(24px, 4.5vw, 56px);
}
.logostrip__row .plogo { color: var(--navy-900); opacity: .5; transition: opacity .2s var(--ease); }
.logostrip__row .plogo:hover { opacity: .85; }
.plogo { height: 26px; width: auto; flex: none; }

/* --- Cards & grids ------------------------------------------------------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(22px, 2.4vw, 30px);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }
.section--dark .card {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1);
}
.section--dark .card p { color: rgba(255,255,255,.62); }

.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--blue-100); color: var(--navy-800);
}
.section--dark .card__icon { background: rgba(59,124,191,.2); color: var(--blue-300); }
.card__icon--gold { background: var(--gold-100); color: var(--gold-600); }
.card__icon--green { background: var(--green-100); color: var(--green-700); }

.tag {
  display: inline-block; font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .04em; padding: 3px 8px; border-radius: 4px;
  background: var(--paper-3); color: var(--navy-800); margin-bottom: 14px;
}
.section--dark .tag { background: rgba(255,255,255,.1); color: var(--blue-300); }

/* --- Steps --------------------------------------------------------------- */
.steps { display: grid; gap: 2px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 76px minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 32px); align-items: start;
  padding: clamp(24px, 3vw, 34px) 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600;
  line-height: 1; color: var(--gold-500); font-variant-numeric: tabular-nums;
}
.step__num::before { content: "0"; opacity: .35; }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--text-muted); max-width: 64ch; }
.step__aside { font-size: .875rem; }
@media (max-width: 720px) {
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step__num { font-size: 1.6rem; }
}

/* --- Annotated URL ------------------------------------------------------- */
.urlbox {
  background: var(--navy-950); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px); color: rgba(255,255,255,.7);
  box-shadow: var(--shadow);
}
.urlbox__label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45); font-weight: 650; margin-bottom: 14px;
}
.urlbox__url {
  font-family: var(--font-mono); font-size: clamp(.78rem, .6rem + .6vw, 1.02rem);
  line-height: 2; overflow-wrap: anywhere; color: rgba(255,255,255,.55);
  margin-bottom: 26px;
}
/* Keep the GUID intact — it wraps to its own line rather than mid-token. */
.urlbox__url .u-guid { white-space: nowrap; }
.urlbox__url .u-sub { color: var(--gold-400); }
.urlbox__url .u-dom { color: #fff; }
.urlbox__url .u-key { color: var(--blue-300); }
.urlbox__url .u-guid { color: var(--green-100); background: rgba(27,127,90,.25); border-radius: 3px; padding: 1px 3px; }

/* Single column: the box sits in a half-width column, where three columns
   of definition text would be too narrow to read. */
.urlbox__legend { display: grid; gap: 16px; }
.urlbox__legend > div { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }
.urlbox__legend dt {
  font-family: var(--font-mono); font-size: .78rem; margin-bottom: 5px; font-weight: 600;
}
.urlbox__legend dd { margin: 0; font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.55; }
.urlbox__legend .c-sub { color: var(--gold-400); }
.urlbox__legend .c-dom { color: #fff; }
.urlbox__legend .c-guid { color: #9BD9BC; }

/* --- Checklist preview --------------------------------------------------- */
.checkpreview {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--shadow-sm);
}
.checkpreview h4 { margin-bottom: 4px; }
.checkpreview > p { font-size: .875rem; color: var(--text-muted); margin-bottom: 18px; }
.checkpreview ul { list-style: none; margin: 0; padding: 0; }
.checkpreview li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: .92rem;
}
.checkpreview li:first-child { border-top: 0; }
.checkpreview li svg { flex: none; margin-top: 2px; color: var(--green-600); }
.checkpreview li span { color: var(--text-muted); font-size: .82rem; display: block; }

/* --- Spec list ----------------------------------------------------------- */
.specs { border-top: 1px solid var(--line); }
.specs__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(12px, 3vw, 40px); padding: 20px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 680px) { .specs__row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.specs__key { font-weight: 650; font-size: .95rem; color: var(--navy-950); }
.section--dark .specs__key { color: #fff; }
.specs__val { color: var(--text-muted); font-size: .92rem; }
.specs__val code {
  background: var(--paper-2); padding: 2px 6px; border-radius: 4px; color: var(--navy-800);
}
.section--dark .specs__val code { background: rgba(255,255,255,.1); color: var(--blue-300); }

/* --- Partners ------------------------------------------------------------ */
.partners__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--line-soft); gap: 1px;
}
@media (max-width: 900px) { .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .partners__grid { grid-template-columns: minmax(0, 1fr); } }

.partner {
  background: var(--white); padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 14px; min-height: 176px;
  transition: background-color .2s var(--ease);
}
.partner:hover { background: var(--paper); }
.partner__logo { height: 30px; color: var(--navy-900); }
.partner__logo svg { height: 100%; width: auto; }
.partner__name { font-weight: 650; font-size: .95rem; color: var(--navy-950); margin: 0; }
.partner__meta { font-size: .8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.partner__since {
  margin-top: auto; font-family: var(--font-mono); font-size: .72rem;
  color: var(--text-faint); letter-spacing: .04em; text-transform: uppercase;
}

.partners__note {
  margin-top: 20px; font-size: .82rem; color: var(--text-faint);
  display: flex; gap: 10px; align-items: flex-start;
}
.partners__note svg { flex: none; margin-top: 3px; }

/* --- Stats --------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { background: var(--navy-950); padding: clamp(22px, 3vw, 34px) clamp(16px, 2vw, 26px); }
.stat__num {
  font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 600; color: #fff; line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 8px; font-variant-numeric: tabular-nums;
}
.stat__num em { font-style: normal; color: var(--gold-400); }
.stat__label { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.45; }

/* --- Quote --------------------------------------------------------------- */
.quotes { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 960px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.quote {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column;
}
.quote blockquote {
  margin: 0 0 22px; font-family: var(--font-display); font-size: 1.12rem;
  line-height: 1.5; color: var(--navy-950); text-wrap: pretty;
}
.quote blockquote::before { content: "“"; color: var(--gold-500); }
.quote blockquote::after { content: "”"; color: var(--gold-500); }
.quote__by { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--navy-800); color: #fff; display: grid; place-items: center;
  font-size: .78rem; font-weight: 650; letter-spacing: .02em;
}
.quote__who { font-size: .85rem; line-height: 1.4; }
.quote__who b { display: block; color: var(--navy-950); font-weight: 650; }
.quote__who span { color: var(--text-muted); }

/* --- Compliance badges --------------------------------------------------- */
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.badge {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
}
.section--dark .badge { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.badge__seal {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600);
}
.section--dark .badge__seal { background: rgba(210,174,92,.16); color: var(--gold-400); }
.badge b { display: block; font-size: .9rem; color: var(--navy-950); font-weight: 650; }
.section--dark .badge b { color: #fff; }
.badge span { font-size: .78rem; color: var(--text-muted); }

/* --- FAQ ----------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 600;
  color: var(--navy-950); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  border-right: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--blue-600); }
.faq__body { padding: 0 0 24px; max-width: 74ch; color: var(--text-muted); font-size: .96rem; }

/* --- CTA band ------------------------------------------------------------ */
.cta {
  background:
    radial-gradient(760px 420px at 12% 0%, rgba(35,87,143,.42), transparent 62%),
    linear-gradient(140deg, var(--navy-900), var(--ink));
  color: rgba(255,255,255,.74);
}
.cta h2 { color: #fff; }
.cta__inner {
  display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
@media (max-width: 860px) { .cta__inner { grid-template-columns: minmax(0, 1fr); } }
.cta__inner p { font-size: 1.08rem; color: rgba(255,255,255,.68); margin-bottom: 0; }
.cta .btn-row { justify-content: flex-start; }
@media (min-width: 861px) { .cta .btn-row { justify-content: flex-end; } }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.55);
  padding-block: clamp(48px, 6vw, 76px) 28px; font-size: .9rem;
}
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px); padding-bottom: 44px;
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer__about { font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.5); max-width: 40ch; }
.footer__col h4 {
  font-family: var(--font-body); font-size: .74rem; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 650; margin-bottom: 14px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 9px; }
.footer__col a {
  color: rgba(255,255,255,.68); text-decoration: none; font-size: .875rem;
}
.footer__col a:hover { color: #fff; text-decoration: underline; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  justify-content: space-between; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(255,255,255,.42);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer__bottom a:hover { color: #fff; }
.footer__legalnote {
  font-size: .78rem; color: rgba(255,255,255,.34); line-height: 1.6;
  padding-top: 18px; max-width: 100ch;
}

/* --- Page hero (sub-pages) ----------------------------------------------- */
.pagehero {
  background: linear-gradient(170deg, var(--navy-950), var(--ink));
  color: rgba(255,255,255,.72);
  padding-block: clamp(52px, 6.5vw, 88px);
  position: relative; overflow: hidden;
}
.pagehero::after {
  content: ""; position: absolute; right: -10%; top: -40%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,87,143,.34), transparent 66%);
  pointer-events: none;
}
.pagehero > .container { position: relative; z-index: 1; }
.pagehero h1 { color: #fff; font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem); }
.pagehero p { color: rgba(255,255,255,.68); font-size: 1.1rem; max-width: 62ch; margin-bottom: 0; }
.breadcrumb {
  font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: 18px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* --- Prose (legal / long-form) ------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-muted); font-size: .98rem; }
.prose strong { color: var(--navy-950); font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-2); font-weight: 650; color: var(--navy-950); }
.prose td { color: var(--text-muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- Dense tables -------------------------------------------------------- */
.datatable {
  width: 100%; border-collapse: collapse; font-size: .92rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.datatable th, .datatable td { text-align: left; padding: 13px 16px; vertical-align: top; }
.datatable thead th { background: var(--navy-950); color: #fff; font-weight: 650; font-size: .88rem; }
.datatable tbody td { border-top: 1px solid var(--line); color: var(--text-muted); }
.datatable tbody td:first-child {
  font-weight: 600; color: var(--navy-950); white-space: nowrap;
}

/* Below 640px a three- or four-column table becomes one card per row, so the
   reader never has to scroll sideways to finish a sentence. Cells carry a
   data-label attribute that stands in for the hidden column header. */
@media (max-width: 640px) {
  .table-cards { overflow-x: visible; }
  .table-cards table,
  .table-cards tbody,
  .table-cards tr,
  .table-cards td { display: block; width: 100%; }
  .table-cards thead { display: none; }
  .table-cards table {
    border: 0; background: transparent; border-radius: 0;
    font-size: .92rem; margin: 1.2em 0;
  }
  .table-cards tr {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); margin-bottom: 12px; padding: 15px 16px;
  }
  .table-cards td { border: 0; padding: 0; margin-top: 13px; }
  .table-cards td:first-child {
    margin-top: 0; padding-bottom: 11px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem; font-weight: 650; color: var(--navy-950);
    white-space: normal;
  }
  .table-cards td:not(:first-child)::before {
    content: attr(data-label);
    display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-faint); font-weight: 700; margin-bottom: 3px;
  }
}

.toc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 40px;
}
.toc h4 { margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { font-size: .9rem; margin-bottom: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* --- Pricing ------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px,2vw,22px); align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 2.8vw, 34px); display: flex; flex-direction: column;
}
.plan--featured {
  border-color: var(--navy-800); box-shadow: var(--shadow); position: relative;
}
.plan__flag {
  position: absolute; top: -12px; left: clamp(26px,2.8vw,34px);
  background: var(--gold-500); color: var(--ink); font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.plan h3 { margin-bottom: 6px; }
.plan__desc { font-size: .875rem; color: var(--text-muted); margin-bottom: 22px; min-height: 42px; }
.plan__price {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 600;
  color: var(--navy-950); line-height: 1; letter-spacing: -0.03em;
}
.plan__price small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.plan__period { font-size: .8rem; color: var(--text-faint); margin: 8px 0 24px; }
.plan .btn { margin-bottom: 24px; }
.plan ul { list-style: none; margin: 0; padding: 0; font-size: .89rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; color: var(--text-muted); }
.plan li svg { flex: none; margin-top: 3px; color: var(--green-600); }

/* --- Contact form -------------------------------------------------------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field label {
  display: block; font-size: .82rem; font-weight: 650; color: var(--navy-950);
  margin-bottom: 6px; letter-spacing: .01em;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--text);
  padding: 12px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,124,191,.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: .78rem; color: var(--text-faint); margin-top: 5px; }
.form-note { font-size: .8rem; color: var(--text-faint); }

.contact-card {
  background: var(--navy-950); color: rgba(255,255,255,.7);
  border-radius: var(--radius-lg); padding: clamp(26px,3vw,36px);
}
.contact-card h3 { color: #fff; }
.contact-card dl { margin: 0; }
.contact-card dt {
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.4); font-weight: 650; margin-top: 22px;
}
.contact-card dd { margin: 5px 0 0; font-size: .92rem; color: rgba(255,255,255,.78); }
.contact-card a { color: var(--blue-300); }

/* --- Utilities ----------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split--top { align-items: start; }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 2.75rem; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
