/* Gritpoint website — styles
   Brand: Gritpoint Design System v1.6 (gradient #0ACDF9 → #578ADE → #BD3EEF, Montserrat + JetBrains Mono).
   Most section layout lives as inline styles carried over from the approved design canvas;
   this file holds the shared components, the hero animation and the live estimate sandbox. */

:root {
  --grit-cyan: #0ACDF9;
  --grit-blue: #578ADE;
  --grit-purple: #BD3EEF;
  --grit-gradient: linear-gradient(90deg, #0ACDF9 0%, #578ADE 50%, #BD3EEF 100%);
  --ink: #0F172A;
  --slate-800: #1E293B;
  --slate-600: #475569;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --brand-soft: #EFF4FD;
  --link: #3F6FC4;
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
  --shadow-brand: 0 6px 20px rgba(87, 138, 222, 0.30);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; font-family: var(--font-sans); color: var(--slate-800); background: #FFFFFF; line-height: 1.55; }
img, video { max-width: 100%; }
a { color: var(--link); }
a:hover { color: #2C559E; }
section[id], #top { scroll-margin-top: 72px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(87, 138, 222, 0.55); outline-offset: 2px; border-radius: 6px; }

.gp-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #FFFFFF; padding: 8px 14px; border-radius: 8px; }
.gp-skip:focus { left: 8px; }

/* ---------- Shared layout helpers (used by converted sections) ---------- */
.gp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gp-section { padding: 96px 0; }
.gp-section-alt { background: var(--slate-50); border-top: 1px solid var(--slate-200); }
.gp-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.gp-h2 { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.gp-lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--slate-600); }

/* ---------- Header ---------- */
.gp-header { border-bottom: 1px solid var(--slate-200); background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(6px); position: sticky; top: 0; z-index: 20; }
.gp-nav { display: flex; gap: 24px; flex-wrap: wrap; flex-grow: 1; font-size: 14px; font-weight: 500; }
.gp-login { color: var(--slate-600); font-size: 14px; font-weight: 500; text-decoration: none; }
@media (max-width: 860px) { .gp-nav { display: none; } }

/* ---------- Buttons (Gritpoint DS Button) ---------- */
.gp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; line-height: 1; white-space: nowrap;
  border-radius: 8px; border: 0; cursor: pointer; text-decoration: none;
  transition: transform 120ms cubic-bezier(.4,0,.2,1), box-shadow 180ms cubic-bezier(.4,0,.2,1), background-color 180ms;
}
.gp-btn:active { transform: scale(0.97); }
.gp-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.gp-btn-md { height: 44px; padding: 0 20px; font-size: 14px; }
.gp-btn-lg { height: 50px; padding: 0 28px; font-size: 16px; }
.gp-btn-block { width: 100%; }
/* No border on the gradient button: a transparent border lets the gradient repeat and shows a dark edge. */
.gp-btn-primary { background: var(--grit-gradient); color: #FFFFFF; box-shadow: var(--shadow-brand); }
.gp-btn-primary:hover { box-shadow: 0 8px 26px rgba(87, 138, 222, 0.42); color: #FFFFFF; }
.gp-btn-secondary { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--slate-200), 0 1px 2px rgba(15,23,42,.05); }
.gp-btn-secondary:hover { background: var(--slate-50); color: var(--ink); }
.gp-btn[disabled] { opacity: .55; cursor: not-allowed; }
a:has(> .gp-btn) { text-decoration: none; }

/* ---------- Card / badge / avatar ---------- */
.gp-card { background: #FFFFFF; border: 1px solid var(--slate-200); border-radius: 12px; box-shadow: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04); overflow: hidden; }
.gp-card-featured { position: relative; padding: 32px; }
.gp-card-featured::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grit-gradient); }
.gp-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
.gp-badge-success { background: #ECFDF5; color: #047857; }
.gp-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #10B981; }
.gp-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--grit-gradient); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }

/* ---------- Hero (split backbone) ---------- */
.gp-hero-grid { background-image: linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); }
.gp-split { display: grid; grid-template-columns: minmax(0, 1.15fr) 128px minmax(0, 1fr); align-items: center; }
.gp-spine { position: relative; height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px 0; }
.gp-spine::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 3px; border-radius: 3px; background: linear-gradient(180deg, #0ACDF9, #578ADE 50%, #BD3EEF); opacity: .5; }
.gp-flow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 3px; height: 64px; border-radius: 3px; background: linear-gradient(180deg, transparent, #fff 50%, transparent); animation: gpflow 3.2s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes gpflow { 0% { top: -64px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 420px; opacity: 0; } }
.gp-node { position: relative; width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1.5px solid var(--slate-200); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(15,23,42,.08); z-index: 2; }
.gp-core { width: 14px; height: 14px; border-radius: 50%; background: var(--grit-gradient); }
.gp-ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--grit-blue); opacity: 0; animation: gppulse 3.2s ease-out infinite; }
@keyframes gppulse { 0% { opacity: .7; transform: scale(.7); } 70% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
.gp-lbl { position: absolute; white-space: nowrap; font: 700 11px var(--font-mono); letter-spacing: .5px; text-transform: uppercase; color: var(--slate-600); }
.gp-lbl-r { left: 64px; }
.gp-lbl-l { right: 64px; text-align: right; }
.gp-shot { justify-self: end; width: 100%; max-width: 500px; transform: translateX(32px) perspective(2200px) rotateY(-6deg) rotateX(2deg); }
.gp-grad-anim { background: linear-gradient(90deg, #0ACDF9, #578ADE, #BD3EEF, #578ADE, #0ACDF9); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: gpgrad 6s linear infinite; }
@keyframes gpgrad { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@media (max-width: 1024px) {
  .gp-split { grid-template-columns: 1fr; gap: 40px; }
  .gp-spine { height: 54px; flex-direction: row; width: 100%; padding: 0; }
  .gp-spine::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 3px; transform: translateY(-50%); background: linear-gradient(90deg, #0ACDF9, #578ADE, #BD3EEF); }
  .gp-flow, .gp-lbl { display: none; }
  .gp-shot { transform: none; justify-self: center; }
}
@media (max-width: 560px) {
  .gp-shot [style*="grid-template-columns: 132px"] { grid-template-columns: 1fr !important; }
  .gp-shot [style*="grid-template-columns: 132px"] > div:first-child { display: none !important; }
  h2[style*="font-size: 40px"], .gp-h2 { font-size: 30px !important; }
}

/* ---------- Product feature tabs ---------- */
.gp-tabs-wrap { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin-bottom: 32px; box-shadow: inset 0 -1px 0 var(--slate-200); }
.gp-tabs-wrap::-webkit-scrollbar { display: none; }
.gp-tabs { display: flex; gap: 4px; min-width: max-content; }
.gp-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 16px; min-height: 44px; font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--slate-600); cursor: pointer; }
.gp-tab:hover { color: var(--ink); }
.gp-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--grit-blue); }
.gp-feature { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.gp-feature-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gp-feature-copy h3 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.gp-feature-copy p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--slate-600); }
.gp-checklist { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.gp-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--slate-800); }
.gp-check { flex-shrink: 0; margin-top: 1px; }
.gp-feature-media { flex: 1.7 1 560px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gp-media-frame { border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 12px 32px rgba(15,23,42,.12); }
.gp-grad-bar { height: 3px; background: var(--grit-gradient); }
.gp-media-frame video { display: block; width: 100%; aspect-ratio: 1280 / 824; object-fit: cover; background: var(--slate-50); }
.gp-feature-media figcaption { font-size: 13px; color: var(--slate-600); }
@media (max-width: 640px) { .gp-feature-media { flex-basis: 100%; } }

/* ---------- Comparison table ---------- */
.gp-cmp-row { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); font-size: 14px; border-bottom: 1px solid var(--slate-100); }
.gp-cmp-row > div { padding: 14px 20px; color: var(--slate-600); }
.gp-cmp-row > .gp-cmp-label { font-weight: 500; color: var(--ink); }
.gp-cmp-row > .gp-cmp-grit { background: var(--brand-soft); color: var(--ink); font-weight: 600; }

/* ---------- Forms ---------- */
.gp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--slate-800); }
.gp-field-row .gp-field { flex: 1 1 200px; }
.gp-field input, .gp-field select, .gp-field textarea { font-family: inherit; font-size: 15px; color: var(--ink); background: #FFFFFF; border: 1px solid var(--slate-200); border-radius: 8px; padding: 0 12px; min-height: 44px; transition: border-color 120ms, box-shadow 120ms; }
.gp-field textarea { padding: 10px 12px; resize: vertical; }
.gp-field input:focus, .gp-field select:focus, .gp-field textarea:focus { outline: none; border-color: var(--grit-blue); box-shadow: 0 0 0 3px rgba(87,138,222,.2); }
.gp-field input[aria-invalid="true"] { border-color: #EF4444; }
.gp-field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.gp-optional { font-weight: 400; color: var(--slate-600); }
.gp-form-error { margin: 0; font-size: 13px; color: #B91C1C; flex-basis: 100%; }
.gp-fineprint { margin: 0; font-size: 12px; color: var(--slate-600); }
.gp-notify-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; flex: 1 1 380px; }
.gp-notify-field { flex: 1 1 220px; }
.gp-notify-done { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; color: #047857; }

/* ---------- FAQ ---------- */
.gp-faq-item { border-bottom: 1px solid var(--slate-200); }
.gp-faq-q { width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; padding: 20px 0; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 600; color: var(--ink); }
.gp-faq-sign { font-family: var(--font-mono); font-size: 20px; color: var(--grit-blue); }
.gp-faq-a { margin: 0; padding: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--slate-600); max-width: 720px; }

/* ---------- Booking ---------- */
.gp-book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; }
.gp-book-copy { display: flex; flex-direction: column; gap: 16px; }
.gp-steps { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--slate-800); margin-top: 8px; }
.gp-steps > div { display: flex; gap: 10px; align-items: center; }
.gp-steps span { font-family: var(--font-mono); color: var(--grit-blue); }
.gp-book-form, .gp-book-done { display: flex; flex-direction: column; gap: 16px; }
.gp-form-title { font-size: 18px; font-weight: 600; color: var(--ink); }
.gp-done-title { font-size: 22px; font-weight: 700; }
.gp-book-done p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--slate-600); }

/* ---------- Footer ---------- */
.gp-footer { border-top: 1px solid var(--slate-200); background: #FFFFFF; }
.gp-footer-grid { padding-top: 48px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.gp-footer-brand { display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--slate-600); }
.gp-footer-brand img { height: 24px; width: auto; align-self: flex-start; }
.gp-footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.gp-footer-col a { color: var(--slate-800); text-decoration: none; }
.gp-footer-col a:hover { color: var(--link); }
.gp-footer-head { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-600); }
.gp-footer-legal { padding-top: 16px; padding-bottom: 32px; font-size: 12px; color: var(--slate-600); }

/* ---------- Live estimate sandbox ---------- */
.gp-sandbox { min-height: 640px; }
.sb { font-family: var(--font-sans); color: var(--slate-800); background: #FFFFFF; border: 1px solid var(--slate-200); border-radius: 16px; box-shadow: 0 12px 32px rgba(15,23,42,.12); overflow: hidden; }
.sb-head { padding: 20px 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.sb-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sb-title img { width: 28px; height: 28px; }
.sb-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.sb-sub { font-size: 12px; color: var(--slate-600); }
.sb-pill { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--link); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.sb-reset { background: none; border: 1px solid var(--slate-200); border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--slate-800); padding: 0 14px; min-height: 40px; cursor: pointer; }
.sb .gp-tabs-wrap { margin: 12px 0 0; padding: 0 24px; }
.sb-body { display: flex; flex-wrap: wrap; align-items: stretch; }
.sb-items { flex: 999 1 600px; min-width: 0; padding: 20px 24px; }
.sb-items-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.sb-cap { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-600); }
.sb-hint { font-size: 12px; color: var(--slate-600); }
.sb-table { overflow-x: auto; }
.sb-table-inner { min-width: 640px; }
.sb-grid { display: grid; grid-template-columns: 76px minmax(0, 1.8fr) 0.9fr 0.9fr 1fr 0.9fr 1fr; gap: 8px; align-items: center; }
.sb-th { padding: 0 12px 8px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-600); border-bottom: 1px solid var(--slate-200); }
.sb-row { width: 100%; text-align: left; font-family: inherit; cursor: pointer; padding: 12px; min-height: 52px; margin-top: 4px; border-radius: 8px; border: 1px solid transparent; background: #FFFFFF; }
.sb-row:hover { background: var(--slate-50); }
.sb-row[aria-pressed="true"] { border-color: var(--grit-blue); background: var(--brand-soft); }
.sb-num { font-family: var(--font-mono); font-size: 12.5px; text-align: right; color: var(--slate-800); }
.sb-code { font-family: var(--font-mono); font-size: 12px; color: var(--slate-600); }
.sb-iname { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sb-iname b { font-size: 14px; font-weight: 500; color: var(--ink); }
.sb-iname small { font-size: 11px; color: var(--slate-600); }
.sb-total { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; text-align: right; color: var(--ink); }
.sb-total.zero { color: #B91C1C; }
.sb-side { flex: 1 1 360px; min-width: 0; padding: 20px 24px; background: var(--slate-50); border-left: 1px solid var(--slate-200); }
.sb-k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-600); }
.sb-kb { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--link); }
.sb-h { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.sb-big { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--ink); margin: 2px 0 12px; }
.sb-chain { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.sb-rail { display: flex; flex-direction: column; align-items: center; }
.sb-rail i { width: 10px; height: 10px; border-radius: 999px; background: var(--grit-blue); margin-top: 5px; flex-shrink: 0; }
.sb-rail span { width: 2px; flex-grow: 1; background: var(--slate-200); margin-top: 4px; }
.sb-chain-body { padding-bottom: 14px; }
.sb-v { font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.sb-src { font-size: 12.5px; color: var(--slate-600); margin-top: 2px; line-height: 1.45; }
.sb-stack { display: flex; flex-direction: column; gap: 16px; }
.sb-p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--slate-600); }
.sb-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--slate-600); }
.sb-stepper { display: flex; align-items: center; gap: 8px; background: #FFFFFF; border: 1px solid var(--slate-200); border-radius: 8px; padding: 4px; }
.sb-stepper button { width: 44px; height: 44px; border: 0; background: var(--slate-100); border-radius: 6px; cursor: pointer; font-size: 20px; color: var(--ink); }
.sb-stepper div { flex-grow: 1; text-align: center; font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--ink); }
.sb-stats { background: #FFFFFF; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; }
.sb-stats > div { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding: 10px 14px; font-size: 13px; border-top: 1px solid var(--slate-100); }
.sb-stats > div:first-child { border-top: 0; background: var(--slate-100); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-600); }
.sb-stats span:not(:first-child) { text-align: right; font-family: var(--font-mono); }
.sb-stats .chg { color: var(--link); font-weight: 600; }
.sb-wf { background: #FFFFFF; border: 1px solid var(--slate-200); border-radius: 10px; padding: 8px 10px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.sb-wf.off { opacity: .55; }
.sb-arrows { display: flex; flex-direction: column; gap: 2px; }
.sb-arrows button { width: 40px; height: 22px; border: 0; background: var(--slate-100); border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sb-wf label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.sb-wf input { width: 18px; height: 18px; accent-color: var(--grit-blue); margin: 0; }
.sb-mode { margin-top: 4px; border: 1px solid var(--slate-200); background: var(--slate-50); border-radius: 999px; font-family: inherit; font-size: 11px; font-weight: 600; color: var(--link); padding: 3px 10px; min-height: 26px; cursor: pointer; }
.sb-amt { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; }
.sb-bond { background: #FFFFFF; border: 1px dashed var(--slate-400); border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.sb-line { display: flex; justify-content: space-between; font-size: 13px; padding: 0 4px; }
.sb-checks { background: #FFFFFF; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; }
.sb-check { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--slate-100); min-height: 40px; }
.sb-check:first-child { border-top: 0; }
.sb-check.fail { background: #FEF2F2; }
.sb-dot { width: 20px; height: 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 1.5px solid #CBD5E1; color: var(--slate-400); }
.sb-dot.pass { background: #10B981; border-color: #10B981; color: #FFFFFF; }
.sb-dot.fail { background: #EF4444; border-color: #EF4444; color: #FFFFFF; }
.sb-cl { font-size: 13px; font-weight: 500; color: var(--ink); }
.sb-cn { font-size: 12px; color: #B91C1C; margin-top: 2px; }
.sb-fix { border: 1px solid var(--slate-200); background: #FFFFFF; border-radius: 8px; font-family: inherit; font-size: 12px; font-weight: 600; color: var(--link); padding: 0 10px; min-height: 32px; cursor: pointer; }
.sb-status { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-400); }
.sb-status.pass { color: #047857; }
.sb-foot { border-top: 1px solid var(--slate-200); padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.sb-totals { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; }
.sb-tv { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--ink); }
.sb-tv.big { font-size: 24px; font-weight: 700; }
.sb-delta { font-family: var(--font-mono); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.sb-delta.up { background: #FFFBEB; color: #92400E; }
.sb-delta.down { background: #ECFDF5; color: #047857; }
.sb-cta { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--link); }
@media (max-width: 700px) { .sb-side { border-left: 0; border-top: 1px solid var(--slate-200); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gp-flow, .gp-ring, .gp-grad-anim { animation: none; }
}

/* Compact header on phones */
@media (max-width: 520px) {
  .gp-header > div { gap: 12px !important; flex-wrap: nowrap !important; justify-content: space-between; }
  .gp-login { display: none; }
}
