/* =========================================================
   BuildKind Web — Homepage
   ========================================================= */
:root {
  --navy: #102A43;
  --navy-2: #0B1F33;
  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --sky: #38BDF8;
  --ice: #EFF6FF;
  --white: #FFFFFF;
  --slate: #475569;
  --slate-300: #CBD5E1;
  --line: #DCE6F2;

  --grad: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  --grad-deep: linear-gradient(135deg, #102A43 0%, #1E3A8A 55%, #2563EB 100%);

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, .06), 0 2px 8px rgba(16, 42, 67, .05);
  --shadow: 0 10px 30px -12px rgba(16, 42, 67, .18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 42, 67, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
h1 { font-weight: 800; font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
h2 { font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-weight: 700; font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--ice { background: var(--ice); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.125rem; color: var(--slate); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37, 99, 235, .75); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: .925rem; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 50px; width: auto; transition: height .3s; }
.scrolled .brand img { height: 42px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500; font-size: .95rem; color: var(--navy);
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--ice); color: var(--blue); }
.nav-mobile-cta { display: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 160px 0 110px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(56, 189, 248, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(37, 99, 235, .12), transparent 60%),
    linear-gradient(180deg, var(--ice) 0%, var(--white) 100%);
}
.hero::before { /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 42, 67, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 67, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .875rem; font-weight: 500; color: var(--navy); margin-bottom: 24px;
}
.badge .dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; color: #fff;
}
.badge .dot svg { width: 12px; height: 12px; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 560px; margin: 22px 0 34px; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 500; color: var(--navy); }
.tick {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(37, 99, 235, .1); color: var(--blue);
  display: grid; place-items: center;
}
.tick svg { width: 12px; height: 12px; }

/* Hero visual — browser that "builds itself" */
.hero-visual { position: relative; perspective: 1400px; }
.browser {
  position: relative; border-radius: 18px; background: var(--white);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(16, 42, 67, .06);
  overflow: hidden; transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .6s var(--ease);
  animation: floatY 7s ease-in-out infinite;
}
.hero-visual:hover .browser { transform: rotateY(0) rotateX(0); }
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: #F6F9FD; border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #DCE3EC; }
.browser-bar i:nth-child(1) { background: #F87171; }
.browser-bar i:nth-child(2) { background: #FBBF24; }
.browser-bar i:nth-child(3) { background: #34D399; }
.url {
  flex: 1; margin-left: 10px; height: 26px; border-radius: 8px; background: var(--white);
  border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 10px;
  font-size: .75rem; color: var(--slate);
}
.url svg { width: 11px; height: 11px; color: #22C55E; }
.url .typed { border-right: 1.5px solid var(--blue); padding-right: 2px; animation: caret 1s steps(1) infinite; white-space: nowrap; overflow: hidden; }
.browser-body { padding: 22px; display: grid; gap: 14px; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; }
.mock-logo { width: 74px; height: 12px; border-radius: 6px; background: var(--navy); }
.mock-links { display: flex; gap: 8px; }
.mock-links span { width: 34px; height: 8px; border-radius: 4px; background: var(--slate-300); }
.mock-hero {
  border-radius: 14px; padding: 22px; background: var(--grad-deep); color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: center; position: relative; overflow: hidden;
}
.mock-hero::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.55), transparent 70%);
}
.mock-h { height: 12px; border-radius: 6px; background: rgba(255,255,255,.95); margin-bottom: 8px; }
.mock-h.w2 { width: 70%; }
.mock-p { height: 7px; border-radius: 4px; background: rgba(255,255,255,.4); margin-bottom: 6px; }
.mock-p.w2 { width: 80%; }
.mock-btn { margin-top: 12px; width: 84px; height: 24px; border-radius: 999px; background: var(--sky); }
.mock-img {
  aspect-ratio: 4/3; border-radius: 10px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center;
}
.mock-img svg { width: 36px; height: 36px; color: rgba(255,255,255,.7); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.mock-card .ic { width: 22px; height: 22px; border-radius: 7px; background: var(--ice); margin-bottom: 10px; position: relative; }
.mock-card .ic::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--blue); }
.mock-card .mock-p { background: #E2E8F0; }
.mock-card .mock-h { background: var(--navy); height: 8px; width: 70%; }

/* build-in animation of the mockup pieces */
.build { opacity: 0; transform: translateY(14px) scale(.98); animation: buildIn .7s var(--ease) forwards; }
.b1 { animation-delay: .5s; } .b2 { animation-delay: .8s; } .b3 { animation-delay: 1.1s; }
.b4 { animation-delay: 1.25s; } .b5 { animation-delay: 1.4s; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: .85rem; color: var(--navy); font-weight: 600;
  opacity: 0; animation: popIn .6s var(--ease) forwards, floatY 6s ease-in-out infinite;
  z-index: 2;
}
.float-card small { display: block; font-weight: 500; color: var(--slate); font-size: .75rem; }
.float-card .fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card .fi svg { width: 18px; height: 18px; }
.fc-1 { left: -38px; bottom: 70px; animation-delay: 1.8s, 2.4s; }
.fc-1 .fi { background: var(--grad); }
.fc-2 { right: -26px; top: 64px; animation-delay: 2.1s, 2.7s; }
.fc-2 .fi { background: var(--navy); }
.fc-3 { right: 30px; bottom: -26px; animation-delay: 2.4s, 3s; }
.fc-3 .fi { background: #10B981; }
.score-ring { --p: 0; width: 36px; height: 36px; border-radius: 50%;
  background: conic-gradient(#10B981 calc(var(--p) * 1%), #E2E8F0 0);
  display: grid; place-items: center; flex: none; }
.score-ring::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: #fff; grid-area: 1/1; }
.score-ring b { grid-area: 1/1; font-size: .7rem; color: var(--navy); z-index: 1; }

.blob {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: -1;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-1 { width: 320px; height: 320px; background: var(--sky); top: -40px; right: -60px; }
.blob-2 { width: 260px; height: 260px; background: var(--blue); bottom: -60px; left: 10%; opacity: .25; animation-delay: -6s; }

/* ---------- Ownership band ---------- */
.own-band {
  background: var(--navy); color: #C9D6E5; position: relative; overflow: hidden;
}
.own-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 10% 0%, rgba(56,189,248,.25), transparent 70%),
              radial-gradient(600px 240px at 100% 100%, rgba(37,99,235,.35), transparent 70%);
}
.own-inner { position: relative; display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; padding: 56px 0; }
.own-inner h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0; }
.own-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.own-list li {
  padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease);
}
.own-list li:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.own-list svg { width: 24px; height: 24px; color: var(--sky); margin-bottom: 10px; }
.own-list strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.own-list span { font-size: .85rem; }

/* ---------- Why / differentiators ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(56,189,248,.12), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #C7D8F5; }
.card:hover::after { opacity: 1; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ice); color: var(--blue); margin-bottom: 20px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.icon-box svg { width: 26px; height: 26px; }
.card:hover .icon-box { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card p { margin: 0; font-size: .975rem; }
.why-feature {
  grid-row: span 2; background: var(--grad-deep); color: #C9D6E5; border: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.why-feature h3 { color: #fff; font-size: 1.6rem; }
.why-feature .icon-box { background: rgba(255,255,255,.12); color: #fff; }
.why-feature .quote-mark { font-family: var(--font-head); font-size: 5rem; line-height: .6; color: var(--sky); opacity: .6; }
.promise { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.promise li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 500; }
.promise .tick { background: rgba(56,189,248,.2); color: var(--sky); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service { padding: 36px; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.service .tag {
  font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--ice); color: var(--blue); white-space: nowrap;
}
.service ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.service li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.service li .tick { margin-top: 3px; }
.service .note { margin-top: 18px; font-size: .82rem; color: #64748B; padding-top: 16px; border-top: 1px dashed var(--line); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 34px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan .fit { font-size: .92rem; min-height: 3.2em; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price .amt { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.price .cur { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--navy); align-self: flex-start; margin-top: 6px; }
.price .per { font-size: .9rem; }
.price-sub { font-size: .8rem; color: #64748B; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: .94rem; align-items: flex-start; }
.plan li .tick { margin-top: 3px; }
.plan .btn { width: 100%; }
.plan--featured {
  background: var(--navy); border-color: transparent; color: #C9D6E5;
  box-shadow: var(--shadow-lg); transform: translateY(-10px);
}
.plan--featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan--featured:hover { transform: translateY(-14px); }
.plan--featured h3, .plan--featured .amt, .plan--featured .cur { color: #fff; }
.plan--featured .price-sub { color: #9FB3C8; }
.plan--featured .tick { background: rgba(56,189,248,.18); color: var(--sky); }
.plan--featured li { color: #E2EAF3; }
.popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .75rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 6px 16px -6px rgba(37,99,235,.7);
}
.addons {
  margin-top: 40px; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.addons > div { padding: 24px 26px; border-left: 1px solid var(--line); }
.addons > div:first-child { border-left: 0; background: var(--ice); }
.addons h4 { font-size: 1.05rem; margin: 0 0 4px; }
.addons .a-price { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.25rem; }
.addons p { margin: 0; font-size: .875rem; }
.fine-print {
  margin-top: 22px; display: flex; gap: 12px; align-items: flex-start;
  font-size: .875rem; color: #64748B; background: #fff; border: 1px dashed var(--slate-300);
  border-radius: var(--radius); padding: 16px 20px;
}
.fine-print svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }

/* ---------- Ownership split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-col { padding: 44px; }
.split-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 22px; }
.split-col h3 .icon-box { margin: 0; width: 44px; height: 44px; }
.split-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.split-col li { display: flex; gap: 12px; align-items: flex-start; }
.split-col li .tick { margin-top: 4px; }
.split-you { background: #fff; }
.split-us { background: var(--grad-deep); color: #D6E2EF; }
.split-us h3 { color: #fff; }
.split-us .icon-box { background: rgba(255,255,255,.14); color: #fff; }
.split-us .tick { background: rgba(56,189,248,.2); color: var(--sky); }

/* ---------- Care plans ---------- */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.care { padding: 30px; }
.care-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.care .price .amt { font-size: 2.3rem; }
.care .includes { font-size: .82rem; font-weight: 600; color: var(--blue); margin-bottom: 12px; display: block; }
.care ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.care li { display: flex; gap: 10px; font-size: .92rem; align-items: flex-start; }
.care li .tick { margin-top: 3px; }
.care-meter { height: 6px; border-radius: 6px; background: var(--ice); margin: 16px 0 20px; overflow: hidden; }
.care-meter span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width 1.4s var(--ease); }
.in-view .care-meter span { width: var(--w); }
.optional-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--navy);
}
.optional-pill b { color: var(--blue); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--line), var(--line)); z-index: 0;
}
.process .progress-line {
  position: absolute; left: 4%; top: 27px; height: 2px; width: 0; background: var(--grad); z-index: 0;
  transition: width 2.2s var(--ease);
}
.process.in-view .progress-line { width: 92%; }
.step { position: relative; z-index: 1; padding-right: 8px; margin-bottom: 26px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--blue);
  background: #fff; border: 2px solid var(--line); margin-bottom: 18px;
  transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.in-view .step-num { border-color: var(--blue); }
.step:hover .step-num { background: var(--blue); color: #fff; transform: scale(1.08); }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .92rem; margin: 0; }
.step.row2-start { }
.process-row { display: contents; }

/* ---------- Industries ---------- */
.industries { overflow: hidden; position: relative; padding: 6px 0; }
.industries::before, .industries::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.industries::before { left: 0; background: linear-gradient(90deg, var(--ice), transparent); }
.industries::after { right: 0; background: linear-gradient(-90deg, var(--ice), transparent); }
.marquee { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.industries:hover .marquee { animation-play-state: paused; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 500; color: var(--navy); white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 20px; height: 20px; color: var(--blue); }
.markets { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.market {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 500; font-size: .92rem;
}
.market .flag { font-size: 1.15rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: #BFD3F6; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy);
}
.faq-q .plus {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ice); position: relative;
  transition: background .3s, transform .3s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .3s;
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .plus { background: var(--blue); transform: rotate(180deg); }
.faq-item.open .plus::before, .faq-item.open .plus::after { background: #fff; }
.faq-item.open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; margin: 0; font-size: .96rem; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact / CTA ---------- */
.cta {
  background: var(--grad-deep); color: #D6E2EF; border-radius: 32px; overflow: hidden; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: clamp(36px, 6vw, 64px);
}
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(56,189,248,.45), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta .eyebrow { color: var(--sky); }
.cta-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.cta-points li { display: flex; gap: 12px; align-items: flex-start; }
.cta-points .tick { background: rgba(56,189,248,.2); color: var(--sky); margin-top: 3px; }
.form {
  background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--navy);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #FBFDFF;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.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);
}
.form small { font-size: .78rem; color: #64748B; }
.form-success {
  display: none; grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px;
  background: #ECFDF5; color: #065F46; font-size: .92rem; font-weight: 500;
}
.form.sent .form-success { display: block; animation: popIn .5s var(--ease); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #9FB3C8; padding: 72px 0 28px; margin-top: clamp(72px, 10vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: auto; }
.footer-brand span { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff; letter-spacing: -.02em; }
.footer-brand span em { font-style: normal; color: var(--sky); font-weight: 700; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--sky); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem;
}

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(37,99,235,.7);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

/* ---------- Keyframes ---------- */
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes buildIn { to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
@keyframes caret { 50% { border-color: transparent; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-copy > * { opacity: 0; animation: heroIn .9s var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .3s; }
.hero-copy > *:nth-child(4) { animation-delay: .45s; }
.hero-copy > *:nth-child(5) { animation-delay: .6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .own-inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-feature { grid-row: auto; grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .addons { grid-template-columns: 1fr 1fr; }
  .addons > div:nth-child(3) { border-left: 0; }
  .addons > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .care-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-aside { position: static; }
  .cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px;
    box-shadow: var(--shadow-lg); max-height: calc(100vh - 100px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { display: block; padding: 13px 16px; font-size: 1rem; border-radius: 12px; }
  .nav-links .nav-mobile-cta { display: block; margin-top: 6px; }
  .nav-links .nav-mobile-cta .btn { display: flex; width: 100%; color: #fff; background: var(--blue); }
  .nav-links .nav-mobile-cta .btn:hover { color: #fff; }
  .menu-open .site-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before, .process .progress-line { display: none; }
  .own-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero { padding: 130px 0 90px; }
  .brand img { height: 38px; }
  .fc-1 { left: -6px; bottom: 40px; }
  .fc-2 { right: -6px; top: 40px; }
  .fc-3 { display: none; }
  .browser { transform: none; }
  .browser-body { padding: 14px; }
  .mock-cards { grid-template-columns: 1fr 1fr; }
  .mock-cards .mock-card:last-child { display: none; }
  .why-grid, .process { grid-template-columns: 1fr; }
  .service { padding: 26px; }
  .service ul { grid-template-columns: 1fr; }
  .service-top { flex-direction: column; }
  .split-col { padding: 30px 24px; }
  .addons { grid-template-columns: 1fr; }
  .addons > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .addons > div:first-child { border-top: 0; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .hero-copy > *, .build, .float-card { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   About page
   ========================================================= */
.page-hero { padding: 160px 0 70px; }
.about-hero-grid { grid-template-columns: 1.2fr .8fr; }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; font-weight: 500; margin-bottom: 22px; color: var(--slate); }
.crumbs a { color: var(--blue); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--slate-300); }

.promise-stack { position: relative; display: grid; gap: 18px; padding: 10px 0; }
.p-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; animation: slideCard .8s var(--ease) forwards, floatY 7s ease-in-out infinite;
}
.p-card strong { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; line-height: 1.3; }
.p-card small { color: var(--slate); font-size: .875rem; }
.p-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.p-ic svg { width: 22px; height: 22px; }
.p-card--1 { margin-right: 60px; animation-delay: .4s, 1.2s; }
.p-card--1 .p-ic { background: var(--navy); }
.p-card--2 { margin-left: 40px; margin-right: 20px; animation-delay: .6s, 1.6s; }
.p-card--2 .p-ic { background: var(--blue); }
.p-card--3 { margin-left: 80px; animation-delay: .8s, 2s; }
.p-card--3 .p-ic { background: var(--grad); }
@keyframes slideCard { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* Story */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; margin-bottom: 72px; }
.story-copy p:not(.lead) { font-size: 1.02rem; }
.mission {
  margin: 0; position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 96px);
  background: var(--ice); border: 1px solid var(--line); border-radius: 28px;
}
.mission::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 220px at 50% 0%, rgba(56,189,248,.22), transparent 70%);
}
.mission-mark { position: absolute; top: 4px; left: 28px; font-family: var(--font-head); font-weight: 800; font-size: 9rem; line-height: 1; color: var(--blue); opacity: .12; }
.mission blockquote {
  position: relative; margin: 0 auto 26px; max-width: 860px;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; letter-spacing: -.01em;
}
.mission figcaption { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; }
.mission figcaption img { width: 26px; height: auto; }

/* Stats */
.stats-band { background: var(--navy); position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 0% 100%, rgba(56,189,248,.25), transparent 70%),
              radial-gradient(500px 200px at 100% 0%, rgba(37,99,235,.4), transparent 70%);
}
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 56px 0; }
.stat { text-align: center; padding: 0 20px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat-num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.1; background: linear-gradient(135deg, #fff 30%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { display: block; margin-top: 6px; font-size: .92rem; color: #9FB3C8; }

/* Founder */
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.founder-visual { position: relative; }
.founder-photo { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); }
.founder-card {
  background: var(--grad-deep); border-radius: 28px; padding: 32px; color: #C9D6E5;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.founder-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.5), transparent 70%);
  animation: drift 12s ease-in-out infinite alternate;
}
.founder-avatar {
  width: 88px; height: 88px; border-radius: 24px; padding: 3px; background: var(--grad); margin-bottom: 16px; position: relative; z-index: 1;
}
.founder-avatar span {
  width: 100%; height: 100%; border-radius: 21px; background: var(--navy); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: #fff;
}
.founder-meta { position: relative; z-index: 1; margin-bottom: 22px; }
.founder-meta strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.founder-meta small { color: var(--sky); font-weight: 500; }
.code-block {
  position: relative; z-index: 1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem; line-height: 1.8; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 16px 18px; color: #E2EAF3; margin-bottom: 20px;
}
.code-block i { font-style: normal; }
.code-block .ind { padding-left: 1.4em; }
.c-k { color: #93C5FD; } .c-v { color: #fff; } .c-s { color: #7DD3FC; } .c-b { color: #FCD34D; }
.code-block > div { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.in-view .code-block > div { opacity: 1; transform: none; }
.in-view .code-block > div:nth-child(2) { transition-delay: .25s; }
.in-view .code-block > div:nth-child(3) { transition-delay: .5s; }
.in-view .code-block > div:nth-child(4) { transition-delay: .75s; }
.in-view .code-block > div:nth-child(5) { transition-delay: 1s; }
.tool-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chips span { font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #E2EAF3; }
.fc-exp { right: -28px; bottom: -24px; opacity: 1; animation: floatY 6s ease-in-out infinite; }
.fc-exp .fi { background: var(--grad); }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick { margin-top: 4px; }
.check-list strong { color: var(--navy); font-weight: 600; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle .p-num {
  position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  line-height: 1; color: var(--ice); transition: color .35s;
}
.principle:hover .p-num { color: #DBEAFE; }

/* Do / Don't */
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dd-col { border-radius: var(--radius-lg); padding: 38px; }
.dd-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin-bottom: 22px; }
.dd-badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.dd-badge svg { width: 18px; height: 18px; }
.dd-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dd-col li { padding: 13px 0 13px 30px; position: relative; border-bottom: 1px solid var(--line); }
.dd-col li:last-child { border-bottom: 0; }
.dd-col li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; }
.dd-do { background: #fff; border: 1px solid var(--line); }
.dd-do .dd-badge { background: var(--grad); color: #fff; }
.dd-do li::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.dd-dont { background: var(--navy); color: #C9D6E5; }
.dd-dont h3 { color: #fff; }
.dd-dont .dd-badge { background: rgba(255,255,255,.1); color: #FCA5A5; }
.dd-dont li { border-color: rgba(255,255,255,.08); }
.dd-dont li::before { background: transparent; border: 2px solid #F87171; width: 10px; height: 10px; }

/* Remote */
.remote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.remote-list { display: grid; gap: 16px; }
.remote-item { display: flex; gap: 20px; align-items: flex-start; padding: 24px 26px; }
.remote-item .icon-box { margin: 0; flex: none; }
.remote-item h3 { font-size: 1.1rem; margin-bottom: 4px; }

/* Slim CTA */
.cta--slim { grid-template-columns: 1.4fr 1fr; align-items: center; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-link { color: #fff; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.cta-link:hover { color: var(--sky); border-color: var(--sky); }

@media (max-width: 1080px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .promise-stack { max-width: 560px; }
  .story-grid, .founder-grid, .remote-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-visual { max-width: 520px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .cta--slim { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .dodont { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero { padding: 130px 0 56px; }
  .p-card--1, .p-card--2, .p-card--3 { margin: 0; }
  .principles { grid-template-columns: 1fr; }
  .dd-col { padding: 28px 22px; }
  .fc-exp { position: relative; right: auto; bottom: auto; margin: -22px 16px 0 auto; width: max-content; }
  .founder-visual { margin-bottom: 8px; }
  .founder-card { padding: 24px 24px 40px; }
  .story-grid { margin-bottom: 48px; }
  .cta-actions .btn { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .p-card, .code-block > div { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Portfolio
   ========================================================= */
.pf-hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.pf-hero-stats div {
  padding: 14px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  min-width: 150px;
}
.pf-hero-stats strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.pf-hero-stats span { font-size: .85rem; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: -16px 0 44px; }
.filter-btn {
  font: inherit; font-size: .92rem; font-weight: 500; color: var(--navy); cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.filter-btn .count { font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--ice); color: var(--blue); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-btn.active .count { background: rgba(255,255,255,.15); color: #fff; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #C7D8F5; }
.work-card.is-hidden { display: none; }
.work-card.is-showing { animation: popIn .5s var(--ease) both; }
.shot { display: block; width: 100%; padding: 14px 14px 0; background: linear-gradient(180deg, var(--ice), #fff); border: 0; cursor: zoom-in; text-align: left; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #DCE3EC; }
.shot-bar i:nth-child(1) { background: #F87171; } .shot-bar i:nth-child(2) { background: #FBBF24; } .shot-bar i:nth-child(3) { background: #34D399; }
.shot-frame {
  display: block; position: relative; aspect-ratio: 16 / 11; overflow: hidden; container-type: size;
  border: 1px solid var(--line); border-top: 0; background: #F1F5F9;
}
.shot-frame img {
  width: 100%; height: auto; display: block;
  transition: transform var(--dur, 6s) cubic-bezier(.45, .05, .55, .95);
}
.work-card:hover .shot-frame img, .shot:focus-visible .shot-frame img { transform: translateY(calc(-100% + 100cqh)); }
.shot-frame::after {
  content: "Hover to scroll · Click to view"; position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 6px);
  font-size: .75rem; font-weight: 600; color: #fff; background: rgba(16,42,67,.85); padding: 6px 12px; border-radius: 999px;
  opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; white-space: nowrap;
}
.work-card:hover .shot-frame::after { opacity: 1; transform: translate(-50%, 0); }
.work-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.work-niche { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; font-family: var(--font-head); }
.work-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.work-body p { font-size: .92rem; margin-bottom: 16px; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-tags span { font-size: .75rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--ice); color: var(--navy); }

.pf-note { text-align: center; font-size: .85rem; color: #64748B; margin-top: 36px; }

/* Lightbox */
.lightbox {
  width: min(1100px, 100% - 32px); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px;
  overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); background: #fff;
}
.lightbox[open] { display: flex; flex-direction: column; animation: popIn .35s var(--ease); }
.lightbox::backdrop { background: rgba(11, 31, 51, .72); backdrop-filter: blur(4px); }
.lb-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.lb-head h3 { margin: 0; font-size: 1.1rem; }
.lb-head small { color: var(--blue); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.lb-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--navy); transition: background .2s, color .2s; }
.lb-close:hover { background: var(--navy); color: #fff; }
.lb-close svg { width: 16px; height: 16px; }
.lb-body { overflow-y: auto; background: #F1F5F9; overscroll-behavior: contain; }
.lb-body img { width: 100%; height: auto; display: block; }
.lb-loading { padding: 80px 0; text-align: center; color: var(--slate); }

/* Homepage teaser */
.work-teaser-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.work-teaser-head .section-head { margin-bottom: 0; }

@media (max-width: 1080px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 8px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
  .pf-hero-stats div { min-width: 0; flex: 1 1 40%; }
  .pf-hero-stats strong { font-size: 1.35rem; }
}
@media (hover: none) { .shot-frame::after { content: "Tap to view full page"; opacity: 1; transform: translate(-50%, 0); } }


/* =========================================================
   Shared layout additions (v3)
   ========================================================= */
.site-footer { margin-top: 0; }
.footer-about p { max-width: 340px; }
.footer-about .btn { margin-top: 6px; }
.footer-brand { display: inline-flex; }
.site-footer .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

/* Generic page hero (inner pages) */
.page-hero .hero-copy { max-width: 820px; }
.page-hero.center .hero-copy { margin-inline: auto; text-align: center; }
.page-hero.center .crumbs { justify-content: center; }
.page-hero.center .hero-actions { justify-content: center; }
.page-hero .lead { max-width: 680px; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero .hero-actions { margin-bottom: 0; }

.tagline-small { font-size: .95rem; font-style: italic; color: var(--slate); }

/* Intro split (home) */
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.intro-grid .lead { color: var(--navy); }

/* Services teaser cards */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.teaser-card { display: flex; flex-direction: column; }
.teaser-card p { flex: 1; margin-bottom: 22px; }
.teaser-card .from { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 14px; }
.teaser-card .from b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* Process teaser (4 steps) */
.process.process--4 .step { margin-bottom: 0; }
.section-foot { margin-top: 48px; display: flex; justify-content: center; }

/* My Story teaser */
.story-teaser { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }

/* Price "best for" */
.plan .best-for { font-size: .85rem; padding: 12px 14px; border-radius: 12px; background: var(--ice); color: var(--navy); margin: 0 0 22px; }
.plan--featured .best-for { background: rgba(255,255,255,.08); color: #E2EAF3; }
.plan .best-for b { font-weight: 600; }

/* Add-on cards */
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.addon-card .a-price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy); margin: 4px 0 10px; letter-spacing: -.02em; }
.addon-card .a-price small { font-size: .85rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }

/* Included / excluded */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.panel { border-radius: var(--radius-lg); padding: 36px; }
.panel h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 18px; }
.panel .dd-badge { flex: none; }
.panel--light { background: #fff; border: 1px solid var(--line); }
.panel--light .dd-badge { background: var(--grad); color: #fff; }
.panel--dark { background: var(--navy); color: #C9D6E5; }
.panel--dark h3 { color: #fff; }
.panel--dark .dd-badge { background: rgba(255,255,255,.1); color: #FCA5A5; }
.x-list, .dot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.x-list li, .dot-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dot-list li { border-color: var(--line); }
.x-list li:last-child, .dot-list li:last-child { border-bottom: 0; }
.x-list li::before { content: ""; position: absolute; left: 3px; top: 18px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #F87171; }
.dot-list li::before { content: ""; position: absolute; left: 3px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.panel-note { margin: 18px 0 0; font-size: .9rem; }

.terms-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.glance { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.glance .icon-box { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 12px; }
.glance .icon-box svg { width: 20px; height: 20px; }

/* Timeline (How it works) */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 84px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 27px; top: 10px; width: 2px; height: 0; background: var(--grad); transition: height 2.4s var(--ease); }
.timeline.in-view::after { height: calc(100% - 20px); }
.t-step { position: relative; margin-bottom: 26px; }
.t-step:last-child { margin-bottom: 0; }
.t-num {
  position: absolute; left: -84px; top: 0; width: 56px; height: 56px; border-radius: 50%; z-index: 1;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--blue);
  font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.05rem;
  box-shadow: 0 0 0 6px var(--white);
}
.section--ice .t-num { box-shadow: 0 0 0 6px var(--ice); }
.t-card { padding: 28px 30px; }
.t-card .t-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-family: var(--font-head); margin-bottom: 6px; }
.t-card .t-kicker svg { width: 16px; height: 16px; }
.t-card h3 { font-size: 1.3rem; }
.t-card p:last-child { margin-bottom: 0; }
.t-card .dot-list { margin: 6px 0 16px; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.callout {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: var(--ice); color: var(--navy); font-size: .9rem;
}
.callout svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }

.needs { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.needs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.needs-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.needs-list li .tick { margin-top: 3px; }

/* My Story */
.story-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.prose-story { max-width: 720px; }
.prose-story p { font-size: 1.08rem; margin-bottom: 1.2em; }
.prose-story p.big { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.4; letter-spacing: -.01em; }
.signoff { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.signoff img { width: 32px; height: auto; }
.story-layout { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.story-aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.aside-card { background: var(--ice); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.aside-card h4 { font-size: 1rem; margin-bottom: 12px; }
.aside-card .check-list { margin: 0; gap: 10px; font-size: .94rem; }
.principles--5 { grid-template-columns: repeat(6, 1fr); }
.principles--5 > * { grid-column: span 2; }
.principles--5 > :nth-child(4) { grid-column: 2 / span 2; }
.how-chips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; counter-reset: hc; }
.how-chip {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.how-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C7D8F5; }
.how-chip .icon-box { margin: 0 auto 12px; width: 46px; height: 46px; }
.how-chip .icon-box svg { width: 22px; height: 22px; }
.how-chip strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; line-height: 1.3; }
.how-chip small { display: block; margin-top: 4px; color: #64748B; font-size: .78rem; }
.how-chip::before {
  counter-increment: hc; content: counter(hc); position: absolute; top: 10px; left: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--slate-300);
}

/* FAQ page */
.faq-page { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: 110px; display: grid; gap: 6px; }
.faq-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; font-weight: 500; color: var(--navy);
  border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s;
}
.faq-nav a svg { width: 18px; height: 18px; color: var(--blue); }
.faq-nav a:hover { background: var(--ice); border-color: var(--line); color: var(--blue); }
.faq-group { margin-bottom: 48px; scroll-margin-top: 110px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group > h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.faq-group > h2 .icon-box { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.faq-group > h2 .icon-box svg { width: 20px; height: 20px; }
.faq-a a { color: var(--blue); font-weight: 500; }

/* Contact page */
.contact-hero { padding: 150px 0 100px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.next-steps { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; counter-reset: ns; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps li::before {
  counter-increment: ns; content: counter(ns); flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; margin-top: 1px;
}
.contact-details { display: grid; gap: 12px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-details div { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.contact-details svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.contact-details strong { display: block; color: var(--navy); font-weight: 600; font-size: .85rem; }
.contact-details a { color: var(--blue); }
.inquiry-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.inquiry-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.inquiry-card > p { font-size: .95rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field .req { color: #DC2626; margin-left: 2px; }
.field .opt { color: #94A3B8; font-weight: 400; font-size: .78rem; margin-left: 4px; }
.field .hint, .field .err-msg { display: block; font-size: .78rem; margin-top: 6px; color: #64748B; }
.field .err-msg, .check .err-msg { display: none; color: #DC2626; font-weight: 500; }
.invalid .err-msg { display: block; }
.invalid input, .invalid select, .invalid textarea { border-color: #EF4444 !important; box-shadow: 0 0 0 4px rgba(239,68,68,.1) !important; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; flex-wrap: wrap; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.check label { flex: 1; min-width: 0; }
.check a { color: var(--blue); font-weight: 500; }
.check .err-msg { width: 100%; padding-left: 32px; font-size: .78rem; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.form-actions small { font-size: .8rem; color: #64748B; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: .92rem; font-weight: 500; }
.form-success { display: block; background: #ECFDF5; color: #065F46; }
.form-error { display: block; background: #FEF2F2; color: #991B1B; }
.form-msg[hidden] { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Legal pages */
.legal-hero { padding: 150px 0 60px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; margin-top: 8px; }
.legal-meta span { display: inline-flex; align-items: center; gap: 8px; }
.legal-meta svg { width: 16px; height: 16px; color: var(--blue); }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 110px; max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 8px; }
.toc h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: .88rem; color: var(--slate); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.active { color: var(--blue); border-left-color: var(--blue); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 2.2em 0 .6em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose .contact-block { padding: 20px 22px; border-radius: var(--radius); background: var(--ice); border: 1px solid var(--line); }
.prose .contact-block p { margin: 0; }
mark.ph { background: #FEF3C7; color: #92400E; padding: 1px 6px; border-radius: 6px; font-weight: 500; font-size: .95em; }
.draft-notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: #FFFBEB; border: 1px solid #FCD34D; color: #78350F; font-size: .92rem; margin-bottom: 36px;
}
.draft-notice svg { flex: none; width: 20px; height: 20px; color: #D97706; margin-top: 2px; }
.draft-notice strong { color: #78350F; }

/* ---------- v3 responsive ---------- */
@media (max-width: 1080px) {
  .intro-grid, .story-teaser, .story-hero-grid, .needs, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .teaser-grid, .addon-grid { grid-template-columns: 1fr 1fr; }
  .teaser-grid > :last-child, .addon-grid > :last-child { grid-column: 1 / -1; }
  .story-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-aside { position: static; grid-template-columns: 1fr 1fr; }
  .principles--5 { grid-template-columns: 1fr 1fr; }
  .principles--5 > *, .principles--5 > :nth-child(4) { grid-column: auto; }
  .principles--5 > :last-child { grid-column: 1 / -1; }
  .how-chips { grid-template-columns: repeat(4, 1fr); }
  .faq-page { grid-template-columns: 1fr; gap: 28px; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav a { border: 1px solid var(--line); background: #fff; padding: 10px 14px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; max-height: none; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ice); }
  .toc ol { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .incl-grid { grid-template-columns: 1fr; }
  .process.process--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .teaser-grid, .addon-grid { grid-template-columns: 1fr; }
  .story-aside { grid-template-columns: 1fr; }
  .principles--5 { grid-template-columns: 1fr; }
  .how-chips { grid-template-columns: 1fr 1fr; }
  .how-chips > :last-child { grid-column: 1 / -1; }
  .timeline { padding-left: 0; }
  .timeline::before, .timeline::after { display: none; }
  .t-num { position: static; width: 44px; height: 44px; margin-bottom: -22px; margin-left: 22px; font-size: .95rem; box-shadow: 0 0 0 5px var(--white); }
  .t-card { padding: 34px 22px 24px; }
  .t-card .dot-list { grid-template-columns: 1fr; }
  .panel { padding: 26px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .toc ol { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-hero, .legal-hero { padding-top: 120px; }
  .process.process--4 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.pf-intro { text-align: center; max-width: 680px; margin: 0 auto 36px; }

/* ---------- v3 responsive fixes ---------- */
.founder-card { padding-bottom: 52px; }
.process.process--4 { row-gap: 36px; }
.url .typed { text-overflow: ellipsis; }
@media (max-width: 1080px) {
  .how-chips { display: flex; flex-wrap: wrap; justify-content: center; }
  .how-chips .how-chip { flex: 0 1 calc(25% - 9px); }
  .work-grid--teaser { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .work-grid--teaser .work-body { padding: 18px; }
  .work-grid--teaser .work-body p { display: none; }
  .story-hero-grid .founder-visual { max-width: 460px; }
}
@media (max-width: 640px) {
  .how-chips .how-chip { flex: 0 1 calc(50% - 6px); }
  .work-grid--teaser { grid-template-columns: 1fr; }
  .work-grid--teaser .work-body p { display: block; }
  .t-num { position: relative; left: auto; top: auto; z-index: 2; }
  .legal-meta { display: grid; gap: 8px; }
  .legal-meta span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
  .legal-meta span svg { align-self: center; }
  .founder-card { padding-bottom: 30px; }
}

/* =========================================================
   Thank-you page
   ========================================================= */
.thanks-hero { padding: 150px 0 110px; min-height: 100vh; display: flex; align-items: center; }
.thanks-hero > .container { width: min(760px, 100% - 32px); }
.thanks-card {
  background: #fff; border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-lg);
  padding: clamp(30px, 6vw, 60px); text-align: center; position: relative; overflow: hidden;
  animation: heroIn .8s var(--ease) both;
}
.thanks-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad);
}
.thanks-card h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.thanks-card .lead { max-width: 560px; margin: 0 auto 32px; }
.thanks-check { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; background: var(--ice); display: grid; place-items: center; }
.thanks-check svg { width: 56px; height: 56px; }
.tc-circle { stroke: var(--blue); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tcDraw .8s .3s var(--ease) forwards; }
.tc-tick { stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: tcDraw .5s .95s var(--ease) forwards; }
@keyframes tcDraw { to { stroke-dashoffset: 0; } }
.thanks-next { text-align: left; background: var(--ice); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; margin-bottom: 22px; }
.thanks-next h2 { font-size: 1.15rem; margin-bottom: 4px; }
.thanks-next .next-steps { margin: 16px 0 0; }
.thanks-next strong { color: var(--navy); }
.thanks-note { display: flex; gap: 10px; justify-content: center; align-items: flex-start; font-size: .92rem; margin: 0 0 28px; text-align: left; }
.thanks-note svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.thanks-note a { color: var(--blue); font-weight: 500; }
.thanks-home { margin-top: 22px; font-size: .92rem; }
@media (max-width: 640px) {
  .thanks-hero { padding: 110px 0 70px; min-height: 0; }
  .thanks-next { padding: 22px 20px; }
  .thanks-card .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tc-circle, .tc-tick { stroke-dashoffset: 0; } }

/* Portfolio role label (agency work) */
.work-role { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .72rem; font-weight: 600; color: var(--slate); background: #F1F5F9; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.work-role svg { width: 13px; height: 13px; color: var(--blue); }
.pf-intro { max-width: 760px; padding: 16px 20px; border-radius: var(--radius); background: var(--ice); border: 1px solid var(--line); font-size: .95rem; }

/* ---------- Services dropdown (header) ---------- */
.has-sub { position: relative; }
.nav-links .has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.has-sub .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.has-sub:hover .chev, .has-sub:focus-within .chev { transform: rotate(180deg); }
.sub-menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: -8px; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-links .sub-menu a { display: block; border-radius: 10px; padding: 10px 14px; white-space: nowrap; }
@media (max-width: 900px) {
  .has-sub .chev { display: none; }
  .sub-menu {
    position: static; min-width: 0; padding: 0 0 4px 14px; border: 0; box-shadow: none; background: none;
    opacity: 1; visibility: inherit; transform: none; transition: none;
  }
  .sub-menu::before { display: none; }
  .nav-links .sub-menu a { padding: 10px 16px; font-size: .95rem; color: var(--slate); white-space: normal; }
}

/* ---------- Service detail pages ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-grid .card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-grid .card p { font-size: .93rem; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-grid .card h3 { margin-bottom: 8px; }
.narrow { max-width: 860px; margin-inline: auto; }

.pkg-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pkg-table th, .pkg-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.pkg-table tr:last-child td { border-bottom: 0; }
.pkg-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.pkg-table td:first-child { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.pkg-table .num { text-align: right; white-space: nowrap; }
.pkg-table td.num { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.pkg-table td.num small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--slate); }

.addon-card .a-detail { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .88rem; }
.addon-card .text-link { margin-top: 14px; }
.care .btn { width: 100%; margin-top: 22px; }
.care { display: flex; flex-direction: column; }
.care ul { flex: 1; align-content: start; }
.process.process--5 { grid-template-columns: repeat(5, 1fr); row-gap: 36px; }
.process.process--5 .step { margin-bottom: 0; }

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .process.process--5 { grid-template-columns: repeat(3, 1fr); }
  .process.process--5::before, .process.process--5 .progress-line { display: none; }
}
@media (max-width: 900px) {
  .duo-grid { grid-template-columns: 1fr; }
  .process.process--5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .feature-grid, .process.process--5 { grid-template-columns: 1fr; }
  .pkg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pkg-table, .pkg-table tbody, .pkg-table tr, .pkg-table td { display: block; }
  .pkg-table tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .pkg-table tr:last-child { border-bottom: 0; }
  .pkg-table td { padding: 4px 0; border: 0; }
  .pkg-table .num { text-align: left; }
  .pkg-table td.num small { display: inline; margin-left: 6px; }
}
.terms-glance--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.addon-grid--odd > :last-child { grid-column: 1 / -1; }
