/* ============================================================
   Proxy - Homepage Design System
   ============================================================ */

:root {
  /* Color */
  --bg: oklch(98.5% 0.005 80);          /* warm off-white */
  --bg-tint: oklch(96.5% 0.012 290);    /* faint lavender */
  --bg-dark: oklch(14% 0.01 280);
  --ink: oklch(16% 0.01 280);
  --ink-2: oklch(35% 0.012 280);
  --ink-3: oklch(55% 0.012 280);
  --ink-4: oklch(72% 0.012 280);
  --line: oklch(90% 0.008 280);
  --line-2: oklch(94% 0.006 280);
  --accent: oklch(57% 0.22 285);
  --accent-2: oklch(67% 0.18 285);
  --accent-soft: oklch(94% 0.04 285);
  --success: oklch(64% 0.15 155);
  --warn: oklch(72% 0.16 75);

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(20% 0.02 280 / 0.05);
  --shadow-md: 0 8px 24px -8px oklch(20% 0.05 280 / 0.12), 0 2px 6px oklch(20% 0.02 280 / 0.06);
  --shadow-lg: 0 24px 60px -20px oklch(30% 0.08 285 / 0.18), 0 8px 24px -12px oklch(20% 0.04 280 / 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }

/* Type utilities */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow.accent { color: var(--accent); }
.eyebrow.teal { color: var(--success); }
.mono { font-family: var(--font-mono); }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
.display {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
p { margin: 0; text-wrap: pretty; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); }
.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px -4px oklch(57% 0.22 285 / 0.35);
}
.btn-accent:hover { background: oklch(52% 0.22 285); box-shadow: 0 8px 18px -4px oklch(57% 0.22 285 / 0.45); }
.btn-ghost {
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: oklch(94% 0.01 280); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover { background: var(--bg-tint); border-color: var(--ink-4); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }

/* Cards */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* Status pill */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px oklch(64% 0.15 155 / 0.18);
}
.pill.accent { color: var(--accent); border-color: oklch(85% 0.06 285); background: oklch(98% 0.01 285); }
.pill.accent .dot { background: var(--accent); box-shadow: 0 0 0 3px oklch(57% 0.22 285 / 0.18); }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* Marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

/* Section spacing */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(98.5% 0.005 80 / 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { color: var(--ink); background: oklch(94% 0.01 280); }
.nav-link.active { color: var(--ink); background: oklch(94% 0.01 280); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; letter-spacing: -0.015em;
  font-size: 17px;
}
.brand img.brand-logo {
  height: 22px; width: auto;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 48px 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text {
  text-align: left;
}
.hero-text .display {
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.02;
  max-width: none;
}
.hero-text .lede {
  font-size: clamp(16px, 1.1vw, 18px);
  margin-top: 20px;
  max-width: 540px;
}
.hero-actions {
  display: flex; gap: 12px; margin-top: 24px;
  flex-wrap: wrap;
}
.hero-screenshot {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
}
.hero-screenshot::before {
  content: "";
  position: absolute; inset: -32px -32px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, oklch(57% 0.22 285 / 0.12), transparent 60%);
  filter: blur(20px);
}
.hero-screenshot .frame {
  position: relative; z-index: 1;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: white;
  aspect-ratio: 540 / 393;
}
.hero-screenshot .frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

/* Centered hero screenshot (Proxy / Forge product pages) */
.hero-image {
  margin-top: 56px;
  position: relative;
  max-width: 1080px;
  margin-left: auto; margin-right: auto;
}
.hero-image::before {
  content: "";
  position: absolute; inset: -32px -40px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, oklch(57% 0.22 285 / 0.10), transparent 60%);
  filter: blur(20px);
}
.hero-image .frame {
  position: relative; z-index: 1;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: white;
}
.hero-image .frame img {
  width: 100%; height: auto; display: block;
}

/* When .hero-image is in the right column of .hero-grid (Proxy / Forge) */
.hero-grid .hero-image {
  margin-top: 0;
  max-width: 580px;
  margin-left: auto;
  margin-right: 0;
}
.hero-grid .hero-image::before {
  inset: -32px -32px;
}

/* Proxy page: hero + stats fit together in the initial viewport */
body[data-page="proxy"] .hero-section {
  min-height: calc(100vh - 64px - 200px);
  display: flex;
  align-items: center;
  padding-bottom: 16px;
}
body[data-page="proxy"] .hero-section > .container { width: 100%; }

/* Forge page: hero fills viewport with next section peeking below */
body[data-page="forge"] .hero-section {
  min-height: calc(100vh - 64px - 200px);
  display: flex;
  align-items: center;
  padding-bottom: 16px;
}
body[data-page="forge"] .hero-section > .container { width: 100%; }

/* Logo bar (marquee) */
.logo-bar {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.logo-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 28px; height: 40px; color: var(--ink-3);
  white-space: nowrap; font-weight: 500; letter-spacing: -0.01em; font-size: 18px;
}
.logo-chip img { height: 28px; width: auto; opacity: 0.55; filter: grayscale(100%); transition: opacity 0.2s, filter 0.2s; }
.logo-chip:hover img { opacity: 0.9; filter: grayscale(0%); }
.logo-chip.text { font-size: 17px; color: var(--ink-3); }

/* Section headers */
.section-header {
  max-width: 720px;
}
.section-header.center {
  margin: 0 auto;
  text-align: center;
  max-width: 760px;
}
.section-header .eyebrow { display: block; margin-bottom: 14px; }
.section-header .lede { margin-top: 18px; }

/* Capability cards (cross-embodiment style) */
.capability-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.capability-card {
  padding: 0; overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.capability-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink-4); }
.capability-card .media {
  aspect-ratio: 16 / 10;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-tint);
  padding: 16px;
}
.capability-card .media img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
}
.capability-card .media .corner-pill {
  position: absolute; top: 14px; left: 14px;
}
.capability-card .body {
  padding: 22px;
}
.capability-card .body .row-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.capability-card .body .name {
  font-size: 17px; font-weight: 500; letter-spacing: -0.015em;
}
.capability-card .body .meta {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3);
  white-space: nowrap;
}
.capability-card .body .desc {
  color: var(--ink-3); font-size: 14px; margin-top: 6px; line-height: 1.55;
}

/* Stats grid (Proxy product page) */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.stat-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.stat-tile .v {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.stat-tile .l {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 10px;
}

/* Feature grid (Proxy / Forge inner pages) */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-4);
}
.feature-tile .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature-tile .icon svg { width: 20px; height: 20px; }
.feature-tile h3 {
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.3;
  margin: 0 0 10px;
}
.feature-tile p {
  font-size: 14px; color: var(--ink-3);
  line-height: 1.55;
}

/* How-it-works cards */
.how-section { background: var(--bg-tint); }
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 56px;
}
.how-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.how-card .day { margin-bottom: 14px; }
.how-card h3 { margin-bottom: 0; }
.how-card p { color: var(--ink-2); margin-top: 12px; font-size: 15px; }
.how-card ul {
  list-style: none; padding: 0;
  margin: 20px 0 0; border-top: 1px solid var(--line-2); padding-top: 16px;
}
.how-card ul li {
  display: flex; gap: 10px;
  padding: 6px 0; font-size: 13.5px; color: var(--ink-2);
}
.how-card ul li::before {
  content: "-"; color: var(--accent); font-family: var(--font-mono);
}

/* Quotes */
.quote-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.quote-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote-card .qmark {
  font-family: var(--font-mono); font-size: 32px; color: var(--accent);
  line-height: 1; margin-bottom: 12px;
}
.quote-card blockquote {
  font-size: 16px; line-height: 1.45; letter-spacing: -0.005em;
  flex: 1; margin: 0; font-style: normal; font-weight: 500;
}
.quote-card .source {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 12px;
}
.quote-card .glyph {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent);
  font-family: var(--font-mono);
}
.quote-card .who {
  font-size: 14px; font-weight: 500;
}
.quote-card .role {
  font-size: 12.5px; color: var(--ink-3);
}

/* Live-robot CTA banner (case-study style) */
.cta-banner-wrap { padding: 32px 0 96px; }
.cta-banner {
  background: var(--bg-dark);
  color: oklch(96% 0.003 280);
  border-radius: 24px;
  padding: 64px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.4; pointer-events: none;
  background: radial-gradient(ellipse at 90% 0%, oklch(57% 0.22 285 / 0.55), transparent 50%);
}
.cta-banner > * { position: relative; }
.cta-banner .eyebrow { color: oklch(75% 0.05 285); margin-bottom: 20px; }
.cta-banner h2 { color: white; }
.cta-banner .lede { color: oklch(78% 0.012 280); margin-top: 24px; }
.cta-banner .stats {
  display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap;
}
.cta-banner .stats .stat .v {
  font-size: 32px; font-weight: 500; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cta-banner .stats .stat .l {
  font-family: var(--font-mono); font-size: 11px;
  color: oklch(70% 0.012 280); text-transform: uppercase;
  letter-spacing: 0.08em; margin-top: 4px;
}
.cta-banner .checklist {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 12px;
}
.cta-banner .checklist li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: oklch(82% 0.012 280);
  line-height: 1.5;
}
.cta-banner .checklist li svg {
  width: 18px; height: 18px;
  color: var(--accent-2);
  flex-shrink: 0;
  margin-top: 2px;
}
.cta-banner .actions {
  display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap;
}
.cta-banner .actions .btn-outline {
  border-color: oklch(35% 0.02 280); color: oklch(96% 0.003 280);
}
.cta-banner .actions .btn-outline:hover {
  border-color: oklch(60% 0.04 280); background: oklch(20% 0.02 280);
}
.cta-banner .visual {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid oklch(30% 0.02 280);
  background: oklch(18% 0.01 280);
}
.cta-banner .visual img {
  width: 100%; height: auto; display: block;
}
.cta-banner .visual .badge {
  position: absolute; bottom: 12px; left: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: oklch(14% 0.01 280 / 0.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: white; font-family: var(--font-mono); font-size: 11px;
  display: flex; align-items: center; gap: 6px;
}
.cta-banner .visual .badge .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px oklch(57% 0.22 285 / 0.35);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  background: var(--bg);
}
.site-footer .grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
}
.site-footer .col-brand p {
  margin-top: 16px; color: var(--ink-3); font-size: 14px; max-width: 280px;
}
.site-footer .col-brand .pill { margin-top: 20px; }
.site-footer .eyebrow { margin-bottom: 14px; display: block; }
.site-footer ul {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 10px;
}
.site-footer a {
  font-size: 14px; color: var(--ink-2); transition: color 0.15s;
}
.site-footer a:hover { color: var(--ink); }
.site-footer .bottom-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  flex-wrap: wrap; gap: 16px;
}
.site-footer .bottom-row .links { display: flex; gap: 16px; }

/* ── DEMO MODAL ── */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-overlay {
  position: absolute; inset: 0;
  background: oklch(14% 0.01 280 / 0.55);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  width: 100%; max-width: 540px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.18s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: var(--ink-3);
  cursor: pointer; border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: oklch(94% 0.01 280); color: var(--ink); }
.modal-close svg { width: 18px; height: 18px; }

.demo-form .eyebrow { display: block; margin-bottom: 12px; }
.demo-form h3 {
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 8px;
}
.demo-form .form-sub {
  font-size: 14.5px; color: var(--ink-3);
  margin-bottom: 24px;
}
.form-group {
  display: grid; gap: 6px; margin-bottom: 14px;
}
.form-group label {
  font-size: 13px; color: var(--ink-2); font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  font: inherit; font-size: 14px;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: var(--font-sans);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(57% 0.22 285 / 0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--ink-4);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238e8e9e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  background: var(--accent); color: white;
  box-shadow: 0 4px 12px -4px oklch(57% 0.22 285 / 0.35);
  border: none; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  font-family: var(--font-sans);
}
.form-submit:hover { transform: translateY(-1px); background: oklch(52% 0.22 285); box-shadow: 0 8px 18px -4px oklch(57% 0.22 285 / 0.45); }
.form-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-fineprint {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 12px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.form-success svg {
  width: 48px; height: 48px; color: var(--accent);
  margin: 0 auto 16px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-3); font-size: 14.5px; }

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { text-align: center; }
  .hero-text .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-screenshot { margin: 0 auto; }
  .capability-grid,
  .how-grid,
  .quote-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { grid-template-columns: 1fr; gap: 32px; padding: 48px 32px; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .nav-links { display: none; }
  .hero-screenshot { margin-top: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .capability-grid,
  .how-grid,
  .quote-grid,
  .feature-grid,
  .feature-grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 36px 24px; }
  .cta-banner .stats { gap: 20px; }
  .cta-banner .stats .stat .v { font-size: 26px; }
  .site-footer .grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer .bottom-row { flex-direction: column; align-items: flex-start; }
  .modal-dialog { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
