/* ============================================================
   Showfer marketing site — design system
   Mobile-first. Breakpoints: 640px (sm), 900px (md), 1100px (lg)
   ============================================================ */

:root {
  /* Color */
  --ink: #0b1230;
  --ink-2: #2c3452;
  --muted: #5f6885;
  --line: #e4e8f3;
  --line-strong: #cfd6ea;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-tint: #eef2ff;
  --brand: #2563ff;
  --brand-deep: #1a4fe0;
  --brand-soft: #eaf0ff;
  --brand-glow: rgba(37, 99, 255, 0.18);
  --navy: #0b1533;
  --navy-2: #0d1a4f;
  --mint: #0b8a4b;
  --mint-deep: #086b3a;
  --mint-soft: #e6f4ec;
  --amber: #ffb020;
  --danger: #e5484d;
  --discord: #5865f2;

  /* Type */
  --font-display: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Shape */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 51, 0.04), 0 2px 6px rgba(11, 21, 51, 0.03);
  --shadow-md: 0 6px 16px rgba(11, 21, 51, 0.06);
  --shadow-lg: 0 20px 50px rgba(11, 21, 51, 0.12);
  --shadow-brand: 0 10px 24px rgba(37, 99, 255, 0.24);

  --container: 1160px;
  --nav-h: 64px;

  /* Legacy aliases still referenced by article-level styles */
  --primary: var(--brand);
  --primary-light: var(--brand-soft);
  --dark: var(--ink);
  --gray: var(--muted);
  --light: var(--bg-soft);
  --color-green: var(--mint);
  --border-radius: var(--radius);
}

/* ------------------------------------------------------------
   Reset
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Inline SVG icons */
.ic {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.ic-fill { fill: currentColor; stroke: none; }

/* ------------------------------------------------------------
   Layout
   ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; }
.text-center { text-align: center; }

@media (min-width: 900px) {
  .container { padding: 0 32px; }
  .section { padding: 104px 0; }
  .section-head { margin-bottom: 56px; }
  .section-head p { font-size: 18px; }
}

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 7vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 8px; }
h4 { font-size: 16px; }
p { color: var(--ink-2); }
.lead { font-size: 18px; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow .ic { font-size: 14px; }
.eyebrow.mint { color: var(--mint-deep); background: var(--mint-soft); }
.eyebrow.ghost { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }
.hl { color: var(--brand); }
.hl-mint { color: var(--mint); }

@media (min-width: 900px) {
  h3 { font-size: 22px; }
  .lead { font-size: 20px; }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn .ic { font-size: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 255, 0.22); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: var(--shadow-brand); }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }

.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: #d9e2ff; }

.btn-mint { background: var(--mint); color: #fff; box-shadow: 0 6px 18px rgba(11, 138, 75, 0.25); }
.btn-mint:hover { background: var(--mint-deep); }

.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f1f4ff; }

.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #4752c4; }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-weight: 600; text-decoration: none; font-size: 15px;
}
.link-arrow .ic { transition: transform .18s ease; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 18, 48, 0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.03em;
}
.brand img { height: 34px; width: auto; }

.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn-outline { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: var(--ink);
}
.nav-toggle .ic { font-size: 24px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(11, 18, 48, 0.4);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 86vw);
  background: #fff;
  padding: calc(var(--nav-h) + 12px) 24px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 60px rgba(11, 18, 48, 0.2);
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-panel a:not(.btn) {
  display: block; padding: 14px 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px;
}
.mobile-menu-panel a:not(.btn):hover { background: var(--bg-soft); }
.mobile-menu-panel .menu-cta { margin-top: auto; display: grid; gap: 10px; }

@media (min-width: 900px) {
  .nav-links { display: flex; align-items: center; gap: 4px; }
  .nav-links a {
    padding: 8px 14px; border-radius: 999px;
    color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none;
    transition: background .15s ease, color .15s ease;
  }
  .nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
  .nav-actions .btn-outline { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(37, 99, 255, 0.14), transparent 60%),
    radial-gradient(600px 400px at -10% 100%, rgba(11, 138, 75, 0.10), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 18, 48, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 48, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; gap: 44px; }
.hero-copy { text-align: center; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { max-width: 520px; margin: 0 auto; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; }
.hero-actions .btn { width: 100%; max-width: 320px; }
.hero-proof {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin-top: 26px; font-size: 14px; color: var(--muted); font-weight: 500;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof .ic { color: var(--amber); font-size: 16px; }
.hero-proof .ic.mint { color: var(--mint); }

@media (min-width: 900px) {
  .hero { padding: 84px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin: 0; }
  .hero-actions { flex-direction: row; justify-content: flex-start; margin-top: 36px; }
  .hero-actions .btn { width: auto; }
  .hero-proof { justify-content: flex-start; }
}

/* Demo widget -------------------------------------------------- */
.demo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.demo-head {
  padding: 20px 20px 16px;
  display: flex; flex-direction: column; gap: 14px;
  border-bottom: 1px solid var(--line);
}
.demo-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; transition: opacity .15s ease; }
.demo-title .hl { color: var(--brand); }

.segmented {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-soft); border-radius: 999px; padding: 4px;
  border: 1px solid var(--line);
}
.segmented-thumb {
  position: absolute; top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  background: #fff; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(11, 18, 48, 0.12);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.segmented.is-show .segmented-thumb { transform: translateX(100%); }
.segmented button {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .2s ease;
}
.segmented button .ic { font-size: 16px; }
.segmented button[aria-selected="true"] { color: var(--ink); }

.demo-views { position: relative; }
.demo-view { display: none; }
.demo-view.active { display: block; animation: view-in .28s ease; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Request form */
.rf { padding: 20px; display: grid; gap: 14px; }
.rf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rf-field { display: grid; gap: 6px; min-width: 0; }
.rf-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em;
}
.rf-label .ic { font-size: 14px; color: var(--brand); }
.rf-input {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; color: var(--ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  appearance: none; -webkit-appearance: none;
  min-width: 0;
}
.rf-input::placeholder { color: #9aa3bd; }
.rf-input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
select.rf-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6885' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.rf-foot { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.rf-foot .ic { color: var(--mint); font-size: 14px; }

/* Show map */
.show-view { position: relative; height: 380px; background: #0e1530; }
.show-map { position: absolute; inset: 0; }
.show-map .mapboxgl-ctrl-bottom-left, .show-map .mapboxgl-ctrl-bottom-right { display: none; }
.show-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 20, 66, 0.05) 0%, rgba(10, 20, 66, 0.45) 100%);
}
.show-loading {
  position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: 22%;
  color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500;
  background:
    radial-gradient(circle at 30% 40%, rgba(37,99,255,0.25), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(11,138,75,0.18), transparent 40%),
    #0e1530;
}
.show-loading::after {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 40px 40px;
}
.show-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 5;
  background: #fff; border-radius: 18px; padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: grid; gap: 6px;
}
.show-card-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-size: 11px; font-weight: 700; color: var(--mint-deep); background: var(--mint-soft);
  padding: 4px 10px; border-radius: 999px;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse-dot 1.4s ease-in-out infinite; }
.show-card-amount { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.show-card-amount small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.show-card p { font-size: 13px; color: var(--muted); }
.show-card .btn { margin-top: 6px; }

.job-pin {
  position: relative;
  background: #fff; color: var(--ink);
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  padding: 5px 10px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  white-space: nowrap; pointer-events: none;
  opacity: 0; animation: pin-in .35s ease-out forwards;
}
.job-pin::after {
  content: ""; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.job-pin.pulse::before {
  content: ""; position: absolute; inset: -5px; border-radius: 999px;
  border: 2px solid rgba(11, 138, 75, 0.7);
  animation: pin-ring 2s ease-out infinite;
}
@keyframes pin-in { from { opacity: 0; transform: scale(.6) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pin-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }

@media (min-width: 640px) {
  .demo-head { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 24px; }
  .segmented { width: 240px; }
  .rf { padding: 24px; }
  .show-card { left: auto; width: 240px; right: 20px; bottom: 20px; }
}
@media (min-width: 900px) {
  .show-view { height: 420px; }
}

/* ------------------------------------------------------------
   Logo strip
   ------------------------------------------------------------ */
.logos { padding: 36px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logos p { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 30px; width: auto; opacity: .55; filter: grayscale(1) contrast(1.1); transition: opacity .2s ease, filter .2s ease; }
.marquee-track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   Audiences (two-sided)
   ------------------------------------------------------------ */
.audiences { display: grid; gap: 20px; }
.aud {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.aud h3 { font-size: clamp(24px, 3vw, 30px); margin: 0; }
.aud > p { font-size: 16px; }
.aud-list { display: grid; gap: 12px; }
.aud-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.aud-list .ic-wrap {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; margin-top: 1px;
}
.aud-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 8px; }

.aud-request { background: linear-gradient(160deg, #eef2ff 0%, #f7f9ff 100%); border: 1px solid #dfe6ff; }
.aud-request > p { color: var(--ink-2); }
.aud-request .ic-wrap { background: var(--brand); color: #fff; }

.aud-show { background: linear-gradient(160deg, var(--navy) 0%, #0d1a55 100%); color: #fff; border: 1px solid rgba(255,255,255,0.08); }
.aud-show::after {
  content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 138, 75, 0.35), transparent 65%); pointer-events: none;
}
.aud-show h3, .aud-show > p { color: #fff; position: relative; }
.aud-show > p { opacity: .8; }
.aud-show .aud-list { position: relative; }
.aud-show .ic-wrap { background: var(--mint); color: #fff; }
.aud-show .aud-actions { position: relative; }
.aud-show .link-arrow { color: #fff; }

.aud-stat {
  display: inline-flex; align-items: baseline; gap: 8px; width: fit-content;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  position: relative;
}
.aud-stat strong { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.aud-stat span { font-size: 13px; color: rgba(255,255,255,0.7); }
.aud-request .aud-stat { background: #fff; border-color: var(--line); }
.aud-request .aud-stat strong { color: var(--brand); }
.aud-request .aud-stat span { color: var(--muted); }

@media (min-width: 900px) {
  .audiences { grid-template-columns: 1fr 1fr; gap: 28px; }
  .aud { padding: 44px 40px; }
}

/* ------------------------------------------------------------
   How it works
   ------------------------------------------------------------ */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d5ddf5; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { font-family: var(--font-display); font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .08em; }
.step-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 20px;
}
.step-icon.mint { background: var(--mint-soft); color: var(--mint-deep); }
.step h3 { font-size: 19px; margin: 6px 0 0; }
.step p { font-size: 14px; color: var(--muted); }
.step-visual {
  margin-top: 8px; height: 150px; border-radius: 14px; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 14px;
  position: relative;
}

/* step 1: map */
.sv-map { background: linear-gradient(145deg, #eaf0ff, #f4f7ff); }
.sv-map::before, .sv-map::after {
  content: ""; position: absolute; background: #cbd8ff;
}
.sv-map::before { left: 0; right: 0; top: 34%; height: 1px; box-shadow: 0 46px 0 #cbd8ff; }
.sv-map::after { top: 0; bottom: 0; left: 30%; width: 1px; box-shadow: 52px 0 0 #cbd8ff; }
.sv-map-inner { position: relative; z-index: 1; display: grid; gap: 12px; justify-items: center; }
.sv-agents { display: flex; align-items: center; gap: 14px; }
.sv-agent {
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  border: 2px solid var(--mint); color: var(--mint-deep); display: grid; place-items: center; font-size: 15px;
  box-shadow: 0 4px 12px rgba(11, 138, 75, 0.25);
}
.sv-pin { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.sv-pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--brand); animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
.sv-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border-radius: 8px; padding: 6px 12px;
  font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm);
}
.sv-chip .ic { color: var(--brand); font-size: 12px; }

/* step 2: confirm */
.sv-notif {
  width: 100%; background: #fff; border-radius: 12px; padding: 10px 12px;
  display: flex; gap: 10px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.sv-notif-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.sv-notif strong { display: block; font-size: 12px; }
.sv-notif span { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; }
.sv-confirm { display: grid; gap: 10px; width: 100%; }
.sv-navbtn {
  justify-self: center; display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand); color: #fff; border-radius: 8px; padding: 7px 14px;
  font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(37, 99, 255, 0.3);
}
.sv-navbtn .ic { font-size: 12px; }

/* step 3: property */
.sv-prop { width: 100%; max-width: 190px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.sv-prop-photo { height: 66px; position: relative; display: grid; place-items: center; background: linear-gradient(135deg, #c9d8ff, #eaf0ff); color: var(--brand); font-size: 26px; }
.sv-prop-badge { position: absolute; top: 6px; right: 6px; background: var(--mint); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.sv-prop-body { padding: 8px 10px; }
.sv-prop-body strong { display: block; font-size: 12px; }
.sv-prop-body span { display: inline-flex; gap: 4px; align-items: center; font-size: 11px; color: var(--muted); }
.sv-prop-body .ic { font-size: 11px; }

/* step 4: earnings */
.sv-earn { width: 100%; max-width: 170px; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.sv-earn-lbl { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sv-earn-amt { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 2px 0 6px; }
.sv-earn-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--mint-soft); color: var(--mint-deep); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; margin-bottom: 10px; }
.sv-earn-badge .ic { font-size: 10px; }
.sv-bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.sv-bars i { flex: 1; background: var(--brand-soft); border-radius: 3px 3px 2px 2px; }
.sv-bars i.on { background: var(--brand); }

.steps-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 36px; }
.steps-actions .btn { width: 100%; max-width: 300px; }

@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .steps-actions { flex-direction: row; margin-top: 48px; }
  .steps-actions .btn { width: auto; }
}

/* ------------------------------------------------------------
   Stats band
   ------------------------------------------------------------ */
.stats { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; gap: 28px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) {
  .stats { padding: 60px 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat { border-right: 1px solid var(--line); padding: 0 24px; }
  .stat:last-child { border-right: 0; }
  .stat strong { font-size: 56px; }
}

/* ------------------------------------------------------------
   Dashboard (dark) section
   ------------------------------------------------------------ */
.dark {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #070f38 0%, var(--navy-2) 55%, #08123f 100%);
}
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 400px at 15% 40%, rgba(37, 99, 255, 0.16), transparent 60%),
    radial-gradient(500px 300px at 85% 10%, rgba(11, 138, 75, 0.12), transparent 60%);
}
.dark .container { position: relative; }
.dark h2 { color: #fff; }
.dark .lead { color: rgba(255,255,255,0.72); }
.dark-grid { display: grid; gap: 44px; align-items: center; }
.dark-copy { text-align: center; }
.checklist { display: grid; gap: 14px; margin: 28px 0 32px; text-align: left; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.9); }
.checklist .ic-wrap { width: 26px; height: 26px; border-radius: 50%; background: rgba(11, 138, 75, 0.18); color: var(--mint); display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.dark-visual { display: flex; justify-content: center; }

/* Dashboard widget */
.dash {
  width: 100%; max-width: 440px; background: #fff; color: var(--ink);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.dash-chrome { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #f4f5f9; border-bottom: 1px solid #e6e8ef; }
.dash-chrome i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dash-chrome i:nth-child(1) { background: #ff5f57; }
.dash-chrome i:nth-child(2) { background: #febc2e; }
.dash-chrome i:nth-child(3) { background: #28c840; }
.dash-chrome span { flex: 1; text-align: center; font-size: 12px; font-weight: 700; color: #555; }
.dash-chrome .ic { color: #999; font-size: 14px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.dash-head strong { font-size: 13px; }
.dash-badge { font-size: 11px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }
.dash-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-left: 3px solid transparent; border-bottom: 1px solid var(--bg-soft); }
.dash-row.done { opacity: .5; }
.dash-row.live { border-left-color: var(--brand); background: #f8f9ff; }
.dash-row time { font-size: 11px; font-weight: 600; color: var(--muted); min-width: 58px; }
.dash-row.live time { color: var(--brand); }
.dash-row > span { flex: 1; font-size: 12px; font-weight: 600; }
.dash-row > .dash-status { flex: 0 0 auto; }
.dash-status { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.dash-status.done { background: var(--mint-soft); color: var(--mint-deep); }
.dash-status.live { background: #fff0f0; color: var(--danger); }
.dash-status.live .live-dot { background: var(--danger); width: 5px; height: 5px; }
.dash-status.pending { background: #fff8e8; color: #d97706; }
.dash-next { margin: 12px 14px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, #f0f4ff, #e8eeff); border: 1px solid #d8e0ff; display: grid; gap: 8px; }
.dash-next-lbl { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--brand); }
.dash-next-lbl .live-dot { background: var(--brand); width: 7px; height: 7px; }
.dash-next strong { font-size: 13px; }
.dash-agent { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.dash-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #6b9fff); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.dash-agent b { color: var(--ink); font-weight: 600; }
.dash-agent em { font-style: normal; color: var(--amber); }
.dash-actions { display: flex; gap: 8px; }
.dash-actions span { flex: 1; text-align: center; font-size: 11px; font-weight: 700; padding: 7px 10px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.dash-actions span:first-child { background: var(--brand); color: #fff; }
.dash-actions span:last-child { background: #fff; color: var(--brand); border: 1px solid #d8e0ff; }
.dash-actions .ic { font-size: 12px; }
.dash-stats { display: flex; border-top: 1px solid var(--line); padding: 12px 0 14px; }
.dash-stats div { flex: 1; text-align: center; border-right: 1px solid var(--line); }
.dash-stats div:last-child { border-right: 0; }
.dash-stats strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--brand); }
.dash-stats span { font-size: 10px; color: var(--muted); }

@media (min-width: 900px) {
  .dark-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .dark-copy { text-align: left; }
  .checklist { gap: 16px; }
  .checklist li { font-size: 16px; }
}

/* ------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------ */
.testi-head { display: grid; gap: 20px; margin-bottom: 40px; }
.testi-head .lead { max-width: 560px; }
.testi-grid { display: grid; gap: 16px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
}
.testi-quote { font-size: 17px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.testi-quote::before { content: "\201C"; font-family: var(--font-display); font-size: 40px; line-height: 0; color: var(--brand); vertical-align: -14px; margin-right: 4px; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-who strong { display: block; font-size: 14px; }
.testi-who span { font-size: 13px; color: var(--muted); }
.testi-who .testi-stars { margin-left: auto; display: flex; gap: 2px; color: var(--amber); font-size: 14px; }
@media (min-width: 640px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .testi-head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 52px; }
  .testi-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .testi { padding: 30px; }
}

/* ------------------------------------------------------------
   Pricing
   ------------------------------------------------------------ */
.pricing-grid { display: grid; gap: 18px; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm);
}
.price.featured { border-color: rgba(37, 99, 255, 0.35); box-shadow: 0 16px 40px rgba(37, 99, 255, 0.10); }
.price-role { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price-amt { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-amt small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price > p { font-size: 15px; color: var(--muted); }
.price ul { display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.price li .ic { color: var(--mint-deep); font-size: 18px; margin-top: 2px; }
.price .btn { margin-top: auto; }
.pricing-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
  .price { padding: 36px; }
}

/* ------------------------------------------------------------
   Blog
   ------------------------------------------------------------ */
.blog-head { display: grid; gap: 18px; margin-bottom: 36px; }
.blog-grid { display: grid; gap: 18px; }
.post {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); font-weight: 500; }
.post-tag { background: var(--brand-soft); color: var(--brand); padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.post h3 { font-size: 18px; margin: 0; }
.post p { font-size: 14px; color: var(--muted); }
.post .link-arrow { margin-top: auto; font-size: 14px; padding-top: 6px; }

/* Card visuals */
.post-visual { text-decoration: none; color: #fff; height: 150px; padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.pv-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.pv-pricing { background: linear-gradient(135deg, #1538e0 0%, #2f64f8 60%, #4d83ff 100%); }
.pv-cols { display: flex; align-items: center; gap: 0; }
.pv-col { text-align: center; padding: 0 18px; }
.pv-col + .pv-col { border-left: 1px solid rgba(255,255,255,.25); }
.pv-col small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.pv-col strong { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pv-delegate { background: linear-gradient(135deg, #0d7a4e 0%, #16a361 60%, #22c97e 100%); align-items: flex-start; gap: 6px; }
.pv-delegate div { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.pv-delegate div .ic { font-size: 12px; }
.pv-delegate div.pending { opacity: .55; }
.pv-match { background: linear-gradient(135deg, #3730a3 0%, #4f46e5 60%, #7c72f8 100%); }
.pv-match-row { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 240px; }
.pv-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.5); font-size: 10px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.pv-avatar.agent { background: #fff; color: #4f46e5; border-color: #fff; }
.pv-track { flex: 1; height: 3px; background: rgba(255,255,255,.2); border-radius: 999px; overflow: hidden; }
.pv-track i { display: block; height: 100%; background: #fff; animation: fill 2s ease-in-out infinite; }
@keyframes fill { 0% { width: 0; } 70%, 100% { width: 100%; } }
.pv-badge { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.pv-badge .ic { color: #fbbf24; font-size: 12px; }
.pv-income { background: linear-gradient(135deg, #8A5300 0%, #c77f12 60%, #FFB020 100%); }
.pv-trends { background: linear-gradient(135deg, #0c1445 0%, #142272 60%, #1a2f99 100%); align-items: stretch; justify-content: flex-end; }
.pv-trends-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; }
.pv-trends-head em { font-style: normal; color: #4ade80; display: inline-flex; align-items: center; gap: 4px; }
.pv-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.pv-bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; font-size: 8px; opacity: .8; }
.pv-bars i { display: block; width: 100%; background: rgba(255,255,255,.22); border-radius: 3px 3px 0 0; }
.pv-bars i.hi { background: #4ade80; }

@media (min-width: 640px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .blog-head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 48px; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .post.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .post.featured .post-visual { height: 100%; min-height: 240px; }
  .post.featured .post-body { padding: 32px 36px; justify-content: center; }
  .post.featured h3 { font-size: 26px; }
  .post.featured p { font-size: 16px; }
}

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item.open { border-color: #cdd7f7; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
}
.faq-q .ic { font-size: 20px; color: var(--muted); transition: transform .25s ease; }
.faq-item.open .faq-q .ic { transform: rotate(180deg); color: var(--brand); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
  .faq-q { padding: 22px 26px; font-size: 17px; }
  .faq-a p { padding: 0 26px 24px; font-size: 16px; }
}

/* ------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------ */
.cta-band { padding: 0 0 72px; }
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, #1a4fe0 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 44px 26px; text-align: center;
  box-shadow: var(--shadow-brand);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 260px at 90% 10%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 520px; margin: 0 auto; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; }
.cta-actions .btn { width: 100%; max-width: 300px; }
@media (min-width: 640px) {
  .cta-actions { flex-direction: row; justify-content: center; }
  .cta-actions .btn { width: auto; }
}
@media (min-width: 900px) {
  .cta-band { padding: 0 0 104px; }
  .cta-box { padding: 72px 40px; }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 36px; margin-bottom: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 300px; color: rgba(255,255,255,0.7); }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 16px; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.social a:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col li { display: flex; align-items: center; gap: 8px; }
.footer-col .ic { font-size: 15px; opacity: .6; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a { color: rgba(255,255,255,0.72); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer { padding: 72px 0 28px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ------------------------------------------------------------
   Modal
   ------------------------------------------------------------ */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 16px;
  background: rgba(11, 18, 48, 0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal-card {
  position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  animation: modal-in .2s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-card h2 { font-size: 24px; margin-bottom: 6px; }
.modal-card > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.modal-close .ic { font-size: 20px; }
.form { display: grid; gap: 12px; }
.form .rf-row { gap: 12px; }
.form textarea.rf-input { min-height: 110px; resize: vertical; }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.ok { color: var(--mint-deep); }
.form-status.err { color: var(--danger); }
@media (min-width: 640px) {
  .modal-card { padding: 40px; }
}

/* ------------------------------------------------------------
   Utilities & a11y
   ------------------------------------------------------------ */
.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; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
body.no-scroll { overflow: hidden; }

@media (max-width: 639px) {
  /* Prevent iOS zoom on focus */
  input, select, textarea { font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
