/* Global Snap — Wireframe sketchbook
   Pure low-fi: paper background, ink lines, handwritten labels */

:root {
  --paper: #f1eadb;
  --paper-shade: #e8e0cc;
  --ink: #1f1a17;
  --ink-soft: #4a423b;
  --pencil: #b3a791;
  --pencil-light: #d6cdb6;
  --annotation: #2a5f7f;
  --accent: #ff5b3d; /* coral default */
  --grid-line: rgba(31, 26, 23, 0.06);

  --hand-display: "Caveat", "Kalam", cursive;
  --hand-body: "Kalam", "Architects Daughter", cursive;
  --mono: "JetBrains Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hand-body);
  font-size: 15px;
  line-height: 1.4;
  min-height: 100vh;
}

/* Paper grain + faint grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
  opacity: 0.6;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: multiply;
  z-index: 1;
}

#root { position: relative; z-index: 2; }

/* ===== Top chrome ===== */
.chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  padding: 14px 28px 10px;
  display: flex;
  align-items: end;
  gap: 28px;
}
.chrome::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}
.chrome-brand {
  font-family: var(--hand-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
}
.chrome-brand .dot {
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  margin: 0 4px 2px 0;
  vertical-align: middle;
  transform: rotate(-8deg);
}
.chrome-meta {
  font-family: var(--hand-body);
  font-size: 13px;
  color: var(--ink-soft);
  margin-left: -16px;
  padding-bottom: 2px;
}
.chrome-meta em { color: var(--accent); font-style: normal; font-weight: 700; }
.chrome-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: end;
}
.tab {
  font-family: var(--hand-display);
  font-size: 19px;
  padding: 6px 14px 4px;
  border: 1.5px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  position: relative;
  transform: translateY(1px);
}
.tab:hover { color: var(--ink); }
.tab.active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--ink);
}
.tab.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--paper);
}

/* ===== Stage ===== */
.stage {
  padding: 36px 28px 120px;
  max-width: 1500px;
  margin: 0 auto;
}
.stage-title {
  font-family: var(--hand-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 6px;
}
.stage-sub {
  font-family: var(--hand-body);
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 36px;
}
.stage-sub strong { color: var(--ink); }

/* Variation row for the homepage canvas */
.variations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 36px;
}
@media (max-width: 1180px) { .variations { grid-template-columns: 1fr; } }

.variation {
  position: relative;
}
.variation-header {
  margin-bottom: 14px;
  display: flex;
  align-items: end;
  gap: 14px;
}
.variation-letter {
  font-family: var(--hand-display);
  font-size: 56px;
  line-height: 0.8;
  color: var(--accent);
  font-weight: 700;
}
.variation-name {
  font-family: var(--hand-display);
  font-size: 28px;
  line-height: 1;
}
.variation-tag {
  font-family: var(--hand-body);
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px dashed var(--pencil);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.variation-note {
  font-family: var(--hand-body);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 540px;
}

/* ===== Wireframe primitives ===== */
.wire {
  /* The main "paper card" the wireframe lives on */
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow:
    3px 3px 0 var(--ink),
    3px 3px 0 1px var(--ink);
}
.wire::after {
  /* faux page edge */
  content: "";
  position: absolute;
  inset: 4px 4px 4px 4px;
  border: 1px solid var(--ink);
  opacity: 0.18;
  pointer-events: none;
  border-radius: 2px;
}

/* Browser-bar mock atop wireframes */
.wb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper-shade);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
}
.wb-dots { display: flex; gap: 5px; }
.wb-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.2px solid var(--ink);
  background: transparent;
}
.wb-url {
  flex: 1;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 3px 10px;
  background: var(--paper);
  color: var(--ink);
}
.wb-url::before { content: "globalsnap.ai"; opacity: 0.55; margin-right: 4px; }

/* Nav bar inside the wire */
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 22px;
  border-bottom: 1.5px dashed var(--pencil);
  font-family: var(--hand-body);
  font-size: 14px;
}
.nav .brand {
  font-family: var(--hand-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav .brand .b {
  width: 14px; height: 14px;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  transform: rotate(45deg);
}
.nav .links { display: flex; gap: 18px; color: var(--ink-soft); }
.nav .cta {
  margin-left: auto;
  display: flex; gap: 8px;
}

/* Section wrapper inside a wireframe */
.sec {
  padding: 22px;
  border-bottom: 1.5px dashed var(--pencil);
  position: relative;
}
.sec:last-child { border-bottom: none; }
.sec-label {
  position: absolute;
  top: 6px; right: 10px;
  font-family: var(--hand-body);
  font-size: 11px;
  color: var(--annotation);
  opacity: 0.85;
  letter-spacing: 0.4px;
}
.sec-label::before { content: "§ "; opacity: 0.7; }

/* Boxes / placeholders */
.box {
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  padding: 10px 12px;
  font-family: var(--hand-body);
  font-size: 13px;
  color: var(--ink-soft);
}
.box.dashed { border-style: dashed; }
.box.fill { background: var(--paper-shade); }
.box.tall { min-height: 120px; }

.img-ph {
  position: relative;
  border: 1.5px solid var(--ink);
  background: var(--paper-shade);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hand-body);
  font-size: 13px;
  color: var(--ink);
  overflow: hidden;
  min-height: 80px;
  text-align: center;
  padding: 6px 10px;
}
.img-ph::before, .img-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid var(--pencil);
  transform-origin: top left;
}
.img-ph::before { transform: rotate(0deg) skewY(11deg); top: 0; }
.img-ph::after { transform: rotate(0deg) skewY(-11deg); bottom: 0; top: auto; height: 1px; }
.img-ph .ph-label {
  position: relative;
  z-index: 2;
  background: var(--paper);
  padding: 2px 7px;
  border: 1px dashed var(--pencil);
  border-radius: 3px;
  font-size: 12px;
}
.img-ph .ph-sub {
  position: relative; z-index: 2;
  font-size: 11px; color: var(--ink-soft);
  display: block; margin-top: 4px;
}

/* Before / after split image */
.ba {
  display: grid;
  grid-template-columns: 1fr 18px 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 140px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-shade);
}
.ba > .img-ph { border: none; border-radius: 0; min-height: 0; }
.ba-divider {
  position: relative;
  background: var(--paper);
  border-left: 1.5px dashed var(--ink);
  border-right: 1.5px dashed var(--ink);
}
.ba-divider::before {
  content: "↔";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--hand-display);
  font-size: 18px;
  color: var(--accent);
  background: var(--paper);
  padding: 0 2px;
}

/* Button mocks */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--hand-body);
  font-size: 13px;
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  position: relative;
}
.btn.primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn.primary::after {
  content: "→";
  font-family: var(--hand-display);
  font-weight: 700;
}
.btn.secondary { background: var(--paper); }
.btn.ghost { border-style: dashed; color: var(--ink-soft); }

/* Squiggle text lines */
.squig {
  display: block;
  height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8'><path d='M0 4 Q 5 0 10 4 T 20 4 T 30 4 T 40 4 T 50 4 T 60 4' fill='none' stroke='%231f1a17' stroke-width='1' opacity='0.55'/></svg>");
  background-repeat: repeat-x;
  background-size: 60px 8px;
  margin: 6px 0;
}
.squig.short { width: 60%; }
.squig.mid { width: 80%; }
.squig.tiny { width: 35%; }

/* Headline mock */
.hl {
  font-family: var(--hand-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.5px;
}
.hl.xxl { font-size: 56px; }
.hl.xl { font-size: 42px; }
.hl.lg { font-size: 32px; }
.hl.md { font-size: 22px; }
.hl .a { color: var(--accent); }

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--annotation);
  border: 1px solid var(--annotation);
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Code block mock */
.code {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  background: var(--paper-shade);
  border-radius: 3px;
  color: var(--ink);
  position: relative;
  white-space: pre;
  overflow: hidden;
}
.code::before {
  content: "</> sample";
  position: absolute;
  top: -9px; left: 12px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.code .c { color: var(--ink-soft); }
.code .k { color: var(--accent); font-weight: 700; }

/* Grid helpers */
.row { display: flex; gap: 12px; align-items: stretch; }
.row.tight { gap: 8px; }
.col { display: flex; flex-direction: column; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 900px) { .grid-6 { grid-template-columns: repeat(3, 1fr); } }

.tile {
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  padding: 10px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
}
.tile .tile-img {
  flex: 1;
  min-height: 60px;
}
.tile .tile-name {
  font-family: var(--hand-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.tile .tile-sub {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* Annotation callouts (margin notes) */
.annot {
  position: absolute;
  font-family: var(--hand-body);
  font-size: 12.5px;
  color: var(--annotation);
  max-width: 180px;
  z-index: 4;
}
.annot::before {
  content: "";
  position: absolute;
  width: 38px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 18'><path d='M2 9 C 10 2, 22 16, 36 9' fill='none' stroke='%232a5f7f' stroke-width='1.2' stroke-linecap='round'/><path d='M30 6 L 36 9 L 30 12' fill='none' stroke='%232a5f7f' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
}
.annot.right::before { left: -42px; top: 4px; }
.annot.left::before { right: -42px; top: 4px; transform: scaleX(-1); }
.annot.below::before { top: -22px; left: 8px; transform: rotate(-70deg); }
.hide-annot .annot { display: none; }

/* Trust strip */
.trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-top: 1.5px dashed var(--pencil);
  border-bottom: 1.5px dashed var(--pencil);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
}
.trust .logo {
  border: 1px dashed var(--pencil);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--hand-display);
  font-size: 14px;
  color: var(--ink-soft);
}

/* Footer mock */
.foot {
  background: var(--paper-shade);
  padding: 18px 22px 14px;
  border-top: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.foot .row { gap: 24px; }
.foot .col { gap: 4px; flex: 1; }
.foot .ftitle {
  font-family: var(--hand-display);
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Pricing card */
.price {
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
}
.price.feat { background: var(--paper-shade); box-shadow: 3px 3px 0 var(--ink); }
.price .pname {
  font-family: var(--hand-display);
  font-size: 22px;
  line-height: 1;
}
.price .pcost {
  font-family: var(--hand-display);
  font-size: 30px;
  line-height: 1;
}
.price .pcost .unit { font-size: 13px; color: var(--ink-soft); font-family: var(--hand-body); }
.price .plist { font-size: 12px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 3px; }
.price .plist span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Doc layout */
.doc-layout {
  display: grid;
  grid-template-columns: 180px 1fr 200px;
  gap: 0;
  min-height: 600px;
}
.doc-side {
  border-right: 1.5px dashed var(--pencil);
  padding: 16px 14px;
  font-size: 12px;
}
.doc-side .group {
  margin-bottom: 14px;
}
.doc-side .gt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.doc-side .litem {
  font-family: var(--hand-body);
  color: var(--ink-soft);
  padding: 3px 0;
}
.doc-side .litem.active {
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 6px;
  margin-left: -8px;
}
.doc-main { padding: 22px 26px; }
.doc-toc {
  border-left: 1.5px dashed var(--pencil);
  padding: 16px 14px;
  font-size: 11px;
  color: var(--ink-soft);
}
.doc-toc .tt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Misc */
.row-3-1 { display: grid; grid-template-columns: 3fr 2fr; gap: 18px; align-items: stretch; }
.row-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.tiny { font-size: 11px; }

.step-num {
  font-family: var(--hand-display);
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
}

.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 7px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}
.chip.accent { background: var(--accent); border-color: var(--ink); color: var(--ink); }

/* NVIDIA band specific */
.nv-band {
  background: var(--ink);
  color: var(--paper);
  padding: 22px;
}
.nv-band .nv-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.nv-band .nv-h {
  font-family: var(--hand-display);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}
.nv-band .nv-body { font-size: 13px; color: var(--pencil-light); max-width: 560px; line-height: 1.5; }
.nv-band .nv-stack {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.nv-band .nv-stack .chip {
  background: transparent; color: var(--paper); border-color: var(--paper);
}

/* Sketchy arrow */
.arrow {
  display: inline-block;
  font-family: var(--hand-display);
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
  transform: rotate(-3deg);
}

/* Status banner at top of stage */
.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 10px 14px;
  border: 1.5px dashed var(--pencil);
  border-radius: 4px;
  background: rgba(255,255,255,0.25);
  font-size: 12px;
  color: var(--ink-soft);
}
.legend strong { color: var(--ink); font-family: var(--hand-display); font-size: 14px; font-weight: 700; margin-right: 4px; }
.legend .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; border: 1px solid var(--ink); margin-right: 4px; vertical-align: middle; }

/* TWEAKS overrides */
body.hide-grain::after { display: none; }

/* ===== Homepage v3: actual page, no page-inside-page frame ===== */
.gs-home { max-width: 1320px; }
.home-section {
  padding: 44px 24px;
  border-bottom: 1.5px dashed var(--pencil);
}
.home-section:first-child { padding-top: 18px; }
.home-section p { color: var(--ink); font-size: 16px; line-height: 1.55; }
.home-title {
  font-family: var(--hand-display);
  font-size: 64px;
  line-height: .92;
  margin: 0 0 14px;
  max-width: 620px;
}
.home-title span { color: var(--accent); }
.home-h2 {
  font-family: var(--hand-display);
  font-size: 44px;
  line-height: .96;
  margin: 8px 0 12px;
}
.home-lead { max-width: 620px; font-size: 18px !important; }
.home-body { max-width: 600px; color: var(--ink-soft) !important; }
.home-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.home-proof-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; font-family:var(--mono); font-size:11px; color:var(--ink-soft); }
.home-proof-row span { border:1px dashed var(--pencil); padding:4px 8px; border-radius:999px; }
.home-hero { display:grid; grid-template-columns: 1fr 1.12fr; gap:34px; align-items:center; }
.home-hero-code .code { min-height: 310px; font-size: 13px; }
.home-preview-grid, .home-product, .home-nvidia { display:grid; grid-template-columns: .8fr 1.2fr; gap:28px; align-items:center; }
.home-product { grid-template-columns: 1.15fr .85fr; }
.home-section-copy p { max-width: 760px; }
.home-section-copy.wide p { max-width: 820px; }
.home-section-intro { max-width:760px; color:var(--ink-soft) !important; }
.home-steps .box { background: rgba(255,255,255,.16); }
.home-product-success {
  background: rgba(255,255,255,.18);
  text-align:center;
}
.success-heading h2 {
  font-family: Arial, sans-serif;
  font-size: 48px;
  letter-spacing: -1px;
  margin: 0 0 14px;
}
.success-heading p {
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1.25;
  max-width: 850px;
  margin: 0 auto 30px;
}
.success-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; text-align:left; }
.success-card {
  border: 1.8px dashed var(--ink);
  border-radius: 8px;
  padding: 26px;
  min-height: 350px;
  background: rgba(255,255,255,.20);
  display:flex;
  flex-direction:column;
  gap:16px;
}
.success-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.success-card h3 { font-family: Arial, sans-serif; font-size:40px; line-height:1; margin:0; }
.success-card-head span { font-family: Arial, sans-serif; background:#000; color:#fff; border-radius:999px; padding:8px 14px; font-size:14px; white-space:nowrap; }
.success-stats { display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.success-stats strong { font-family: Arial, sans-serif; font-size:32px; line-height:1.05; }
.success-stats small { display:block; font-size:22px; font-weight:400; }
.success-card p { font-family: Arial, sans-serif; font-size:17px; line-height:1.3; margin:0; }
.store-row { display:flex; gap:8px; flex-wrap:wrap; }
.store-row span { font-family: Arial, sans-serif; background:#000; color:#fff; border-radius:6px; padding:8px 12px; font-size:16px; }
.success-card a { font-family: Arial, sans-serif; font-size:20px; color:#000; text-decoration:none; margin-top:auto; }
.home-nvidia {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  border-bottom: none;
  margin: 30px 24px;
}
.home-nvidia .home-h2, .home-nvidia p { color: var(--paper); }
.home-nvidia .muted { color: var(--pencil-light) !important; }
.infra-stack { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.infra-stack span { border:1px solid var(--paper); color:var(--paper); padding:8px 12px; border-radius:999px; font-family:var(--mono); font-size:12px; }
.home-pricing-head { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; }
.home-pricing-head p { max-width:780px; }
.pricing-compare { overflow-x:auto; margin-top:18px; }
.pricing-compare table { width:100%; border-collapse:collapse; border:1.5px solid var(--ink); background:rgba(255,255,255,.14); }
.pricing-compare th, .pricing-compare td { border-bottom:1px dashed var(--pencil); padding:12px 14px; text-align:left; font-size:14px; color:var(--ink); }
.pricing-compare th { font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; background:var(--paper-shade); }
.use-case-grid { margin-top:12px; }
.use-case-grid p { font-size:14px; color:var(--ink); }
@media (max-width: 980px) {
  .home-hero, .home-preview-grid, .home-product, .home-nvidia { grid-template-columns: 1fr; }
  .success-cards { grid-template-columns: 1fr; }
  .home-title { font-size: 48px; }
  .home-h2 { font-size: 36px; }
  .success-heading h2 { font-size: 36px; }
  .success-heading p { font-size: 20px; }
}


/* ===== Homepage v4 fixes: polished layout without browser-frame loop ===== */
body .gs-home {
  width: min(1500px, calc(100vw - 120px));
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: 42px 0 100px !important;
}
body .gs-home .home-section {
  padding: 56px 0 !important;
  border-bottom: 1.5px dashed var(--pencil) !important;
}
body .gs-home .home-section:first-child { padding-top: 22px !important; }
body .gs-home .kicker { margin-bottom: 18px; }
body .gs-home .home-title {
  max-width: 980px !important;
  font-size: clamp(48px, 5.2vw, 82px) !important;
  line-height: .9 !important;
  margin: 0 0 22px !important;
}
body .gs-home .home-lead,
body .gs-home .home-body {
  max-width: 1180px !important;
}
body .gs-home .home-lead { font-size: 20px !important; }
body .gs-home .home-body { font-size: 17px !important; }
body .gs-home .home-actions .btn { text-decoration: none !important; }
body .gs-home .home-proof-row { margin-bottom: 22px; }
body .gs-home .home-hero {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  align-items: start !important;
}
body .gs-home .home-hero-code .code {
  width: 100% !important;
  min-height: 260px !important;
  max-height: none !important;
  font-size: 14px !important;
  border-radius: 5px !important;
  box-shadow: 4px 4px 0 rgba(31,26,23,.85);
}
body .gs-home .home-preview-grid {
  display: grid !important;
  grid-template-columns: 0.55fr 1.45fr !important;
  gap: 42px !important;
  align-items: center !important;
}
body .gs-home .home-product {
  display: grid !important;
  grid-template-columns: 1.15fr .85fr !important;
  gap: 42px !important;
  align-items: stretch !important;
}
body .gs-home .home-product-card .img-ph { height: 100%; min-height: 310px !important; }

body .gs-home .home-product-success {
  text-align: center !important;
  background: rgba(255,255,255,.18) !important;
  border: 1.5px dashed var(--pencil) !important;
  border-radius: 8px !important;
  padding: 64px 56px !important;
  margin: 22px 0 !important;
}
body .gs-home .success-heading h2 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(42px, 4.8vw, 68px) !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px !important;
  line-height: 1 !important;
  margin: 0 0 18px !important;
}
body .gs-home .success-heading p {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(22px, 2.2vw, 34px) !important;
  line-height: 1.25 !important;
  max-width: 1020px !important;
  margin: 0 auto 44px !important;
  color: #000 !important;
}
body .gs-home .success-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  text-align: left !important;
  align-items: stretch !important;
}
body .gs-home .success-card {
  border: 2px dashed #111 !important;
  border-radius: 10px !important;
  padding: 34px !important;
  min-height: 430px !important;
  background: rgba(255,255,255,.22) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
  color: #000 !important;
}
body .gs-home .success-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}
body .gs-home .success-card h3 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(34px, 3vw, 52px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin: 0 !important;
}
body .gs-home .success-card-head span {
  font-family: Arial, Helvetica, sans-serif !important;
  background: #000 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
body .gs-home .success-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
body .gs-home .success-stats strong {
  font-family: Arial, Helvetica, sans-serif !important;
  display: block !important;
  font-size: clamp(32px, 3vw, 48px) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
}
body .gs-home .success-stats small {
  display: block !important;
  font-size: clamp(20px, 1.8vw, 30px) !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
}
body .gs-home .success-card p {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  color: #000 !important;
}
body .gs-home .store-row {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
body .gs-home .store-row span {
  display: inline-flex !important;
  align-items: center !important;
  background: #000 !important;
  color: #fff !important;
  border-radius: 7px !important;
  padding: 10px 14px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
body .gs-home .success-card a {
  display: inline-flex !important;
  margin-top: auto !important;
  color: #000 !important;
  text-decoration: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 23px !important;
  font-weight: 700 !important;
}
body .gs-home .success-card a:hover { text-decoration: underline !important; }

body .gs-home .home-nvidia {
  display: grid !important;
  grid-template-columns: 1.2fr .8fr !important;
  gap: 36px !important;
  padding: 44px !important;
  margin: 36px 0 !important;
  background: var(--ink) !important;
  border-radius: 8px !important;
  color: var(--paper) !important;
  border-bottom: none !important;
}
body .gs-home .home-nvidia .home-h2,
body .gs-home .home-nvidia p { color: var(--paper) !important; }

body .gs-home .home-pricing-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: end !important;
  gap: 30px !important;
  margin-bottom: 24px !important;
}
body .gs-home .pricing-compare {
  border: 2px solid var(--ink) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.24) !important;
  box-shadow: 4px 4px 0 var(--ink) !important;
  margin-top: 18px !important;
}
body .gs-home .pricing-compare table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
body .gs-home .pricing-compare th,
body .gs-home .pricing-compare td {
  padding: 18px 20px !important;
  border-right: 1.5px dashed var(--pencil) !important;
  border-bottom: 1.5px dashed var(--pencil) !important;
  text-align: left !important;
  vertical-align: top !important;
  color: var(--ink) !important;
}
body .gs-home .pricing-compare th:last-child,
body .gs-home .pricing-compare td:last-child { border-right: 0 !important; }
body .gs-home .pricing-compare tbody tr:last-child td { border-bottom: 0 !important; }
body .gs-home .pricing-compare th {
  font-family: var(--mono) !important;
  font-size: 12px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  background: var(--paper-shade) !important;
}
body .gs-home .pricing-compare td {
  font-family: var(--hand-body) !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}
body .gs-home .pricing-compare td:nth-child(3) {
  font-weight: 700 !important;
  color: var(--accent) !important;
}
body .gs-home .home-pricing .grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
body .gs-home .home-pricing .price {
  min-height: 260px !important;
  padding: 24px !important;
}

@media (max-width: 1100px) {
  body .gs-home { width: min(100% - 40px, 1500px); }
  body .gs-home .home-preview-grid,
  body .gs-home .home-product,
  body .gs-home .home-nvidia { grid-template-columns: 1fr !important; }
  body .gs-home .success-cards,
  body .gs-home .home-pricing .grid-3 { grid-template-columns: 1fr !important; }
  body .gs-home .home-pricing-head { align-items: flex-start !important; flex-direction: column !important; }
}

/* ===== Homepage v5: slightly reduce production apps section ===== */
body .gs-home .home-product-success {
  padding: 46px 44px !important;
  margin: 20px 0 34px !important;
}
body .gs-home .success-heading h2 {
  font-size: clamp(38px, 4vw, 56px) !important;
  letter-spacing: -1px !important;
  margin-bottom: 12px !important;
}
body .gs-home .success-heading p {
  font-size: clamp(19px, 1.7vw, 26px) !important;
  max-width: 900px !important;
  margin-bottom: 32px !important;
}
body .gs-home .success-cards { gap: 22px !important; }
body .gs-home .success-card {
  padding: 26px 28px !important;
  min-height: 360px !important;
  gap: 17px !important;
}
body .gs-home .success-card h3 { font-size: clamp(30px, 2.5vw, 42px) !important; }
body .gs-home .success-card-head span {
  font-size: 13px !important;
  padding: 8px 14px !important;
}
body .gs-home .success-stats { gap: 14px !important; }
body .gs-home .success-stats strong { font-size: clamp(29px, 2.5vw, 40px) !important; }
body .gs-home .success-stats small { font-size: clamp(17px, 1.45vw, 24px) !important; }
body .gs-home .success-card p { font-size: 17px !important; line-height: 1.32 !important; }
body .gs-home .store-row span { font-size: 15px !important; padding: 8px 12px !important; }
body .gs-home .success-card a { font-size: 19px !important; }

/* ===== Docs v5: real docs page, no browser-frame wrapper ===== */
body .gs-docs {
  width: min(100% - 56px, 1480px) !important;
  max-width: none !important;
  padding-top: 44px !important;
}
.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 2px solid var(--ink);
}
.docs-title {
  font-family: var(--hand-display);
  font-size: clamp(46px, 5vw, 76px);
  line-height: .9;
  margin: 10px 0 14px;
}
.docs-lead {
  font-size: 19px;
  max-width: 820px;
  color: var(--ink);
  margin: 0;
}
.docs-base-url {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.24);
  box-shadow: 4px 4px 0 var(--ink);
}
.docs-base-url span,
.code-label,
.docs-eyebrow,
.docs-group-title {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--annotation);
  margin-bottom: 8px;
}
.docs-base-url code {
  display: block;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.docs-base-url small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}
.docs-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: start;
}
.docs-sidebar,
.docs-toc {
  position: sticky;
  top: 96px;
  border: 1.5px dashed var(--pencil);
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  padding: 18px;
}
.docs-brand {
  font-family: var(--hand-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}
.docs-search {
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}
.docs-group { margin-bottom: 22px; }
.docs-sidebar a,
.docs-toc a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  font-size: 14px;
}
.docs-sidebar a.active,
.docs-sidebar a:hover,
.docs-toc a:hover { color: var(--ink); }
.docs-sidebar a.active {
  border-left: 3px solid var(--accent);
  padding-left: 8px;
  margin-left: -10px;
}
.docs-main {
  min-width: 0;
}
.docs-section {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 28px;
  margin-bottom: 28px;
}
.docs-section h2 {
  font-family: var(--hand-display);
  font-size: 36px;
  line-height: 1;
  margin: 0 0 12px;
}
.docs-section p {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 900px;
}
.docs-section code,
.docs-table code {
  font-family: var(--mono);
  font-size: .9em;
  background: var(--paper-shade);
  border: 1px solid var(--pencil);
  border-radius: 4px;
  padding: 1px 4px;
}
.docs-callout {
  border-left: 4px solid var(--accent);
  background: var(--paper-shade);
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--ink);
}
.code-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.code-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.code-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.docs-main .code {
  margin: 0;
  max-height: none;
  white-space: pre-wrap;
  overflow-x: auto;
}
.docs-table-wrap {
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 18px;
  background: rgba(255,255,255,.20);
}
.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.docs-table th,
.docs-table td {
  padding: 14px 16px;
  border-right: 1.5px dashed var(--pencil);
  border-bottom: 1.5px dashed var(--pencil);
  text-align: left;
  vertical-align: top;
}
.docs-table th:last-child,
.docs-table td:last-child { border-right: 0; }
.docs-table tr:last-child td { border-bottom: 0; }
.docs-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--paper-shade);
}
.docs-table td {
  font-size: 15px;
}
.method {
  font-family: var(--mono);
  font-size: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px 8px;
  vertical-align: middle;
}
.method.post { background: var(--accent); }
.method.get { background: var(--paper-shade); }
.docs-status-card {
  margin-top: 22px;
  border-top: 1.5px dashed var(--pencil);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.docs-status-card strong { font-family: var(--hand-display); font-size: 20px; }
.docs-status-card span { color: var(--accent); }
.docs-status-card small { color: var(--ink-soft); }

@media (max-width: 1180px) {
  .docs-hero { grid-template-columns: 1fr; }
  .docs-shell { grid-template-columns: 1fr; }
  .docs-sidebar,
  .docs-toc { position: static; }
  .code-grid.two,
  .code-grid.three { grid-template-columns: 1fr; }
}

/* ===== V6 docs: no browser wireframe, professional API-doc layout ===== */
.gs-docs-pro {
  width: min(100% - 64px, 1440px);
  margin: 0 auto;
  padding: 58px 0 96px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  color: var(--ink);
}
.gs-docs-pro * { box-sizing: border-box; }
.docs-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 34px;
}
.docs-pro-pill {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--annotation);
  color: var(--annotation);
  border-radius: 999px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.docs-pro-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  font-size: clamp(48px, 5vw, 76px);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 18px 0 14px;
}
.docs-pro-hero p {
  font-size: 20px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0;
  color: var(--ink-soft);
}
.docs-pro-card {
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: rgba(255,255,255,.30);
  padding: 20px;
}
.docs-pro-base span,
.docs-code-label,
.docs-pro-sidebar-title {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.docs-pro-base code {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.docs-pro-base small {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.docs-pro-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 210px;
  gap: 32px;
  align-items: start;
}
.docs-pro-sidebar,
.docs-pro-toc {
  position: sticky;
  top: 96px;
  padding: 18px 0;
}
.docs-pro-sidebar a,
.docs-pro-toc a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
  padding: 8px 10px;
  border-left: 2px solid transparent;
}
.docs-pro-sidebar a:hover,
.docs-pro-toc a:hover {
  color: var(--ink);
  border-left-color: var(--accent);
  background: rgba(255,255,255,.25);
}
.docs-pro-main {
  min-width: 0;
}
.docs-pro-section {
  border-bottom: 1.5px solid var(--pencil);
  padding: 0 0 42px;
  margin-bottom: 42px;
  scroll-margin-top: 120px;
}
.docs-pro-section:last-child { border-bottom: 0; }
.docs-pro-section h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.docs-pro-section h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  letter-spacing: -.01em;
}
.docs-pro-section p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 830px;
  margin: 0 0 18px;
}
.docs-pro-section code,
.docs-pro-table code {
  font-family: var(--mono);
  font-size: .92em;
}
.docs-pro-section pre {
  margin: 14px 0 0;
  padding: 18px 20px;
  background: #17130f;
  color: #f3ead9;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre;
}
.docs-pro-section pre code {
  color: inherit;
  background: transparent;
  padding: 0;
  border: 0;
}
.docs-pro-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.docs-pro-flow div {
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: rgba(255,255,255,.28);
  padding: 16px;
}
.docs-pro-flow strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--accent);
}
.docs-pro-flow span {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}
.docs-pro-note {
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.30);
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.docs-pro-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
}
.docs-pro-endpoint code {
  font-size: 16px;
}
.method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.method-post { background: var(--accent); }
.method-get { background: var(--paper-shade); }
.docs-pro-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: rgba(255,255,255,.25);
  margin: 16px 0 0;
}
.docs-pro-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.docs-pro-table th,
.docs-pro-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pencil);
  border-right: 1px solid var(--pencil);
  font-size: 14px;
  line-height: 1.5;
}
.docs-pro-table th:last-child,
.docs-pro-table td:last-child { border-right: 0; }
.docs-pro-table tr:last-child td { border-bottom: 0; }
.docs-pro-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-shade);
}
.docs-code-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.docs-code-panel {
  min-width: 0;
}
.docs-code-label {
  color: var(--annotation);
  margin: 0 0 8px;
}
.docs-pro-status {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--pencil);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}
.docs-pro-status strong { color: var(--ink); }
.docs-pro-status span { color: var(--accent); }
@media (max-width: 1180px) {
  .gs-docs-pro { width: min(100% - 32px, 900px); }
  .docs-pro-hero { grid-template-columns: 1fr; }
  .docs-pro-layout { grid-template-columns: 1fr; }
  .docs-pro-sidebar,
  .docs-pro-toc { position: static; border: 1px dashed var(--pencil); border-radius: 10px; padding: 14px; }
  .docs-pro-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .docs-pro-flow { grid-template-columns: 1fr; }
  .docs-pro-hero h1 { font-size: 42px; }
}

/* ===== Pricing page v7 ===== */
.gs-pricing-page {
  max-width: 1380px;
  padding-top: 46px;
}
.gs-pricing-page .pricing-hero,
.gs-pricing-page .pricing-section,
.gs-pricing-page .pricing-final-cta {
  border-bottom: 1.5px dashed var(--pencil);
  padding: 36px 0;
}
.gs-pricing-page .pricing-hero {
  padding-top: 12px;
  max-width: 1080px;
}
.gs-pricing-page .pricing-hero h1 {
  font-family: var(--hand-display);
  font-size: clamp(42px, 6vw, 76px);
  line-height: .92;
  margin: 12px 0 18px;
  max-width: 940px;
}
.gs-pricing-page .pricing-hero p,
.gs-pricing-page .section-heading-row p,
.gs-pricing-page .pricing-note {
  font-size: 18px;
  color: var(--ink);
  max-width: 900px;
  margin: 0;
}
.gs-pricing-page .pricing-hero-actions,
.gs-pricing-page .pricing-proof-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}
.gs-pricing-page .pricing-proof-row {
  gap: 18px;
  padding-top: 6px;
}
.gs-pricing-page .pricing-proof-row span {
  border: 1.5px dashed var(--pencil);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  background: rgba(255,255,255,.16);
}
.gs-pricing-page .pricing-proof-row strong { color: var(--accent); }
.gs-pricing-page .section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 20px;
}
.gs-pricing-page h2 {
  font-family: var(--hand-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  margin: 10px 0 10px;
}
.gs-pricing-page .professional-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: rgba(255,255,255,.14);
  box-shadow: 3px 3px 0 var(--ink);
}
.gs-pricing-page .professional-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}
.gs-pricing-page .professional-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  background: var(--paper-shade);
  border-bottom: 1.5px solid var(--ink);
  padding: 13px 16px;
}
.gs-pricing-page .professional-table td {
  padding: 16px;
  border-bottom: 1.5px dashed var(--pencil);
  vertical-align: top;
  font-size: 15px;
  color: var(--ink);
}
.gs-pricing-page .professional-table tr:last-child td { border-bottom: 0; }
.gs-pricing-page .professional-table td span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
}
.gs-pricing-page .pricing-market-table td:nth-child(3) {
  background: rgba(255, 91, 61, .08);
  border-left: 1.5px dashed var(--accent);
  border-right: 1.5px dashed var(--accent);
}
.gs-pricing-page .pricing-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 14px;
}
.gs-pricing-page .pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gs-pricing-page .plan-card {
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 24px;
  background: rgba(255,255,255,.12);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.gs-pricing-page .plan-card.featured {
  background: var(--paper-shade);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translateY(-6px);
}
.gs-pricing-page .plan-topline {
  font-family: var(--hand-display);
  font-size: 30px;
  font-weight: 700;
}
.gs-pricing-page .plan-card h3 {
  font-family: var(--hand-display);
  font-size: 46px;
  line-height: 1;
  margin: 0;
}
.gs-pricing-page .plan-card h3 span {
  font-family: var(--hand-body);
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 400;
}
.gs-pricing-page .plan-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}
.gs-pricing-page .plan-card ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.gs-pricing-page .plan-card li {
  font-size: 15px;
  color: var(--ink);
}
.gs-pricing-page .plan-card li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}
.gs-pricing-page .plan-card .btn { margin-top: auto; align-self: flex-start; text-decoration: none; }
.gs-pricing-page .usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gs-pricing-page .usage-card {
  border: 1.5px dashed var(--ink);
  border-radius: 5px;
  padding: 20px;
  background: rgba(255,255,255,.12);
}
.gs-pricing-page .usage-card strong,
.gs-pricing-page .usage-card b,
.gs-pricing-page .usage-card span {
  display: block;
}
.gs-pricing-page .usage-card strong {
  font-family: var(--hand-display);
  font-size: 25px;
  line-height: 1;
}
.gs-pricing-page .usage-card span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 12px;
  color: var(--annotation);
}
.gs-pricing-page .usage-card b {
  font-family: var(--hand-display);
  font-size: 38px;
  line-height: 1;
  margin-top: 6px;
}
.gs-pricing-page .usage-card p {
  color: var(--ink-soft);
  margin: 10px 0 0;
}
.gs-pricing-page .faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gs-pricing-page details {
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  background: rgba(255,255,255,.12);
  padding: 16px 18px;
}
.gs-pricing-page summary {
  cursor: pointer;
  font-family: var(--hand-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.gs-pricing-page details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.gs-pricing-page .pricing-final-cta {
  border-bottom: 0;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.gs-pricing-page .pricing-final-cta h2 {
  margin-bottom: 10px;
}
.gs-pricing-page .pricing-final-cta p {
  font-size: 18px;
  margin-bottom: 20px;
}
@media (max-width: 980px) {
  .gs-pricing-page .pricing-plan-grid,
  .gs-pricing-page .usage-grid,
  .gs-pricing-page .faq-list { grid-template-columns: 1fr; }
  .gs-pricing-page .section-heading-row { flex-direction: column; align-items: flex-start; }
  .gs-pricing-page .plan-card.featured { transform: none; }
}

/* ===== Global Snap V8: Contact Form 7 pages ===== */
.gs-form-page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 8px 0 46px;
}
.gs-form-hero {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
  padding: 26px 18px 4px;
}
.gs-form-hero.compact { margin-bottom: 24px; }
.gs-form-hero h1 {
  font-family: var(--hand-display);
  font-size: clamp(52px, 7vw, 86px);
  line-height: .92;
  margin: 10px 0 16px;
  letter-spacing: -1px;
}
.gs-form-hero h1 span { color: var(--accent); }
.gs-form-hero p {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto;
}
.gs-hero-points {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.gs-hero-points span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255,255,255,.18);
}
.gs-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 28px;
  align-items: start;
}
.gs-form-card,
.gs-side-card,
.gs-trust-row {
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: rgba(255,255,255,.18);
  box-shadow: 3px 3px 0 var(--ink);
}
.gs-form-card { padding: 28px; }
.gs-form-card-head {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1.5px dashed var(--pencil);
}
.gs-form-card-head h2,
.gs-side-card h3 {
  font-family: var(--hand-display);
  font-size: 38px;
  line-height: 1;
  margin: 0 0 8px;
}
.gs-form-card-head p,
.gs-side-card p,
.gs-side-card li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.gs-form-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 104px;
}
.gs-side-card { padding: 22px; box-shadow: none; }
.gs-side-card.accent-card {
  background: var(--paper-shade);
  box-shadow: 3px 3px 0 var(--ink);
}
.gs-side-card ol,
.gs-side-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}
.gs-side-card li { margin: 7px 0; }
.gs-side-card .btn { margin-top: 12px; text-decoration: none; }
.mono-address {
  font-family: var(--mono);
  font-size: 12px !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
}
.gs-trust-row {
  margin-top: 30px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  text-align: center;
  box-shadow: none;
}
.gs-trust-row strong {
  display: block;
  font-family: var(--hand-display);
  font-size: 38px;
  line-height: 1;
}
.gs-trust-row span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}
.gs-cf7-missing {
  border: 1.5px dashed var(--accent);
  border-radius: 6px;
  background: rgba(255, 91, 61, .07);
  padding: 18px;
  font-size: 15px;
  color: var(--ink);
}
.gs-cf7-missing code {
  font-family: var(--mono);
  background: var(--paper-shade);
  padding: 2px 5px;
  border: 1px solid var(--pencil);
  border-radius: 4px;
}
.gs-cf7-shell .wpcf7 form {
  display: grid;
  gap: 16px;
}
.gs-cf7-shell .wpcf7 p { margin: 0; }
.gs-cf7-shell label,
.gs-cf7-shell .gs-field-label {
  display: block;
  font-family: var(--hand-display);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 7px;
}
.gs-cf7-shell input[type="text"],
.gs-cf7-shell input[type="email"],
.gs-cf7-shell input[type="url"],
.gs-cf7-shell input[type="tel"],
.gs-cf7-shell select,
.gs-cf7-shell textarea {
  width: 100%;
  border: 1.7px solid var(--ink);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hand-body);
  font-size: 16px;
  padding: 11px 12px;
  outline: none;
}
.gs-cf7-shell textarea { min-height: 145px; resize: vertical; }
.gs-cf7-shell input:focus,
.gs-cf7-shell select:focus,
.gs-cf7-shell textarea:focus {
  box-shadow: 3px 3px 0 var(--accent);
}
.gs-cf7-shell .gs-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gs-cf7-shell .wpcf7-list-item { margin: 0 14px 8px 0; }
.gs-cf7-shell input[type="checkbox"] { margin-right: 5px; }
.gs-cf7-shell input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hand-body);
  font-size: 16px;
  padding: 9px 18px;
  border: 1.7px solid var(--ink);
  border-radius: 5px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.gs-cf7-shell input[type="submit"]:hover { transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--ink); }
.gs-cf7-shell .wpcf7-not-valid-tip {
  color: var(--accent);
  font-size: 13px;
  margin-top: 5px;
}
.gs-cf7-shell .wpcf7-response-output {
  border: 1.5px dashed var(--ink) !important;
  border-radius: 5px;
  padding: 12px 14px !important;
  margin: 14px 0 0 !important;
  background: rgba(255,255,255,.18);
}
.gs-cf7-shell .gs-small-note {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 5px;
}
@media (max-width: 1050px) {
  .gs-form-layout { grid-template-columns: 1fr; }
  .gs-form-aside { position: static; }
  .gs-trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .gs-form-card { padding: 20px; }
  .gs-cf7-shell .gs-form-row,
  .gs-trust-row { grid-template-columns: 1fr; }
  .gs-form-hero h1 { font-size: 48px; }
  .gs-form-hero p { font-size: 17px; }
}

/* ===== Homepage v9: real assets, matching font, API diagram ===== */
.chrome-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: var(--ink) !important;
  white-space: nowrap !important;
}
.chrome-brand-logo img {
  display: block !important;
  height: 34px !important;
  width: auto !important;
  object-fit: contain !important;
}
.chrome-brand-logo span {
  font-family: var(--mono) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
}

.ba-real {
  background: var(--paper) !important;
}
.ba-real .ba-img-wrap {
  position: relative !important;
  margin: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  background: var(--paper-shade) !important;
}
.ba-real .ba-img-wrap img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  min-height: inherit !important;
}
.ba-real .ba-img-wrap figcaption {
  position: absolute !important;
  left: 12px !important;
  bottom: 12px !important;
  z-index: 2 !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1px dashed var(--pencil) !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  font-family: var(--hand-body) !important;
  font-size: 13px !important;
  line-height: 1 !important;
}
body .gs-home .home-preview-grid .ba-real {
  min-height: 330px !important;
}

.gs-api-diagram {
  height: 100% !important;
  min-height: 330px !important;
  border: 1.5px solid var(--ink) !important;
  border-radius: 8px !important;
  padding: 24px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: 14px !important;
  align-items: center !important;
  background: rgba(255,255,255,.22) !important;
  box-shadow: 4px 4px 0 rgba(31,26,23,.75) !important;
}
.gs-api-diagram .diagram-node {
  border: 1.5px dashed var(--ink) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  min-height: 106px !important;
  background: var(--paper) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.gs-api-diagram .diagram-node strong {
  display: block !important;
  font-family: var(--hand-display) !important;
  font-size: 25px !important;
  line-height: 1 !important;
  margin-bottom: 8px !important;
  color: var(--ink) !important;
}
.gs-api-diagram .diagram-node span {
  display: block !important;
  font-family: var(--hand-body) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: var(--ink-soft) !important;
}
.gs-api-diagram .diagram-node.accent {
  background: var(--accent) !important;
  border-style: solid !important;
  box-shadow: 3px 3px 0 var(--ink) !important;
}
.gs-api-diagram .diagram-node.accent span,
.gs-api-diagram .diagram-node.accent strong { color: var(--ink) !important; }
.gs-api-diagram .diagram-arrow {
  font-family: var(--hand-display) !important;
  font-size: 30px !important;
  color: var(--accent) !important;
  font-weight: 700 !important;
  text-align: center !important;
}

body .gs-home .success-heading h2,
body .gs-home .success-heading p,
body .gs-home .success-card h3,
body .gs-home .success-card-head span,
body .gs-home .success-stats strong,
body .gs-home .success-stats small,
body .gs-home .success-card p,
body .gs-home .success-card a,
body .gs-home .store-row span,
body .gs-home .store-row .store-btn {
  font-family: var(--hand-body) !important;
  letter-spacing: 0 !important;
}
body .gs-home .success-heading h2 {
  font-family: var(--hand-display) !important;
  font-size: clamp(34px, 3.5vw, 50px) !important;
  font-weight: 700 !important;
}
body .gs-home .success-heading p {
  font-size: clamp(17px, 1.4vw, 22px) !important;
  line-height: 1.35 !important;
}
body .gs-home .success-card h3 {
  font-family: var(--hand-display) !important;
  font-size: clamp(30px, 2.4vw, 40px) !important;
  font-weight: 700 !important;
}
body .gs-home .success-card {
  min-height: 330px !important;
}
body .gs-home .success-stats strong {
  font-family: var(--hand-display) !important;
  font-size: clamp(28px, 2.35vw, 38px) !important;
  font-weight: 700 !important;
}
body .gs-home .success-stats small {
  font-size: clamp(16px, 1.25vw, 21px) !important;
}
body .gs-home .success-card p {
  font-size: 16px !important;
  line-height: 1.35 !important;
}
body .gs-home .store-row .store-btn,
body .gs-home .store-row span {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body .gs-home .store-row .store-btn:hover,
body .gs-home .success-card > a:hover {
  transform: translateY(-1px);
  text-decoration: underline !important;
}

body .gs-home .capability-real-tile {
  min-height: 260px !important;
}
body .gs-home .capability-real-tile .ba-real {
  min-height: 150px !important;
}
body .gs-home .capability-real-tile .ba-real .ba-img-wrap figcaption {
  font-size: 11px !important;
  left: 8px !important;
  bottom: 8px !important;
}

@media (max-width: 1180px) {
  .gs-api-diagram { grid-template-columns: 1fr !important; }
  .gs-api-diagram .diagram-arrow { transform: rotate(90deg); }
}
@media (max-width: 760px) {
  .chrome-brand-logo img { height: 28px !important; }
  .chrome-brand-logo span { font-size: 18px !important; }
  body .gs-home .home-preview-grid .ba-real { min-height: 240px !important; }
}

/* V11 homepage testimonials */
body .gs-home .home-testimonials {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}
body .gs-home .home-testimonials > .home-h2 {
  max-width: 1050px !important;
  margin-bottom: 30px !important;
}
body .gs-home .testimonial-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
}
body .gs-home .testimonial-card {
  position: relative !important;
  border: 1.8px solid var(--ink) !important;
  border-radius: 8px !important;
  padding: 34px 34px 28px !important;
  min-height: 360px !important;
  background: rgba(255,255,255,.16) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
body .gs-home .testimonial-card.featured {
  background: rgba(232,224,204,.75) !important;
  box-shadow: 12px 12px 0 var(--ink) !important;
  border-color: transparent !important;
}
body .gs-home .quote-mark {
  font-family: Georgia, serif !important;
  font-size: 96px !important;
  line-height: .7 !important;
  color: rgba(31,26,23,.34) !important;
  margin-bottom: -12px !important;
}
body .gs-home .testimonial-card .quote {
  font-family: var(--hand-display) !important;
  font-size: clamp(24px, 1.9vw, 32px) !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  color: var(--ink) !important;
}
body .gs-home .testimonial-card .quote-body {
  font-family: var(--hand-body) !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  color: var(--ink-soft) !important;
  margin: 0 0 26px !important;
}
body .gs-home .testimonial-person {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-top: auto !important;
}
body .gs-home .testimonial-person img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid var(--pencil-light) !important;
}
body .gs-home .testimonial-person strong {
  display: block !important;
  font-family: var(--hand-display) !important;
  font-size: 28px !important;
  line-height: 1 !important;
  color: var(--ink) !important;
}
body .gs-home .testimonial-person span {
  display: block !important;
  font-family: var(--hand-body) !important;
  font-size: 16px !important;
  color: var(--ink-soft) !important;
  margin-top: 6px !important;
}

@media (max-width: 980px) {
  body .gs-home .testimonial-grid { grid-template-columns: 1fr !important; }
  body .gs-home .testimonial-card { min-height: 0 !important; }
}


/* V12 homepage section labels + case study pages */
body .gs-home .section-title-row {
  max-width: 1380px !important;
  margin: 0 auto 18px !important;
}
body .gs-home .section-title-row .home-h2 {
  margin: 8px 0 0 !important;
}
body .gs-home .testimonial-main-title {
  margin-top: 0 !important;
}

.chrome-tabs .tab-wrap {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.chrome-tabs .tab-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 6px;
  padding: 8px;
  display: none;
  z-index: 100;
}
.chrome-tabs .tab-wrap:hover .tab-dropdown,
.chrome-tabs .tab-wrap:focus-within .tab-dropdown {
  display: block;
}
.chrome-tabs .tab-dropdown a {
  display: block;
  padding: 8px 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--hand-display);
  font-size: 18px;
  border-radius: 4px;
}
.chrome-tabs .tab-dropdown a:hover {
  background: var(--paper-shade);
}

.gs-case-page {
  max-width: 1440px;
}
.gs-case-page .clean-section {
  border-top: 1.5px dashed var(--pencil);
  padding: 54px 0;
}
.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 44px;
  align-items: stretch;
  border-top: none !important;
  padding-top: 30px !important;
}
.case-title {
  font-family: var(--hand-display);
  font-size: clamp(46px, 6vw, 86px);
  line-height: .92;
  margin: 10px 0 18px;
  letter-spacing: -.02em;
}
.case-lead {
  max-width: 830px;
  font-size: 21px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.case-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.case-hero-card {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 32px;
  background: rgba(255,255,255,.18);
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}
.case-brand {
  font-family: var(--hand-display);
  font-size: 58px;
  line-height: .92;
  font-weight: 700;
}
.case-category {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--annotation);
  margin-top: 10px;
}
.case-metric-mini {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.case-metric-mini div,
.case-metric-card {
  border: 1.5px dashed var(--ink);
  border-radius: 8px;
  padding: 14px;
  background: var(--paper);
}
.case-metric-mini strong,
.case-metric-card strong {
  display: block;
  font-family: var(--hand-display);
  font-size: 36px;
  line-height: .9;
}
.case-metric-mini span,
.case-metric-card span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.case-metric-card {
  padding: 22px;
  border-style: solid;
}
.case-metric-card strong { font-size: 52px; }
.case-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}
.case-toc {
  position: sticky;
  top: 92px;
  border: 1.5px dashed var(--pencil);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.16);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-toc strong {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 6px;
}
.case-toc a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}
.case-toc a:hover { color: var(--ink); text-decoration: underline; }
.case-story {
  max-width: 980px;
}
.case-story-block {
  padding: 0 0 42px;
}
.case-story-block h2 {
  font-family: var(--hand-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  margin: 10px 0 12px;
}
.case-story-block p {
  font-size: 19px;
  line-height: 1.62;
  margin: 0 0 18px;
}
.case-story blockquote {
  border-left: 4px solid var(--accent);
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 22px;
  margin: 24px 0 0;
  background: rgba(255,255,255,.18);
  font-family: var(--hand-display);
  font-size: 25px;
  line-height: 1.25;
}
.case-story blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--hand-body);
  font-size: 15px;
  color: var(--ink-soft);
  font-style: normal;
}
.case-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  background: rgba(255,255,255,.15);
}
.case-diagram-node {
  border: 1.5px dashed var(--ink);
  border-radius: 8px;
  padding: 16px;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--hand-display);
  font-size: 24px;
  font-weight: 700;
}
.case-diagram-node.accent {
  background: var(--accent);
  border-style: solid;
  box-shadow: 3px 3px 0 var(--ink);
}
.case-diagram-arrow {
  font-family: var(--hand-display);
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
}
.case-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.case-image-placeholder {
  min-height: 190px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background:
    linear-gradient(16deg, transparent 49.5%, var(--pencil) 50%, transparent 50.5%),
    linear-gradient(-16deg, transparent 49.5%, var(--pencil) 50%, transparent 50.5%),
    rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.case-final-cta {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper-shade);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  box-shadow: 5px 5px 0 var(--ink);
}
.case-final-cta h3 {
  font-family: var(--hand-display);
  font-size: 32px;
  margin: 0 0 6px;
}
.case-final-cta p { margin: 0; font-size: 16px; }

@media (max-width: 1000px) {
  .case-hero,
  .case-layout { grid-template-columns: 1fr; }
  .case-toc { position: relative; top: 0; }
  .case-metrics,
  .case-image-grid { grid-template-columns: 1fr; }
  .case-diagram { grid-template-columns: 1fr; }
  .case-diagram-arrow { text-align: center; transform: rotate(90deg); }
  .case-final-cta { flex-direction: column; align-items: flex-start; }
}

/* V13 homepage order + section chips */
body .gs-home .home-product-success .section-title-row,
body .gs-home .home-testimonials .section-title-row {
  text-align: left !important;
}
body .gs-home .home-product-success .section-title-row .kicker,
body .gs-home .home-testimonials .section-title-row .kicker {
  display: inline-block !important;
}
