/* ───────────────────────────────────────────────────────────────────
   Nomad Digital Technologies — site styles
   Single shared stylesheet, brand-token first, page-aware accents.
   ─────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0a1024;
  --ink-2:      #1a2148;
  --ink-3:      #2a325c;
  --paper:      #f7f8fc;
  --paper-2:    #eef0f9;
  --line:       rgba(10, 16, 36, 0.08);
  --line-soft:  rgba(10, 16, 36, 0.04);
  --muted:      #6b7390;
  --muted-2:    #9aa1bd;

  --indigo:     #6c5cff;
  --teal:       #00e0c7;
  --pink:       #ff7eb6;
  --amber:      #ffb547;
  --mint:       #6ee7b7;

  /* Page accent — overridden per page via [data-page] */
  --accent:     var(--indigo);
  --accent-2:   var(--teal);

  --grad:       linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --shadow-sm:  0 6px 20px -10px rgba(10, 16, 36, 0.18);
  --shadow-md:  0 18px 50px -18px rgba(10, 16, 36, 0.30);
  --shadow-lg:  0 36px 90px -28px rgba(108, 92, 255, 0.40);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --max: 1200px;
}

[data-page="about"]   { --accent: #6c5cff; --accent-2: #ff7eb6; }
[data-page="pricing"] { --accent: #00e0c7; --accent-2: #6c5cff; }
[data-page="faq"]     { --accent: #6ee7b7; --accent-2: #00e0c7; }
[data-page="contact"] { --accent: #ffb547; --accent-2: #ff7eb6; }

html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: white; }

/* ── Layout shell ─────────────────────────────────────────────── */
.container { width: min(var(--max), 92%); margin-inline: auto; }
.container-tight { width: min(880px, 92%); margin-inline: auto; }

/* ── Skip link (a11y) ─────────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: white; padding: 8px 14px;
  border-radius: 8px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

/* ── Top nav ──────────────────────────────────────────────────── */
header.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(247, 248, 252, 0.78);
  border-bottom: 1px solid rgba(10, 16, 36, 0.06);
}
header.site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 16px;
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
}
.brand .mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, #6c5cff, #00e0c7);
  display: grid; place-items: center;
  color: white; font-weight: 900; font-size: 15px;
  box-shadow: 0 8px 22px -8px rgba(108, 92, 255, 0.55);
  position: relative; overflow: hidden;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 30% 20%, rgba(255,255,255,0.5), transparent 60%);
  pointer-events: none;
}
.brand .name { display: inline-flex; align-items: baseline; gap: 6px; }
.brand .name .sub { font-weight: 500; color: var(--muted); font-size: 13px; }
@media (max-width: 540px) {
  .brand .name .sub { display: none; }
}

.nav-links {
  display: flex; gap: 26px;
  font-size: 14px; color: var(--muted); font-weight: 500;
}
.nav-links a { position: relative; padding: 4px 0; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] {
  color: var(--ink); font-weight: 600;
}
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--grad);
}

.nav-cta {
  padding: 10px 18px; border-radius: 11px;
  background: var(--ink); color: white;
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(10, 16, 36, 0.45); }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(10, 16, 36, 0.12);
  align-items: center; justify-content: center;
  background: white;
}
.menu-btn span {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .25s ease, opacity .15s ease;
}
.menu-btn span::before,
.menu-btn span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after  { top:  6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .menu-btn  { display: inline-flex; }
}

/* Mobile slide-down panel */
.mobile-panel {
  position: fixed; inset: 64px 0 auto 0; z-index: 49;
  background: white;
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .35s cubic-bezier(.6,.05,.05,1);
  padding: 22px 0 28px;
  box-shadow: 0 30px 60px -30px rgba(10, 16, 36, 0.25);
}
body.menu-open .mobile-panel { transform: translateY(0); }
.mobile-panel ul { list-style: none; display: grid; gap: 4px; }
.mobile-panel a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 18px; font-weight: 600;
}
.mobile-panel a .arrow {
  width: 22px; height: 22px; opacity: 0.4;
  transition: transform .15s ease, opacity .15s ease;
}
.mobile-panel a:hover .arrow { transform: translateX(2px); opacity: 1; }
.mobile-panel .panel-cta {
  margin-top: 18px;
  display: block; width: 100%; text-align: center;
  background: var(--ink); color: white;
  padding: 16px; border-radius: 12px;
  font-weight: 700;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: white;
  box-shadow: 0 12px 32px -14px rgba(10, 16, 36, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(10, 16, 36, 0.55); }

.btn-grad {
  background: var(--grad);
  color: white;
  box-shadow: 0 14px 34px -14px rgba(108, 92, 255, 0.55);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -12px rgba(108, 92, 255, 0.65); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(10, 16, 36, 0.16);
}
.btn-ghost:hover { background: rgba(10, 16, 36, 0.04); }

.btn-light {
  background: rgba(255,255,255,0.08); color: white;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
}
.btn-light:hover { background: rgba(255,255,255,0.14); }

/* ── Eyebrow tag ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(108, 92, 255, 0.08);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  border: 1px solid rgba(108, 92, 255, 0.16);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(0, 224, 199, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 224, 199, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 224, 199, 0.05); }
}
.eyebrow.on-dark {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.10);
}

/* ── Page hero (shared base) ─────────────────────────────────── */
.page-hero {
  position: relative;
  padding: clamp(72px, 12vw, 132px) 0 clamp(56px, 9vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 65% at 14% 0%,  color-mix(in oklab, var(--accent) 26%, transparent) 0%, transparent 60%),
    radial-gradient(55% 60% at 92% 12%, color-mix(in oklab, var(--accent-2) 26%, transparent) 0%, transparent 60%),
    var(--paper);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(10, 16, 36, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 16, 36, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 50% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 50% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}

/* ── Hero typography ─────────────────────────────────────────── */
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.05; }

.hero-h {
  font-size: clamp(40px, 6.6vw, 84px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 22px;
  max-width: 18ch;
}
.hero-h.center { margin-inline: auto; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: clamp(16px, 1.8vw, 19.5px);
  color: var(--muted);
  max-width: 62ch;
  margin-top: 22px;
}
.hero-lead.center { margin-inline: auto; }

.cta-row {
  display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap;
}
.cta-row.center { justify-content: center; }

/* ── Section heads ───────────────────────────────────────────── */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section.dark { background: var(--ink); color: white; position: relative; overflow: hidden; }
.section.dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(45% 55% at 80% 0%,   color-mix(in oklab, var(--accent) 35%, transparent) 0%, transparent 70%),
    radial-gradient(40% 50% at 10% 100%, color-mix(in oklab, var(--accent-2) 25%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.section.dark .container { position: relative; }
.section.tinted { background: var(--paper-2); }

.sec-head { margin-bottom: 56px; }
.sec-head .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section.dark .sec-head .kicker { color: var(--accent-2); }
.sec-head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800; line-height: 1.08;
  max-width: 22ch;
}
.sec-head p {
  color: var(--muted);
  font-size: 17px; margin-top: 14px; max-width: 62ch;
}
.section.dark .sec-head p { color: rgba(255,255,255,0.7); }
.sec-head.center { text-align: center; }
.sec-head.center h2, .sec-head.center p { margin-inline: auto; }

/* ── Cards ───────────────────────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: white;
  border-radius: var(--r-lg);
  padding: 30px 26px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 92, 255, 0.22);
}
.card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--accent)   18%, transparent),
    color-mix(in oklab, var(--accent-2) 18%, transparent));
  color: var(--accent);
}
.card h3 {
  font-size: 19px; font-weight: 800;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 10px;
  line-height: 1.65;
}

/* Glass card on dark sections */
.card.glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}
.card.glass h3 { color: white; }
.card.glass p  { color: rgba(255,255,255,0.7); }

/* ── Stats panel ─────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.stat {
  padding: 26px 22px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.stat .num {
  font-size: 38px; font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-2), white);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px; font-weight: 500;
  line-height: 1.5;
}

/* Stats — light variant */
.stats.light .stat {
  background: white; border-color: var(--line);
}
.stats.light .stat .num {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats.light .stat .label { color: var(--muted); }

/* ── Marquee ─────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex; gap: 48px; align-items: center;
  width: max-content;
  animation: marq 38s linear infinite;
  padding: 22px 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 14px;
}
.marquee-track span::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
@keyframes marq { to { transform: translateX(-50%); } }

/* ── Work / case study ───────────────────────────────────────── */
.case {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  background: white;
  border-radius: var(--r-xl);
  padding: 44px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  align-items: center;
  overflow: hidden;
}
.case + .case { margin-top: 22px; }
.case .copy h3 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  margin-top: 14px;
}
.case .copy p {
  color: var(--muted); margin-top: 14px; font-size: 16px;
  max-width: 52ch;
}
.case-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 24%, transparent);
}
.case .visual {
  border-radius: var(--r-lg);
  background: var(--ink);
  aspect-ratio: 4/3;
  position: relative; overflow: hidden;
  isolation: isolate;
  display: grid; place-items: center;
  color: white;
}
.case .visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(108, 92, 255, 0.55), transparent 60%),
    radial-gradient(50% 60% at 80% 80%, rgba(0, 224, 199, 0.40), transparent 60%);
}
.case .visual .label {
  position: absolute; left: 22px; bottom: 22px;
  font-size: 13px; color: rgba(255,255,255,0.66); font-weight: 500;
}
.case .visual .big {
  font-size: clamp(36px, 5vw, 64px); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1;
  text-align: center; padding: 0 18px;
}
.case .pills {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px;
}
.case .pills span {
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--paper-2); padding: 6px 11px; border-radius: 999px;
}
.case .stats-row {
  display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap;
}
.case .stats-row .num { font-size: 28px; font-weight: 900; letter-spacing: -0.025em; }
.case .stats-row .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 820px) {
  .case { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .case .visual { aspect-ratio: 16/10; }
}

/* ── Pricing ─────────────────────────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.tier {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier.featured {
  border-color: transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-lg);
}
.tier .featured-tag {
  position: absolute; top: -13px; left: 30px;
  background: var(--grad); color: white;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.tier h3 { font-size: 20px; font-weight: 800; }
.tier .blurb { color: var(--muted); margin-top: 6px; font-size: 14.5px; }
.tier .price {
  margin-top: 22px;
  display: flex; align-items: baseline; gap: 6px;
}
.tier .price .amount {
  font-size: 44px; font-weight: 900; letter-spacing: -0.03em; line-height: 1;
}
.tier .price .from { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.tier .price .unit { color: var(--muted); font-size: 14px; font-weight: 500; }
.tier ul {
  list-style: none; margin-top: 26px; display: grid; gap: 12px;
}
.tier ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink-2);
}
.tier ul li svg {
  flex-shrink: 0; width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--accent);
}
.tier .cta {
  display: block; text-align: center; margin-top: 28px;
  padding: 13px; border-radius: 12px;
  font-weight: 700; font-size: 14.5px;
  background: var(--ink); color: white;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tier .cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(10,16,36,0.35); }
.tier.featured .cta {
  background: var(--grad);
  box-shadow: 0 12px 30px -12px rgba(108,92,255,0.45);
}

.add-on-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px; margin-top: 18px;
}
.add-on {
  background: white; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.add-on h4 { font-size: 15px; font-weight: 700; }
.add-on p  { font-size: 13px; color: var(--muted); margin-top: 3px; }
.add-on .from { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: rgba(108, 92, 255, 0.20); }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(108, 92, 255, 0.28); }
.faq-item summary {
  list-style: none;
  padding: 22px 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .25s ease, background .15s ease, color .15s ease;
}
.faq-item[open] summary .plus {
  transform: rotate(45deg);
  background: var(--grad); color: white;
}
.faq-item .answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px; line-height: 1.7;
  max-width: 70ch;
}
.faq-group { margin-top: 56px; }
.faq-group:first-child { margin-top: 0; }
.faq-group h3 {
  font-size: 13px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}

/* ── Forms (contact) ─────────────────────────────────────────── */
.form-wrap {
  background: white; border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 18px; }
.form-grid .row-2 {
  display: grid; gap: 18px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) { .form-grid .row-2 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--ink-2);
}
.field label .req { color: var(--accent); margin-left: 4px; }
.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: white;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: var(--paper); border: 1.5px solid var(--line);
  cursor: pointer; user-select: none;
  transition: all .15s ease;
}
.chip input { display: none; }
.chip:has(input:checked) {
  background: color-mix(in oklab, var(--accent) 12%, white);
  border-color: var(--accent);
  color: var(--accent);
}
.chip:has(input:checked)::before {
  content: "✓"; font-weight: 800; color: var(--accent);
}

.form-success {
  display: none;
  background: color-mix(in oklab, var(--accent-2) 14%, white);
  border: 1px solid color-mix(in oklab, var(--accent-2) 35%, transparent);
  color: var(--ink);
  padding: 16px 18px; border-radius: 12px; font-size: 14.5px;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ── Story / about ──────────────────────────────────────────── */
.story-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; gap: 36px; } }
.story-grid h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
}
.story-grid p {
  color: var(--ink-2); font-size: 16.5px; line-height: 1.75;
}
.story-grid p + p { margin-top: 14px; }
.story-side {
  background: white; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 28px;
  position: sticky; top: 96px;
}
.story-side dl { display: grid; gap: 16px; }
.story-side dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.story-side dd { font-size: 15px; color: var(--ink-2); margin-top: 4px; }

.principles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
  margin-top: 56px;
}
.principle {
  padding: 30px;
  border-radius: var(--r-xl);
  background: white;
  border: 1px solid var(--line);
}
.principle .num {
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.principle h3 { font-size: 19px; font-weight: 800; margin-top: 12px; }
.principle p  { color: var(--muted); margin-top: 10px; font-size: 14.5px; line-height: 1.65; }

/* ── Big CTA band ────────────────────────────────────────────── */
.cta-band {
  padding: clamp(70px, 9vw, 110px) 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.04;
  max-width: 16ch; margin-inline: auto;
}
.cta-band p {
  color: var(--muted); font-size: 17px; margin-top: 18px;
  max-width: 50ch; margin-inline: auto;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer.site-foot {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  position: relative; overflow: hidden;
  padding: 80px 0 32px;
  margin-top: 32px;
}
footer.site-foot::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(108, 92, 255, 0.28), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(0, 224, 199, 0.18), transparent 70%);
  pointer-events: none;
}
footer.site-foot .container { position: relative; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid .col h4 {
  font-size: 12px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: white; margin-bottom: 16px;
}
.foot-grid .col ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.foot-grid .col a:hover { color: white; }
.foot-grid .col.brand-col p {
  color: rgba(255,255,255,0.65);
  font-size: 14.5px; margin-top: 16px; max-width: 32ch;
}
.foot-grid .col.brand-col .brand { color: white; font-size: 17px; }
.foot-bottom {
  margin-top: 60px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}
.foot-bottom .made {
  display: inline-flex; align-items: center; gap: 8px;
}
.foot-bottom .made .heart {
  color: var(--accent-2);
  animation: beat 1.6s ease-in-out infinite;
}
@keyframes beat { 50% { transform: scale(1.18); } }

/* ── Animations ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); animation: fadeUp .8s ease-out forwards; }
.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.18s; }
.reveal.d3 { animation-delay: 0.32s; }
.reveal.d4 { animation-delay: 0.45s; }
.reveal.d5 { animation-delay: 0.58s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .eyebrow .dot, .marquee-track, .foot-bottom .made .heart { animation: none !important; }
}
