/* =====================================================================
   First Call Automation — Design System & Stylesheet
   Built by Bigtot Devices
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette — derived from the Firstcall Automation logo (violet + teal) */
  --brand-900: #1c1140;
  --brand-800: #33206e;
  --brand-700: #533099;
  --brand-600: #6d43c4;
  --brand-500: #8a62db;
  --brand-400: #a687e8;
  --brand-300: #c9b5f3;
  --brand-100: #efe8fc;

  --cyan-500: #00a79d;
  --cyan-400: #1cc7bb;
  --cyan-100: #d3f6f2;

  --amber-500: #ff8a1f;
  --amber-400: #ffa64d;
  --amber-100: #ffe9d4;

  --violet-500: #8a62db;
  --green-500: #17c964;
  --red-500: #ff4d6d;

  --ink-900: #171235;
  --ink-700: #2f2a52;
  --ink-500: #5c5880;
  --ink-400: #8a86a8;

  --surface: #ffffff;
  --surface-alt: #f6f4fd;
  --surface-soft: #efeafb;
  --line: #e7e2f4;

  --gradient-hero: linear-gradient(135deg, #4b2a8f 0%, #8a62db 45%, #00a79d 100%);
  --gradient-accent: linear-gradient(120deg, #8a62db 0%, #00a79d 100%);
  --gradient-warm: linear-gradient(120deg, #ff8a1f 0%, #ff4d6d 100%);
  --gradient-violet: linear-gradient(120deg, #8a62db 0%, #6d43c4 100%);

  --shadow-xs: 0 1px 2px rgba(43, 22, 92, .08);
  --shadow-sm: 0 6px 18px rgba(43, 22, 92, .10);
  --shadow-md: 0 16px 40px rgba(43, 22, 92, .15);
  --shadow-lg: 0 30px 70px rgba(43, 22, 92, .22);
  --shadow-glow: 0 20px 60px rgba(138, 98, 219, .38);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --container: 1180px;
  --gutter: clamp(18px, 5vw, 44px);

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.16, .84, .44, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--surface);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-500); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--surface-alt); }
.section--ink { background: var(--brand-900); color: #cdd7f5; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(18px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.center { text-align: center; }
.muted { color: var(--ink-500); }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }

/* ---------- Typography blocks ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-100);
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.eyebrow--light { color: #fff; background: rgba(255,255,255,.14); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-500); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 14px; }
.section-head p { font-size: 1.08rem; color: var(--ink-500); }

.lead { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gradient-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 0; cursor: pointer; text-align: center;
  background-image: var(--btn-bg); color: #fff;
  box-shadow: var(--shadow-glow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 26px 70px rgba(47,107,255,.42); color: #fff; filter: saturate(1.08); }
.btn:active { transform: translateY(0); }
.btn--warm { --btn-bg: var(--gradient-warm); box-shadow: 0 20px 60px rgba(255,138,31,.34); }
.btn--ghost {
  background: transparent; background-image: none; color: var(--brand-700);
  border: 1.5px solid var(--brand-300); box-shadow: none;
}
.btn--ghost:hover { background: var(--brand-100); color: var(--brand-700); box-shadow: none; }
.btn--light {
  background: #fff; background-image: none; color: var(--brand-700); box-shadow: var(--shadow-sm);
}
.btn--light:hover { color: var(--brand-700); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink-900); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name span { color: var(--brand-600); }
.brand__tag { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: .94rem;
  color: var(--ink-700); padding: 10px 14px; border-radius: var(--radius-pill);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--brand-100); color: var(--brand-700); }
.nav__link[aria-current="page"] { color: var(--brand-600); }
.nav__caret { transition: transform .2s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Mega dropdown */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dropdown__col h4 {
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 10px; padding-left: 12px;
}
.dropdown__link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 12px; color: var(--ink-700); font-weight: 500; font-size: .92rem;
}
.dropdown__link:hover { background: var(--surface-alt); color: var(--brand-700); }
.dropdown__link .dot { width: 8px; height: 8px; border-radius: 3px; background: var(--gradient-accent); flex: none; }
.dropdown__link .dot--warm { background: var(--gradient-warm); }
.dropdown__foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: .88rem; }

/* Hamburger */
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--ink-900);
  border-radius: 2px; transform: translate(-50%, -50%); transition: .25s var(--ease);
}
.nav__toggle span::before { transform: translate(-50%, -8px); }
.nav__toggle span::after { transform: translate(-50%, 6px); }
.nav__toggle.is-active span { background: transparent; }
.nav__toggle.is-active span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav__toggle.is-active span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--gradient-hero); color: #eaf0ff; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 60% at 82% 12%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(40% 50% at 8% 90%, rgba(6, 214, 196, .40), transparent 60%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 78%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; padding-block: clamp(70px, 11vw, 130px); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.05; }
.hero h1 .grad { background: linear-gradient(120deg, #7dfff2, #c9d8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(1.02rem, 2.1vw, 1.22rem); color: #d4deff; margin: 20px 0 30px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero__stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.hero__stat span { font-size: .84rem; color: #b9c6f6; letter-spacing: .04em; }
.number-count {
  font-size: 36px !important;
  line-height: 1.2;
  display: inline-block;
}.tag 
/* Hero visual card */
.hero__panel {
  position: relative; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-xl); padding: 26px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero__panel h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hero__panel h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 6px rgba(46,230,214,.25); }
.proto-list { display: grid; gap: 10px; }
.proto-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px; padding: 12px 16px; font-size: .92rem; color: #eaf0ff;
}
.proto-row b { font-family: var(--font-display); color: #fff; }
.proto-row .pill { font-size: .72rem; padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(6,214,196,.25); color: #b6fff5; letter-spacing: .05em; }
.proto-row .pill--amber { background: rgba(255,138,31,.28); color: #ffd9b8; }

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--gradient-accent); color: #fff; margin-bottom: 18px;
}
.card__icon--warm { background: var(--gradient-warm); }
.card__icon--violet { background: var(--gradient-violet); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: .98rem; }
.card__meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .04em;
  padding: 12px 11px; border-radius: var(--radius-pill);
  background: var(--surface-soft); color: var(--brand-700);
}
.tag--cyan { background: var(--cyan-100); color: #067a72; }
.tag--amber { background: var(--amber-100); color: #b5560c; }
.tag--green { background: #d8f7e6; color: #0a7d3f; }

/* Feature list with checks */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); }
.checks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 8px;
  background: var(--cyan-100); color: #067a72; display: grid; place-items: center; font-weight: 800; font-size: .82rem;
  margin-top: 2px;
}

/* Split feature block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--gradient-hero); min-height: 320px; display: grid; place-items: center; color: #fff; padding: 32px;
}

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); color: var(--brand-600); display: block; }
.section--ink .stat b { color: var(--cyan-400); }
.stat span { font-size: .92rem; color: var(--ink-500); }
.section--ink .stat span { color: #aeb9e4; }

/* ---------- Product detail rows ---------- */
.spec-card { scroll-margin-top: 110px; }
.spec-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.spec-card__badge {
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .06em;
  padding: 8px 14px; border-radius: 12px; background: var(--gradient-accent); color: #fff; flex: none;
}
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-top: 14px; }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-grid div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.spec-grid dt, .spec-grid .k { color: var(--ink-400); }
.spec-grid dd, .spec-grid .v { color: var(--ink-900); font-weight: 600; text-align: right; }

/* ---------- Download list ---------- */
.dl-row {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.dl-row:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.dl-row__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.dl-row__body { flex: 1; min-width: 0; }
.dl-row__body b { font-family: var(--font-display); display: block; color: var(--ink-900); }
.dl-row__body span { font-size: .84rem; color: var(--ink-400); }
.dl-row__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 620px) { .dl-row { flex-wrap: wrap; } .dl-row__actions { width: 100%; } .dl-row__actions .btn { flex: 1; } }

/* ---------- Timeline / process ---------- */
.steps { display: grid; gap: 22px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step__num {
  counter-increment: step; width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  background: var(--surface-soft); color: var(--brand-600);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--gradient-accent); color: #fff; display: grid; place-items: center; flex: none; }
.contact-card b { font-family: var(--font-display); color: var(--ink-900); display: block; }
.contact-card a { font-weight: 500; }

form.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink-700); margin-bottom: 7px; }
.field .req { color: var(--red-500); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--surface-alt); transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 4px var(--brand-100);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.field small { display: block; margin-top: 6px; color: var(--ink-400); font-size: .8rem; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red-500); background: #fff5f7; }
.field .err-msg { display: none; color: var(--red-500); font-size: .8rem; margin-top: 6px; }
.field.has-error .err-msg { display: block; }
.form__note { font-size: .82rem; color: var(--ink-400); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .92rem; display: none; }
.form-status.is-ok { display: block; background: #d8f7e6; color: #0a7d3f; }
.form-status.is-err { display: block; background: #ffe3e8; color: #b21e3b; }

/* ---------- FAQ / accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 22px; font-family: var(--font-display); font-weight: 600; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q span.icon { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; transition: transform .2s var(--ease); font-weight: 800; }
.faq__item.is-open .faq__q span.icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a > div { padding: 0 22px 20px; color: var(--ink-500); }

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--gradient-hero); color: #fff; padding: clamp(34px, 6vw, 64px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center;
  box-shadow: var(--shadow-glow);
}
.cta-strip::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,214,196,.55), transparent 65%);
}
.cta-strip h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-strip p { color: #d6e0ff; margin-top: 8px; }
.cta-strip .hero__cta { position: relative; }
@media (max-width: 760px) { .cta-strip { grid-template-columns: 1fr; } }

/* ---------- Breadcrumbs ---------- */
.page-hero { background: var(--gradient-hero); color: #e7edff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 60% at 90% 0%, rgba(6,214,196,.35), transparent 60%);
}
.page-hero__inner { position: relative; padding-block: clamp(52px, 8vw, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #b9c6f6; margin-bottom: 16px; }
.crumbs a { color: #dbe4ff; }
.crumbs span { opacity: .6; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: #d4deff; margin-top: 14px; max-width: 60ch; font-size: 1.08rem; }

/* Anchor chips */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.anchor-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .84rem;
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22);
}
.anchor-nav a:hover { background: #fff; color: var(--brand-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: #aab6e4; padding-block: clamp(52px, 7vw, 80px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 48px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #aab6e4; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__tag { color: #8b98cc; }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 34ch; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.footer-badges span { font-size: .74rem; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.08); color: #c9d2f4; }
.footer-mini-form { display: flex; gap: 8px; margin-top: 12px; }
.footer-mini-form input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
.footer-mini-form input::placeholder { color: #8b98cc; }
.footer-mini-form button { padding: 11px 16px; border-radius: 10px; border: 0; background: var(--gradient-accent); color: #fff; font-family: var(--font-display); font-weight: 600; cursor: pointer; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: .84rem; color: #8b98cc;
}
.footer-bottom a { color: #aab6e4; }
.footer-bottom .built b { color: #fff; font-weight: 600; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--gradient-accent); color: #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--ink-600, #3c466e); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--ink-900); }
.legal-meta { font-size: .9rem; color: var(--ink-400); margin-bottom: 8px; }

/* ---------- Utility: reveal on scroll ----------
   Only hide when JS is active (html.js). Without JS, or if the script fails,
   content stays fully visible — the animation is progressive enhancement only. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Mobile nav panel ---------- */
@media (max-width: 1024px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(360px, 88vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px; overflow-y: auto; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .3s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__item { width: 100%; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; border-radius: 12px; }
  .dropdown {
    position: static; transform: none; min-width: 0; width: 100%;
    box-shadow: none; border: 0; border-radius: 0; padding: 4px 8px 12px;
    opacity: 1; visibility: visible; pointer-events: auto;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .nav__item.is-open .dropdown { transform: none; }
  .dropdown__grid { grid-template-columns: 1fr; gap: 10px; }
  .dropdown__foot { flex-direction: column; gap: 10px; align-items: stretch; }
  .nav__actions .btn--ghost { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10, 19, 48, .45); z-index: 99;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ---------- Brand logo image ---------- */
.brand__logo { height: 27px; width: 221px; }
.brand__logo--mark { display: none; height: 34px; }
@media (max-width: 560px) {
  .brand__logo--full { display: none; }
  .brand__logo--mark { display: block; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--brand-700); padding: 10px 16px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; box-shadow: var(--shadow-md);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Trust / logo band ---------- */
.trust-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
.trust-band span {
  font-family: var(--font-display); font-weight: 700; font-size: .96rem; letter-spacing: .02em;
  color: var(--ink-400);
}
.trust-band .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300); }

/* ---------- Pill row ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row .tag { font-size: .8rem; padding: 7px 14px; }

/* ---------- Icon list (two-col) ---------- */
.icon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .icon-list { grid-template-columns: 1fr; } }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-list .ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--surface-soft); color: var(--brand-600);
}
.icon-list b { font-family: var(--font-display); color: var(--ink-900); display: block; font-size: .98rem; }
.icon-list p { font-size: .9rem; color: var(--ink-500); margin: 0; }

/* ---------- Value / mission cards on ink ---------- */
.section--ink .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #cdd7f5; }
.section--ink .card h3 { color: #fff; }
.section--ink .card p { color: #aeb9e4; }

/* ---------- Definition table ---------- */
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.kv th { color: var(--ink-400); font-weight: 600; width: 34%; }
.kv td { color: var(--ink-900); }

/* ---------- Contact detail note ---------- */
.placeholder-note {
  font-size: .82rem; color: var(--amber-500); background: var(--amber-100);
  border-radius: 10px; padding: 10px 14px; margin-top: 14px;
}

/* ---------- 404 ---------- */
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.err-page .big { font-family: var(--font-display); font-size: clamp(4rem, 16vw, 9rem); line-height: 1; background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .to-top, .cta-strip { display: none; }
  body { color: #000; }
}

/* Email address image replacements */
.email-image {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
