/* Exiant Communications — site stylesheet
   ------------------------------------------------------------------ */

:root {
  --brand: #F3611A;
  --brand-dark: #D14C0C;
  --brand-soft: #FFF1E8;
  --brand-glow: rgba(243, 97, 26, 0.18);

  --navy: #0B1B33;
  --navy-2: #122747;
  --ink: #15213A;
  --body: #3C4A63;
  --muted: #6B7A93;
  --line: #E3E8F0;
  --line-soft: #EEF2F7;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --bg-tint: #FBFCFE;

  --ok: #17A673;
  --ok-soft: #E6F7F0;

  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, 0.06), 0 1px 3px rgba(11, 27, 51, 0.05);
  --shadow: 0 8px 24px -8px rgba(11, 27, 51, 0.14), 0 2px 6px rgba(11, 27, 51, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, 0.25), 0 10px 24px -12px rgba(11, 27, 51, 0.12);

  --container: 1180px;
  --gutter: 24px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: var(--ink); font-weight: 600; }
code, pre { font-family: var(--font-mono); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-glow); outline-offset: 2px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(243, 97, 26, 0.6); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(243, 97, 26, 0.7); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #F3F6FB; color: var(--navy); transform: translateY(-1px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--brand-dark);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(11, 27, 51, 0.18); }
.nav-wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-alt); color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 12px;
}
.nav-phone svg { width: 18px; height: 18px; color: var(--brand); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-cta-mobile { display: none; }

@media (max-width: 1023px) {
  .nav-phone { display: none; }
}
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px; margin: 0;
    box-shadow: 0 24px 40px -24px rgba(11, 27, 51, 0.3);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 16px; }
  .nav-cta-mobile { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
  .nav-cta-mobile .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-dark); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(243, 97, 26, 0.12), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(18, 39, 71, 0.08), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 27, 51, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 27, 51, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy h1 em { font-style: normal; color: var(--brand); }
.hero-lede { font-size: 1.2rem; color: var(--body); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.hero-points svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px 6px 6px; font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.pill-badge span.tag { background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }

/* Hero product mockup */
.hero-visual { position: relative; min-height: 590px; }
.mock {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.mock-main { left: 0; right: 56px; top: 0; padding: 0; overflow: hidden; }
.mock-head { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: var(--bg-tint); }
.mock-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #E3E8F0; }
.mock-head .dot:nth-child(1) { background: #FF6B6B; } .mock-head .dot:nth-child(2) { background: #FFD166; } .mock-head .dot:nth-child(3) { background: #4ECB71; }
.mock-head .mock-title { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mock-search {
  margin: 16px 18px 10px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--ink);
  background: #fff;
}
.mock-search svg { width: 16px; height: 16px; color: var(--muted); }
.mock-search .chip { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--brand-dark); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; }
.mock-list { list-style: none; margin: 0; padding: 4px 8px 8px; }
.mock-list li {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  padding: 11px 10px; border-radius: 10px; font-size: 13.5px;
}
.mock-list li:hover { background: var(--bg-alt); }
.mock-list .num { font-family: var(--font-mono); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.mock-list .caps { font-size: 12px; color: var(--muted); }
.pill { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: .02em; }
.pill-ok { background: var(--ok-soft); color: #0E7A54; }
.pill-brand { background: var(--brand-soft); color: var(--brand-dark); }
.pill-muted { background: var(--bg-alt); color: var(--muted); }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }
.mock-foot .btn { pointer-events: none; }

.mock-call { right: 0; top: 338px; width: 290px; padding: 16px 18px; }
.mock-label { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.mock-label .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 166, 115, .5); } 100% { box-shadow: 0 0 0 9px rgba(23, 166, 115, 0); } }
.flow { display: flex; flex-direction: column; gap: 6px; }
.flow .node {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff;
}
.flow .node svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.flow .node.is-accent { border-color: rgba(243, 97, 26, .45); background: var(--brand-soft); }
.flow .node.is-accent svg { color: var(--brand-dark); }
.flow .step { display: flex; justify-content: center; color: var(--line); }
.flow .step svg { width: 14px; height: 14px; }

.mock-stat { left: 16px; top: 378px; width: 224px; padding: 16px 18px 14px; }
.mock-big { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.mock-stat svg.spark { width: 100%; height: 44px; }
.mock-stat .sub { font-size: 12px; color: var(--muted); }

@media (max-width: 1023px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 600px; margin: 0 auto; width: 100%; }
}
@media (max-width: 639px) {
  .hero { padding: 48px 0 64px; }
  .hero-visual { min-height: 0; }
  .mock { position: static; width: auto; }
  .mock-call, .mock-stat { display: none; }
  .mock-main { right: 0; }
  .mock-list li { grid-template-columns: 1fr auto; }
  .mock-list .caps { display: none; }
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.trust-item svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; position: relative; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D6DDE8; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 20px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); margin-bottom: 18px; flex: 1; }
.card .link-arrow { margin-top: auto; font-size: 14.5px; }

.feature { display: flex; gap: 18px; }
.feature .icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: #fff;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 6px; font-size: 1.07rem; }
.feature p { margin: 0; color: var(--body); font-size: 15px; }

/* Why / split section */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split .section-head { margin-bottom: 28px; }
.split .features { display: grid; gap: 26px; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.network-card {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 36px;
  position: relative; overflow: hidden;
}
.network-card::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 97, 26, .35), transparent 65%);
}
.network-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 20px; position: relative; }
.network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.network-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 16px; }
.network-item .k { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; color: #fff; }
.network-item .k em { font-style: normal; color: var(--brand); }
.network-item .v { font-size: 13px; color: rgba(255, 255, 255, .7); }
.network-map { margin-top: 20px; position: relative; }
.network-map svg { width: 100%; height: auto; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 300px at 50% 120%, rgba(243, 97, 26, .25), transparent 70%);
}
.stats .container { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 10px 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat .k { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #fff; margin-bottom: 10px; }
.stat .k em { font-style: normal; color: var(--brand); }
.stat .v { color: rgba(255, 255, 255, .72); font-size: 15px; }
@media (max-width: 1023px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }
@media (max-width: 639px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- Developer section ---------- */
.dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.code-window {
  background: #0D1B2E; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; font-size: 13.5px;
}
.code-tabs { display: flex; gap: 2px; padding: 10px 12px 0; background: #0A1627; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.code-tabs span { padding: 8px 14px; color: rgba(255, 255, 255, .5); font-size: 12.5px; border-radius: 8px 8px 0 0; }
.code-tabs span.is-active { color: #fff; background: #0D1B2E; }
.code-window pre { margin: 0; padding: 20px 22px; overflow-x: auto; color: #D6E2F0; line-height: 1.6; }
.code-window code .c { color: #5C7391; }
.code-window code .k { color: #FF9A62; }
.code-window code .s { color: #8FD3A6; }
.code-window code .n { color: #8EC5FF; }
.code-window code .p { color: #C7D2E2; }
.dev-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.dev-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.dev-list svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }
.dev-list strong { display: block; color: var(--ink); }
@media (max-width: 1023px) { .dev { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Integrations strip ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.logos span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink);
}
.logos span svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card { position: relative; padding: 28px 24px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step-card .n {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; margin-bottom: 18px; font-size: 15px;
}
.step-card h4 { margin-bottom: 6px; }
.step-card p { margin: 0; font-size: 15px; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
.faq summary .chev svg { width: 16px; height: 16px; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--brand-soft); border-color: transparent; color: var(--brand-dark); }
.faq .answer { padding: 0 4px 24px; color: var(--body); max-width: 720px; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(135deg, #0B1B33 0%, #15345E 60%, #1E3F6E 100%);
  padding: 88px 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 260px at 20% 100%, rgba(243, 97, 26, .45), transparent 70%),
    radial-gradient(500px 300px at 90% 0%, rgba(243, 97, 26, .25), transparent 70%);
}
.cta .container { position: relative; }
.cta h2 { color: #fff; max-width: 760px; margin: 0 auto 14px; }
.cta p { color: rgba(255, 255, 255, .78); font-size: 1.125rem; max-width: 600px; margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #08142A; color: rgba(255, 255, 255, .72); padding: 72px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .logo-white { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; margin-bottom: 16px; }
.footer-brand .logo-white svg { width: 34px; height: 34px; }
.footer-brand p { max-width: 320px; margin-bottom: 20px; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--brand); }
.footer-contact a svg { margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { color: rgba(255, 255, 255, .72); }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 639px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(243, 97, 26, .12), transparent 65%),
    linear-gradient(180deg, #FFFFFF, #F6F8FB);
  border-bottom: 1px solid var(--line); padding: 64px 0 56px;
}
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 12px; }
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.page-hero .meta strong { color: var(--ink); font-weight: 600; }
.breadcrumb { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions .note { font-size: 13px; color: var(--muted); }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; display: none; }
.form-status.is-ok { display: block; background: var(--ok-soft); color: #0E7A54; }
.form-status.is-error { display: block; background: #FDECEC; color: #B42318; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .icon svg { width: 30px; height: 30px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; }
.contact-card .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { margin: 0 0 6px; font-size: 14.5px; color: var(--body); }
.contact-card a { font-weight: 600; }
.contact-card .small { font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .form-card { padding: 24px 20px; } .form-grid { grid-template-columns: 1fr; } }

/* ---------- Document pages (legal, terms, privacy, LNP) ---------- */
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.doc-toc h4 { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); display: grid; gap: 2px; max-height: calc(100vh - var(--header-h) - 80px); overflow: auto; }
.doc-toc a { display: block; padding: 6px 14px; font-size: 13.5px; color: var(--muted); border-left: 2px solid transparent; margin-left: -1px; line-height: 1.35; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.is-active { color: var(--brand-dark); border-left-color: var(--brand); font-weight: 600; }
.doc-body { max-width: 760px; font-size: 16px; }
.doc-body h2 { font-size: 1.55rem; margin: 2.2em 0 .6em; padding-top: .2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 1.15rem; margin: 1.7em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc-body h4 { font-size: 1rem; margin: 1.4em 0 .4em; }
.doc-body p, .doc-body li { color: var(--body); }
.doc-body li { margin-bottom: .35em; }
.doc-body a { font-weight: 500; text-decoration: underline; text-decoration-color: rgba(209, 76, 12, .35); text-underline-offset: 3px; }
.doc-body .important, .doc-body .note, .doc-body .warning, .doc-body .emergency {
  border-radius: 12px; padding: 16px 20px; margin: 1.5em 0; border: 1px solid var(--line); background: var(--bg-alt);
}
.doc-body .important, .doc-body .note { border-left: 4px solid var(--navy); }
.doc-body .warning, .doc-body .emergency { border-left: 4px solid var(--brand); background: var(--brand-soft); border-color: #F9D5C2; }
.doc-body .important p:last-child, .doc-body .note p:last-child, .doc-body .warning p:last-child, .doc-body .emergency p:last-child { margin-bottom: 0; }
.doc-body .contact-info { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 1.2em 0; background: #fff; }
.doc-body .contact-info h3 { margin-top: 0; }
.doc-body .contact-info p { margin-bottom: .4em; }
.doc-body .port-types { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1em 0 1.5em; }
.doc-body .port-type { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: #fff; }
.doc-body .port-type h4 { margin-top: 0; }
.doc-body .port-type p { margin: 0; font-size: 15px; }
.doc-body .table-of-contents { display: none; }
.doc-body .section { padding: 0; }
.doc-body section { padding: 0; }
.doc-body .doc-section-title { font-size: 1.9rem; margin-top: 2.6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.doc-body .doc-section-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc-body address { font-style: normal; }
.doc-aside-card { margin-top: 28px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px; font-size: 14px; }
.doc-aside-card h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.doc-aside-card p { color: rgba(255, 255, 255, .75); margin-bottom: 12px; }
.doc-aside-card a.btn { width: 100%; }
@media (max-width: 1023px) {
  .doc-layout { grid-template-columns: 1fr; gap: 32px; }
  .doc-toc { position: static; }
  .doc-toc ol { max-height: none; }
  .doc-aside-card { display: none; }
}
@media (max-width: 639px) { .doc-body .port-types { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.notfound { text-align: center; padding: 110px 0; }
.notfound .code { font-family: var(--font-head); font-size: 6rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -0.05em; margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
