/* ============================================================
   Lumivexa — fintech editorial · v4
   ============================================================ */

:root {
  /* Warm cream palette */
  --bg: #F0ECDD;
  --bg-deep: #E8E2CC;
  --surface: #FBFAF5;
  --surface-elev: #FFFFFF;

  --ink: #0F0E0A;
  --ink-2: #4D4A41;
  --ink-3: #8A867A;
  --ink-4: #B6B1A1;
  --ink-on-dark: #F0ECDD;

  --hairline: #D6D0BD;
  --hairline-soft: #E2DCC9;

  --moss: #1F4D3F;
  --moss-deep: #133227;
  --moss-soft: #D7E2DC;
  --moss-ink: #C6E0D3;

  --coral: #DC4A20;
  --coral-deep: #B53A18;
  --coral-soft: #F5D7CB;

  --ochre: #E8B547;
  --ochre-soft: #F5E2A6;

  --dark: #0E0D08;
  --dark-2: #1A1812;
  --dark-3: #28251C;
  --dark-hairline: #2E2A20;

  /* Type */
  --font-display: "Bricolage Grotesque", "Onest", -apple-system, system-ui, sans-serif;
  --font-sans: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Sizing */
  --container: 1180px;
  --container-narrow: 760px;

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain overlay — gives the cream a real paper feel */
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='2' stitchTiles='stitch' seed='4'/><feColorMatrix values='0 0 0 0 0.06   0 0 0 0 0.06   0 0 0 0 0.04   0 0 0 0.085 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

a { color: inherit; text-decoration: none; transition: color 140ms var(--ease); }
::selection { background: var(--ink); color: var(--bg); }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
img, svg { display: block; max-width: 100%; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }

@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
}

/* ---------- Type primitives ---------- */

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "ss01";
}

.tabular { font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 28px;
}

.eyebrow-accent { color: var(--coral); }

.eyebrow .star {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--coral);
  margin-right: 8px;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  vertical-align: 1px;
}

h1, h2, h3, h4, h5, h6 { margin: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6.5vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variation-settings: "wdth" 100, "opsz" 96;
}

.display-md {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw + 0.5rem, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 100, "opsz" 48;
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.5vw + 0.8rem, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.lede {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 50ch;
  letter-spacing: -0.005em;
  margin: 24px 0 0;
}

.muted { color: var(--ink-3); }

.coral-ink { color: var(--coral); }
.moss-ink { color: var(--moss); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 236, 221, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}

.nav.scrolled {
  background: rgba(240, 236, 221, 0.92);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-variation-settings: "wdth" 90;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 16px; height: 16px;
  background: var(--ink);
  border-radius: 4px;
  position: relative;
  display: inline-block;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto 3px 3px auto;
  width: 5px; height: 5px;
  background: var(--coral);
  border-radius: 1.5px;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 450;
  letter-spacing: -0.005em;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-inner { height: 56px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 80ms var(--ease);
  white-space: nowrap;
  position: relative;
}

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #000; color: var(--bg); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); color: #fff; transform: translateY(-1px); }

.btn-moss { background: var(--moss); color: #fff; }
.btn-moss:hover { background: var(--moss-deep); color: #fff; transform: translateY(-1px); }

.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: rgba(15, 14, 10, 0.04); }

.btn-lg { height: 46px; padding: 0 22px; font-size: 14.5px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }

.btn .arr { transition: transform 200ms var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- HERO — massive type + grain + geometry ---------- */

.hero {
  position: relative;
  padding: 72px 0 32px;
  overflow: hidden;
  isolation: isolate;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
}

.hero-art-col {
  position: relative;
  padding-left: 8px;
}

@media (max-width: 980px) {
  .hero-art-col { padding-left: 0; }
}

.hero::before {
  content: "";
  position: absolute;
  right: -180px; top: -180px;
  width: 680px; height: 680px;
  background: radial-gradient(circle at center, var(--moss-soft) 0%, rgba(214, 226, 220, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: drift 22s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  left: -120px; bottom: -240px;
  width: 480px; height: 480px;
  background: radial-gradient(circle at center, var(--coral-soft) 0%, rgba(245, 215, 203, 0) 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: drift 28s ease-in-out -8s infinite reverse;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 30px) scale(1.04); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  box-shadow: 0 1px 0 rgba(15, 14, 10, 0.02);
}

.hero-eyebrow .pulse {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--moss);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-eyebrow .pulse::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--moss);
  animation: pulse 2.4s ease-out infinite;
}
.hero-eyebrow .pulse::after {
  content: "";
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 999px;
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 32px;
}

.hero h1 .accent-coral { color: var(--coral); font-style: normal; }
.hero h1 .accent-moss { color: var(--moss); font-style: normal; }
.hero h1 em {
  font-style: normal;
  display: inline-block;
  position: relative;
  font-variation-settings: "wdth" 75;
}

.hero .lede { margin-bottom: 36px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-cli {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 6px 8px 14px;
  color: var(--ink-2);
}

.hero-cli .prompt { color: var(--coral); font-weight: 500; }
.hero-cli .copy-btn {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 140ms var(--ease);
}
.hero-cli .copy-btn:hover { background: var(--coral); color: #fff; }

/* Hero artwork — floating window with depth stack behind */

.hero-stage-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 0 0 auto;
  perspective: 1400px;
}

@media (max-width: 980px) {
  .hero-stage-frame { margin: 0 auto; }
}

.hero-stage-frame .badge-float {
  position: absolute;
  z-index: 3;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(220, 74, 32, 0.5);
  animation: floaty 5.5s ease-in-out infinite;
  white-space: nowrap;
}

.hero-stage-frame .badge-1 { top: -16px; left: -22px; --rot: -6deg; transform: rotate(-6deg); }
.hero-stage-frame .badge-2 {
  top: 38%; right: -28px;
  background: var(--ink);
  animation-delay: -2s;
  --rot: 4deg;
  transform: rotate(4deg);
}
.hero-stage-frame .badge-3 {
  bottom: 8%; left: -32px;
  background: var(--moss);
  animation-delay: -3.5s;
  --rot: -3deg;
  transform: rotate(-3deg);
}

@keyframes floaty {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50% { transform: rotate(var(--rot, 0deg)) translateY(-8px); }
}

.window {
  background: var(--surface-elev);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(15, 14, 10, 0.02),
    0 24px 56px -28px rgba(15, 14, 10, 0.28),
    0 6px 16px -6px rgba(15, 14, 10, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-stage-frame .window {
  animation: hover-window 9s ease-in-out infinite;
}

@keyframes hover-window {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* shadow stack behind hero window */
.hero-stage-frame::before,
.hero-stage-frame::after {
  content: "";
  position: absolute;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  pointer-events: none;
  background: var(--surface-elev);
  z-index: 1;
}
.hero-stage-frame::before {
  inset: 14px 22px -14px 22px;
  opacity: 0.65;
}
.hero-stage-frame::after {
  inset: 28px 44px -28px 44px;
  opacity: 0.35;
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, #FCFBF6 0%, var(--surface-elev) 100%);
}

.window-dots { display: flex; gap: 6px; }
.window-dots span {
  width: 11px; height: 11px;
  border-radius: 999px;
  background: var(--hairline);
}
.window-dots span:nth-child(1) { background: #E8B58F; }
.window-dots span:nth-child(2) { background: #E4D095; }
.window-dots span:nth-child(3) { background: #A6CDA6; }

.window-url {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-url .lock {
  width: 9px; height: 9px;
  border: 1.4px solid var(--ink-3);
  border-radius: 1.5px;
  position: relative;
  flex-shrink: 0;
}
.window-url .lock::before {
  content: "";
  position: absolute;
  left: 50%; top: -3.5px;
  width: 5px; height: 4px;
  border: 1.4px solid var(--ink-3);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.window-url .host { color: var(--ink-2); font-weight: 500; }

.window-body { padding: 24px 26px 26px; }

/* Checkout content */

.co-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
}

@media (max-width: 720px) {
  .co-grid { grid-template-columns: 1fr; gap: 24px; }
}

.co-left .co-merchant {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.co-merchant-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--moss) 0%, #2E6E58 100%);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.co-merchant-name { font-size: 14px; font-weight: 500; color: var(--ink); }

.co-product-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.co-product {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 4px;
  font-variation-settings: "wdth" 95;
}

.co-product-sub {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 22px;
}

.co-meta-row {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--hairline);
}

.co-meta-row .v {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: none;
  margin-top: 4px;
}

.co-right {
  border-left: 1px solid var(--hairline-soft);
  padding-left: 32px;
}

@media (max-width: 720px) {
  .co-right { border-left: none; padding-left: 0; padding-top: 24px; border-top: 1px solid var(--hairline-soft); }
}

.co-field {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

.co-field .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  width: 48px;
  flex-shrink: 0;
  font-weight: 500;
}

.co-field .val { color: var(--ink); font-size: 13.5px; flex: 1; }
.co-field .val .muted { color: var(--ink-3); }

.co-field .card-brand {
  width: 30px; height: 20px;
  border-radius: 3px;
  background: linear-gradient(135deg, #1A3F8A 0%, #2C5BCC 60%, #4A7BE0 100%);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.co-field .card-brand::after {
  content: "";
  position: absolute;
  bottom: 3px; right: 3px;
  width: 9px; height: 5px;
  background: rgba(255,255,255,0.55);
  border-radius: 1px;
}

.co-summary {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
}

.co-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  padding: 4px 0;
}

.co-summary-row.total {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  border-top: 1px solid var(--hairline-soft);
  margin-top: 6px;
  padding-top: 10px;
}

.co-summary-row .v { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 12.5px; }
.co-summary-row.total .v { font-size: 15px; font-family: var(--font-display); }

.co-trial {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--moss);
  background: var(--moss-soft);
  padding: 7px 11px;
  border-radius: 6px;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.co-trial::before {
  content: "✓";
  font-weight: 700;
}

.co-cta {
  margin-top: 14px;
  width: 100%;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  height: 44px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.co-cta::after {
  content: "→";
}

.co-foot {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Stats strip ---------- */

.stats {
  background: var(--ink);
  color: var(--ink-on-dark);
  padding: 52px 0;
  margin-top: -48px;
  position: relative;
  z-index: 5;
  border-radius: 24px 24px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: end;
}

@media (max-width: 820px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: -16px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(240, 236, 221, 0.12);
}

@media (max-width: 820px) {
  .stat + .stat::before { display: none; }
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.04em;
  color: var(--bg);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 90;
}

.stat-num .unit { color: var(--coral); font-weight: 500; }

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 236, 221, 0.6);
}

.stat-delta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--moss-ink);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* ---------- Bento grid (product showcase) ---------- */

.bento-section {
  padding: 112px 0;
  position: relative;
}

.bento-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
  align-items: end;
}

@media (max-width: 820px) {
  .bento-head { grid-template-columns: 1fr; gap: 24px; }
}

.bento-head p {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0;
  max-width: 36ch;
  line-height: 1.5;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
}

.bento-cell {
  background: var(--surface-elev);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
  display: flex;
  flex-direction: column;
}

.bento-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 14, 10, 0.18);
  border-color: var(--ink-4);
}

.bento-cell .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.bento-cell .meta {
  padding: 22px 24px;
}

.bento-cell .meta h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 8px 0 6px;
  line-height: 1.15;
  font-variation-settings: "wdth" 96;
}

.bento-cell .meta p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

/* Bento variants */

.bento-cell.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bento-cell.dark .tag { color: rgba(240, 236, 221, 0.55); }
.bento-cell.dark .meta h3 { color: var(--bg); }
.bento-cell.dark .meta p { color: rgba(240, 236, 221, 0.7); }

.bento-cell.coral { background: var(--coral); color: #fff; border-color: var(--coral); }
.bento-cell.coral .tag { color: rgba(255, 255, 255, 0.7); }
.bento-cell.coral .meta h3 { color: #fff; }
.bento-cell.coral .meta p { color: rgba(255, 255, 255, 0.88); }

.bento-cell.moss { background: var(--moss); color: var(--moss-ink); border-color: var(--moss); }
.bento-cell.moss .tag { color: rgba(214, 226, 220, 0.7); }
.bento-cell.moss .meta h3 { color: #fff; }
.bento-cell.moss .meta p { color: rgba(255,255,255, 0.85); }

.bento-cell.cream { background: var(--bg-deep); border-color: var(--hairline); }

/* Spans */

.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.row-2 { grid-row: span 2; }

@media (max-width: 900px) {
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 4; }
  .row-2 { grid-row: span 1; }
}

/* Bento card content variants */

.bento-art {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bento-cell.dark .bento-art { background: var(--dark-2); border-bottom-color: var(--dark-hairline); }
.bento-cell.coral .bento-art { background: rgba(0, 0, 0, 0.08); border-bottom-color: rgba(0,0,0,0.12); }
.bento-cell.moss .bento-art { background: var(--moss-deep); border-bottom-color: rgba(0,0,0,0.18); }

/* customer chip list */
.chip-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  max-width: 300px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  background: var(--surface-elev);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-size: 12.5px;
}

.chip-avatar {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C9D6CD, #9FB5A7);
  font-size: 9.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}
.chip-avatar.b2 { background: linear-gradient(135deg, #E5D4B0, #C8A951); }
.chip-avatar.b3 { background: linear-gradient(135deg, #E8C9C2, #B07268); }
.chip-avatar.b4 { background: linear-gradient(135deg, #D6CDB6, #B5B1A4); }
.chip-avatar.b5 { background: linear-gradient(135deg, #D8D2C2, #A8A294); }

.chip-name { flex: 1; font-weight: 500; color: var(--ink); }
.chip-mrr { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--moss); }
.chip-dot.warn { background: var(--ochre); }
.chip-dot.danger { background: var(--coral); }

/* Mini bar chart */

.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 100%;
  width: 100%;
  padding: 8px 0;
}
.bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px 3px 0 0;
}
.bar.tall { background: rgba(255, 255, 255, 0.85); }
.bar.lit { background: var(--coral); }

.bento-cell.cream .bar { background: var(--hairline); }
.bento-cell.cream .bar.tall { background: var(--moss); }
.bento-cell.cream .bar.lit { background: var(--coral); }

/* Big number in bento */

.big-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variation-settings: "wdth" 80;
  font-variant-numeric: tabular-nums;
}

.big-num .small {
  font-size: 0.4em;
  font-family: var(--font-mono);
  font-weight: 400;
  vertical-align: 0.9em;
  margin-left: 4px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.bento-cell.dark .big-num .small { color: rgba(240, 236, 221, 0.55); }

/* Mini code block in bento */

.bento-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--bg);
  padding: 0;
}

.bento-code .k { color: #92B8A6; }
.bento-code .s { color: #E8B547; }
.bento-code .c { color: rgba(240, 236, 221, 0.4); }
.bento-code .fn { color: #DC9F5E; }

/* Currency rotor (animated) */

.rotor {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
  position: relative;
  height: 1em;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.rotor-stack {
  display: flex;
  flex-direction: column;
  animation: rotor 14s steps(7) infinite;
}

.rotor-stack span { display: block; height: 1em; }

@keyframes rotor {
  0%, 14% { transform: translateY(0); }
  14.2%, 28% { transform: translateY(-1em); }
  28.2%, 42% { transform: translateY(-2em); }
  42.2%, 56% { transform: translateY(-3em); }
  56.2%, 70% { transform: translateY(-4em); }
  70.2%, 84% { transform: translateY(-5em); }
  84.2%, 100% { transform: translateY(-6em); }
}

/* Globe / methods spread */
.methods-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-width: 320px;
}
.method {
  background: var(--surface-elev);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 4px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

.bento-cell.dark .method { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: rgba(240,236,221, 0.8); }

/* Quote */

.bento-quote { padding: 28px 28px; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.bento-quote blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-variation-settings: "wdth" 95;
}

.bento-cell.coral .bento-quote blockquote { color: #fff; }

.bento-quote .who { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.bento-quote .who strong { color: inherit; font-weight: 600; display: block; font-family: var(--font-sans); font-size: 13px; text-transform: none; letter-spacing: -0.005em; margin-bottom: 2px; }

/* ---------- Marquee changelog ---------- */

.marquee {
  background: var(--bg-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 36px;
  animation: marquee 60s linear infinite;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.marquee-item .date { color: var(--ink-3); }
.marquee-item .tag { color: var(--coral); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 10.5px; padding: 2px 6px; border: 1px solid var(--coral); border-radius: 3px; }
.marquee-item .tag.moss { color: var(--moss); border-color: var(--moss); }
.marquee-item .star {
  width: 8px; height: 8px;
  background: var(--ink);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Dark API band ---------- */

.api-band {
  background: var(--dark);
  color: var(--ink-on-dark);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.api-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(31, 77, 63, 0.3), transparent 60%),
    radial-gradient(600px 400px at 90% 80%, rgba(220, 74, 32, 0.18), transparent 60%);
  pointer-events: none;
}

.api-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .api-grid { grid-template-columns: 1fr; gap: 40px; }
}

.api-band .eyebrow { color: rgba(240, 236, 221, 0.5); }
.api-band .eyebrow-accent { color: var(--coral); }
.api-band h2 { color: var(--bg); max-width: 16ch; margin-bottom: 24px; }
.api-band p { color: rgba(240, 236, 221, 0.66); max-width: 44ch; font-size: 16px; margin: 0 0 32px; line-height: 1.55; }

.api-band h2 .accent { color: var(--coral); }

.api-band .btn-primary { background: var(--bg); color: var(--ink); }
.api-band .btn-primary:hover { background: #fff; }
.api-band .btn-secondary { background: transparent; color: var(--bg); border-color: rgba(240, 236, 221, 0.25); }
.api-band .btn-secondary:hover { border-color: var(--bg); background: rgba(255,255,255,0.05); color: var(--bg); }

.code-card {
  background: #0A0907;
  border: 1px solid #1F1B12;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.65),
    0 0 0 1px rgba(220, 74, 32, 0.08);
}

.code-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid #1F1B12;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B6961;
  background: #0E0C09;
  letter-spacing: 0.02em;
}

.code-card .head .file { color: #C8A766; }
.code-card .head .lang { color: #92B8A6; }

.code-card pre {
  margin: 0;
  padding: 22px 22px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #E0DCD0;
  overflow-x: auto;
}

.code-card .k { color: #92B8A6; }
.code-card .s { color: #E8B547; }
.code-card .c { color: #6B6961; font-style: italic; }
.code-card .fn { color: #DC9F5E; }
.code-card .v { color: #E3DED1; }
.code-card .n { color: #B58FE0; }

/* Animated cursor */
.code-card .cursor {
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--coral);
  vertical-align: middle;
  margin-left: 1px;
  animation: blink 1.05s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- Pricing ---------- */

.pricing-section { padding: 96px 0; }

.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}

.pricing-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3vw + 0.5rem, 3.2rem);
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 96;
  max-width: 18ch;
}

.pricing-head .ps {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  max-width: 32ch;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-cell {
  background: var(--surface-elev);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-cell.feature {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-12px);
  box-shadow: 0 28px 60px -28px rgba(15, 14, 10, 0.4);
}

@media (max-width: 900px) {
  .pricing-cell.feature { transform: none; }
}

.pricing-cell .tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.pricing-cell.feature .tier { color: rgba(240, 236, 221, 0.65); }

.pricing-cell .pin {
  background: var(--coral);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.pricing-cell .price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 3rem;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--ink);
  font-variation-settings: "wdth" 88;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.pricing-cell.feature .price { color: var(--bg); }

.pricing-cell .price .mono {
  font-size: 1rem;
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.pricing-cell.feature .price .mono { color: rgba(240, 236, 221, 0.6); }

.pricing-cell .unit {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.pricing-cell.feature .unit { color: rgba(240, 236, 221, 0.55); }

.pricing-cell .desc {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0 0 20px;
  line-height: 1.55;
  max-width: 32ch;
}

.pricing-cell.feature .desc { color: rgba(240, 236, 221, 0.72); }

.pricing-cell ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--hairline-soft);
  flex: 1;
}

.pricing-cell.feature ul { border-top-color: rgba(240, 236, 221, 0.12); }

.pricing-cell li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.pricing-cell.feature li { color: rgba(240, 236, 221, 0.85); }

.pricing-cell li::before {
  content: "→";
  font-family: var(--font-mono);
  color: var(--ink-4);
  font-size: 12px;
}

.pricing-cell.feature li::before { color: var(--coral); }

.pricing-cell .btn { width: 100%; }

.pricing-cell.feature .btn-primary { background: var(--coral); color: #fff; }
.pricing-cell.feature .btn-primary:hover { background: var(--coral-deep); }

/* ---------- FAQ ---------- */

.faq-section {
  padding: 96px 0;
  background: var(--bg);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3vw + 0.5rem, 3.2rem);
  letter-spacing: -0.04em;
  margin-bottom: 36px;
  max-width: 18ch;
  font-variation-settings: "wdth" 96;
}

.faq-list { border-top: 1px solid var(--hairline); }

.faq-list details {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 96;
  gap: 18px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ink-3);
  font-weight: 300;
  transition: transform 220ms var(--ease);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list .a {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 68ch;
}

/* ---------- Final CTA ---------- */

.final {
  padding: 120px 0 140px;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 50% 100%, rgba(220, 74, 32, 0.3), transparent 70%),
    radial-gradient(900px 500px at 50% 0%, rgba(31, 77, 63, 0.35), transparent 70%);
  pointer-events: none;
}

.final .wrap { position: relative; text-align: center; }

.final h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--bg);
  max-width: 16ch;
  margin: 0 auto 24px;
  font-variation-settings: "wdth" 92;
}

.final h2 .accent { color: var(--coral); }

.final p {
  color: rgba(240, 236, 221, 0.7);
  margin: 0 auto 36px;
  font-size: 16px;
  max-width: 50ch;
  line-height: 1.55;
}

.final-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.final .btn-primary { background: var(--coral); color: #fff; }
.final .btn-primary:hover { background: var(--coral-deep); color: #fff; }
.final .btn-secondary { background: transparent; color: var(--bg); border-color: rgba(240, 236, 221, 0.3); }
.final .btn-secondary:hover { border-color: var(--bg); background: rgba(255,255,255, 0.04); color: var(--bg); }

/* ---------- Footer ---------- */

footer {
  background: var(--bg);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 32px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 56px;
}

@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; } }

.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--ink-2); font-size: 14px; margin: 0; max-width: 34ch; line-height: 1.55; }

.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 16px;
}

.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin: 0 0 9px; }
.foot-col a { font-size: 14px; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); }

.foot-base {
  border-top: 1px solid var(--hairline-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.foot-base a { color: var(--ink-3); }
.foot-base a:hover { color: var(--ink); }
.foot-base .left { max-width: 70ch; }

.foot-base .status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--moss);
  margin-right: 5px;
  vertical-align: 0;
  box-shadow: 0 0 0 3px rgba(31, 77, 63, 0.12);
}

/* ---------- Legal pages ---------- */

.legal-page { padding: 64px 0 96px; max-width: var(--container-narrow); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 2vw + 1.4rem, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  font-variation-settings: "wdth" 95;
}

.legal-page .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  margin-bottom: 44px;
  letter-spacing: 0.02em;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 44px 0 14px;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 95;
}

.legal-page h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  margin: 24px 0 8px;
  letter-spacing: -0.012em;
}

.legal-page p { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; line-height: 1.7; }
.legal-page ul, .legal-page ol { color: var(--ink-2); font-size: 15px; padding-left: 22px; line-height: 1.7; }
.legal-page li { margin-bottom: 5px; }
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-page a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.legal-page a:hover { color: var(--coral-deep); }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  margin-top: 40px;
}

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-card {
  padding: 20px 0;
  border-top: 1px solid var(--hairline-soft);
}

.contact-card:last-child { border-bottom: 1px solid var(--hairline-soft); }

.contact-card h3 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 6px;
}

.contact-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.contact-card a { color: var(--ink); }
.contact-card a:hover { color: var(--coral); }

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 7px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.form-row textarea { min-height: 130px; resize: vertical; }

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px var(--moss-soft);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
