/* ============================================================
   VELCURA — Landing Styles
   Type: Lufga Regular (supplied) for body copy and headings;
         Manrope for buttons, nav, and other UI chrome.
   Palette: white, soft gray, deep navy
   ============================================================ */

@font-face {
  font-family: "Lufga";
  src: url("fonts/Lufga-Regular.woff2") format("woff2"),
       url("fonts/Lufga-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy:        #0B1B3B;
  --navy-800:    #12285A;
  --navy-600:    #24407E;
  --accent:      #2F5BD6;   /* refined electric blue for "Your Service." */
  --ink:         #1A2233;
  --gray-600:    #5B6472;
  --gray-400:    #8A93A3;
  --line:        #E7EBF1;
  --soft:        #F5F7FA;   /* soft gray surface */
  --soft-2:      #EEF2F7;
  --white:       #FFFFFF;

  --radius:      18px;
  --radius-sm:   12px;
  --shadow-sm:   0 4px 20px rgba(11, 27, 59, 0.06);
  --shadow-md:   0 18px 50px rgba(11, 27, 59, 0.10);
  --shadow-lg:   0 40px 90px rgba(11, 27, 59, 0.22);

  --container:   1180px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  /* Body copy + headings = real Lufga (400 only). UI chrome = Manrope. */
  --f-body: "Lufga", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-head: "Lufga", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-ui:   "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings are Lufga Regular — only weight 400 exists, so hierarchy comes from
   size and color, not weight. */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Buttons follow the headings: Lufga Regular, no weight contrast. */
.btn, .store-btn small, .store-btn strong {
  font-family: var(--f-head);
  font-weight: 400;
}

/* Remaining UI chrome stays on Manrope for clarity at small sizes. */
.brand__name, .nav__links a, .eyebrow,
.faq__item summary, .hero__badges li, .footer__links a, .footer__tag {
  font-family: var(--f-ui);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Brand / logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand__logo { width: 40px; height: 34px; color: var(--navy); flex: none; }
.brand__name {
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.22em;
  color: var(--navy);
}
.brand--light, .brand--light .brand__name, .brand--light .brand__logo { color: var(--white); }

/* Supplied VELCURA logo lockup */
.brand__img { height: 48px; width: auto; display: block; }
.brand__img--dl { height: 66px; margin-bottom: 22px; }
.brand__img--footer { height: 58px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 27, 59, 0.28);
  background: var(--navy-800);
}

/* ---------- App store buttons ---------- */
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #0A0A0A;
  color: #fff;
  padding: 11px 20px;
  border-radius: 13px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.05; }
.store-btn small { font-size: 0.62rem; opacity: 0.85; font-weight: 400; letter-spacing: 0.03em; }
.store-btn strong { font-size: 1.02rem; font-weight: 400; letter-spacing: 0.01em; }
.store-btn--dark { background: #0A0A0A; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11,27,59,0.05); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.28s var(--ease);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
}
.nav__toggle span {
  width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 520px at 78% 8%, rgba(47, 91, 214, 0.10), transparent 60%),
    radial-gradient(760px 520px at 100% 40%, rgba(11, 27, 59, 0.08), transparent 62%),
    linear-gradient(180deg, #FBFCFE 0%, #F3F6FB 100%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 64px 28px 90px;
}
.hero__title {
  font-size: clamp(2.6rem, 5.2vw, 4.15rem);
  font-weight: 400;
  line-height: 1.06;
  /* Caps need looser tracking than the mixed-case setting this replaced */
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  color: var(--navy);
}
.hero__title .accent { color: var(--accent); }
.hero__sub {
  font-size: 1.12rem;
  color: var(--gray-600);
  max-width: 430px;
  margin: 0 0 34px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 32px;
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
}
.badge-ic {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* ---------- Phone ---------- */
.hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone__glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(47,91,214,0.20), transparent 68%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  background: #0C0C0E;
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
.phone__screen {
  background: var(--white);
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 1320 / 2868;
}
.phone__shot { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 92px 0; }
.section--alt { background: var(--soft); }
.eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}
.section__title {
  text-align: center;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 60px;
}
.section__title--left { text-align: left; margin-bottom: 20px; }

/* ---------- How it works ---------- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 230px;
  text-align: center;
  padding: 8px;
}
.step__ic {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover .step__ic { transform: translateY(-5px); box-shadow: var(--shadow-md); color: var(--accent); }
.step h3 { font-size: 1.02rem; font-weight: 400; color: var(--navy); margin: 0 0 8px; }
.step p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }
.step__arrow {
  align-self: center;
  color: var(--gray-400);
  font-size: 1.4rem;
  margin-top: 24px;
  flex: none;
}

/* ---------- App screens gallery ---------- */
.screens {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1020px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.screen { text-align: center; }
.phone--sm {
  width: 100%;
  border-radius: 32px;
  padding: 7px;
  animation: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.phone--sm .phone__screen { border-radius: 26px; }
.screen:hover .phone--sm { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.screen__title {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--navy);
  margin: 22px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.screen__num {
  flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-ui);
  font-size: 0.76rem;
  font-weight: 600;
}
.screen__sub {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  max-width: 230px;
  margin-inline: auto;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Same treatment as the download band: navy gradient, corner glow, inverted text */
.service {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0A1730 55%, #142C63 100%);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* Glow as a pseudo-element so the card markup stays untouched */
.service::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(47, 91, 214, 0.45), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.service > * { position: relative; z-index: 1; }
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service__ic {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  margin-bottom: 18px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.service:hover .service__ic { background: #fff; color: var(--navy); }
.service h3 { font-size: 1.1rem; font-weight: 400; color: #fff; margin: 0 0 6px; }
.service p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); margin: 0; }
.services__more { text-align: center; color: var(--gray-600); margin: 40px 0 0; font-size: 0.98rem; }

/* ---------- Why VELCURA ---------- */
.why { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 56px; align-items: start; }
.why__intro { position: sticky; top: 110px; }
.why__intro .eyebrow { text-align: left; }
.why__lead { color: var(--gray-600); font-size: 1.05rem; margin: 0; max-width: 360px; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value__ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(47,91,214,0.10);
  color: var(--accent);
  margin-bottom: 16px;
}
.value h3 { font-size: 1.02rem; font-weight: 400; color: var(--navy); margin: 0 0 6px; }
.value p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ---------- Download band ---------- */
.download {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0A1730 55%, #142C63 100%);
  border-radius: 28px;
  padding: 58px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.download__glow {
  position: absolute;
  width: 480px; height: 480px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(47,91,214,0.45), transparent 62%);
  filter: blur(30px);
}
.download__copy { position: relative; z-index: 1; max-width: 520px; }
.download__copy .brand { margin-bottom: 18px; }
.download__copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 12px;
}
.download__copy p { color: rgba(255,255,255,0.72); margin: 0; font-size: 1.02rem; }
.store-buttons--light { position: relative; z-index: 1; }
.store-buttons--light .store-btn { background: #fff; color: #0A0A0A; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.faq__col { display: flex; flex-direction: column; gap: 16px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__x {
  flex: none;
  font-size: 1.15rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  line-height: 1;
}
.faq__item[open] .faq__x { transform: rotate(45deg); }
.faq__item p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 40px;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer__tag { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin: 0; }
.footer__links { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.footer__links a {
  font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.8);
  transition: color 0.25s var(--ease);
}
.footer__links a:hover { color: #fff; }
.footer__copy { color: rgba(255,255,255,0.4); font-size: 0.82rem; margin: 6px 0 0; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone { animation: none; }
  .screen:hover .phone--sm { transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 20px; padding-top: 40px; text-align: center; }
  .hero__copy { order: 2; }
  .hero__phone { order: 1; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .store-buttons, .hero__badges { justify-content: center; }
  .why { grid-template-columns: 1fr; gap: 34px; }
  .why__intro { position: static; }
  .why__intro .eyebrow, .section__title--left { text-align: center; }
  .why__lead { max-width: none; text-align: center; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    padding: 16px 28px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav__links a { padding: 12px 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { gap: 26px; }
  .screens { grid-template-columns: repeat(2, 1fr); gap: 34px; max-width: 560px; }
  .step__arrow { display: none; }
  .step { max-width: 46%; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .brand__img { height: 40px; }
  .brand__img--dl { height: 56px; }
  .brand__img--footer { height: 50px; }
  .section { padding: 68px 0; }
  .services { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .step { max-width: 100%; }
  .screens { gap: 26px; max-width: 420px; }
  .download { padding: 40px 26px; }
  .section__title { margin-bottom: 42px; }
  .hero__badges { gap: 18px; }
}

/* ============================================================
   DOCUMENT PAGES — Privacy, Terms, Support
   Long-form reading column on the soft-gray surface, using the
   same navy/blue palette and Lufga/Manrope pairing as the landing page.
   ============================================================ */
.doc-page { background: var(--soft); padding: 44px 0 88px; }

/* Tabs across the three documents */
.doc__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.doc__tab {
  font-family: var(--f-ui);
  font-size: 0.88rem; font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.doc__tab:hover { color: var(--navy); border-color: var(--navy-600); }
.doc__tab.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* The reading column */
.doc {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 56px 60px 64px;
  font-size: 1rem;
  line-height: 1.72;
}
.doc [id] { scroll-margin-top: 96px; }

.doc h1 { font-size: 2.05rem; color: var(--navy); margin: 0 0 10px; }
.doc h2 {
  font-size: 1.28rem; color: var(--navy);
  margin: 42px 0 12px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.doc h3 { font-size: 1.03rem; color: var(--navy); margin: 26px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc a:hover { color: var(--navy); }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc strong { font-weight: 700; }

.doc .meta { font-family: var(--f-ui); color: var(--gray-400); font-size: 0.86rem; margin: 0 0 4px; }
.doc .lead { color: var(--gray-600); font-size: 1.02rem; margin: 18px 0 0; }

/* Table of contents */
.doc .toc {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 26px 22px;
  margin: 28px 0 8px;
}
.doc .toc strong {
  font-family: var(--f-ui);
  display: block; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 10px;
}
.doc .toc ol { columns: 2; column-gap: 34px; margin: 0; }
.doc .toc li { margin: 3px 0; break-inside: avoid; }
.doc .toc a { color: var(--navy); text-decoration: none; font-size: 0.93rem; }
.doc .toc a:hover { color: var(--accent); text-decoration: underline; }

/* Tables of fees, tiers, and data categories */
.doc table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 0.92rem; }
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 11px 13px; text-align: left; vertical-align: top;
}
.doc th {
  font-family: var(--f-ui); font-weight: 600;
  background: var(--soft-2); color: var(--navy);
}

/* Highlighted explanation blocks */
.doc .callout {
  background: rgba(47, 91, 214, 0.05);
  border: 1px solid rgba(47, 91, 214, 0.18);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 20px 0;
  font-size: 0.94rem;
}
/* Legally significant blocks that must stand out from body copy */
.doc .caps {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 18px 0;
  font-size: 0.9rem; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.62;
}
.doc .caps strong { color: var(--ink); }

/* Support page: contact cards and Q&A */
.doc__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin: 26px 0 8px;
}
.doc__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  padding: 16px 18px;
}
.doc__card h3 { margin: 0 0 4px; font-size: 0.98rem; }
.doc__card p { margin: 0; font-size: 0.92rem; color: var(--gray-600); }

.doc__faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 24px 22px;
  margin-top: 14px;
}
.doc__faq h3 { margin-top: 22px; }
.doc__faq p { margin: 6px 0 0; color: var(--gray-600); font-size: 0.95rem; }

/* Closing fine print */
.doc__fine {
  display: block;
  margin: 40px 0 0; padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--gray-400); font-size: 0.82rem;
}

@media (max-width: 760px) {
  .doc-page { padding: 28px 0 60px; }
  .doc { padding: 34px 24px 40px; border-radius: var(--radius-sm); }
  .doc h1 { font-size: 1.6rem; }
  .doc h2 { font-size: 1.14rem; margin-top: 34px; }
  .doc .toc ol { columns: 1; }
  .doc table { display: block; overflow-x: auto; }
}
