/* =====================================================================
   ADCOOLER LLC — Enterprise AdTech site
   Stylesheet structure:
   1. Tokens        4. Navigation     7. Sections      10. Footer
   2. Reset/Base    5. Hero           8. Cards         11. Animations
   3. Typography    6. Buttons        9. Forms         12. Responsive
   ===================================================================== */

/* ============================ 1. TOKENS ============================= */
:root {
  /* Brand */
  --ink:        #0F172A;   /* primary   */
  --blue:       #2563EB;   /* secondary */
  --blue-700:   #1D4ED8;
  --blue-500:   #3B82F6;
  --orange:     #F97316;   /* accent    */
  --orange-600: #EA580C;
  --white:      #FFFFFF;   /* bg        */

  /* Neutral scale (slate) */
  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;

  /* Tints */
  --blue-tint:   #EFF6FF;
  --orange-tint: #FFF7ED;

  /* Semantic */
  --text:        var(--ink);
  --text-muted:  #51607A;
  --text-soft:   var(--slate-500);
  --bg:          var(--white);
  --bg-soft:     var(--slate-50);
  --border:      var(--slate-200);
  --border-soft: #EDF1F6;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows — layered for a soft premium depth */
  --sh-xs: 0 1px 2px rgba(15,23,42,.06);
  --sh-sm: 0 1px 3px rgba(15,23,42,.07), 0 1px 2px rgba(15,23,42,.04);
  --sh-md: 0 4px 14px -4px rgba(15,23,42,.10), 0 2px 6px -2px rgba(15,23,42,.06);
  --sh-lg: 0 18px 40px -16px rgba(15,23,42,.20), 0 8px 18px -10px rgba(15,23,42,.10);
  --sh-xl: 0 40px 80px -28px rgba(15,23,42,.32), 0 16px 32px -16px rgba(15,23,42,.16);
  --sh-blue: 0 14px 30px -10px rgba(37,99,235,.45);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ========================= 2. RESET / BASE ========================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05" 1, "ss01" 1, "tnum" 0;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========================= 3. TYPOGRAPHY =========================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 2.9rem);
  margin-bottom: 18px;
}
.section-head p {
  font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.65;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.lead { color: var(--text-muted); }

/* ========================= 4. NAVIGATION ========================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.88);
  border-bottom-color: var(--border);
  box-shadow: var(--sh-xs);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name {
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: .94rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--slate-100); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav__toggle:hover { background: var(--slate-100); }
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .icon-close { display: none; }
body.menu-open .nav__toggle .icon-open  { display: none; }
body.menu-open .nav__toggle .icon-close { display: block; }

/* ============================ 5. HERO ============================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(64px, 8vw, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  /* soft grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%);
}
.hero__glow {
  position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(64px); opacity: .5; pointer-events: none;
}
.hero__glow--blue {
  width: 620px; height: 620px; top: -260px; right: -120px;
  background: radial-gradient(circle, rgba(37,99,235,.30), transparent 65%);
}
.hero__glow--orange {
  width: 460px; height: 460px; top: 120px; left: -160px;
  background: radial-gradient(circle, rgba(249,115,22,.18), transparent 66%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600; color: var(--slate-600);
  box-shadow: var(--sh-xs);
}
.pill__dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-tint); color: var(--orange-600);
  display: grid; place-items: center; font-size: 11px;
}
.pill b { color: var(--ink); font-weight: 700; }
.pill { max-width: 100%; }

.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.25rem);
  letter-spacing: -0.035em;
  margin: 22px 0 0;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-500) 60%, var(--orange) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1rem + .45vw, 1.27rem);
  color: var(--text-muted);
  max-width: 33ch;
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 26px 34px; align-items: center;
}
.trust-stat { display: flex; flex-direction: column; gap: 2px; }
.trust-stat b {
  font-size: 1.5rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em; font-feature-settings: "tnum" 1;
}
.trust-stat span { font-size: .82rem; color: var(--text-soft); font-weight: 500; }
.trust-sep { width: 1px; height: 38px; background: var(--border); }

/* ---------- Hero dashboard (the signature element) ---------- */
.dash {
  position: relative;
  background: linear-gradient(180deg, #fff, #fcfdff);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  padding: 18px;
  will-change: transform;
}
.dash__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 2px 4px 14px;
}
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--slate-200); }
.dash__bar i:nth-child(1){ background:#FCA5A5; }
.dash__bar i:nth-child(2){ background:#FCD34D; }
.dash__bar i:nth-child(3){ background:#86EFAC; }
.dash__bar span {
  margin-left: 8px; font-size: .76rem; font-weight: 600; color: var(--slate-400);
}
.dash__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; color: #15803D;
  background: #F0FDF4; border: 1px solid #BBF7D0;
  padding: 3px 9px; border-radius: var(--r-pill);
}
.dash__live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22C55E;
  animation: pulse-dot 1.8s infinite;
}

.dash__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px;
}
.metric {
  background: var(--slate-50);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 12px 13px;
}
.metric__label { font-size: .7rem; font-weight: 600; color: var(--text-soft); letter-spacing: .02em; }
.metric__val {
  font-size: 1.32rem; font-weight: 800; color: var(--ink); margin-top: 4px;
  letter-spacing: -0.02em; font-feature-settings: "tnum" 1;
}
.metric__chg { font-size: .72rem; font-weight: 700; margin-top: 2px; }
.metric__chg.up   { color: #15803D; }
.metric__chg.up::before  { content: "▲ "; font-size: .6rem; }

/* Chart card */
.chart {
  background: linear-gradient(180deg, #0F172A, #1B2A4A);
  border-radius: var(--r-lg);
  padding: 16px 16px 8px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.chart__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
.chart__title { font-size: .82rem; font-weight: 600; color: #C7D2FE; }
.chart__big {
  font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px;
  font-feature-settings: "tnum" 1;
}
.chart__legend { display: flex; gap: 14px; font-size: .68rem; color: #94A3B8; align-items: center; }
.chart__legend i { display: inline-flex; align-items: center; gap: 5px; }
.chart__legend i::before { content: ""; width: 9px; height: 3px; border-radius: 2px; }
.chart__legend .lg-base::before { background: #64748B; }
.chart__legend .lg-opt::before  { background: var(--orange); }
.chart svg { width: 100%; height: auto; display: block; }
.chart__path-base { fill: none; stroke: #475569; stroke-width: 2; stroke-dasharray: 4 5; }
.chart__area { fill: url(#optFill); opacity: 0; transition: opacity 1.2s ease .5s; }
.chart__path-opt {
  fill: none; stroke: url(#optStroke); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 620; stroke-dashoffset: 620;
}
.chart__dot { fill: var(--orange); stroke: #0F172A; stroke-width: 3; opacity: 0; }
.chart.is-animated .chart__area { opacity: 1; }
.chart.is-animated .chart__path-opt { animation: draw-line 1.8s var(--ease-out) forwards .2s; }
.chart.is-animated .chart__dot { animation: pop-dot .5s var(--ease-out) forwards 1.7s; }
.chart__cols { position: absolute; inset: 38px 0 8px; display: flex; justify-content: space-around; opacity:.5; }
.chart__cols span { width: 1px; background: linear-gradient(#ffffff22, transparent); }

/* Floating chips on the dashboard */
.dash__chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px 12px;
  box-shadow: var(--sh-lg);
}
.dash__chip svg { width: 20px; height: 20px; }
.dash__chip b { font-size: .82rem; color: var(--ink); font-weight: 700; }
.dash__chip span { font-size: .68rem; color: var(--text-soft); display: block; font-weight: 500; }
.dash__chip--tl { top: -34px; left: -38px; animation: float 6s ease-in-out infinite; }
.dash__chip--br { bottom: -22px; right: -22px; animation: float 6s ease-in-out infinite 1.5s; }
.chip-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.chip-ic.blue  { background: var(--blue-tint);  color: var(--blue); }
.chip-ic.orange{ background: var(--orange-tint);color: var(--orange-600); }

/* ============================ 6. BUTTONS ========================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px;
  font-size: .96rem; font-weight: 600;
  border-radius: var(--r-md);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--blue); color: #fff; box-shadow: var(--sh-blue);
}
.btn--primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(37,99,235,.55); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--border); box-shadow: var(--sh-xs);
}
.btn--ghost:hover { border-color: var(--slate-300); background: var(--slate-50); transform: translateY(-2px); }
.btn--light {
  background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.22);
}
.btn--light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ============================ 7. SECTIONS ========================= */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--border-soft); }
.section--ink {
  background: radial-gradient(120% 140% at 80% -10%, #1B2A4A 0%, var(--ink) 55%);
  color: #fff;
}
.section--ink h2 { color: #fff; }
.section--ink .eyebrow { color: #93C5FD; }
.section--ink .section-head p { color: #B8C2D9; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.about__copy p { color: var(--text-muted); font-size: 1.06rem; line-height: 1.7; }
.about__copy p + p { margin-top: 16px; }
.mv-grid { display: grid; gap: 16px; }
.mv-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--sh-sm);
  position: relative; overflow: hidden;
}
.mv-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--blue), var(--blue-500));
}
.mv-card.is-vision::before { background: linear-gradient(var(--orange), var(--orange-600)); }
.mv-card h3 { font-size: 1.12rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.mv-card h3 svg { width: 22px; height: 22px; color: var(--blue); }
.mv-card.is-vision h3 svg { color: var(--orange); }
.mv-card p { color: var(--text-muted); font-size: .98rem; }

/* Why-ADCOOLER mini list */
.why-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-top: 26px; }
.why-mini li { display: flex; gap: 12px; align-items: flex-start; }
.why-mini .tick {
  width: 26px; height: 26px; flex: none; border-radius: 8px;
  background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center;
}
.why-mini .tick svg { width: 16px; height: 16px; }
.why-mini b { color: var(--ink); font-size: .98rem; font-weight: 700; display: block; }
.why-mini span { color: var(--text-soft); font-size: .86rem; }

/* Services grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(264px, 1fr));
  gap: 20px;
}
.s-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--sh-xs);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  position: relative; overflow: hidden;
}
.s-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, rgba(37,99,235,.06), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.s-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: #D7E0EC; }
.s-card:hover::after { opacity: 1; }
.s-card__ic {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-tint), #fff);
  border: 1px solid #DBEAFE; color: var(--blue);
}
.s-card:nth-child(4n+2) .s-card__ic,
.s-card:nth-child(4n+3) .s-card__ic { } /* keep uniform palette, brand-consistent */
.s-card.is-accent .s-card__ic {
  background: linear-gradient(135deg, var(--orange-tint), #fff);
  border-color: #FED7AA; color: var(--orange-600);
}
.s-card__ic svg { width: 24px; height: 24px; }
.s-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.s-card p { color: var(--text-muted); font-size: .94rem; line-height: 1.6; }
.s-card__link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: .86rem; font-weight: 700; color: var(--blue);
}
.s-card__link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.s-card:hover .s-card__link svg { transform: translateX(3px); }

/* Why choose us (on ink) */
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.feat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
}
.feat:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.feat__ic {
  width: 46px; height: 46px; border-radius: var(--r-md); margin-bottom: 16px;
  display: grid; place-items: center;
  background: rgba(59,130,246,.16); color: #93C5FD;
  border: 1px solid rgba(59,130,246,.28);
}
.feat.is-accent .feat__ic { background: rgba(249,115,22,.16); color: #FDBA74; border-color: rgba(249,115,22,.3); }
.feat__ic svg { width: 23px; height: 23px; }
.feat h3 { color: #fff; font-size: 1.08rem; margin-bottom: 7px; }
.feat p { color: #B8C2D9; font-size: .94rem; line-height: 1.6; }

/* Approach — process timeline */
.approach { position: relative; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 7%; right: 7%; height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-500) 50%, var(--orange) 100%);
  opacity: .35; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--border);
  font-weight: 800; font-size: 1.12rem; color: var(--blue);
  box-shadow: var(--sh-sm);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.step:hover .step__num { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--sh-blue); }
.step:last-child .step__num { color: var(--orange-600); }
.step:last-child:hover .step__num { border-color: var(--orange); box-shadow: 0 14px 30px -10px rgba(249,115,22,.45); }
.step h3 { font-size: 1.04rem; margin-bottom: 7px; }
.step p { color: var(--text-muted); font-size: .9rem; line-height: 1.55; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-700) 70%, #1E3A8A 100%);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 60px);
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--sh-lg);
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(249,115,22,.4), transparent 60%); filter: blur(20px);
}
.cta-band__grid { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); }
.cta-band p { color: #DBEAFE; margin-top: 10px; max-width: 46ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================ 9. FORMS / CONTACT ================== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact__info .eyebrow { margin-bottom: 16px; }
.contact__info h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.7rem); margin-bottom: 16px; }
.contact__info > p { color: var(--text-muted); font-size: 1.06rem; max-width: 40ch; }
.contact__list { margin-top: 30px; display: grid; gap: 14px; }
.contact__item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-xs);
}
.contact__item .ci-ic {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  display: grid; place-items: center; background: var(--blue-tint); color: var(--blue);
}
.contact__item:nth-child(2) .ci-ic { background: var(--orange-tint); color: var(--orange-600); }
.contact__item .ci-ic svg { width: 21px; height: 21px; }
.contact__item b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); font-weight: 700; }
.contact__item span, .contact__item a { color: var(--ink); font-weight: 600; font-size: 1rem; }
.contact__item a:hover { color: var(--blue); }

.form-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--sh-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .96rem; color: var(--ink);
  background: var(--slate-50); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #DC2626; background: #FEF2F2; }
.field__error { display: none; color: #DC2626; font-size: .8rem; margin-top: 6px; font-weight: 500; }
.field.invalid .field__error { display: block; }
.form-note { font-size: .82rem; color: var(--text-soft); margin-top: 8px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 20px;
  background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--r-md);
  color: #15803D; font-weight: 600; margin-bottom: 18px;
}
.form-success.show { display: block; }
.form-success svg { width: 40px; height: 40px; margin: 0 auto 8px; color: #22C55E; }

/* ============================ 10. FOOTER ========================= */
.footer {
  background: var(--ink); color: #C7D0E0;
  padding-top: clamp(56px, 7vw, 84px);
}
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 28px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 16px; font-size: .94rem; color: #93A0B8; max-width: 32ch; line-height: 1.65; }
.footer__brand .addr { margin-top: 18px; font-style: normal; font-size: .9rem; color: #93A0B8; line-height: 1.6; }
.footer__brand .addr a { color: #C7D0E0; }
.footer__brand .addr a:hover { color: #fff; }
.footer__col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 700; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: .92rem; color: #93A0B8; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-block: 24px; font-size: .86rem; color: #7E8BA6;
}
.footer__bottom a { color: #93A0BF; }
.footer__bottom a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); color: #C7D0E0;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

/* ========================== 11. ANIMATIONS ======================= */
@keyframes pulse-dot { 0%,100%{ box-shadow: 0 0 0 0 rgba(34,197,94,.5);} 50%{ box-shadow: 0 0 0 5px rgba(34,197,94,0);} }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes pop-dot { 0%{opacity:0; transform: scale(0);} 70%{transform: scale(1.25);} 100%{opacity:1; transform: scale(1);} }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* hero load sequence */
.hero__intro > * { opacity: 0; transform: translateY(18px); animation: hero-in .9s var(--ease-out) forwards; }
.hero__intro > *:nth-child(1){ animation-delay: .05s; }
.hero__intro > *:nth-child(2){ animation-delay: .15s; }
.hero__intro > *:nth-child(3){ animation-delay: .25s; }
.hero__intro > *:nth-child(4){ animation-delay: .35s; }
.hero__intro > *:nth-child(5){ animation-delay: .45s; }
.hero__visual { opacity: 0; transform: translateY(24px) scale(.985); animation: hero-in 1s var(--ease-out) forwards .35s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* ========================== 12. RESPONSIVE ======================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__sub, .hero h1 { max-width: none; }
  .dash__chip--tl { left: 0; }
  .dash__chip--br { right: 0; }
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .steps::before { display: none; }

  /* slide-in mobile menu */
  .mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    padding: 24px var(--gutter) 40px;
    display: flex; flex-direction: column; gap: 6px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .26s var(--ease), transform .26s var(--ease);
    overflow-y: auto;
  }
  body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .mobile-menu a {
    padding: 15px 14px; font-size: 1.05rem; font-weight: 600; color: var(--ink);
    border-bottom: 1px solid var(--border-soft); border-radius: 0;
  }
  .mobile-menu .btn { margin-top: 18px; }
}
@media (min-width: 921px) { .mobile-menu { display: none; } }

@media (max-width: 560px) {
  .dash__metrics { grid-template-columns: 1fr 1fr; }
  .metric:last-child { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .why-mini { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__trust { gap: 18px 22px; }
  .trust-sep { display: none; }
  .cta-band__grid { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ===================== ACCESSIBILITY / MOTION ==================== */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .chart__path-opt { stroke-dashoffset: 0 !important; }
  .chart__area, .chart__dot { opacity: 1 !important; }
  .hero__intro > *, .hero__visual { opacity: 1 !important; transform: none !important; }
}

/* ============================ LEGAL PAGES ========================= */
.legal-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.1rem); }
.legal-hero p { color: var(--text-muted); margin-top: 14px; font-size: 1.05rem; }
.legal-body { padding-block: clamp(48px, 6vw, 80px); }
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.legal-toc {
  position: sticky; top: calc(var(--nav-h) + 24px);
  border-left: 2px solid var(--border); padding-left: 18px;
}
.legal-toc h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); margin-bottom: 14px; }
.legal-toc a { display: block; font-size: .9rem; color: var(--text-muted); padding: 5px 0; transition: color .2s var(--ease); }
.legal-toc a:hover { color: var(--blue); }
.legal-prose h2 {
  font-size: 1.5rem; margin: 40px 0 14px; scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.legal-prose p, .legal-prose li { color: var(--text-muted); line-height: 1.75; }
.legal-prose p { margin-bottom: 14px; }
.legal-prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; display: grid; gap: 8px; }
.legal-prose a { color: var(--blue); font-weight: 600; }
.legal-prose a:hover { text-decoration: underline; }
.legal-updated {
  display: inline-block; font-size: .82rem; font-weight: 600; color: var(--slate-600);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 6px 14px; margin-top: 18px;
}
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; border-left: 0; padding-left: 0;
    border-bottom: 1px solid var(--border); padding-bottom: 18px; }
  .legal-toc div { display: flex; flex-wrap: wrap; gap: 6px 18px; }
}
