/* ========================================================
   Grapevine landing — production styles
   Light theme, grape purple accent, Poppins display type.
   Font + accent are baked in here (no runtime theming).
   ======================================================== */

:root {
  --accent: #8761eb;
  --accent-deep: color-mix(in oklch, var(--accent) 80%, #241b4a);
  --leaf: #bfd52a;
  --ink: #1c1530;
  --ink-soft: #5b5470;
  --bg: #faf9fc;
  --card: #ffffff;
  --line: #e9e5f3;

  /* Type — Poppins for both display + body (weights tuned for Poppins) */
  --display: 'Poppins', 'Helvetica Neue', sans-serif;
  --body: 'Poppins', 'Helvetica Neue', sans-serif;
  --w-display: 600;
  --w-heading: 600;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { display: block; }
a { color: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 48px; }

/* ---------- NAV ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  max-width: 1280px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { width: 28px; height: 28px; object-fit: contain; }
.nav-brand span {
  font-family: var(--display); font-weight: var(--w-display, 600); font-size: 21px;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff !important;
  padding: 9px 18px; border-radius: 99px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* ---------- BUTTONS ---------- */
.btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 16px; font-weight: 600;
  padding: 15px 28px; border-radius: 99px; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  cursor: pointer; line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 24px color-mix(in oklch, var(--accent) 35%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px color-mix(in oklch, var(--accent) 45%, transparent); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero-note {
  font-size: 13.5px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.hero-note .leaf-dot {
  width: 8px; height: 8px; border-radius: 50% 50% 50% 0;
  background: var(--leaf); display: inline-block;
}

/* ---------- SECTION SCAFFOLD ---------- */
section { padding: 96px 0; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--display); font-weight: var(--w-display, 600);
  font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.025em;
  line-height: 1.08; text-wrap: balance; max-width: 640px;
}

/* ---------- FEATURES ---------- */
.feature-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 24px 28px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklch, var(--accent) 35%, white);
  box-shadow: 0 16px 40px rgba(28, 21, 48, 0.08);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: color-mix(in oklch, var(--accent) 12%, white);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 {
  font-family: var(--display); font-size: 18px; font-weight: var(--w-heading, 600);
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.feature-card p { font-size: 14.5px; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- HOW IT WORKS ---------- */
.steps {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 26px;
}
.step-num {
  font-family: var(--display); font-weight: 800; font-size: 15px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--display); font-size: 20px; font-weight: var(--w-heading, 600);
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.step p { font-size: 15px; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 48px; max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px;
  font-family: var(--display); font-size: 18px; font-weight: var(--w-heading, 600);
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item summary::after {
  content: '+';
  font-family: var(--body); font-size: 22px; font-weight: 400;
  color: var(--accent); flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 4px 24px; font-size: 15.5px; color: var(--ink-soft);
  max-width: 600px; text-wrap: pretty;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--accent);
  border-radius: 28px;
  padding: 72px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50% 50% 50% 0;
  background: color-mix(in oklch, var(--accent) 70%, white);
  opacity: 0.35;
}
.cta-band h2 {
  font-family: var(--display); font-weight: var(--w-display, 600);
  font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.025em;
  color: #fff; line-height: 1.1; max-width: 480px; text-wrap: balance;
  position: relative; z-index: 1;
}
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 12px; font-size: 16px; position: relative; z-index: 1; }
.cta-band .btn-row { position: relative; z-index: 1; }
.btn-white { background: #fff; color: var(--accent-deep); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-outline-white:hover { border-color: #fff; transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
.footer {
  background: #161221; color: #9ca3af;
  padding: 64px 0 40px; margin-top: 96px;
}
.footer .wrap { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 26px; height: 26px; object-fit: contain; }
.footer-brand span {
  font-family: var(--display); font-weight: var(--w-display, 600); font-size: 19px; color: #fff;
  letter-spacing: -0.02em;
}
.footer-tag { font-size: 14px; max-width: 280px; font-style: italic; color: #6b7280; }
.footer-cols { display: flex; gap: 72px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #6b7280; margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col .links { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14.5px; color: #d1d5db; text-decoration: none; transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1140px; margin: 48px auto 0; padding: 24px 48px 0;
  border-top: 1px solid #241e35;
  font-size: 13px; color: #4b5563;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ========================================================
   HERO — centered layout + browser mockup
   ======================================================== */
.hero { padding: 56px 0 96px; text-align: center; }
.hero .wrap { max-width: 1280px; display: flex; flex-direction: column; align-items: center; }
.hero-mark { width: 60px; height: 60px; object-fit: contain; margin-bottom: 28px; }
.hero h1 {
  font-family: var(--display); font-weight: var(--w-display, 600);
  font-size: clamp(48px, 5.4vw, 78px);
  letter-spacing: -0.035em; line-height: 1.0;
  margin-bottom: 24px; max-width: 900px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 19px; color: var(--ink-soft); max-width: 560px;
  margin-bottom: 34px; text-wrap: pretty;
}
.hero .btn-row { justify-content: center; margin-bottom: 18px; }
.hero-note { justify-content: center; }
.hero-mock { margin-top: 72px; width: 100%; max-width: 1040px; }

/* browser window frame */
.mock-browser {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 32px 80px rgba(28, 21, 48, 0.16), 0 4px 16px rgba(28, 21, 48, 0.06);
  overflow: hidden;
  font-family: var(--body);
}
.mock-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: #f3f1f8; border-bottom: 1px solid var(--line);
}
.mock-chrome .dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-chrome .dot.r { background: #f57067; }
.mock-chrome .dot.y { background: #f5bf4f; }
.mock-chrome .dot.g { background: #58c965; }
.mock-url {
  flex: 1; margin: 0 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 14px;
  font-size: 11.5px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-ext-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: color-mix(in oklch, var(--accent) 14%, white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mock-ext-icon img { width: 13px; height: 13px; object-fit: contain; }

.mock-body {
  display: flex; height: 460px; background: #fff;
  position: relative; overflow: hidden;
  text-align: left;
}

/* greeked page content */
.mock-page { flex: 1; padding: 28px 32px; overflow: hidden; min-width: 0; }
.gl { border-radius: 4px; background: #eceaf2; margin-bottom: 10px; height: 10px; }
.gl.title { height: 22px; width: 72%; background: #dedaeb; margin-bottom: 16px; }
.gl.sub { width: 45%; margin-bottom: 22px; }
.gl.img { height: 130px; border-radius: 10px; margin-bottom: 22px;
  background: repeating-linear-gradient(-45deg, #f0eef6, #f0eef6 8px, #e7e4f1 8px, #e7e4f1 16px); }
.gl.w90 { width: 90%; } .gl.w100 { width: 100%; } .gl.w80 { width: 80%; }
.gl.w60 { width: 60%; } .gl.w95 { width: 95%; }

.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 46%, rgba(28,21,48,0.05) 70%, rgba(28,21,48,0.10) 100%);
}
/* ---- Animated hero stage (replaces static .hero-drawer-float) ---- */
.hero-anim-stage { position: absolute; inset: 0; overflow: hidden; text-align: left; }

/* launcher — authentic extension #drawer-btn (teardrop grape, right edge) */
.hero-launcher {
  position: absolute; top: 50%; right: 0; z-index: 30;
  width: 50px; height: 50px; border: none; cursor: pointer;
  background: #8560eb;
  border-radius: 100% 100% 0 100%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: -6px 8px 22px rgba(133, 96, 235, 0.42);
  transform: translateY(-50%) translateX(0);
  transition: opacity .4s ease, transform .45s cubic-bezier(.5, 0, .2, 1);
}
.hero-launcher[data-gone="true"] { opacity: 0; transform: translateY(-50%) translateX(54px); }
.hero-launcher-count { color: #fff; font-size: 15px; font-weight: 700; font-family: var(--body); }

/* sliding + scaled drawer, anchored to the mockup's right edge */
.hero-drawer-slide {
  position: absolute; top: 0; right: 0; z-index: 20; height: 100%;
  transform: translateX(120%);
  transition: transform .6s cubic-bezier(.16, .84, .34, 1);
}
.hero-drawer-slide[data-open="true"] { transform: translateX(0); }
.hero-drawer-scale {
  transform: scale(0.742); transform-origin: top right;
  filter: drop-shadow(-18px 16px 44px rgba(28, 21, 48, 0.30));
}

/* upvote pop */
.gv-vote .up-btn svg, .gv-vote .count { transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.gv-vote.is-popped .up-btn svg { transform: scale(1.45) translateY(-1px); }
.gv-vote.is-popped .count { transform: scale(1.3); }

/* composer focus ring (driven by JS toggling .is-focused) */
.gv-field.is-focused {
  border-color: var(--claret); background: var(--surface);
  box-shadow: 0 0 0 3px var(--ring); caret-color: var(--claret);
}

/* freshly posted comment entrance */
@keyframes hero-post-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-posted-in { animation: hero-post-in .42s cubic-bezier(.16, .84, .34, 1) both; }

/* fake cursor */
.hero-cursor {
  position: absolute; left: 0; top: 0; z-index: 40; pointer-events: none;
  transition: transform .85s cubic-bezier(.5, 0, .2, 1);
  filter: drop-shadow(0 2px 4px rgba(28, 21, 48, 0.35));
}

/* click ripple */
@keyframes hero-ripple {
  from { transform: translate(-50%, -50%) scale(0.3); opacity: 0.55; }
  to   { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
.hero-ripple {
  position: absolute; z-index: 38; pointer-events: none;
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid #8560eb;
  animation: hero-ripple .5s ease-out forwards;
}

/* reduced motion: drawer open & still, no launcher / cursor / ripple */
@media (prefers-reduced-motion: reduce) {
  .hero-drawer-slide { transform: translateX(0); transition: none; }
  .hero-launcher, .hero-cursor, .hero-ripple { display: none; }
}

/* ========================================================
   GRAPEVINE DRAWER — static reproduction of the in-app
   comment drawer shown floating in the hero mockup.
   (Light-theme tokens + components from the Grapevine
   design system, trimmed to what the drawer needs.)
   ======================================================== */
.gv[data-theme="light"] {
  --paper: #eceef3;
  --surface: #ffffff;
  --surface-2: #f5f6f9;
  --surface-hover: #eef0f4;
  --chrome: #ffffff;

  --line-soft: #e7e8ee;
  --line-strong: #d6d8e0;

  --t0: #1b1c22;
  --t1: #3b3d46;
  --t2: #696c77;
  --t3: #9a9da8;

  --claret: #8560eb;
  --claret-strong: #7350d6;
  --claret-soft: #e3dafb;
  --claret-faint: #f2eefc;
  --on-claret: #ffffff;

  --sage: #169a8b;
  --slate: #db4f6f;
  --up: #5f8d0f;
  --badge: #a3e635;
  --badge-ink: #2a3a0a;

  --shadow-card: 0 1px 2px rgba(24,26,45,0.05);
  --shadow-pop: 0 8px 28px rgba(24,26,45,0.16), 0 1px 3px rgba(24,26,45,0.10);
  --shadow-frame: 0 24px 60px rgba(24,26,45,0.18), 0 2px 8px rgba(24,26,45,0.07);
  --ring: rgba(133,96,235,0.20);
}
.gv {
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --r-frame: 16px;
  --r-card: 11px;
  --r-ctrl: 9px;
  --r-input: 9px;
  font-family: var(--sans);
  color: var(--t1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* within the drawer, --line refers to the design-system line color */
.gv { --line: var(--line-soft); }
.gv *, .gv *::before, .gv *::after { box-sizing: border-box; }

.gv-frame {
  width: 380px; height: 620px;
  background: var(--surface);
  border-radius: var(--r-frame);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-frame);
  position: relative;
}

.gv-nav {
  height: 50px; flex-shrink: 0;
  background: var(--chrome);
  border-bottom: 1px solid var(--line);
  padding: 0 10px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.gv-wordmark {
  flex: 1; min-width: 0;
  font-family: var(--serif);
  font-style: italic; font-weight: 500; font-size: 20px;
  letter-spacing: -0.2px; color: var(--t0); line-height: 1;
}
.gv-nav-icons { display: flex; align-items: center; gap: 1px; }
.gv-iconbtn {
  width: 32px; height: 32px; border-radius: 8px;
  background: none; border: none; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--t2); position: relative;
  transition: background .14s, color .14s;
}
.gv-iconbtn:hover { background: var(--surface-2); color: var(--t0); }
.gv-iconbtn.is-active { color: var(--claret); }
.gv-iconbtn.is-active::after {
  content: ''; position: absolute; bottom: -9px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px; background: var(--claret);
}
.gv-iconbtn svg { width: 18px; height: 18px; }
.gv-badge-dot {
  position: absolute; top: 5px; right: 6px;
  min-width: 15px; height: 15px; padding: 0 4px;
  background: var(--badge); color: var(--badge-ink);
  border: 2px solid var(--chrome);
  border-radius: 999px;
  font-family: var(--sans); font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

.gv-av {
  border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500; color: #fbf3ec;
  width: 32px; height: 32px; font-size: 14px;
  background: var(--claret); letter-spacing: 0.2px;
}
.gv-av.sm { width: 28px; height: 28px; font-size: 13px; }

.gv-body { flex: 1; min-height: 0; overflow: hidden; }

.gv-foot {
  flex-shrink: 0; height: 42px;
  background: var(--chrome);
  border-top: 1px solid var(--line);
  padding: 0 14px;
  display: flex; align-items: center; gap: 9px;
}
.gv-foot-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--badge);
  box-shadow: 0 0 0 0 rgba(163,230,53,0.55);
  animation: gv-pulse 2.4s ease-in-out infinite; flex-shrink: 0;
}
@keyframes gv-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(163,230,53,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(163,230,53,0); }
}
.gv-foot-label { flex: 1; font-size: 13px; font-weight: 600; color: var(--t0); letter-spacing: 0.1px; }
.gv-foot-count {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--t2); background: var(--surface-2);
  border: 1px solid var(--line); padding: 1px 8px; border-radius: 999px;
}
.gv-foot-chev { color: var(--t3); display: flex; }
.gv-foot-chev svg { width: 16px; height: 16px; }

.gv-btn {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--r-ctrl);
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  letter-spacing: 0.1px; line-height: 1;
  transition: background .14s, color .14s, border-color .14s, box-shadow .14s;
}
.gv-btn svg { width: 15px; height: 15px; }
.gv-btn-primary { background: var(--claret); color: var(--on-claret); }
.gv-btn-primary:hover { background: var(--claret-strong); }
.gv-btn-subtle { background: none; color: var(--t2); padding: 8px 12px; }
.gv-btn-subtle:hover { background: var(--surface-2); color: var(--t0); }
.gv-btn-sm { padding: 6px 11px; font-size: 12px; }

.gv-field {
  width: 100%; font-family: var(--sans); font-size: 13.5px;
  color: var(--t0); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-input);
  padding: 10px 12px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.gv-field::placeholder { color: var(--t3); }

.gv-eyebrow {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; color: var(--t3);
}
.gv-link {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  color: var(--claret); background: none; border: none; cursor: pointer;
  padding: 0; display: inline-flex; align-items: center; gap: 4px;
}
.gv-link:hover { color: var(--claret-strong); text-decoration: underline; }
.gv-meta { font-family: var(--mono); font-size: 11px; color: var(--t3); letter-spacing: 0.1px; }
.gv-url { font-family: var(--mono); font-size: 11.5px; color: var(--claret); letter-spacing: -0.1px; }

.gv-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
  background: var(--surface-2); color: var(--t2); border: 1px solid var(--line);
}
.gv-chip svg { display: flex; }

/* comment building blocks (was inline-styled in the React source) */
.gv-comment { display: flex; gap: 11px; align-items: flex-start; }
.gv-c-body { flex: 1; min-width: 0; }
.gv-c-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.gv-c-name { font-family: var(--serif); font-size: 15px; font-weight: 500; color: var(--t0); }
.gv-c-more {
  width: 24px; height: 24px; margin-left: auto;
  color: var(--t2);
}
.gv-c-more svg { width: 15px; height: 15px; }
.gv-c-text { font-size: 13.5px; line-height: 1.5; color: var(--t1); margin-bottom: 9px; text-wrap: pretty; }
.gv-c-actions { display: flex; align-items: center; gap: 6px; }
.gv-replies { margin-left: 28px; margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.gv-replies .nest { margin-left: 28px; }
.gv-thread { padding: 12px 16px; border-top: 1px solid var(--line); }

.gv-vote {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-2); overflow: hidden; height: 28px;
}
.gv-vote button {
  background: none; border: none; cursor: pointer; padding: 0 9px; height: 100%;
  display: flex; align-items: center; color: var(--t2);
}
.gv-vote button svg { width: 13px; height: 13px; }
.gv-vote .count {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  min-width: 14px; text-align: center; color: var(--t2);
}
.gv-vote.up .up-btn { color: var(--up); }
.gv-vote.up .count { color: var(--up); }
.gv-vote.down .down-btn { color: var(--slate); }
.gv-vote.down .count { color: var(--slate); }

.gv-composer {
  padding: 14px; border-bottom: 1px solid var(--line);
  display: flex; gap: 9px; align-items: center;
}
.gv-sortbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px 9px;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */

/* --- Tablet / small laptop --- */
@media (max-width: 960px) {
  .wrap { padding: 0 32px; }
  .nav { padding: 20px 32px; }
  section { padding: 76px 0; }
  .hero { padding: 44px 0 76px; }
  .hero-mock { margin-top: 56px; }
  .cta-band { padding: 56px 44px; }
  .hero-drawer-scale { transform: scale(0.676); }
  .mock-body { height: 420px; }
}

/* --- Large phone / collapse nav links --- */
@media (max-width: 720px) {
  .nav-links { gap: 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: clamp(34px, 8.6vw, 50px); }
  .hero-sub { font-size: 17px; max-width: 460px; }
  .feature-grid { margin-top: 40px; }
  .steps { margin-top: 40px; }
  .cta-band {
    flex-direction: column; align-items: flex-start;
    text-align: left; padding: 46px 36px; gap: 28px;
  }
  .cta-band .btn-row { width: 100%; }
  .hero-drawer-scale { transform: scale(0.60); }
  .mock-body { height: 372px; }
}

/* --- Phone --- */
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 16px 20px; }
  .nav-brand span { font-size: 19px; }
  .nav-cta { padding: 8px 15px; font-size: 13.5px; }
  section { padding: 56px 0; }
  .hero { padding: 28px 0 52px; }
  .hero-mark { width: 50px; height: 50px; margin-bottom: 22px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-mock { margin-top: 44px; }
  .btn-row { width: 100%; gap: 12px; }
  .hero .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .steps { margin-top: 32px; }
  .faq-list { margin-top: 36px; }
  .faq-item summary { font-size: 16.5px; padding: 18px 2px; }
  .cta-band { padding: 40px 28px; border-radius: 22px; }
  .cta-band .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .footer { padding: 52px 0 32px; margin-top: 64px; }
  .footer .wrap { flex-direction: column; gap: 36px; }
  .footer-cols { gap: 56px; }
  .footer-bottom { padding: 22px 20px 0; }
  .hero-drawer-scale { transform: scale(0.548); }
  .mock-body { height: 340px; }
  .mock-page { padding: 20px 22px; }
}

/* --- Small phone --- */
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .cta-band h2 { font-size: 28px; }
  .footer-cols { gap: 40px; }
  .hero-drawer-scale { transform: scale(0.484); }
  .mock-body { height: 300px; }
}
