/* ============================================================
   SPRINKLE · shared product-page styles
   Same design language as / (home). Light only. Monochrome with
   sprinkle accents. Geist + Geist Mono.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-muted: #f7f7f8;
  --bg-tint: #fafafa;
  --surface: #ffffff;
  --border: #ebebeb;
  --border-strong: #d8d8d8;
  --text: #0a0a0a;
  --text-2: #5f5f64;
  --text-3: #6e6e73;
  --accent: oklch(0.55 0.22 264);
  --accent-soft: oklch(0.96 0.04 264);

  --s-red: #ff4d4d;
  --s-amber: #ffb547;
  --s-green: #1fc16b;
  --s-blue: #3b82f6;
  --s-violet: #a855f7;
  --s-pink: #ec4899;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-1: 0 1px 0 rgba(10,10,10,0.04), 0 1px 2px rgba(10,10,10,0.04);
  --shadow-2: 0 4px 16px -8px rgba(10,10,10,0.10), 0 1px 0 rgba(10,10,10,0.04);

  --container: 1200px;
  --pad: 28px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--text); color: var(--bg); }
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 96px 0; border-top: 1px solid var(--border); position: relative; }
.section.flush { border-top: 0; }
h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 1.05; margin: 0; font-weight: 600; }
h2 { font-size: clamp(36px, 4.6vw, 60px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 500; }
p { margin: 0; }

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: #1a1a1a; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--bg-muted); }
.btn--link { padding: 0; height: auto; background: transparent; color: var(--text); }
.btn--link::after { content: " →"; transition: transform .2s var(--ease); display: inline-block; }
.btn--link:hover::after { transform: translateX(3px); }
.btn--sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn--invert { background: #fff; color: var(--text); }
.btn--invert-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.2); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--text-1);
  text-decoration: none;
}
.brand-mark { width: 16px; height: 16px; position: relative; display: inline-block; flex: none; }
.brand-mark span { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #0a0a0a; }
.brand-mark .d1 { left: 50%; top: 0; transform: translateX(-50%); }
.brand-mark .d2 { left: 0; top: 50%; transform: translateY(-50%); }
.brand-mark .d3 { right: 0; top: 50%; transform: translateY(-50%); }
.brand-mark .d4 { left: 50%; bottom: 0; transform: translateX(-50%); }
.brand-wordmark {
  display: inline-flex; align-items: center;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  line-height: 1;
  color: inherit;
}

.nav-links {
  display: flex; gap: 4px; align-items: center;
  margin: 0; padding: 0; list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s var(--ease), background .15s var(--ease);
  cursor: pointer;
}
.nav-links > li > a:hover { color: var(--text); background: var(--bg-muted); }
.nav-links .caret { width: 10px; height: 10px; opacity: .5; }

/* Dropdown for Product nav */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: -16px;
  width: 580px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(10,10,10,0.20), var(--shadow-1);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s var(--ease), transform .15s var(--ease);
  z-index: 70;
}
.nav-links > li:hover > .nav-dropdown,
.nav-links > li:focus-within > .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dropdown .item {
  display: flex; gap: 12px;
  padding: 12px;
  border-radius: 10px;
  transition: background .15s var(--ease);
  color: inherit;
}
.nav-dropdown .item:hover { background: var(--bg-tint); }
.nav-dropdown .icn {
  flex: 0 0 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
}
.nav-dropdown .icn.violet { background: oklch(0.97 0.04 290); color: var(--s-violet); border-color: oklch(0.93 0.06 290); }
.nav-dropdown .icn.blue { background: oklch(0.97 0.04 250); color: var(--s-blue); border-color: oklch(0.93 0.06 250); }
.nav-dropdown .icn.green { background: oklch(0.97 0.04 145); color: var(--s-green); border-color: oklch(0.93 0.06 145); }
.nav-dropdown .icn.amber { background: oklch(0.97 0.05 80); color: oklch(0.55 0.15 60); border-color: oklch(0.93 0.07 80); }
.nav-dropdown .icn.pink { background: oklch(0.97 0.04 350); color: var(--s-pink); border-color: oklch(0.93 0.06 350); }
.nav-dropdown .icn.red { background: oklch(0.97 0.04 25); color: var(--s-red); border-color: oklch(0.93 0.06 25); }
.nav-dropdown .icn.gray { background: var(--bg-muted); color: var(--text-2); }
.nav-dropdown .ttl {
  font-size: 14px; font-weight: 500; color: var(--text);
  margin-bottom: 2px;
}
.nav-dropdown .desc { font-size: 12.5px; color: var(--text-3); line-height: 1.4; }

/* Compact dropdown variant — used for Resources (Blogs / Data Security / Docs) */
.nav-dropdown.compact { width: 240px; padding: 8px; }
.nav-dropdown.compact .nav-dropdown-grid {
  grid-template-columns: 1fr;
  gap: 2px;
}
.nav-dropdown.compact .item {
  padding: 10px 12px;
  gap: 10px;
  align-items: center;
}
.nav-dropdown.compact .icn { flex: 0 0 24px; height: 24px; font-size: 10.5px; border-radius: 6px; }
.nav-dropdown.compact .ttl { font-size: 13.5px; margin-bottom: 0; }
.nav-dropdown.compact .desc { display: none; }

/* Nested submenu inside a compact dropdown item */
.nav-dropdown .item.has-sub {
  position: relative;
  cursor: pointer;
  /* Override .item hover defaults so the parent stays selectable */
}
.nav-dropdown .item.has-sub .sub-caret {
  margin-left: auto;
  width: 10px; height: 10px;
  color: var(--text-3);
  flex: none;
}
.nav-dropdown .item.has-sub:hover .sub-caret,
.nav-dropdown .item.has-sub:focus-within .sub-caret {
  color: var(--text);
}
.nav-dropdown .sub-menu {
  position: absolute;
  top: -8px;
  left: calc(100% + 6px);
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 60px -24px rgba(10,10,10,0.20), var(--shadow-1);
  display: grid; gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-4px);
  transition: opacity .15s var(--ease), transform .15s var(--ease);
  z-index: 80;
}
.nav-dropdown .item.has-sub:hover .sub-menu,
.nav-dropdown .item.has-sub:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.nav-dropdown .sub-menu .sub-item {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text);
  transition: background .15s var(--ease);
}
.nav-dropdown .sub-menu .sub-item:hover { background: var(--bg-tint); }

/* Mobile menu sub-list (flat under a labeled subhead) */
.nav-mobile .m-sub-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 14px 0 4px;
  padding: 0 4px;
}
.nav-mobile .m-links .m-sub { padding-left: 18px; color: var(--text-2); }

.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-actions .login { font-size: 14px; color: var(--text-2); padding: 8px 10px; }
.nav-actions .login:hover { color: var(--text); }

/* Mobile menu */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  z-index: 55;
  padding: 24px 0 48px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile .m-section-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.nav-mobile .m-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.nav-mobile .m-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  min-height: 48px;
}
.nav-mobile .m-item .icn {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.nav-mobile .m-item .icn.violet { background: oklch(0.97 0.04 290); color: var(--s-violet); }
.nav-mobile .m-item .icn.blue { background: oklch(0.97 0.04 250); color: var(--s-blue); }
.nav-mobile .m-item .icn.green { background: oklch(0.97 0.04 145); color: var(--s-green); }
.nav-mobile .m-item .icn.amber { background: oklch(0.97 0.05 80); color: oklch(0.55 0.15 60); }
.nav-mobile .m-item .icn.pink { background: oklch(0.97 0.04 350); color: var(--s-pink); }
.nav-mobile .m-item .icn.red { background: oklch(0.97 0.04 25); color: var(--s-red); }
.nav-mobile .m-item .icn.gray { background: var(--bg-muted); color: var(--text-2); }
.nav-mobile .m-links {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.nav-mobile .m-links a {
  padding: 14px 0;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  min-height: 48px;
  display: flex; align-items: center;
}
.nav-mobile .m-links a:last-child { border-bottom: 0; font-weight: 500; }

/* ============ HERO (product pages) ============ */
.product-hero {
  padding: 80px 0 64px;
}
.product-hero .product-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--text-2);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 28px;
}
.product-eyebrow .sw {
  width: 8px; height: 8px; border-radius: 50%;
}
.product-hero h1 {
  font-size: clamp(46px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-bottom: 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.product-hero h1 .accent { color: var(--text); position: relative; display: inline-block; }
.product-hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 6px; height: 12px;
  border-radius: 999px;
  z-index: -1;
  opacity: .18;
}
.product-hero h1 .accent.violet::after { background: var(--s-violet); }
.product-hero h1 .accent.blue::after { background: var(--s-blue); }
.product-hero h1 .accent.green::after { background: var(--s-green); }
.product-hero h1 .accent.amber::after { background: var(--s-amber); }
.product-hero h1 .accent.pink::after { background: var(--s-pink); }
.product-hero h1 .accent.red::after { background: var(--s-red); }
.product-hero h1 .accent.gray::after { background: var(--text-2); }
.product-hero h1 .quiet { color: var(--text-3); font-weight: 500; }
.product-hero .sub {
  font-size: 19px; color: var(--text-2); max-width: 56ch;
  line-height: 1.45; margin-bottom: 32px;
  text-wrap: pretty;
}
.product-hero .ctas { display: flex; gap: 12px; align-items: center; }

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  padding: 18px;
  overflow: hidden;
}
.product-visual::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
}
.product-visual.tint-violet::before {
  background:
    radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 290) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 320) 0%, transparent 60%);
  opacity: .55;
}
.product-visual.tint-blue::before {
  background:
    radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 250) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 220) 0%, transparent 60%);
  opacity: .55;
}
.product-visual.tint-green::before {
  background:
    radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 145) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 170) 0%, transparent 60%);
  opacity: .55;
}
.product-visual.tint-amber::before {
  background:
    radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 80) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 60) 0%, transparent 60%);
  opacity: .55;
}
.product-visual.tint-pink::before {
  background:
    radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 350) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 20) 0%, transparent 60%);
  opacity: .55;
}
.product-visual.tint-red::before {
  background:
    radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 25) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 60) 0%, transparent 60%);
  opacity: .55;
}

.mock-frame {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tint);
}
.mock-bar .lights { display: flex; gap: 5px; }
.mock-bar .lights i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #e6e6e8; display: inline-block;
}
.mock-bar .url {
  margin-left: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ Feature sections ============ */
.feature-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
  margin-bottom: 48px;
}
.feature-head h2 { text-wrap: balance; max-width: 16ch; }
.feature-head p { color: var(--text-2); font-size: 18px; max-width: 44ch; }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.tile .label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; z-index: 2;
}
.tile .label .num { color: var(--text); font-weight: 500; }
.tile h3 { position: relative; z-index: 2; }
.tile p {
  color: var(--text-2); font-size: 14px; margin-top: 6px;
  max-width: 32ch; position: relative; z-index: 2;
}

/* Side-by-side big feature blocks */
.bigfeature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.bigfeature.flip { direction: rtl; }
.bigfeature.flip > * { direction: ltr; }
.bigfeature h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 16px; }
.bigfeature p { color: var(--text-2); font-size: 17px; max-width: 50ch; }
.bigfeature ul {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 10px;
}
.bigfeature ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text);
}
.bigfeature ul li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.bigfeature .vis {
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  padding: 18px;
  overflow: hidden;
  position: relative;
}

/* ============ STATS strip ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-cell {
  padding: 28px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .v {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.stat-cell .v .suffix { color: var(--text-3); font-weight: 500; }
.stat-cell .k { font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--text-3); }

/* ============ Related product strip ============ */
.related {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-tint);
}
.related h2 { font-size: 32px; margin-bottom: 32px; max-width: 24ch; }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.related a.card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.related a.card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.related a.card .icn {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 18px;
}
.related a.card .icn.violet { background: oklch(0.97 0.04 290); color: var(--s-violet); border-color: oklch(0.93 0.06 290); }
.related a.card .icn.blue { background: oklch(0.97 0.04 250); color: var(--s-blue); border-color: oklch(0.93 0.06 250); }
.related a.card .icn.green { background: oklch(0.97 0.04 145); color: var(--s-green); border-color: oklch(0.93 0.06 145); }
.related a.card .icn.amber { background: oklch(0.97 0.05 80); color: oklch(0.55 0.15 60); border-color: oklch(0.93 0.07 80); }
.related a.card .icn.pink { background: oklch(0.97 0.04 350); color: var(--s-pink); border-color: oklch(0.93 0.06 350); }
.related a.card .icn.red { background: oklch(0.97 0.04 25); color: var(--s-red); border-color: oklch(0.93 0.06 25); }
.related a.card .ttl { font-weight: 500; margin-bottom: 4px; }
.related a.card .desc { color: var(--text-2); font-size: 13.5px; }

/* ============ CTA ============ */
.cta {
  background: var(--text);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 70% 20%, oklch(0.30 0.18 264 / 0.5) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 100%, oklch(0.30 0.18 320 / 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.cta .container { position: relative; z-index: 1; text-align: center; }
.cta h2 {
  font-size: clamp(40px, 4.6vw, 64px);
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}
.cta p { color: rgba(255,255,255,0.7); font-size: 17px; margin: 16px auto 28px; max-width: 50ch; }
.cta .actions { display: inline-flex; gap: 12px; }
.btn--invert:hover { background: #f0f0f0; }
.btn--invert-ghost:hover { background: rgba(255,255,255,0.08); }

/* ============ FOOTER ============ */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px;
}
.foot-grid h5 {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .04em;
  margin: 0 0 16px; font-weight: 500;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid ul a { font-size: 14px; color: var(--text-2); display: inline-block; padding: 6px 0; }
.foot-grid ul a:hover { color: var(--text); }
.foot-brand p { color: var(--text-2); font-size: 14px; margin-top: 14px; max-width: 32ch; }
.foot-bottom {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-3);
}
.foot-bottom .legal { display: flex; gap: 24px; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .product-visual { aspect-ratio: 5/4; min-height: 320px; }
  .bigfeature .vis { aspect-ratio: 4/3; min-height: 280px; }
  .feature-head { grid-template-columns: 1fr; gap: 24px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .bigfeature { grid-template-columns: 1fr; gap: 32px; }
  .bigfeature.flip { direction: ltr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-dropdown { width: 90vw; left: 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  .section { padding: 72px 0; }
  .tiles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-actions .login { display: none; }
}


/* ============ Suggestion form ============ */
.suggest-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.suggest-wrap h2 { font-size: clamp(28px, 3vw, 40px); max-width: 16ch; text-wrap: balance; }
.suggest-wrap p { color: var(--text-2); font-size: 17px; max-width: 44ch; margin-top: 14px; }
.suggest-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.suggest-form {
  display: flex; flex-direction: column; gap: 8px;
}
.suggest-form .lbl {
  font-size: 11px; color: var(--text-3);
  text-transform: lowercase;
  margin-top: 8px;
}
.suggest-form .lbl:first-of-type { margin-top: 0; }
.suggest-input {
  height: 44px;
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--text);
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.suggest-input:focus { border-color: var(--text); box-shadow: 0 0 0 3px var(--bg-muted); }
.suggest-submit {
  align-self: flex-start;
  margin-top: 18px;
  border: 0;
  cursor: pointer;
  height: 40px;
  padding: 0 18px;
}
.w-form-done, .w-form-fail {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.w-form-done { background: oklch(0.97 0.04 145); color: var(--s-green); border: 1px solid oklch(0.93 0.06 145); }
.w-form-fail { background: oklch(0.97 0.04 25); color: var(--s-red); border: 1px solid oklch(0.93 0.06 25); }
.cf-turnstile { min-height: 65px; margin-top: 6px; }

@media (max-width: 1000px) {
  .suggest-wrap { grid-template-columns: 1fr; gap: 32px; }
}
