/* ==========================================================================
   ClimaTiqs marketing site
   Palette follows the ClimaTiqs app (teal / cyan / blue accents, peril colours).
   ========================================================================== */

:root {
  --navy-950: #070d1a;
  --navy-900: #0b1324;
  --navy-800: #111c33;
  --navy-700: #1b2a47;
  --ink:      #0f172a;
  --ink-2:    #334155;
  --ink-3:    #64748b;
  --line:     #e2e8f0;
  --surface:  #ffffff;
  --tint:     #f4f7fb;

  --teal:  #14b8a6;
  --cyan:  #06b6d4;
  --blue:  #3b82f6;
  --grad:  linear-gradient(135deg, #14b8a6 0%, #06b6d4 45%, #3b82f6 100%);

  --heat:    #f97316;
  --rain:    #38bdf8;
  --aqi:     #a855f7;
  --cyclone: #6366f1;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow:    0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(2, 8, 23, .55);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }

a { color: inherit; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(6, 182, 212, .7);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(6, 182, 212, .85); }
.btn-ghost { color: #e2e8f0; border-color: rgba(226, 232, 240, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: rgba(226, 232, 240, .6); background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 13, 26, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: #fff; font: 700 20px/1 var(--font-head); letter-spacing: -0.02em;
}
/* Same mark as the app sidebar (frontend src/styles.css .logo-mark) */
.logo-mark {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  font-size: 16px; line-height: 1;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: #cbd5e1; text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta-mobile { display: none; }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.link-quiet { color: #cbd5e1; text-decoration: none; font-size: 15px; font-weight: 500; }
.link-quiet:hover { color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; border-radius: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-950); color: #e2e8f0;
  padding: calc(var(--header-h) + 72px) 0 112px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(59, 130, 246, .28), transparent 70%),
    radial-gradient(45% 50% at 10% 85%, rgba(20, 184, 166, .22), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; }
.lede { font-size: 1.15rem; color: #b6c2d4; max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 44px; }

.hero-proof {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px;
}
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong { font: 800 1.75rem/1.1 var(--font-head); color: #fff; letter-spacing: -0.02em; }
.hero-proof span { font-size: 13px; color: #8ea0b8; }

.eyebrow {
  display: inline-block; margin: 0 0 16px;
  font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: #0e7490;
}
.eyebrow-dark { color: #5eead4; }

/* Hero product mock: tilted in 3D, follows the pointer on hover (see main.js) */
.hero-visual { position: relative; perspective: 1400px; }
.tilt {
  --rx: 6deg; --ry: -12deg; --lift: 0px; --gx: 30%; --gy: 0%;
  position: relative; transform-style: preserve-3d;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.tilt.is-tracking { transition: transform .15s ease-out; }
.mock {
  position: relative;
  background: linear-gradient(180deg, rgba(27, 42, 71, .92), rgba(17, 28, 51, .96));
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), -30px 40px 80px -30px rgba(6, 182, 212, .25);
  overflow: hidden;
}
/* Soft light reflection that tracks the pointer */
.mock::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--gx) var(--gy), rgba(255, 255, 255, .09), transparent 45%);
}
.mock-head {
  display: flex; align-items: center; gap: 7px; padding: 14px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mock-title { margin-left: 10px; font-size: 13px; font-weight: 600; color: #cbd5e1; }
.mock-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #5eead4; font-weight: 600; }
.mock-live i { width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }

.mock-body { padding: 20px; display: grid; gap: 16px; }
.mock-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mock-label { margin: 0 0 4px; font-size: 12px; color: #8ea0b8; font-weight: 500; }
.mock-value { margin: 0; font: 800 1.6rem/1.1 var(--font-head); color: #fff; }
.mock-value small, .mock-num small { font: 500 12px var(--font-body); color: #8ea0b8; }
.mock-num { margin: 0 0 10px; font: 800 1.35rem/1.1 var(--font-head); color: #fff; }

.mock-bars {
  position: relative; height: 110px; display: flex; align-items: flex-end; gap: 8px;
  padding: 10px 12px 0; border-radius: 12px; background: rgba(7, 13, 26, .45);
}
.mock-bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(148, 163, 184, .55), rgba(148, 163, 184, .25));
}
.mock-bars span.hot { background: linear-gradient(180deg, #fb923c, rgba(249, 115, 22, .45)); }
.mock-bars .threshold {
  position: absolute; left: 0; right: 0; bottom: var(--t); height: 0;
  border-top: 1.5px dashed rgba(251, 146, 60, .9);
}
.mock-bars .threshold::after {
  content: "threshold"; position: absolute; right: 8px; top: -18px;
  font: 600 10px var(--font-body); color: #fdba74; letter-spacing: .04em;
}

.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-tile { padding: 14px; border-radius: 12px; background: rgba(7, 13, 26, .45); border: 1px solid rgba(148, 163, 184, .1); }

.mock-chain { padding: 14px; border-radius: 12px; background: rgba(7, 13, 26, .45); }
.chain { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.chain i { width: 16px; height: 1.5px; background: rgba(148, 163, 184, .5); }

.chip {
  display: inline-block; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #cbd5e1;
  background: rgba(148, 163, 184, .12); border: 1px solid rgba(148, 163, 184, .2);
}
.chip-ok { color: #5eead4; background: rgba(20, 184, 166, .14); border-color: rgba(45, 212, 191, .4); }

.pill {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.pill-heat { color: #fdba74; background: rgba(249, 115, 22, .16); }
.pill-rain { color: #7dd3fc; background: rgba(56, 189, 248, .14); }
.pill-aqi  { color: #d8b4fe; background: rgba(168, 85, 247, .18); }

.float-card {
  position: absolute; left: -28px; bottom: -26px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
  transform: translateZ(70px); /* sits in front of the dashboard for depth */
  animation: float 6s ease-in-out infinite;
}
.float-icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(20, 184, 166, .14);
}
.float-icon svg { width: 20px; height: 20px; fill: none; stroke: #0d9488; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.float-title { margin: 0; font-weight: 700; font-size: 14px; }
.float-sub { margin: 0; font-size: 12.5px; color: var(--ink-3); }
@keyframes float { 50% { translate: 0 -8px; } }

/* ---------- Clients ---------- */
.clients { padding: 56px 0; border-bottom: 1px solid var(--line); }
.clients-title {
  margin: 0 0 28px; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: .01em;
}
.client-logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.client-logo {
  height: 76px; display: grid; place-items: center; padding: 14px 18px; border-radius: 12px;
}
.client-logo img {
  max-width: 100%; max-height: 44px; object-fit: contain;
  filter: grayscale(1); opacity: .65; transition: filter .25s ease, opacity .25s ease;
}
.client-logo:hover img { filter: none; opacity: 1; }
.client-logo.is-placeholder {
  border: 1.5px dashed #cbd5e1; background: var(--tint);
  color: #94a3b8; font-size: 13px; font-weight: 600;
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-sub { font-size: 1.075rem; color: var(--ink-2); margin: 0; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(20, 184, 166, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.ticks-lg li { font-size: 16px; }

/* Perils */
.peril-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.peril-card {
  --accent: var(--teal);
  position: relative; padding: 28px 24px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.peril-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent);
}
.peril-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.peril-card p { color: var(--ink-2); font-size: 15px; margin-bottom: 0; }
.peril-heat    { --accent: var(--heat); }
.peril-rain    { --accent: var(--rain); }
.peril-aqi     { --accent: var(--aqi); }
.peril-cyclone { --accent: var(--cyclone); }
.peril-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}
.peril-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); transition: box-shadow .25s ease, transform .25s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature p { color: var(--ink-2); font-size: 15px; margin: 0; }
.f-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  background: var(--grad); box-shadow: 0 8px 18px -8px rgba(6, 182, 212, .7);
}
.f-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--tint); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -20px; width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.step-num {
  display: inline-block; margin-bottom: 18px;
  font: 800 2rem/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Data sources (dark) */
.section-dark { background: var(--navy-900); color: #e2e8f0; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 100% 0%, rgba(59, 130, 246, .18), transparent 70%),
              radial-gradient(40% 40% at 0% 100%, rgba(20, 184, 166, .14), transparent 70%);
}
.section-dark .container { position: relative; }
.section-dark h2 { color: #fff; }
.section-dark .section-sub { color: #a7b4c8; }

.source-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.source-group {
  padding: 26px; border-radius: var(--radius-lg);
  background: rgba(17, 28, 51, .75); border: 1px solid rgba(148, 163, 184, .14);
}
.source-group h3 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1rem; margin-bottom: 14px; }
.sg-spaced { margin-top: 30px; }
.sg-dot { width: 10px; height: 10px; border-radius: 3px; }
.sg-national  { background: var(--teal); }
.sg-satellite { background: var(--blue); }
.sg-air       { background: var(--aqi); }
.sg-cyclone   { background: var(--cyclone); }

.source-list { list-style: none; margin: 0; padding: 0; }
.source-list li { padding: 14px 0; border-top: 1px solid rgba(148, 163, 184, .12); }
.source-list li:first-child { border-top: 0; padding-top: 4px; }
.source-list strong { display: block; color: #f1f5f9; font-size: 15px; font-weight: 600; }
.source-list span { display: block; color: #8ea0b8; font-size: 13.5px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.meta em {
  font-style: normal; font-size: 11.5px; font-weight: 600; color: #a5b4c8;
  padding: 3px 8px; border-radius: 6px; background: rgba(148, 163, 184, .1);
}

.fallback {
  margin-top: 28px; padding: 30px 32px; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, .12), rgba(59, 130, 246, .12));
  border: 1px solid rgba(94, 234, 212, .2);
}
.fallback h3 { color: #fff; font-size: 1.25rem; }
.fallback p { color: #b6c2d4; margin: 0; }
.fallback-chain { display: flex; align-items: center; gap: 0; }
.fc-node {
  flex: 1; text-align: center; padding: 14px 10px; border-radius: 12px;
  background: rgba(7, 13, 26, .55); border: 1px solid rgba(148, 163, 184, .2);
  font-weight: 600; font-size: 14px; color: #e2e8f0;
}
.fc-node small { display: block; font-size: 11px; font-weight: 600; color: #8ea0b8; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.fc-primary { border-color: rgba(45, 212, 191, .55); box-shadow: 0 0 0 4px rgba(45, 212, 191, .08); }
.fc-primary small { color: #5eead4; }
.fc-arrow { position: relative; width: 28px; height: 2px; background: rgba(148, 163, 184, .5); flex-shrink: 0; }
.fc-arrow::after {
  content: ""; position: absolute; right: -1px; top: -4px;
  border: 5px solid transparent; border-left-color: rgba(148, 163, 184, .7); border-right: 0;
}

/* Audience */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience {
  padding: 32px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--tint));
}
.audience p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Contact */
.section-contact { background: var(--tint); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy .section-sub { margin-bottom: 8px; }

.contact-form {
  display: grid; gap: 18px; padding: 36px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label > span, .contact-form legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #cbd5e1; background: #fff; color: var(--ink);
  font: 400 15px/1.4 var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(6, 182, 212, .15);
}
.contact-form .is-invalid { border-color: #ef4444 !important; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12) !important; }

fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check {
  display: flex !important; align-items: center; gap: 10px; cursor: pointer;
  padding: 11px 14px; border-radius: 10px; border: 1px solid #cbd5e1; font-size: 14.5px;
  transition: border-color .2s ease, background-color .2s ease;
}
.check:hover { border-color: #94a3b8; }
.check input { width: 17px; height: 17px; accent-color: var(--teal); margin: 0; }
.check:has(input:checked) { border-color: var(--teal); background: rgba(20, 184, 166, .06); }

.form-status { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 500; }
.form-status.ok  { color: #0f766e; }
.form-status.err { color: #b91c1c; }

/* Footer */
.site-footer { background: var(--navy-950); color: #94a3b8; padding: 64px 0 32px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(148, 163, 184, .14); }
.brand-footer { font-size: 18px; }
.footer-tag { margin: 14px 0 0; max-width: 28em; font-size: 14.5px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.footer-links a { text-decoration: none; font-size: 14.5px; color: #cbd5e1; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-note { color: #64748b; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .peril-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .source-groups { grid-template-columns: 1fr 1fr; }
  .source-group:last-child { grid-column: 1 / -1; }
  .client-logos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header { background: rgba(7, 13, 26, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

  .nav-toggle { display: block; }
  .link-quiet, .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    padding: 8px 20px 24px; background: rgba(7, 13, 26, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-links .nav-cta-mobile {
    display: block; margin-top: 16px; border: 0; text-align: center;
    padding: 14px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600;
  }

  .hero { padding: calc(var(--header-h) + 48px) 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .tilt { --rx: 4deg; --ry: -6deg; }
  .float-card { left: 12px; bottom: -24px; }

  .section { padding: 84px 0; }
  .fallback { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .audience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero-proof { gap: 18px 28px; }
  .hero-proof strong { font-size: 1.5rem; }
  .peril-grid, .feature-grid, .steps, .source-groups { grid-template-columns: 1fr; }
  .source-group:last-child { grid-column: auto; }
  .form-row, .checks { grid-template-columns: 1fr; }
  .client-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-logo { height: 64px; }
  .contact-form { padding: 24px 20px; }
  .fallback { padding: 24px 20px; }
  .fallback-chain { flex-direction: column; align-items: stretch; }
  .fc-arrow { width: 2px; height: 20px; align-self: center; }
  .fc-arrow::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top-color: rgba(148, 163, 184, .7); border-bottom: 0; }
  .mock-body { padding: 16px; }
  .mock-row { flex-wrap: wrap; }
}
