/* ===========================================================
   CNS Marketing — front page styles
   Dark glass / blue bloom aesthetic, written from scratch.
   =========================================================== */

:root {
  color-scheme: dark;

  --bg: #05070c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.12);

  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.45);

  --accent: #4f8dff;
  --accent-soft: #8ab4ff;

  --elev-1: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  --radius: 16px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }

/* ---------- animated blue background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(47, 98, 190, 0.30), transparent 70%),
    var(--bg);
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}

.bg-blob-a {
  width: 52rem; height: 52rem;
  top: -18rem; left: -10rem;
  background: radial-gradient(closest-side circle, rgba(59, 130, 246, 0.42), transparent);
  animation: drift-a 30s ease-in-out infinite alternate;
}

.bg-blob-b {
  width: 44rem; height: 44rem;
  top: 18%; right: -14rem;
  background: radial-gradient(closest-side circle, rgba(37, 99, 235, 0.34), transparent);
  animation: drift-b 38s ease-in-out infinite alternate;
}

.bg-blob-c {
  width: 60rem; height: 60rem;
  bottom: -26rem; left: 22%;
  background: radial-gradient(closest-side circle, rgba(96, 165, 250, 0.22), transparent);
  animation: drift-c 44s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to   { transform: translate3d(7rem, 5rem, 0) scale(1.12); opacity: 1; }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); opacity: 0.7; }
  to   { transform: translate3d(-6rem, 7rem, 0) scale(0.94); opacity: 1; }
}
@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.96); opacity: 0.6; }
  to   { transform: translate3d(5rem, -5rem, 0) scale(1.1); opacity: 0.95; }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(900px 600px at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 600px at 50% 0%, #000 0%, transparent 78%);
}

.page { position: relative; z-index: 1; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 12px 40px;
}

.nav-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px 0 16px;
}

.nav-glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border-2), 0 18px 50px -22px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              backdrop-filter 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.nav.is-stuck .nav-glass {
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
}

.nav-logo, .nav-links, .nav-right { position: relative; z-index: 1; }

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.nav-logo-mark { height: 28px; width: 28px; }
.nav-logo-word span { color: var(--accent-soft); }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link, .nav-ghost {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-link:hover, .nav-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.nav-right { display: flex; align-items: center; gap: 6px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  color: #05070c;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover { background: rgba(255, 255, 255, 0.88); }
.btn-arrow { display: inline-flex; width: 15px; transition: transform 0.2s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(2px); }

@media (max-width: 1080px) { .nav-links { display: none; } }
@media (max-width: 700px) {
  .nav { padding: 10px 14px; }
  .nav-inner { min-height: 56px; padding: 0 8px 0 12px; }
  .nav-ghost { display: none; }
}

/* ---------- shared section furniture ---------- */

.section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 104px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-soft);
}

.kicker-icon { display: inline-flex; width: 19px; }

.h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
}

.section-sub {
  margin-top: 10px;
  max-width: 46rem;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 400;
  color: var(--text-2);
  text-wrap: pretty;
}

.section-head { margin-bottom: 40px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 150px 40px 96px;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--border-2);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: gap 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.hero-pill:hover { gap: 15px; background: rgba(255, 255, 255, 0.12); }
.hero-pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
}
.hero-pill-arrow { display: inline-flex; width: 14px; opacity: 0.6; }

.hero-h1 {
  font-size: clamp(38px, 6.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
  max-width: 18ch;
}

.hero-h1 em { font-style: normal; color: var(--accent-soft); }

.hero-sub {
  max-width: 40rem;
  font-size: clamp(15.5px, 1.5vw, 18.5px);
  color: var(--text-2);
  text-wrap: pretty;
}

.hero-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 540px;
  padding: 6px 6px 6px 8px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-2);
  box-shadow: var(--elev-1);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-form:focus-within {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
}

.hero-input::placeholder { color: var(--text-3); }

.hero-helper {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: -12px;
  font-size: 12.5px;
  color: var(--text-3);
}

.dot-sep { opacity: 0.5; }

/* hero visual */

.hero-shot {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 64px auto 0;
}

.panel {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.62);
  border: 1px solid var(--border-2);
  box-shadow: var(--elev-1), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.panel-tag {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 9px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--text-3);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.panel-url {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 14px;
  color: var(--text-2);
}

.panel-url-icon { display: inline-flex; width: 15px; color: var(--text-3); }

.checks { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }

.check-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 11px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 80ms);
}

.is-in .check-row { opacity: 1; transform: translateY(0); }

.check-row + .check-row { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.check-name { font-size: 14.5px; color: var(--text); }
.check-note { font-size: 12.5px; color: var(--text-3); }

.check-icon { display: inline-flex; width: 20px; height: 20px; }
.check-pass { color: #34d399; }
.check-warn { color: #fbbf24; }
.check-fail { color: #f87171; }

.check-state {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-2);
  white-space: nowrap;
}

.float {
  position: absolute;
  z-index: 2;
  width: 27%;
  min-width: 180px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.78);
  border: 1px solid var(--border-2);
  box-shadow: var(--elev-1);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.float:hover { transform: translateY(-8px); }
.float-tr { top: -8%; right: -6%; }
.float-bl { bottom: -10%; left: -6%; }

.float-label { font-size: 12px; font-weight: 500; color: var(--text-3); }
.float-figure {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.float-of { font-size: 18px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.float-note { margin-top: 7px; font-size: 12.5px; color: var(--text-3); }

.float-bars { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.float-bar-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); }
.float-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.float-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.3s;
}
.is-in .float-bar i { width: var(--w); }

@media (max-width: 1100px) {
  .hero-shot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .panel { grid-column: 1 / -1; }
  .float { position: static; width: auto; }
  .float:hover { transform: none; }
}

@media (max-width: 640px) {
  .hero { padding: 116px 18px 64px; }
  .hero-shot { grid-template-columns: minmax(0, 1fr); }
  .float-tr { display: none; }
  .check-row { grid-template-columns: 22px minmax(0, 1fr); }
  .check-state { display: none; }
}

/* ---------- bento services ---------- */

.bento-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.bento-row + .bento-row { margin-top: 14px; }
.span-6 { grid-column: span 6; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.card::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: var(--bloom-x, -8%);
  bottom: var(--bloom-y, -30%);
  width: var(--bloom-size, 32rem);
  height: var(--bloom-size, 32rem);
  border-radius: 50%;
  background: radial-gradient(closest-side circle,
    rgba(59, 130, 246, var(--bloom-a, 0.16)), transparent);
  filter: blur(26px);
  pointer-events: none;
}

.card-visual {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 11rem;
  padding: 32px 32px 92px;
}

.card-body {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: -76px;
  padding: 0 32px 30px;
}

.card-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-3);
}

.card-eyebrow-icon { display: inline-flex; width: 16px; }

.card-title {
  margin-top: 5px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.card-text {
  margin-top: 8px;
  max-width: 40rem;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}

.illo { display: block; width: 100%; height: auto; }

/* bento visual: keyword rows */

.rows { display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px 116px;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 11px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 80ms);
}

.is-in .row { opacity: 1; transform: translateY(0); }

.row-head { padding-bottom: 5px; font-size: 12px; font-weight: 500; color: var(--text-3); }
.row-head > span:not(:first-child), .row-num { text-align: right; }
.row-kw { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14.5px; }
.row-kw-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row-num { font-size: 13.5px; color: var(--text-3); }

.row.is-target {
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.row.is-target .row-kw { font-weight: 600; }

.tag {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
}

@media (max-width: 820px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 11px 13px; }
  .row-head, .row > .row-num:last-child { display: none; }
}

/* illustration animations */

.illo-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.33, 0, 0.2, 1) 0.15s;
}
.is-in .illo-line { stroke-dashoffset: 0; }

.illo-area { opacity: 0; transition: opacity 0.7s ease 0.6s; }
.is-in .illo-area { opacity: 1; }

.illo-node, .illo-head, .illo-halo {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.34s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.illo-node { transition-delay: calc(0.4s + var(--i) * 0.14s); }
.illo-head, .illo-halo { transition-delay: 1.05s; }
.is-in .illo-node, .is-in .illo-head, .is-in .illo-halo { opacity: 1; transform: scale(1); }
.is-in .illo-halo { animation: halo 2.6s ease-in-out 1.5s infinite; }

@keyframes halo {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.7); opacity: 0.3; }
}

.illo-pill {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.5s + var(--i) * 90ms);
}
.is-in .illo-pill { opacity: 1; transform: translateY(0); }

.illo-branch {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.is-in .illo-branch { stroke-dashoffset: 0; }

@media (max-width: 900px) {
  .section { padding: 0 18px 72px; }
  .bento-row { grid-template-columns: minmax(0, 1fr); }
  .span-6, .span-3, .span-2 { grid-column: auto; }
  .card-visual { min-height: 9rem; padding: 22px 22px 80px; }
  .card-body { margin-top: -68px; padding: 0 22px 22px; }
}

/* ---------- process steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
  transition-delay: calc(var(--i) * 110ms);
}

.is-in .step { opacity: 1; transform: translateY(0); }
.step:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(79, 141, 255, 0.28), rgba(79, 141, 255, 0.1));
  box-shadow: inset 0 0 0 1px rgba(138, 180, 255, 0.35);
  color: var(--accent-soft);
  font-size: 14px;
  font-weight: 700;
}

.step-title { margin-top: 16px; font-size: 18px; font-weight: 600; }
.step-text { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }

@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}

.faq-rail { display: flex; flex-direction: column; }

.faq-help { margin-top: 36px; }
.faq-help-text { max-width: 32ch; font-size: 14.5px; color: var(--text-2); }
.faq-help .btn-primary { margin-top: 18px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: background 0.25s ease;
}

.faq-item:hover, .faq-item[open] { background: var(--surface-2); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.faq-q::-webkit-details-marker { display: none; }

.faq-sign {
  position: relative;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.faq-sign::before, .faq-sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%);
}

.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-sign { transform: rotate(45deg); }

.faq-a { padding: 0 22px 22px; max-width: 62ch; font-size: 14.5px; line-height: 1.7; color: var(--text-2); }

@media (max-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- footer ---------- */

.foot { position: relative; padding: 0 40px 36px; }
.foot-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }

.foot-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  opacity: 0.3;
  pointer-events: none;
  mask-image: linear-gradient(to top, #000 0%, #000 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 35%, transparent 100%);
}

.foot-pitch { padding: 96px 0 64px; text-align: center; }
.foot-h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.15; font-weight: 600; }
.foot-sub { margin-top: 10px; font-size: 17px; color: var(--text-2); }
.foot-pitch .btn-primary { margin-top: 24px; }

.foot-panels { display: flex; flex-direction: column; gap: 14px; }

.foot-panel {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--border);
}

.foot-brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.foot-brand span { color: var(--accent-soft); }
.foot-blurb { margin-top: 14px; max-width: 26rem; font-size: 14px; color: var(--text-2); }

.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.foot-copy { font-size: 12px; color: var(--text-3); }
.foot-links { display: flex; align-items: center; gap: 14px; }
.foot-links a { font-size: 12px; color: var(--text-3); text-decoration: none; transition: color 0.2s ease; }
.foot-links a:hover { color: var(--text); }

@media (max-width: 700px) {
  .foot { padding: 0 18px 22px; }
  .foot-pitch { padding: 64px 0 44px; }
  .foot-bar { flex-direction: column-reverse; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-blob { animation: none; }
  .is-in .illo-halo { animation: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .check-row, .row, .step { opacity: 1; transform: none; }
  .illo-node, .illo-head, .illo-halo, .illo-pill { opacity: 1; transform: none; }
  .illo-line, .illo-branch { stroke-dashoffset: 0; }
  .illo-area { opacity: 1; }
}

/* ---------- small-screen refinements ---------- */

@media (max-width: 700px) {
  .nav-logo { font-size: 16px; gap: 7px; }
  .nav-logo-mark { height: 24px; width: 24px; }
  .nav-logo-word { white-space: nowrap; }

  .btn-primary {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero-helper {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2px;
    margin-top: -8px;
    text-align: center;
  }

  .hero-form { padding: 5px 5px 5px 8px; }
  .hero-input { height: 40px; font-size: 14px; }
  .hero-h1 { max-width: none; }
}

@media (max-width: 400px) {
  .nav-logo-word { font-size: 15px; }
  .btn-primary { padding: 0 12px; }
  .btn-primary .btn-arrow { display: none; }
}
