/* ==========================================================================
   Ekta Mobile — site stylesheet
   Self-contained: no external fonts, no CDNs, no remote assets.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --brand-50:  #EEF4FF;
  --brand-100: #DCE8FF;
  --brand-200: #BFD6FF;
  --brand-400: #7FB0FF;
  --brand-500: #4C8DFF;
  --brand-600: #2F6BFF;
  --brand-700: #1E4FD8;
  --brand-900: #16256B;

  --accent:    #FFB020;
  --accent-dk: #B87A05;
  --ok:        #16A34A;
  --ok-soft:   #E7F6EC;

  --bg:        #FFFFFF;
  --bg-soft:   #F4F7FE;
  --bg-deep:   #16256B;
  --surface:   #FFFFFF;
  --surface-2: #F8FAFF;
  --border:    #E3E9F5;
  --border-2:  #D3DCEF;
  --text:      #101828;
  --heading:   #0B1533;
  --muted:     #5A6684;

  --shadow-sm: 0 1px 2px rgba(16, 37, 107, .06), 0 1px 3px rgba(16, 37, 107, .05);
  --shadow-md: 0 4px 14px rgba(16, 37, 107, .07), 0 2px 6px rgba(16, 37, 107, .04);
  --shadow-lg: 0 18px 48px rgba(16, 37, 107, .12), 0 6px 16px rgba(16, 37, 107, .06);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --maxw: 1180px;
  --gut: clamp(1rem, 4vw, 2.5rem);

  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

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

/* Dark theme — follows the OS by default, overridable by the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #0A1020;
    --bg-soft:   #0E1730;
    --bg-deep:   #070C1A;
    --surface:   #121C36;
    --surface-2: #16213E;
    --border:    #223055;
    --border-2:  #2C3C68;
    --text:      #E5EBF8;
    --heading:   #F4F7FF;
    --muted:     #9BA9C6;
    --brand-50:  #16213E;
    --brand-100: #1B2A4E;
    --ok-soft:   #10301F;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, .38);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, .5);
  }
}

:root[data-theme="dark"] {
  --bg:        #0A1020;
  --bg-soft:   #0E1730;
  --bg-deep:   #070C1A;
  --surface:   #121C36;
  --surface-2: #16213E;
  --border:    #223055;
  --border-2:  #2C3C68;
  --text:      #E5EBF8;
  --heading:   #F4F7FF;
  --muted:     #9BA9C6;
  --brand-50:  #16213E;
  --brand-100: #1B2A4E;
  --ok-soft:   #10301F;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, .38);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .5);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
  font-weight: 750;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); }

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

a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }

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

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

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

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

::selection { background: var(--brand-200); color: var(--brand-900); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-700);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.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;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.section-head--center .eyebrow::before { display: none; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
/* Exactly two columns from tablet up — for sets of items that should pair off. */
.grid--pair { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--pair { grid-template-columns: 1fr 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--reverse > *:first-child { order: 2; }
}

/* ---------- 4. Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 107, 255, .3);
}
.btn--primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(47, 107, 255, .38); }

.btn--accent {
  background: linear-gradient(135deg, #FFC44D, var(--accent));
  color: #3B2600;
  box-shadow: 0 6px 18px rgba(255, 176, 32, .32);
}
.btn--accent:hover { color: #3B2600; box-shadow: 0 10px 26px rgba(255, 176, 32, .4); }

.btn--ghost {
  background: var(--surface);
  color: var(--heading);
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--heading); border-color: var(--brand-400); }

.btn--onDark {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
  backdrop-filter: blur(4px);
}
.btn--onDark:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.btn--lg { padding: .95rem 1.75rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .85rem;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  border: 1px solid var(--border);
  color: var(--brand-700);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
}
.pill--ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.pill--accent { background: rgba(255, 176, 32, .16); border-color: transparent; color: var(--accent-dk); }
:root[data-theme="dark"] .pill--accent { color: var(--accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pill--accent { color: var(--accent); }
}

.pill-row { display: flex; flex-wrap: wrap; gap: .55rem; }

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--brand-900);
  color: #C9D8FF;
  font-size: .84rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding-block: .35rem;
}
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { color: var(--accent); text-decoration: underline; }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; flex: none; opacity: .8; }
@media (max-width: 640px) {
  .topbar-item--addr { display: none; }
  .topbar .container { justify-content: center; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--heading);
  margin-right: auto;
  flex: none;
}
.brand__mark { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.brand__name {
  display: block;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.1;
}
.brand__tag {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative;
  padding: .55rem .8rem;
  border-radius: var(--r-sm);
  color: var(--text);
  font-weight: 650;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: var(--bg-soft); color: var(--brand-700); }
.nav a[aria-current="page"] { color: var(--brand-700); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .25rem;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.icon-btn:hover { border-color: var(--brand-400); background: var(--bg-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .icon-sun { display: none; }
:root[data-theme="dark"] .icon-btn .icon-sun { display: block; }
:root[data-theme="dark"] .icon-btn .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .icon-moon { display: none; }
}

.nav-toggle { display: none; position: relative; z-index: 2; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (max-width: 960px) {
  /* backdrop-filter on an ancestor makes it the containing block for
     position:fixed children, which would trap the slide-out drawer inside the
     header box. Drop the glass effect at the widths where the drawer is used. */
  .site-header {
    backdrop-filter: none;
    background: var(--bg);
  }

  .header-actions .btn--callHeader { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 5.5rem 1.25rem 2rem;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: .85rem 1rem; font-size: 1.03rem; }
  .nav a[aria-current="page"]::after { left: 1rem; right: auto; width: 22px; bottom: .55rem; }
  .nav__cta { margin-top: 1rem; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 21, 51, .5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 99;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 961px) {
  .nav__cta, .nav-backdrop { display: none; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 5rem);
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(47, 107, 255, .16), transparent 62%),
    radial-gradient(680px 420px at 4% 108%, rgba(255, 176, 32, .16), transparent 60%),
    var(--bg-soft);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .4;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero__title { margin-bottom: .5rem; }
.hero__title .accentText {
  background: linear-gradient(120deg, var(--brand-600), var(--brand-900));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme="dark"] .hero__title .accentText {
  background: linear-gradient(120deg, var(--brand-400), #fff);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__lede {
  font-size: clamp(1.02rem, .97rem + .3vw, 1.16rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.9rem; }
.hero__art { position: relative; }
.hero__art img { width: 100%; border-radius: var(--r-xl); }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 40rem;
}
.hero__fact { background: var(--surface); padding: .95rem 1.1rem; }
.hero__fact dt {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}
.hero__fact dd { margin: 0; font-weight: 750; color: var(--heading); font-size: .97rem; }

/* ---------- 7. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(700px 340px at 82% 0%, rgba(47, 107, 255, .18), transparent 65%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: .4rem; }
.page-hero p { color: var(--muted); max-width: 44rem; font-size: 1.06rem; margin-bottom: 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
  font-size: .85rem;
  color: var(--muted);
}
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: var(--border-2); }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 650; }
.crumbs a:hover { color: var(--brand-700); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--heading); font-weight: 700; }

/* ---------- 8. Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.card__list {
  list-style: none;
  padding: 0;
  margin: .9rem 0 0;
  font-size: .92rem;
  color: var(--muted);
}
.card__list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: .3rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-700);
  border: 1px solid var(--border);
}
.card-icon svg { width: 25px; height: 25px; }
.card-icon--accent {
  background: linear-gradient(135deg, rgba(255, 176, 32, .18), rgba(255, 176, 32, .3));
  color: var(--accent-dk);
}
:root[data-theme="dark"] .card-icon--accent { color: var(--accent); }

.num-card__n {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  margin-bottom: .9rem;
  background: var(--brand-900);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

/* ---------- 9. Utility type ---------- */
.mono {
  font-family: "Ubuntu Mono", "DejaVu Sans Mono", Consolas, monospace;
  letter-spacing: .04em;
  font-size: 1.02em;
}

/* ---------- 10. Feature / check lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checklist li {
  position: relative;
  padding-left: 2.1rem;
  margin: 0;
  color: var(--muted);
}
.checklist li strong { color: var(--heading); display: block; font-weight: 700; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .18em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

.hours { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours th, .hours td { padding: .68rem .25rem; text-align: left; border-bottom: 1px solid var(--border); }
.hours th { font-weight: 650; color: var(--muted); }
.hours td { font-weight: 700; color: var(--heading); text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* ---------- 11. Accordion (FAQ) ---------- */
.faq { display: grid; gap: .75rem; max-width: 52rem; margin-inline: auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--brand-200); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--brand-600);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-700); }
.faq .faq__a { padding: 0 1.25rem 1.15rem; color: var(--muted); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- 12. CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1E348C, var(--brand-900) 55%, #0B142F);
  color: #fff;
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta::before { width: 460px; height: 460px; right: -120px; top: -220px; background: rgba(47, 107, 255, .3); }
.cta::after  { width: 320px; height: 320px; left: -110px; bottom: -180px; background: rgba(255, 176, 32, .18); }
.cta > .container { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #C6D5F7; max-width: 40rem; }
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  justify-content: space-between;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 13. Prose (legal pages) ---------- */
.prose { max-width: 48rem; }
.prose h2 {
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.prose h2:first-of-type { margin-top: 1.5rem; }
.prose h3 { margin-top: 1.6rem; font-size: 1.1rem; }
.prose li { color: var(--text); }
.prose > p, .prose ul, .prose ol { color: var(--text); }
.prose address {
  font-style: normal;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-600);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  line-height: 1.75;
}
.doc-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding: .7rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px solid var(--border);
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.doc-meta strong { color: var(--heading); }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.toc h2 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; border: 0; padding: 0; }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: .93rem; }
.toc a { text-decoration: none; font-weight: 650; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 1000px) {
  .doc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 3rem; align-items: start; }
  .doc-layout .toc { position: sticky; top: 96px; }
}

/* ---------- 14. Contact ---------- */
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.contact-card a { font-weight: 750; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .card-icon { margin-bottom: 0; width: 44px; height: 44px; }
.contact-card .card-icon svg { width: 22px; height: 22px; }

.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .89rem; color: var(--heading); }
.field .req { color: #D92D20; }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: .72rem .9rem;
  width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .18);
}
.field .hint { font-size: .82rem; color: var(--muted); }
.form-note {
  font-size: .86rem;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .8rem 1rem;
}

/* ---------- 15. Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: #B9C6E6;
  padding-block: clamp(2.75rem, 5vw, 4rem) 0;
  font-size: .94rem;
}
:root[data-theme="dark"] .site-footer { border-top: 1px solid var(--border); }
.site-footer h3 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer a { color: #D5E0F7; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.footer-brand span { color: #fff; font-weight: 800; font-size: 1.15rem; line-height: 1.15; display: block; }
.footer-brand small { display: block; color: var(--accent); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .55rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .65rem; margin-bottom: .8rem; line-height: 1.55; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: .22em; color: var(--brand-400); }
/* Statutory fine print. Deliberately quiet — it belongs in a footer, not in a
   panel that competes with the actual content. */
.footer-legalbox {
  margin-top: 2.5rem;
  max-width: 62rem;
  font-size: .83rem;
  line-height: 1.75;
  color: #8D9DBF;
}
.footer-legalbox .mono { color: #B4C4E2; }
.footer-bottom {
  margin-top: 2rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: .87rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* ---------- 16. Misc ---------- */
.notice {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(255, 176, 32, .13);
  border: 1px solid rgba(255, 176, 32, .4);
  font-size: .92rem;
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--accent-dk); margin-top: .1em; }
:root[data-theme="dark"] .notice svg { color: var(--accent); }
.notice p { margin: 0; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 1.35rem 1.25rem; text-align: center; }
.stat b {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-700);
  line-height: 1.2;
  margin-bottom: .15rem;
}
.stat span { font-size: .87rem; color: var(--muted); font-weight: 650; }

.brandwall {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}
.brandwall span {
  padding: .55rem 1.15rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  font-size: .93rem;
  box-shadow: var(--shadow-sm);
}

.media-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

/* The illustrations are drawn light. Take the glare off them on a dark page. */
:root[data-theme="dark"] .media-frame img,
:root[data-theme="dark"] .hero__art img { filter: brightness(.9) saturate(.94); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .media-frame img,
  :root:not([data-theme="light"]) .hero__art img { filter: brightness(.9) saturate(.94); }
}

.lead { font-size: 1.1rem; color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mb-0 { margin-bottom: 0; }

/* ---------- 17. Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 18. Print ---------- */
@media print {
  .topbar, .site-header, .cta, .site-footer nav, .nav-backdrop, .btn { display: none !important; }
  body { color: #000; background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; }
  a[href^="http"]::after, a[href^="tel"]::after, a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: .85em;
    color: #444;
  }
}
