/* ==========================================================================
   NorTender — landing styles
   Brand palette (brandbook):
   #0B132B navy · #2563EB blue · #60A5FA light blue
   #10B981 green · #64748B slate · #F1F5F9 mist
   Typeface: Inter
   ========================================================================== */

:root {
  --navy:      #0B132B;
  --navy-2:    #101a3a;
  --blue:      #2563EB;
  --blue-lt:   #60A5FA;
  --blue-dk:   #1D4ED8;
  --green:     #10B981;
  --slate:     #64748B;
  --mist:      #F1F5F9;
  --white:     #ffffff;

  --ink:       #0B132B;
  --ink-2:     #334155;
  --ink-3:     #64748B;
  --line:      #E2E8F0;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11,19,43,.06), 0 2px 8px rgba(11,19,43,.04);
  --shadow:    0 4px 12px rgba(11,19,43,.06), 0 12px 32px rgba(11,19,43,.08);
  --shadow-lg: 0 24px 70px rgba(11,19,43,.28);

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.12;
}
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

.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;
}
/* Honeypot field. Unlike .sr-only this must stay hidden from assistive tech too
   — a screen reader user should never be offered a trap field to fill in. */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn-sm { padding: 9px 18px; font-size: 15px; }

.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.32);
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.4); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,.06); color: #E8EEF9;
  border-color: rgba(150,180,235,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(150,180,235,.6); transform: translateY(-1px); }

/* ============================ BRAND ============================ */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word {
  font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1;
  white-space: nowrap;
}
.brand-word strong { color: var(--white); font-weight: 700; }
.brand-word em { color: var(--blue-lt); font-style: normal; font-weight: 700; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,19,43,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(96,165,250,.12);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11,19,43,.94);
  border-bottom-color: rgba(96,165,250,.2);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  color: #C3D2EC; font-size: 15px; font-weight: 500; position: relative; padding: 4px 0;
  transition: color .18s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--blue-lt); transition: right .22s var(--ease);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(150,180,235,.2);
}
.lang-toggle button {
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: #9FB4D6; background: transparent; border: 0; cursor: pointer;
  padding: 5px 11px; border-radius: 999px;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.lang-toggle button:hover { color: #fff; }
.lang-toggle button.is-active { background: var(--blue); color: #fff; }

.nav-burger {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between;
}
.nav-burger span {
  display: block; height: 2px; width: 100%; background: #D6E2F5; border-radius: 2px;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  background: linear-gradient(170deg, #0B132B 0%, #0d1730 45%, #101c3e 100%);
  color: #C9D8F0;
  overflow: hidden;
  padding: 84px 0 0;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(96,165,250,.28) 1px, transparent 0);
  background-size: 34px 34px;
  mask-image: radial-gradient(120% 90% at 25% 15%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 25% 15%, #000 0%, transparent 72%);
  opacity: .5;
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 420px; }
.hero-glow {
  position: absolute; top: -180px; right: -140px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(37,99,235,.34) 0%, transparent 62%);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 56px; align-items: center;
  padding-bottom: 96px;
}
/* Grid items default to min-width:auto, so the dashboard mock's min-content
   width could push the whole row past the viewport — and .hero's overflow:hidden
   would silently clip the copy instead of scrolling. Pin the floor at 0. */
.hero-inner > * { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-lt);
  background: rgba(37,99,235,.14); border: 1px solid rgba(96,165,250,.3);
  padding: 7px 15px; border-radius: 999px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.22);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .eyebrow .dot { animation: none; } }

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  color: #fff;
  letter-spacing: -.032em;
}
.hero .lead {
  margin: 20px 0 0; font-size: 19px; line-height: 1.6; max-width: 34em;
  color: #AEC1E0;
}
.hero .lead em { color: #fff; font-style: normal; font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.tagline {
  margin-top: 26px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #6E87B4;
}

.hero-proof {
  list-style: none; margin: 34px 0 0; padding: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 40px;
  border-top: 1px solid rgba(150,180,235,.16);
}
.hero-proof li { display: flex; flex-direction: column; gap: 3px; }
.hero-proof strong {
  font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1;
}
.hero-proof span { font-size: 13.5px; color: #7F97C2; }

/* ---------- product mockup ---------- */
.hero-visual { position: relative; }

.mock-window {
  max-width: 100%;
  border-radius: 14px; overflow: hidden;
  background: #F7F9FC;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(150,180,235,.18);
  /* The near (left) edge scales up under perspective, so anchor the transform to
     the right edge — otherwise the mock renders wider than its box and .hero's
     overflow:hidden clips it. */
  transform-origin: right center;
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .mock-window { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
@media (prefers-reduced-motion: reduce) {
  .mock-window, .hero-visual:hover .mock-window { transform: none; }
}

.mock-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #E9EEF6; border-bottom: 1px solid #D8E1EE;
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #C6D1E2; }
.mock-dot:first-child { background: #F2A5A0; }
.mock-dot:nth-child(2) { background: #F5CE8A; }
.mock-dot:nth-child(3) { background: #A7DDB0; }
.mock-url {
  margin-left: 10px; flex: 1;
  font-size: 11px; color: #7C8DA8; background: #fff;
  padding: 4px 12px; border-radius: 999px; border: 1px solid #DCE4F0;
}

.mock-body { display: grid; grid-template-columns: 132px minmax(0,1fr); min-height: 400px; }

.mock-side { background: var(--navy); padding: 14px 10px; }
.mock-side-brand {
  display: flex; align-items: center; gap: 7px; padding: 4px 8px 16px;
  font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: -.02em;
}
.mock-side-brand svg { width: 15px; height: 15px; flex: none; }
.mock-nav { display: flex; flex-direction: column; gap: 2px; }
.mock-nav span {
  font-size: 11.5px; color: #8AA0C6; padding: 7px 9px; border-radius: 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-nav span.on { background: rgba(37,99,235,.24); color: #fff; font-weight: 600; }

.mock-main { min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mock-head h3 { font-size: 15px; letter-spacing: -.02em; }
.mock-head p { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.mock-pill {
  font-size: 10.5px; font-weight: 600; color: #fff; background: var(--blue);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap; flex: none;
}

.score {
  font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  flex: none; font-variant-numeric: tabular-nums;
}
.score small { font-size: .55em; font-weight: 700; margin-left: 1px; }
.score-high { color: var(--green); }
.score-mid  { color: var(--blue); }
.score-low  { color: var(--slate); }
.score.sm { font-size: 15px; }

.mock-card {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: var(--radius-sm); padding: 13px 14px;
  box-shadow: var(--shadow-sm);
}
.mock-card-top { display: flex; gap: 12px; }
.mock-card-title h4 { font-size: 13.5px; margin-top: 4px; letter-spacing: -.015em; }
.mock-card-title p { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.badge {
  display: inline-block; font-size: 9.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.badge-green { background: rgba(16,185,129,.13); color: #0A7A5C; }

.mock-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px;
  margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line);
}
.mock-meta span { display: block; font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.mock-meta strong { display: block; font-size: 11.5px; color: var(--ink); margin-top: 2px; }

.mock-why { margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--line); }
.mock-why > span { font-size: 10px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.mock-why ul { list-style: none; margin: 7px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mock-why li { position: relative; padding-left: 17px; font-size: 11px; color: var(--ink-2); }
.mock-why li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  color: var(--green); font-weight: 800; font-size: 11px;
}

.mock-row {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 13px;
}
.mock-row-text { min-width: 0; flex: 1; }
.mock-row-text h5 { font-size: 12px; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row-text p {
  font-size: 10.5px; color: var(--ink-3); margin-top: 1px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Sits below the card rows so it never covers the NOK values in them. */
.mock-phone {
  position: absolute; right: -26px; bottom: -78px; width: 158px;
  background: var(--navy); border-radius: 22px; padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(150,180,235,.2);
}
.mock-phone-notch {
  width: 42px; height: 4px; border-radius: 999px; background: #2A3757;
  margin: 3px auto 7px;
}
.mock-phone-body { background: #F7F9FC; border-radius: 16px; padding: 11px 10px; }
.mock-phone-h { font-size: 11px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.mock-phone-card {
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 10px; margin-bottom: 7px;
}
.mock-phone-card b { display: block; font-size: 10.5px; color: var(--ink); margin-top: 4px; line-height: 1.35; font-weight: 600; }
.mock-phone-card i { display: block; font-size: 9.5px; color: var(--ink-3); font-style: normal; margin-top: 2px; }

/* ---------- trust bar ---------- */
.trustbar {
  position: relative;
  border-top: 1px solid rgba(150,180,235,.14);
  background: rgba(0,0,0,.22);
}
.trustbar-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 20px 24px;
  font-size: 14px; color: #7F97C2;
}
.trustbar-inner span[data-i18n] {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #5E77A6; margin-right: 6px;
}
.trustbar-inner b { color: #D5E1F5; font-weight: 600; letter-spacing: -.01em; }
.trustbar-inner .sep { color: #3E5480; }

/* ============================ SECTIONS ============================ */
.section { padding: 104px 0; }
.section-tight { padding: 84px 0; }
.section-light { background: var(--mist); }
.section-dark { background: linear-gradient(165deg, #0B132B, #101c3e); color: #AEC1E0; }
.section-dark h2, .section-dark strong { color: #fff; }

.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--blue);
}
.kicker-light { color: var(--blue-lt); }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--ink-3); }

/* ---------- problem ---------- */
.split { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; }
.split-head h2 { font-size: clamp(1.75rem, 2.9vw, 2.25rem); }
.problem-list { display: flex; flex-direction: column; gap: 26px; }
.problem-item { padding-left: 22px; border-left: 2px solid var(--line); }
.problem-item h3 { font-size: 17.5px; font-weight: 700; }
.problem-item p { margin-top: 7px; color: var(--ink-3); font-size: 16.5px; }

/* ---------- steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px;
  counter-reset: none;
}
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-lt), var(--blue));
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 12px rgba(37,99,235,.28);
}
.step h3 { margin-top: 18px; font-size: 19px; }
.step p { margin-top: 10px; color: var(--ink-3); font-size: 16px; }
.step-code {
  display: block; margin-top: 18px; padding: 10px 13px;
  background: var(--mist); border: 1px solid var(--line); border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; color: var(--blue-dk);
  overflow-x: auto; white-space: nowrap;
}

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CBD8EC; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(37,99,235,.09); color: var(--blue);
}
.card-icon svg { width: 23px; height: 23px; }
.card h3 { margin-top: 20px; font-size: 18.5px; }
.card p { margin-top: 10px; color: var(--ink-3); font-size: 16px; }

/* ---------- engine ---------- */
.engine { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 60px; align-items: center; }
.engine-copy h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.engine-copy > p { margin-top: 18px; font-size: 17.5px; color: #A3B7D8; }
.engine-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.engine-list li {
  position: relative; padding-left: 26px; font-size: 16.5px; color: #A3B7D8;
}
.engine-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-lt); box-shadow: 0 0 0 4px rgba(96,165,250,.16);
}
.engine-list strong { font-weight: 700; }

.engine-flow {
  background: rgba(255,255,255,.045); border: 1px solid rgba(150,180,235,.16);
  border-radius: var(--radius-lg); padding: 30px 28px;
}
.flow-node + .flow-arrow { margin: 0; }
.flow-node { padding: 4px 0; }
.flow-label { display: block; font-size: 13px; color: #90A8CE; letter-spacing: .01em; }
.flow-count {
  display: block; margin-top: 3px;
  font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.flow-bar {
  height: 7px; border-radius: 999px; margin-top: 10px;
  width: var(--w);
  background: linear-gradient(90deg, var(--blue-lt), var(--blue));
  min-width: 26px;
}
.flow-bar-green { background: linear-gradient(90deg, #34D399, var(--green)); }
.flow-arrow {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0; padding-left: 2px;
}
.flow-arrow::before {
  content: ''; width: 1px; height: 22px; background: rgba(150,180,235,.35); flex: none;
}
.flow-arrow span {
  font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: #6E87B4;
}
.flow-node-final .flow-count { color: #6EE7B7; }

/* ---------- markets ---------- */
.markets { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.market {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.market-flag { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
/* The Norwegian white stripe is tinted so it stays visible against the white
   card. Oslo gets a brand-blue bar rather than a second flag — two near
   identical Norwegian flags side by side read as a rendering bug. */
.market-flag-no { background: linear-gradient(90deg, #BA0C2F 0 42%, #DCE3EE 42% 58%, #00205B 58% 100%); }
.market-flag-oslo { background: linear-gradient(90deg, #1D4ED8 0%, #60A5FA 100%); }
.market h3 { font-size: 22px; }
.market h3 span { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.market-num {
  margin-top: 18px;
  font-size: 44px; font-weight: 800; color: var(--blue); letter-spacing: -.035em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.market-cap {
  margin-top: 6px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3);
}
.market > p:last-child { margin-top: 18px; color: var(--ink-3); font-size: 16px; }
.markets-note { margin-top: 22px; font-size: 14px; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.faq details[open] { border-color: #C9D8EF; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 34px 16px 0; position: relative;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 18px; color: var(--ink-3); font-size: 16.5px; }

/* ============================ CTA ============================ */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0B132B 0%, #12245A 55%, #1B3A8A 100%);
  padding: 100px 0; text-align: center; color: #BFD1EE;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-bg svg { position: absolute; bottom: 0; width: 100%; height: 300px; }
.cta-inner { position: relative; max-width: 720px; }
/* Centred + ragged reads badly once it wraps; balance evens the lines out.
   Unsupported browsers simply wrap as before. */
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; text-wrap: balance; }
.cta > .wrap > p { margin-top: 18px; font-size: 18px; }

.cta-form {
  display: flex; gap: 10px; margin: 34px auto 0; max-width: 620px;
  flex-wrap: wrap;
}
.cta-form input {
  /* 190px is a width basis and only valid while this row stays a row — in a
     column it becomes a height basis. The mobile rule below resets it. */
  flex: 1 1 190px; min-width: 0;
  font: inherit; font-size: 16px;
  padding: 14px 18px; border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(150,180,235,.3); color: #fff;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.cta-form input::placeholder { color: #8AA0C6; }
.cta-form input:hover { border-color: rgba(150,180,235,.5); }
.cta-form input:focus { background: rgba(255,255,255,.14); border-color: var(--blue-lt); outline: none; }
.cta-form input[aria-invalid="true"] { border-color: #F87171; }
.cta-form .btn { flex: 0 0 auto; }

.cta-status { margin-top: 16px; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.cta-status.is-ok { color: #6EE7B7; }
.cta-status.is-err { color: #FCA5A5; }
.cta-fine { margin-top: 14px; font-size: 13.5px; color: #7F97C2; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--navy); color: #8AA0C6; padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  gap: 48px; padding-bottom: 48px;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .brand-mark { width: 32px; height: 32px; margin-top: 2px; }
.footer-brand p { margin-top: 8px; font-size: 15px; max-width: 26em; }

.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.footer-nav h4 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: #5E77A6; margin-bottom: 14px;
}
.footer-nav a {
  display: block; color: #A9BEDD; font-size: 15px; padding: 5px 0;
  transition: color .18s var(--ease);
}
.footer-nav a:hover { color: #fff; }

.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; border-top: 1px solid rgba(150,180,235,.14);
  font-size: 13.5px; color: #5E77A6;
}
.footer-slogan { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }

/* ============================ REVEAL ============================ */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; padding-bottom: 110px; }
  .hero .lead { max-width: none; }
  .mock-window { transform: none; }
  .mock-phone { right: 8px; bottom: -40px; }
  .engine { grid-template-columns: 1fr; gap: 44px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 940px) {
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(11,19,43,.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(96,165,250,.18);
    padding: 8px 24px 18px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid rgba(150,180,235,.1); }
  .site-nav a::after { display: none; }
  .nav-burger { display: flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }

  .steps, .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: 56px; }
  .hero-inner { padding-bottom: 92px; }
  .hero-proof { gap: 26px 32px; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .mock-body { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .mock-side { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
  .mock-side-brand { padding: 0; }
  .mock-nav { flex-direction: row; overflow: hidden; gap: 4px; }
  .mock-nav span:nth-child(n+4) { display: none; }
  .mock-phone { display: none; }
  .mock-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .steps, .cards, .markets { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .cta-form { flex-direction: column; }
  /* Stacked now, so flex-basis would size height instead of width: the inputs
     grew into 190px-tall pills. Size them by their own padding again. */
  .cta-form input { flex: 0 0 auto; width: 100%; }
  .cta-form .btn { width: 100%; }
  .market-num { font-size: 38px; }
}
