/* ============================================================
   iAutomate Limited — design system
   ============================================================ */

@font-face { font-display: swap; }

:root {
  /* canvas */
  --bg:        #0a0a0b;
  --bg-1:      #0f0f10;   /* raised section */
  --card:      #161617;   /* card surface */
  --card-2:    #1c1c1e;   /* hover / nested */
  --line:      #262628;   /* hairline border */
  --line-2:    #34343700;

  /* ink */
  --ink:       #f4f2ef;   /* primary text */
  --ink-soft:  #a7a39e;   /* secondary text */
  --ink-mute:  #6f6c68;   /* tertiary */

  /* brand */
  --accent:      #c75c2e;   /* terracotta */
  --accent-hi:   #e07a48;   /* lighter terracotta (hover) */
  --accent-deep: #8a4a28;   /* burnt brown */
  --accent-soft: rgba(199, 92, 46, 0.14);

  /* type */
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* metrics */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --nav-h: 92px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.bg-1 { background: var(--bg-1); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block;
}

/* ---------- type ---------- */
.display {
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-size: clamp(2.7rem, 7.4vw, 6.6rem);
  text-wrap: balance;
}
.h1 { font-weight: 800; line-height: 1.0; letter-spacing: -0.02em; font-size: clamp(2.3rem, 5.2vw, 4.4rem); text-wrap: balance; }
.h2 { font-weight: 800; line-height: 1.04; letter-spacing: -0.018em; font-size: clamp(2rem, 4.2vw, 3.5rem); text-wrap: balance; }
.h3 { font-weight: 700; line-height: 1.1; letter-spacing: -0.012em; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }
.muted { color: var(--ink-soft); }
.accent-text { color: var(--accent); }

/* section header block */
.sec-head { display: grid; gap: 22px; max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ============================================================
   buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1rem; line-height: 1;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hi); transform: translateY(-2px); }
.btn--ghost { background: #131314; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--ghost .ic {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .25s, border-color .25s;
}
.btn--ghost:hover .ic { border-color: var(--accent); transform: translateX(3px); }
.btn .ic svg { width: 15px; height: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }

/* text link with arrow */
.tlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); transition: gap .25s, color .25s; }
.tlink svg { width: 16px; height: 16px; transition: transform .25s; }
.tlink:hover { color: var(--accent); gap: 14px; }
.tlink:hover svg { transform: translateX(3px); }

/* ============================================================
   header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10,10,11,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(10,10,11,0.82); }
.site-header .brand { transition: opacity .35s ease, transform .35s ease; }
.site-header.brand-hidden .brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark b { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.01em; }
.brand .wordmark span { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px; border-radius: var(--r-pill);
  color: var(--ink-soft); font-weight: 600; font-size: .98rem;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .help { padding: 10px 14px; color: var(--ink-soft); font-weight: 600; transition: color .2s; }
.nav-right .help:hover { color: var(--ink); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 70;
  background: var(--bg-1); border-bottom: 1px solid var(--line);
  display: grid; gap: 4px; padding: 18px var(--gutter) 26px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .3s, opacity .3s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 6px; font-size: 1.3rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }

/* ============================================================
   hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
.hero__glow {
  position: absolute; left: 50%; top: -10%; transform: translateX(-50%);
  width: min(1100px, 120vw); height: 620px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(199,92,46,0.22), rgba(199,92,46,0) 62%);
  filter: blur(8px);
}
.hero__inner { position: relative; z-index: 1; text-align: center; display: grid; gap: 34px; justify-items: center; }
.hero .display { color: var(--accent); }
.hero .lead { max-width: 640px; }

/* ============================================================
   cards / grids
   ============================================================ */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 34px);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s;
}
.card:hover { transform: translateY(-4px); border-color: #3a3a3d; background: var(--card-2); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); }

/* media placeholder */
.media {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #1a1a1c 0 14px, #161618 14px 28px);
  border: 1px solid var(--line);
  display: grid; place-items: center; aspect-ratio: 16 / 10;
}
.media::after {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); padding: 6px 12px; border: 1px dashed #3a3a3d; border-radius: 8px;
  background: rgba(10,10,11,0.5);
}
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 21 / 9; }

/* image slots (user-fillable) */
image-slot { display: block; width: 100%; }
.slot {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: #121213;
}
.slot.lg { border-radius: var(--r-lg); }
.slot.std { aspect-ratio: 16 / 10; }
.slot.wide { aspect-ratio: 21 / 9; }
.slot.tall { aspect-ratio: 4 / 5; }

/* icon chip */
.chip {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line); background: #121213; color: var(--accent);
}
.chip svg { width: 24px; height: 24px; }
.chip--accent { background: var(--accent-soft); border-color: rgba(199,92,46,0.3); }

/* ============================================================
   numbered services list
   ============================================================ */
.numlist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.numrow {
  display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 4vw, 60px);
  align-items: start; padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s; position: relative;
}
.numrow::before {
  content: ""; position: absolute; left: -24px; right: -24px; top: 0; bottom: 0;
  background: var(--card); border-radius: var(--r-md); opacity: 0; transition: opacity .3s; z-index: -1;
}
.numrow:hover::before { opacity: 1; }
.numrow .num { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.numrow .body { display: grid; gap: 10px; max-width: 640px; }
.numrow .body h3 { font-weight: 700; }
.numrow .body p { color: var(--ink-soft); }

/* ============================================================
   phase / split rows
   ============================================================ */
.phase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.phase + .phase { margin-top: clamp(20px, 2.5vw, 32px); }
.phase.flip .phase__media { order: -1; }
.phase__text {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 48px); display: grid; align-content: center; gap: 18px;
}
.phase__media { border-radius: var(--r-lg); min-height: 340px; aspect-ratio: auto; width: auto; overflow: hidden; }
.phase__badge {
  display: inline-flex; align-items: center; gap: 12px; align-self: start; justify-self: start;
  padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid rgba(199,92,46,0.4);
  font-weight: 700; font-size: .9rem; color: var(--ink);
}
.phase__badge b { color: var(--ink); }
.phase__badge .n { color: var(--accent); }
.phase__badge .div { width: 1px; height: 16px; background: var(--line); }

/* ============================================================
   feature with checklist (services page)
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 110px); }
.feature.flip .feature__media { order: -1; }
.feature__media { min-height: 360px; border-radius: var(--r-lg); aspect-ratio: auto; width: auto; overflow: hidden; }
.feature__text { display: grid; gap: 20px; }
.feature__lead { font-weight: 700; color: var(--accent); font-size: 1.05rem; }
.checks { display: grid; gap: 14px; margin-top: 6px; }
.check { display: flex; align-items: center; gap: 14px; }
.check .tick {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.check .tick svg { width: 14px; height: 14px; }
.check span { color: var(--ink-soft); }

/* ============================================================
   value pills (about)
   ============================================================ */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  padding: 12px 20px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: #131314; font-weight: 600; color: var(--ink-soft); transition: all .25s;
}
.pill:hover { border-color: var(--accent); color: var(--ink); }

.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,24px); }
.stat { border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px,2.6vw,32px); background: var(--card); }
.stat .big { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.stat .lbl { color: var(--ink-soft); margin-top: 10px; }

/* ============================================================
   packages
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 2.8vw, 38px); transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-5px); border-color: #3a3a3d; }
.plan.featured { background: linear-gradient(180deg, rgba(199,92,46,0.16), rgba(199,92,46,0.03) 40%, var(--card)); border-color: rgba(199,92,46,0.5); }
.plan__tag { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.plan__name { font-weight: 800; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.02; letter-spacing: -0.02em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price .amt { font-size: 2.2rem; font-weight: 800; }
.plan__price .per { color: var(--ink-mute); font-size: .9rem; }
.plan__line { height: 1px; background: var(--line); }
.plan .checks { flex: 1; }
.plan .badge-feat { align-self: start; padding: 6px 14px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* custom strip */
.custom-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  padding: clamp(26px, 3vw, 40px); margin-top: clamp(20px,2.5vw,28px);
}
.custom-strip .ct { display: flex; align-items: center; gap: 20px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, rgba(199,92,46,0.18), rgba(10,10,11,0) 55%), var(--card);
  padding: clamp(40px, 6vw, 88px);
  display: grid; gap: 26px; justify-items: center; text-align: center;
}
.cta .lead { max-width: 720px; }

/* ============================================================
   contact form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 9px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  background: #121213; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 15px 16px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #161617; }
.form .btn { justify-content: center; margin-top: 4px; }
.form-note { color: var(--accent); font-weight: 600; min-height: 1.2em; }

.contact-aside { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .t { font-weight: 700; }
.contact-item .v { color: var(--ink-soft); }

/* ============================================================
   footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) 40px; background: var(--bg-1); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 320px; }
.footer-brand p { color: var(--ink-soft); font-size: .96rem; }
.fcol h4 { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.fcol ul { display: grid; gap: 12px; }
.fcol a { color: var(--ink-soft); transition: color .2s; }
.fcol a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft); transition: all .25s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--ink-mute); font-size: .9rem;
}
.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   faq accordion
   ============================================================ */
.faq { display: grid; gap: 14px; max-width: 920px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); overflow: hidden; transition: border-color .25s, background .25s; }
.faq-item.open { border-color: rgba(199,92,46,0.45); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 30px); text-align: left;
  font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink); line-height: 1.3;
}
.faq-q:hover { color: var(--accent); }
.faq-ic {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent);
  transition: transform .3s, background .25s, border-color .25s;
}
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--accent-soft); border-color: rgba(199,92,46,0.4); }
.faq-ic svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 clamp(20px, 2.4vw, 30px) clamp(22px, 2.6vw, 30px); color: var(--ink-soft); line-height: 1.6; max-width: 76ch; }

/* ============================================================
   scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   micro-interactions / UX effects
   ============================================================ */

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 90;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  box-shadow: 0 0 12px rgba(199,92,46,0.55);
  will-change: transform;
}

/* cursor spotlight on cards / plans / faq */
.card, .plan, .faq-item, .stat, .numrow, .custom-strip { position: relative; }
.card, .plan, .feature__text, .phase__text {
  --mx: 50%; --my: 50%;
}
.card::after, .plan::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(199,92,46,0.14), transparent 60%);
  opacity: 0; transition: opacity .35s; z-index: 0;
}
.card:hover::after, .plan:hover::after { opacity: 1; }
.card > *, .plan > * { position: relative; z-index: 1; }

/* buttons: shine sweep + smoother lift */
.btn { position: relative; overflow: hidden; }
.btn--primary::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left .6s cubic-bezier(.2,.7,.2,1); pointer-events: none;
}
.btn--primary:hover::before { left: 140%; }

/* magnetic wrapper keeps transform clean */
.btn.magnetic { will-change: transform; }

/* animated logo spokes */
.brand .mark { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.brand:hover .mark { transform: rotate(30deg); }
.brand .mark line, .brand .mark circle { transition: opacity .3s; }
@media (prefers-reduced-motion: no-preference) {
  .brand .mark { animation: spokePulse 6s ease-in-out infinite; transform-origin: 50% 50%; }
}
@keyframes spokePulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(199,92,46,0)); }
  50% { filter: drop-shadow(0 0 5px rgba(199,92,46,0.45)); }
}

/* nav link sliding underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* count-up stat shimmer when active */
.stat .big { display: inline-block; }
.stat.counting .big { color: var(--accent-hi); }

/* tick pop-in inside revealed checks */
.reveal.in .check .tick { animation: tickPop .45s cubic-bezier(.2,1.4,.4,1) backwards; }
.reveal.in .check:nth-child(1) .tick { animation-delay: .05s; }
.reveal.in .check:nth-child(2) .tick { animation-delay: .12s; }
.reveal.in .check:nth-child(3) .tick { animation-delay: .19s; }
.reveal.in .check:nth-child(4) .tick { animation-delay: .26s; }
.reveal.in .check:nth-child(5) .tick { animation-delay: .33s; }
@keyframes tickPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* chip gentle float on card hover */
.card .chip, .plan .chip { transition: transform .4s cubic-bezier(.2,.7,.2,1), background .25s, border-color .25s; }
.card:hover .chip, .plan:hover .chip { transform: translateY(-3px) rotate(-4deg); }

/* numbered row marker slide */
.numrow .num { transition: transform .35s cubic-bezier(.2,.7,.2,1), color .25s; }
.numrow:hover .num { transform: translateX(6px); color: var(--accent-hi); }

/* image-slot subtle hover lift inside feature/phase */
.feature__media, .phase__media { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.feature:hover .feature__media, .phase:hover .phase__media { transform: translateY(-4px); }

/* social icon spin */
.socials a svg { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.socials a:hover svg { transform: scale(1.15) rotate(6deg); }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .brand .mark, .brand:hover .mark { animation: none; transform: none; }
  .btn--primary::before { display: none; }
  .reveal.in .check .tick { animation: none; }
  .feature:hover .feature__media, .phase:hover .phase__media,
  .card:hover .chip, .plan:hover .chip, .numrow:hover .num { transform: none; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .help, .nav-right .btn { display: none; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .phase, .feature, .contact-grid { grid-template-columns: 1fr; }
  .phase.flip .phase__media, .feature.flip .feature__media { order: 0; }
  .phase__media, .feature__media { min-height: 240px; }
  .plans { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .numrow { grid-template-columns: 64px 1fr; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { width: 100%; }
  .custom-strip { flex-direction: column; align-items: flex-start; }
}
