/* ===================================================================
   BORING SOLUTIONS — shared content-page styles
   Extends the homepage design system (see index.html tokens).
   Content pages SCROLL; the homepage is a fixed no-scroll hero.
   =================================================================== */

/* ---- FONTS (self-hosted, same as homepage) ---- */
@font-face {
  font-family: "Söhne";
  src: url("fonts/soehne-dreiviertelfett.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Söhne";
  src: url("fonts/soehne-buch.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roc Grotesk";
  src: url("fonts/rocgrotesk-bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---- TOKENS ---- */
:root {
  --ink:        #0E1012;
  --ink-2:      #131619;
  --ink-3:      #1A1E22;
  --ink-ring:   #252729;
  --ink-muted:  #7E8388;  /* WCAG AA ≥4.5:1 on --ink for small text */
  --ink-muted-2:#90969B;
  --white:      #FFFFFF;
  --paper:      rgba(255,255,255,0.72);
  --line:       rgba(255,255,255,0.10);
  --line-soft:  rgba(255,255,255,0.06);
  --signal:     #6FE3C5;
  --signal-dim: rgba(111,227,197,0.16);

  --font-display: "Söhne", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Söhne", "Helvetica Neue", Arial, sans-serif;
  --font-logo:    "Roc Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad-x:  clamp(24px, 5vw, 80px);
  --nav-h:  64px;
  --maxw:   1200px;
}

/* ---- CROSS-PAGE TRANSITIONS ---- */
@view-transition { navigation: auto; }

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

/* ---- SKIP LINK (a11y) ---- */
.skip-link {
  position: fixed; top: -60px; left: var(--pad-x); z-index: 1000;
  background: var(--signal); color: var(--ink); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; padding: 10px 18px; border-radius: 2px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; outline: none; }

body {
  min-height: 100%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--signal); color: var(--ink); }

/* ---- GRAIN OVERLAY (identical to homepage) ---- */
.grain-overlay {
  position: fixed; inset: 0; z-index: 900;
  pointer-events: none; opacity: 0.45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ===================================================================
   NAV (fixed) — matches homepage exactly
   =================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 500;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 0 var(--pad-x);
  background: linear-gradient(to bottom, rgba(14,16,18,0.92), rgba(14,16,18,0.0));
  backdrop-filter: blur(2px);
}
.nav-brand {
  font-family: var(--font-logo); font-weight: 700;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); display: inline-flex; align-items: center; gap: 2px;
  transition: opacity 0.2s; justify-self: start;
}
.nav-brand:hover { opacity: 0.7; }
.nav-brand .dot {
  display: inline-block; width: 4px; height: 4px;
  background: var(--signal); border-radius: 50%; margin: 0 2px; flex-shrink: 0;
}
.nav-center {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink-muted); font-size: 12px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase; user-select: none; line-height: 1;
}
.nav-center .bracket { opacity: 0.5; }
.nav-center .time-val { min-width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
.nav-right { display: flex; justify-content: flex-end; }
.menu-btn {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
  padding: 6px 0; display: flex; align-items: center; gap: 10px; transition: color 0.2s;
}
.menu-btn:hover { color: var(--signal); }
.menu-btn .menu-lines { display: flex; flex-direction: column; gap: 4px; }
.menu-btn .menu-lines span {
  display: block; width: 18px; height: 1px; background: currentColor; transition: width 0.2s;
}
.menu-btn .menu-lines span:nth-child(2) { width: 12px; }
.menu-btn:hover .menu-lines span { width: 18px; }

/* ---- MENU OVERLAY (matches homepage) ---- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 800; background: var(--ink);
  display: flex; flex-direction: column;
  padding: var(--nav-h) var(--pad-x) 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.menu-overlay.is-open { opacity: 1; pointer-events: all; }
.menu-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.menu-nav-link {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 7vw, 96px); line-height: 1.08; letter-spacing: -0.02em;
  text-transform: uppercase; color: rgba(255,255,255,0.12);
  display: block; padding: 4px 0; transition: color 0.2s;
}
.menu-nav-link:hover, .menu-nav-link.is-current { color: var(--white); }
.menu-nav-link:focus-visible { color: var(--white); outline: 1px solid var(--signal); outline-offset: 6px; }
.menu-btn:focus-visible, .cta:focus-visible, .btn:focus-visible, .nav-brand:focus-visible,
.footer-col a:focus-visible { outline: 1px solid var(--signal); outline-offset: 4px; border-radius: 1px; }
.menu-nav-link.is-contact { color: rgba(111,227,197,0.2); }
.menu-nav-link.is-contact:hover { color: var(--signal); }
.menu-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 12px;
}
.menu-foot-col { display: flex; flex-direction: column; gap: 6px; }
.menu-foot-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.menu-foot-val { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.menu-foot-val:hover { color: var(--white); }

/* ===================================================================
   LAYOUT PRIMITIVES
   =================================================================== */
main { display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: clamp(64px, 9vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.border-top { border-top: 1px solid var(--line-soft); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted-2); margin-bottom: 28px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 1px; background: var(--signal); display: inline-block;
}
.eyebrow--plain::before { display: none; }

/* Display headings */
.h-hero {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 6.4vw, 104px); line-height: 0.96;
  letter-spacing: -0.025em; text-transform: uppercase;
}
.h-section {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1.02;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.h-block {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.015em;
}
.lede {
  font-size: clamp(18px, 2vw, 23px); line-height: 1.5;
  color: var(--paper); font-weight: 400; max-width: 40ch;
}
.body-lg { font-size: 17px; line-height: 1.65; color: var(--paper); }
.muted { color: var(--ink-muted-2); }
.signal { color: var(--signal); }

/* ---- PAGE HERO (top of each content page) ---- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(40px, 6vw, 84px); }
.page-hero .h-hero { margin-bottom: 28px; max-width: 16ch; }
.page-hero .lede { max-width: 46ch; }

/* ---- CTA links / buttons ---- */
.cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.03em; color: var(--white);
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.22);
  transition: color 0.25s, border-color 0.25s;
}
.cta:hover { color: var(--signal); border-color: var(--signal); }
.cta:hover .cta-icon { transform: translateX(3px); border-color: var(--signal); }
.cta .cta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%; font-size: 13px; transition: transform 0.25s, border-color 0.25s;
}
.cta--signal { color: var(--signal); border-color: var(--signal); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  padding: 15px 28px; border-radius: 2px; transition: all 0.2s; cursor: pointer;
}
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #8AEBD3; }
.btn--ghost { border: 1px solid var(--line); color: var(--white); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.03); }

/* ===================================================================
   SERVICE BLOCKS
   =================================================================== */
.svc {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line-soft);
}
.svc:first-of-type { border-top: none; }
.svc-index {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--signal); text-transform: uppercase; margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.svc-title { margin-bottom: 20px; }
.svc-desc { color: var(--paper); font-size: 17px; line-height: 1.65; max-width: 46ch; }
.svc-list { list-style: none; display: grid; gap: 0; }
.svc-list li {
  display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-soft);
  font-size: 15px; color: var(--paper);
}
.svc-list li:first-child { border-top: none; }
.svc-list .k {
  flex-shrink: 0; width: 12px; color: var(--signal); font-size: 15px; line-height: 1.6;
}

/* ===================================================================
   PROOF / ARTIFACTS
   =================================================================== */
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft);
}
.proof-cell {
  background: var(--ink); padding: 28px 26px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: background 0.2s;
}
.proof-cell:hover { background: var(--ink-2); }
.proof-cell .n { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.proof-cell .t { font-size: 16px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }
.proof-cell .d { font-size: 13.5px; color: var(--ink-muted-2); line-height: 1.55; }

/* ===================================================================
   PRICING TIERS
   =================================================================== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.tier {
  background: var(--ink); padding: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: 24px; transition: background 0.25s;
}
.tier:hover { background: var(--ink-2); }
.tier--feature { background: var(--ink-2); }
.tier-name { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal); }
.tier-price { display: flex; align-items: baseline; gap: 8px; }
.tier-price .from { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.tier-price .amt { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.02em; }
.tier-for { font-size: 14px; color: var(--paper); line-height: 1.6; min-height: 3em; }
.tier-list { list-style: none; display: grid; gap: 0; margin-top: 4px; }
.tier-list li {
  display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-soft);
  font-size: 14px; color: var(--paper); line-height: 1.5;
}
.tier-list .k { color: var(--signal); flex-shrink: 0; }

/* ===================================================================
   FEATURE ROWS / EDITORIAL SPLIT
   =================================================================== */
.split {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.split--top { align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.stat { background: var(--ink); padding: 32px 26px; }
.stat .v { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px,3.4vw,44px); letter-spacing: -0.02em; margin-bottom: 8px; }
.stat .l { font-size: 13px; color: var(--ink-muted-2); letter-spacing: 0.02em; }

/* Two-column list: what we are / are not */
.cols2 { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(28px,5vw,72px); }
.checklist { list-style: none; display: grid; gap: 0; }
.checklist li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--paper); line-height: 1.5; }
.checklist li:first-child { border-top: none; }
.checklist .yes { color: var(--signal); flex-shrink: 0; }
.checklist .no { color: var(--ink-muted); flex-shrink: 0; }
.checklist.is-no li { color: var(--ink-muted-2); }

/* ===================================================================
   CONTACT FORM
   =================================================================== */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted-2); }
.field input, .field select, .field textarea {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 2px;
  color: var(--white); font: inherit; font-size: 15px; padding: 14px 16px; width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--signal); background: var(--ink-3);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235E6266' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
.form-status { font-size: 14px; padding: 14px 16px; border-radius: 2px; display: none; }
.form-status.ok { display: block; background: var(--signal-dim); color: var(--signal); border: 1px solid rgba(111,227,197,0.3); }
.form-status.err { display: block; background: rgba(255,90,80,0.1); color: #FF7A6E; border: 1px solid rgba(255,90,80,0.3); }

/* ===================================================================
   CONTENT FOOTER (not fixed — real page footer)
   =================================================================== */
.footer { border-top: 1px solid var(--line-soft); padding: clamp(56px, 7vw, 96px) 0 40px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.footer-mark { font-family: var(--font-logo); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 2px; margin-bottom: 20px; }
.footer-mark .dot { width: 4px; height: 4px; background: var(--signal); border-radius: 50%; margin: 0 2px; }
.footer-tag { color: var(--ink-muted-2); font-size: 15px; max-width: 30ch; line-height: 1.6; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 18px; font-weight: 600; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--paper); padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--signal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.03em; }

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .tiers { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cols2 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .field-row { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-center .bracket, .nav-center .city { display: none; }
}
@media (max-width: 480px) {
  .nav-center { display: none; }
}

/* ===================================================================
   ESTIMATE CALCULATOR
   =================================================================== */
.calc-shell { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--ink); }
.calc-tabs { display: flex; border-bottom: 1px solid var(--line); }
.calc-tab {
  flex: 1; padding: 18px 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted-2); border-bottom: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.calc-tab:hover { color: var(--white); background: rgba(255,255,255,0.02); }
.calc-tab.is-active { color: var(--signal); border-bottom-color: var(--signal); }
.calc-tab + .calc-tab { border-left: 1px solid var(--line); }

.calc-grid { display: grid; grid-template-columns: 1.55fr 1fr; }
.calc-form { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); min-width: 0; }

.calc-step { padding: 26px 0; border-top: 1px solid var(--line-soft); }
.calc-step:first-child { padding-top: 4px; border-top: none; }
.calc-step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.calc-num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--signal); font-variant-numeric: tabular-nums; }
.calc-step .label { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: var(--white); }
.field-label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted-2); margin-bottom: 10px; }

.tier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tier-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 16px;
  border: 1px solid var(--line); border-radius: 2px; transition: all 0.18s; min-height: 84px;
}
.tier-card:hover { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.02); }
.tier-card.is-active { border-color: var(--signal); background: var(--signal-dim); }
.tc-name { font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }
.tc-meta { font-size: 12px; color: var(--ink-muted-2); line-height: 1.4; }

.calc-form-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.calc-options { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-chip {
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 2px; font-size: 13px;
  font-weight: 500; color: var(--paper); transition: all 0.16s; white-space: nowrap;
}
.calc-chip:hover { border-color: rgba(255,255,255,0.32); color: var(--white); }
.calc-chip.is-active { border-color: var(--signal); color: var(--signal); background: var(--signal-dim); }

.scope-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.scope-tile {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 2px; cursor: pointer; transition: all 0.16s; font-size: 13.5px; color: var(--paper);
}
.scope-tile:hover { border-color: rgba(255,255,255,0.32); }
.scope-tile.is-active { border-color: var(--signal); background: var(--signal-dim); color: var(--white); }
.scope-tile input { position: absolute; opacity: 0; pointer-events: none; }
.scope-tile::before {
  content: ""; width: 15px; height: 15px; border: 1px solid var(--ink-muted); border-radius: 2px;
  flex-shrink: 0; transition: all 0.16s;
}
.scope-tile.is-active::before { background: var(--signal); border-color: var(--signal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%230E1012' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

.venue-cards { display: flex; gap: 8px; flex-wrap: wrap; }
.venue-card { padding: 11px 20px; border: 1px solid var(--line); border-radius: 2px; font-size: 13px; font-weight: 500; color: var(--paper); transition: all 0.16s; }
.venue-card:hover { border-color: rgba(255,255,255,0.32); color: var(--white); }
.venue-card.is-active { border-color: var(--signal); color: var(--signal); background: var(--signal-dim); }

/* Result panel */
.calc-result { background: var(--ink-2); min-width: 0; }
.calc-result-inner { position: sticky; top: calc(var(--nav-h) + 16px); padding: clamp(24px, 3vw, 40px); }
.cr-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted-2); }
.cr-total {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -0.03em; line-height: 1.02; margin: 12px 0 22px; color: var(--white);
  transition: opacity 0.11s, transform 0.11s;
}
.cr-total .dash { color: var(--ink-muted); font-weight: 400; margin: 0 2px; }
.cr-total .per { font-size: 0.42em; color: var(--ink-muted-2); font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.cr-total.is-updating { opacity: 0; transform: translateY(6px); }
.cr-total.out-of-scope-state { font-size: clamp(22px, 2.6vw, 30px); color: var(--signal); }
.cr-oos { font-size: 14px; color: var(--paper); line-height: 1.6; margin-bottom: 22px; }
.cr-breakdown { display: grid; gap: 0; margin-bottom: 26px; }
.cr-breakdown .cr { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--ink-muted-2); }
.cr-breakdown .cr:first-child { border-top: none; }
.cr-breakdown .cr .v { color: var(--paper); text-align: right; }
.calc-empty { font-size: 14px; color: var(--ink-muted); }
.cr-cta { width: 100%; margin-bottom: 14px; }
.cr-note { font-size: 12px; color: var(--ink-muted); line-height: 1.55; }

/* Build-your-own */
#byo-sections { display: grid; gap: 8px; }
.byo-section { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.byo-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; transition: background 0.16s; }
.byo-head:hover { background: rgba(255,255,255,0.02); }
.byo-head-l { display: flex; align-items: center; gap: 12px; }
.byo-num { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--signal); font-variant-numeric: tabular-nums; }
.byo-title { font-size: 15px; font-weight: 600; color: var(--white); }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; background: var(--signal); color: var(--ink); font-size: 11px; font-weight: 600; border-radius: 9px; }
.byo-head-r { display: flex; align-items: center; gap: 14px; }
.running { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.running.has-value { color: var(--signal); }
.byo-chev { font-size: 18px; color: var(--ink-muted-2); width: 16px; text-align: center; }
.byo-body { display: none; border-top: 1px solid var(--line-soft); }
.byo-section.is-open .byo-body { display: block; }
.byo-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line-soft); cursor: pointer; transition: background 0.14s; }
.byo-row:first-child { border-top: none; }
.byo-row:hover { background: rgba(255,255,255,0.02); }
.byo-row.is-on { background: var(--signal-dim); }
.byo-check { display: inline-flex; cursor: pointer; }
.byo-check input { position: absolute; opacity: 0; pointer-events: none; }
.byo-check .box { width: 16px; height: 16px; border: 1px solid var(--ink-muted); border-radius: 2px; transition: all 0.14s; }
.byo-row.is-on .byo-check .box { background: var(--signal); border-color: var(--signal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%230E1012' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }
.byo-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.byo-name { font-size: 14px; color: var(--white); font-weight: 500; }
.byo-desc { font-size: 12.5px; color: var(--ink-muted-2); }
.byo-price { font-size: 13.5px; color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; }
.byo-price .per { color: var(--ink-muted); font-size: 0.82em; }
.qty { display: inline-flex; align-items: center; gap: 2px; grid-column: 3; margin-top: 8px; }
.qty button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 2px; color: var(--white); font-size: 15px; line-height: 1; transition: all 0.14s; }
.qty button:hover { border-color: var(--signal); color: var(--signal); }
.qty .count { min-width: 26px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-form { border-right: none; border-bottom: 1px solid var(--line); }
  .calc-result-inner { position: static; }
  .tier-cards { grid-template-columns: 1fr; }
  .calc-form-row { grid-template-columns: 1fr; gap: 20px; }
}

/* ---- ESTIMATE LEAD GATE ---- */
.calc-gate { padding: clamp(28px, 4vw, 52px); }
.gate-head { max-width: 44ch; margin-bottom: 30px; }
.gate-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.02em; line-height: 1.05; margin: 12px 0 12px; }
.gate-sub { font-size: 15.5px; color: var(--paper); line-height: 1.6; }
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.gate-field { display: grid; gap: 9px; }
.gate-field label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted-2); }
.gate-field input[type="text"], .gate-field input[type="email"] {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 2px; color: var(--white);
  font: inherit; font-size: 15px; padding: 14px 16px; width: 100%; transition: border-color 0.2s, background 0.2s;
}
.gate-field input::placeholder { color: var(--ink-muted); }
.gate-field input:focus { outline: none; border-color: var(--signal); background: var(--ink-3); }
.gate-field input:disabled { opacity: 0.5; cursor: not-allowed; }
.gate-field.has-error input { border-color: #FF7A6E; }
.gate-none { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink-muted-2); text-transform: none; letter-spacing: 0; font-weight: 400; cursor: pointer; }
.gate-none input { width: 15px; height: 15px; accent-color: var(--signal); }
.gate-btn { margin-bottom: 14px; }
.gate-fine { font-size: 12px; color: var(--ink-muted); }
.calc-content.is-locked { display: none; }
@media (max-width: 600px) { .gate-grid { grid-template-columns: 1fr; } }
