/* marketing/assets/site.css */
/* InvoHub marketing design system: tokens, layout primitives, and page sections. */

/* ---------- Tokens ---------- */
:root {
  /* Aliased to navy-800 (#111f4a) — docs/brand.md documents a single navy
     (#111f4a); this used to be a divergent #0b1533 that made .hero/
     .section--dark/footer surfaces a visibly different shade from the rest
     of the dark chrome. Kept as a named alias (not removed) so every
     existing var(--navy-900) usage stays valid. */
  --navy-900: #111f4a;
  --navy-800: #111f4a;
  --navy-700: #1a2a5c;
  --navy-600: #1f305e;
  --blue-500: #6495ed;
  /* AA-accessible fill for white text (buttons) — see .btn--primary below.
     Raw blue-500 (#6495ed) with white text is only ~2.98:1, failing AA. */
  --blue-600: #4675ca;
  --blue-400: #82aaf2;
  --blue-200: #c3d8fb;
  --blue-100: #d9e7ff;
  --ink-900: #12151c;
  --ink-700: #353a46;
  --ink-500: #5b6373;
  --ink-400: #79808f;
  --line-200: #e3e7ef;
  --line-100: #eef1f7;
  --canvas: #f6f7fb;
  --white: #ffffff;
  --paid-700: #15803d;
  --paid-100: #dcfce7;
  --warn-700: #b45309;
  --warn-100: #fef3c7;

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-card: 0 1px 2px rgba(17, 31, 74, 0.06), 0 12px 32px -16px rgba(17, 31, 74, 0.18);
  --shadow-float: 0 24px 64px -28px rgba(11, 21, 51, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: "Ranade", "Avenir Next", "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Ranade";
  src: url("/marketing/assets/fonts/ranade-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ranade";
  src: url("/marketing/assets/fonts/ranade-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-900);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--navy-800);
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section--canvas {
  background: var(--canvas);
  border-block: 1px solid var(--line-100);
}

.section--dark {
  background: var(--navy-900);
  color: var(--white);
}

.stack {
  display: grid;
  gap: 14px;
}

/* ---------- Type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* navy-800, not blue-500 — blue-500 as small text on light backgrounds
     is only ~2.76:1, failing WCAG AA (4.5:1). */
  color: var(--navy-800);
}

.kicker--dark {
  color: var(--blue-400);
}

.display {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 7.4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 700;
}

.h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-weight: 640;
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-500);
  max-width: 58ch;
}

.lede--dark {
  color: var(--blue-100);
  opacity: 0.82;
}

.muted {
  color: var(--ink-500);
}

.accent {
  color: var(--blue-500);
}

.num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 640;
  letter-spacing: -0.005em;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn--primary {
  /* blue-600, not blue-500 — white text on blue-500 fails WCAG AA (~2.98:1). */
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 10px 24px -14px rgba(100, 149, 237, 0.9);
}

.btn--primary:hover {
  background: #3a63ac;
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline {
  border: 1px solid var(--line-200);
  background: var(--white);
  color: var(--navy-800);
}

.btn--outline:hover {
  border-color: var(--blue-400);
  color: var(--blue-500);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--xs {
  min-height: 40px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 620;
  white-space: normal;
  line-height: 1.15;
  text-align: center;
}

.btn--block {
  width: 100%;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 620;
  color: var(--blue-500);
  transition: gap 0.18s var(--ease), color 0.18s var(--ease);
}

.textlink:hover {
  gap: 10px;
  color: #4a79d8;
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.brand__word {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand__hub {
  color: var(--blue-400);
}

.footer .brand__hub {
  color: var(--blue-500);
}

/* Wordmark paired with the SVG hub mark (footer lockup). The header keeps the
   typography-only lockup — at ~22px beside the nav pill the mark reads as
   clutter rather than identity. */
.brand--mark {
  align-items: center;
  gap: 10px;
}

.brand__mark {
  flex: none;
  width: 27px;
  height: 27px;
}

/* Only the ink lives here — weights, caps and joins stay on the SVG so the
   markup matches assets/brand/mark.svg exactly. */
.brand__mark-frame {
  fill: var(--white);
}

.brand__mark-flow {
  stroke: var(--blue-500);
}

.brand__mark-hub {
  fill: var(--blue-500);
}

/* ---------- Header (floating, transparent over hero) ---------- */
.header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 24px));
  transform: translateX(-50%);
  color: var(--white);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 18px;
  transition:
    background 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    backdrop-filter 0.22s var(--ease);
}

.header.is-solid {
  background: rgba(11, 21, 51, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(7, 14, 36, 0.28);
  backdrop-filter: saturate(150%) blur(16px);
}

/* Flush with the fullscreen menu below it while open — no floating pill
   (rounded corners/border/top margin/centering) sitting on top, so header +
   menu read as one continuous surface instead of two stacked things. */
.header.is-menu-open {
  top: 0;
  left: 0;
  width: 100%;
  transform: none;
  border-radius: 0;
  background: var(--navy-800);
  border-color: transparent;
  box-shadow: none;
}

.header__inner {
  padding-inline: clamp(14px, 2.4vw, 22px);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.header__nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 26px;
  min-width: 0;
}

.header__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.18s var(--ease);
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--white);
}

.header__actions {
  display: none;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.header__login {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.header__login:hover {
  color: var(--white);
}

/* Groups the language switch with the menu toggle so they sit flush together
   at the true right edge of the bar, instead of being spread apart by the
   row's space-between (which would center a lone switch between brand and
   toggle once the nav/actions are hidden on mobile). */
.header__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

/* Mobile: the top bar stays down to just brand + hamburger — the language
   switch moves into the fullscreen menu instead (see .mobile-menu__lang).
   Restored at the desktop breakpoint below. */
.header__right .lang-switch {
  display: none;
}

/* CTA + language switch share one row at the bottom, not stacked. */
.mobile-menu__bottom-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__bottom-row .btn {
  flex: 1;
  min-height: 52px;
}

.mobile-menu__lang {
  flex-shrink: 0;
}

.mobile-menu__lang .lang-switch__btn {
  min-height: 44px;
  min-width: 40px;
  font-size: 13px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch__btn {
  min-width: 36px;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-switch__btn.is-active {
  background: var(--white);
  color: var(--navy-800);
}

.lang-switch__btn:hover:not(.is-active) {
  color: var(--white);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  content: "";
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), top 0.2s var(--ease);
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before {
  position: absolute;
  top: -6px;
}

.menu-toggle__bars::after {
  position: absolute;
  top: 6px;
}

/* Hamburger -> X once the fullscreen menu is open. */
.header.is-menu-open .menu-toggle__bars {
  background: transparent;
}

.header.is-menu-open .menu-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--white);
}

.header.is-menu-open .menu-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--white);
}

/*
  Fullscreen mobile nav overlay. A sibling of .header in the DOM (see the
  comment in index.html) so this fixed box is never clipped by the header
  pill's own transform-established containing block. z-index sits below the
  header (50) so the brand mark and the still-visible X toggle stay on top
  and remain the close affordance.
*/
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  /* Bottom-anchored: content sits near the bottom of the screen, not
     hugging the (now flush, shorter) header. */
  justify-content: flex-end;
  gap: 6px;
  overflow-y: auto;
  padding: 76px 24px 32px;
  background: var(--navy-800);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-sm);
  padding-inline: 8px;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu .btn {
  margin-top: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  background: var(--navy-900);
  color: var(--white);
  /* Extra top space so content clears the floating header */
  padding-block: clamp(96px, 22vw, 148px) clamp(56px, 9vw, 132px);
}

/* Dot field, deliberately restrained. The brand-mark texture was tried here and
   rejected — it competed with the hero copy; the mark appears on this page as
   the CTA watermark and the footer lockup instead. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 60% at 18% 8%, #000 0%, transparent 72%);
  opacity: 0.36;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -220px;
  top: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 149, 237, 0.3) 0%, transparent 62%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 16px;
  max-width: 660px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 6px;
  font-size: 13px;
  color: rgba(217, 231, 255, 0.72);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  flex: none;
}

/* ---------- Product surface ---------- */
.surface {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-float);
}

.panel {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-100);
  padding: 18px;
  color: var(--ink-900);
  min-width: 0;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel__label {
  font-size: 12px;
  font-weight: 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.amount {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 660;
  letter-spacing: -0.028em;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 62px;
  margin-top: 14px;
}

.bars span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: var(--blue-200);
}

.bars span[data-strong] {
  background: var(--blue-500);
}

.rows {
  display: grid;
  gap: 2px;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line-100);
  min-width: 0;
}

.row:first-child {
  border-top: 0;
}

.row__title {
  font-size: 14px;
  font-weight: 620;
}

.row__sub {
  font-size: 12px;
  color: var(--ink-400);
}

.row__right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 620;
  flex-shrink: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 640;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.chip--paid {
  background: var(--paid-100);
  color: var(--paid-700);
}

.chip--open {
  background: var(--blue-100);
  color: #24478f;
}

.chip--due {
  background: var(--warn-100);
  color: var(--warn-700);
}

.chip--live {
  background: var(--paid-100);
  color: var(--paid-700);
}

.chip--dev {
  background: var(--warn-100);
  color: var(--warn-700);
}

.chip--planned {
  background: rgba(255, 255, 255, 0.1);
  color: var(--blue-100);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.section--dark .chip--live,
.section--dark .chip--dev {
  border: 1px solid transparent;
}

/* ---------- Section heads ---------- */
.head {
  display: grid;
  gap: 14px;
  max-width: 62ch;
  margin-bottom: clamp(32px, 4vw, 52px);
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  gap: 16px;
}

.tile {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-200);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.tile:hover {
  transform: translateY(-2px);
  border-color: var(--blue-400);
  box-shadow: 0 1px 2px rgba(17, 31, 74, 0.06), 0 22px 44px -24px rgba(17, 31, 74, 0.3);
}

.tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--blue-100);
  color: #24478f;
  margin-bottom: 4px;
}

.tile p {
  color: var(--ink-500);
  font-size: 15px;
}

.tile--wide .mini {
  margin-top: 8px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tags li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-200);
  background: var(--canvas);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
}

.mini {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--canvas);
  border: 1px solid var(--line-100);
  min-width: 0;
}

.mini__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.mini__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line-200);
  overflow: hidden;
}

.mini__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--blue-500);
}

/* ---------- Workflow ---------- */
.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 24px 24px 24px 68px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-200);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-size: 13px;
  font-weight: 660;
}

.step p {
  color: var(--ink-500);
  font-size: 15px;
}

/* ---------- EV journey timeline ---------- */
.journey {
  display: grid;
  gap: 16px;
}

.journey__card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.journey__card--live {
  border-color: rgba(21, 128, 61, 0.4);
  background: rgba(21, 128, 61, 0.1);
}

.journey__card p {
  color: rgba(217, 231, 255, 0.76);
  font-size: 15px;
}

/* ---------- Why InvoHub ---------- */
.diff-grid {
  display: grid;
  gap: 16px;
}

.diff-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-200);
  background: var(--white);
}

.diff-card p {
  color: var(--ink-500);
  font-size: 15px;
}

/* ---------- Pricing ---------- */
.pricing-card {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: 560px;
  padding: 32px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-200);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.pricing-list {
  display: grid;
  gap: 10px;
}

.pricing-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-700);
  font-size: 15px;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paid-100);
  box-shadow: inset 0 0 0 2px var(--paid-700);
}

.pricing-note {
  font-size: 13px;
  color: var(--ink-400);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 74ch;
}

.faq-item {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-200);
  background: var(--white);
  padding: 4px 20px;
}

.faq-item + .faq-item {
  margin-top: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 620;
  font-size: 15.5px;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 20px;
  font-weight: 400;
  color: var(--blue-500);
  transition: transform 0.18s var(--ease);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding-bottom: 18px;
  color: var(--ink-500);
  font-size: 15px;
}

/* ---------- Roadmap chip legend fallback (kept for older references) ---------- */
.roadmap__card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- CTA ---------- */
.cta {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  border-radius: var(--r-xl);
  background: var(--navy-800);
  color: var(--white);
  overflow: clip;
  position: relative;
}

.cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 149, 237, 0.34) 0%, transparent 64%);
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

/* Single oversized mark sitting at an angle behind the CTA copy — the
   "rotated watermark" mode of the brand mark. Decorative and inert. */
.cta__mark {
  position: absolute;
  z-index: 0;
  right: -58px;
  bottom: -104px;
  width: clamp(200px, 32vw, 320px);
  height: clamp(200px, 32vw, 320px);
  color: var(--white);
  opacity: 0.07;
  transform: rotate(-16deg);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(217, 231, 255, 0.72);
  padding-block: clamp(44px, 6vw, 72px) 32px;
  font-size: 15px;
}

.footer__top {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: grid;
  gap: 12px;
  max-width: 34ch;
  color: var(--white);
}

.footer__brand p {
  color: rgba(217, 231, 255, 0.68);
  font-size: 15px;
}

.footer__cols {
  display: grid;
  gap: 28px;
}

.footer h4 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 640;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.footer li + li {
  margin-top: 9px;
}

.footer button {
  padding: 0;
  text-align: left;
  color: inherit;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer a:hover {
  color: var(--white);
}

.footer__bottom {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(217, 231, 255, 0.56);
}

/* ---------- Cookie consent (compact bottom bar) ---------- */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 10px;
  pointer-events: none;
}

.consent[hidden] {
  display: none;
}

.consent__bar {
  pointer-events: auto;
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 900px;
  padding: 10px 14px 12px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-200);
  box-shadow: 0 18px 48px -20px rgba(11, 21, 51, 0.5);
}

.consent__settings {
  pointer-events: auto;
  width: 100%;
  max-width: 900px;
  margin: 8px auto 0;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-200);
  box-shadow: 0 18px 48px -20px rgba(11, 21, 51, 0.5);
  display: grid;
  gap: 12px;
}

.consent__settings[hidden] {
  display: none;
}

.consent__title {
  font-size: 13px;
  font-weight: 620;
  line-height: 1.3;
  color: var(--ink-700);
}

.consent__body {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-500);
}

.consent__actions {
  display: flex;
  gap: 6px;
}

.consent__actions .btn {
  flex: 1;
  min-width: 0;
}

.consent__options {
  display: grid;
  gap: 8px;
}

.consent__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
}

.consent__option input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--blue-500);
  flex-shrink: 0;
}

/* ---------- Reveal ---------- */
@keyframes marketing-rise {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}

[data-reveal] {
  animation: marketing-rise 0.65s var(--ease) both;
}

/* ---------- Responsive ---------- */
@media (max-width: 619px) {
  .hero__actions {
    display: grid;
    gap: 10px;
  }
}

@media (min-width: 560px) {
  .consent__bar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .consent__actions {
    flex: none;
  }

  .consent__actions .btn {
    flex: none;
  }

  .btn--xs {
    padding: 0 14px;
  }
}

@media (min-width: 620px) {
  .footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 860px) {
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tile--wide {
    grid-column: span 2;
  }

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

  .journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .diff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
}

@media (min-width: 980px) {
  .header__nav,
  .header__actions,
  .header__right .lang-switch {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .surface {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    animation: none;
  }
}
