/* ===========================================================
   SlabWare — Homepage
   Black + gold brand, schematic/blueprint motif (echoes the
   CNC hero footage), glass surfaces, Outfit/Inter/Open Sans.
   =========================================================== */

:root {
  /* Surfaces */
  --ink: #070605;
  --surface: #0E0C0A;
  --surface-2: #151210;
  --surface-glass: rgba(20, 17, 14, 0.55);

  /* Hairlines */
  --line: rgba(255, 175, 31, 0.16);
  --line-strong: rgba(255, 175, 31, 0.4);
  --line-soft: rgba(255, 255, 255, 0.08);

  /* Brand gold */
  --gold: #ffaf1f;
  --gold-bright: #ffcb4b;
  --gold-deep: #b9790a;
  --gold-soft: rgba(255, 175, 31, 0.14);

  /* Schematic trace accent — pulled straight from the CNC blueprint footage */
  --trace: #FFD263;
  --trace-dim: #f9d372;

  /* Text */
  --white: #f6f4ef;
  --text: #c9cdd3;
  --text-dim: rgba(201, 205, 211, 0.62);
  --text-faint: rgba(201, 205, 211, 0.4);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; background: var(--ink); }

body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
strong, b { color: var(--white); font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Generic scroll-reveal (JS adds .will-reveal then .is-visible via IntersectionObserver;
   default with no JS / reduced-motion is simply visible — see app.js + reduced-motion query) */
.will-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.will-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================
   Type system
========================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 175, 31, 0.7);
  animation: pulse-dot 1.8s infinite;
  flex: 0 0 auto;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 175, 31, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 175, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 175, 31, 0); }
}

.h-display {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  margin: 0;
}
h1.h-display { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2.h-display { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3.h-display { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.h-display .hl { color: var(--gold); }

.lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 620px;
}
.lede.center { margin: 18px auto 0; text-align: center; }

.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-top: 10px; }

section { position: relative; }
.section-pad { padding: 104px 0; }
@media (max-width: 768px) { .section-pad { padding: 72px 0; } }

/* Schematic grid texture — the hero's blueprint grid, echoed quietly through
   the rest of the page so the video doesn't feel like a one-off gimmick. */
.grid-trace {
  background-image:
    linear-gradient(rgba(143, 230, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 230, 238, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

.on-ink { background: var(--ink); }
.on-surface { background: var(--surface); }

/* =========================================
   Buttons
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: #1a1305;
  box-shadow: 0 10px 28px rgba(255, 175, 31, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 175, 31, 0.4); }
.btn-gold:disabled { opacity: 0.65; transform: none; cursor: not-allowed; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: var(--line-soft);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255, 175, 31, 0.06); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 0.98rem; }

/* =========================================
   Header
========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background-color 0.35s ease, padding 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 13px 0;
  background: rgba(7, 6, 5, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo { height: 26px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  align-items: center; justify-content: center;
  cursor: pointer;
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-gold.desktop-only { display: none; }
  .site-header.menu-open .mobile-menu { display: flex; }
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(7, 6, 5, 0.97);
  backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu a {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

/* =========================================
   Hero
========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 96px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: #050403; }
.hero__media video,
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 65% 55% at 50% 28%, rgba(255, 175, 31, 0.16), transparent 68%),
    linear-gradient(180deg, rgba(5,4,3,0.5) 0%, rgba(5,4,3,0.62) 45%, rgba(5,4,3,0.95) 100%),
    linear-gradient(90deg, rgba(5,4,3,0.82) 0%, rgba(5,4,3,0.2) 40%, rgba(5,4,3,0.2) 60%, rgba(5,4,3,0.82) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 56px 0 64px; }
.hero__content .eyebrow { margin-bottom: 20px; }
.hero__content p.lede { opacity: 0.92; margin-top: 18px; }

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.hud-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  background: var(--surface-glass);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  min-width: 128px;
}
.hud-chip::before, .hud-chip::after {
  content: ""; position: absolute; width: 12px; height: 12px; opacity: 0.7;
}
.hud-chip::before { top: -1px; left: -1px; border-top: 1.5px solid var(--trace); border-left: 1.5px solid var(--trace); }
.hud-chip::after { bottom: -1px; right: -1px; border-bottom: 1.5px solid var(--trace); border-right: 1.5px solid var(--trace); }
.hud-chip .num {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hud-chip .lbl {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.scroll-cue .line { width: 1px; height: 26px; background: linear-gradient(180deg, var(--gold), transparent); animation: scroll-pulse 1.8s ease-in-out infinite; }
@keyframes scroll-pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

@media (max-width: 880px) {
  .hero { min-height: auto; padding-top: 84px; }
  .hero__content { padding: 48px 0 56px; }
  .scroll-cue { display: none; }
}

/* =========================================
   Trust ribbon
========================================= */
.trust-ribbon {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  flex: 1 1 200px;
  justify-content: center;
}
.trust-item i { color: var(--gold); }

/* =========================================
   Frame card (signature corner-bracket treatment)
========================================= */
.frame-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.frame-card::before, .frame-card::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none;
}
.frame-card::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); border-radius: var(--radius-md) 0 0 0; opacity: 0.5; }
.frame-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 0 var(--radius-md) 0; opacity: 0.5; }
.frame-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 20px 44px rgba(0,0,0,0.5); }
.frame-card:hover::before, .frame-card:hover::after { opacity: 1; }
.frame-card.is-highlight { background: linear-gradient(180deg, #1a1407 0%, var(--surface) 100%); border-color: var(--line-strong); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--gold-soft);
  border: 1px solid var(--line-strong);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card-kicker {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 8px;
}
.card-title { color: var(--white); font-weight: 700; font-size: 1.18rem; margin: 0 0 10px; }
.card-text { color: var(--text); font-size: 0.96rem; line-height: 1.6; margin: 0; }
.card-text .check { color: var(--gold); margin-right: 8px; }

.cta-banner {
  margin-top: 44px;
  background: linear-gradient(90deg, rgba(255,175,31,0.12) 0%, rgba(255,175,31,0.03) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  color: var(--white);
  font-size: 1.02rem;
  text-align: center;
}
.cta-banner i { color: var(--gold); margin-right: 8px; }

/* =========================================
   Grid helpers
========================================= */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-6 { grid-template-columns: 1fr; } }

/* =========================================
   Hosting / pricing plan card
========================================= */
.plan-card {
  background: linear-gradient(180deg, rgba(255,175,31,0.07) 0%, rgba(255,175,31,0) 55%), var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.plan-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.plan-tag { font-family: "Inter", sans-serif; font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.plan-badge { background: var(--gold); color: #1a1305; padding: 4px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 26px; }
.plan-price .amount { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 3rem; letter-spacing: -0.03em; color: var(--gold); line-height: 1; }
.plan-price .suffix { color: var(--text); font-size: 1.02rem; font-weight: 500; }
.plan-price .note { color: var(--text-faint); font-size: 0.88rem; margin-left: 6px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 0.96rem; line-height: 1.5; }
.plan-list i { color: var(--gold); margin-top: 3px; }
.plan-foot { border-top: 1px solid var(--line); padding-top: 18px; color: var(--text); font-size: 0.95rem; line-height: 1.6; }
.plan-foot i { color: var(--gold); margin-right: 8px; }


.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { flex: 0 0 auto; color: var(--gold); font-size: 0.9rem; transition: transform .25s ease; }
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 22px; color: var(--text-dim); font-size: 0.96rem; line-height: 1.65; margin: 0; }

/* =========================================
   Contact / lead capture
========================================= */
.choice-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.choice-card::before, .choice-card::after { content: ""; position: absolute; width: 20px; height: 20px; opacity: 0.6; }
.choice-card::before { top: -1px; left: -1px; border-top: 2px solid var(--trace); border-left: 2px solid var(--trace); border-radius: var(--radius-lg) 0 0 0; }
.choice-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--trace); border-right: 2px solid var(--trace); border-radius: 0 0 var(--radius-lg) 0; }
.choice-head { text-align: center; margin-bottom: 26px; }
.choice-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--gold-soft); color: var(--gold);
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}
.choice-title { color: var(--white); font-weight: 700; font-size: 1.3rem; margin: 0 0 8px; font-family: "Outfit", sans-serif; }
.choice-sub { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; margin: 0 auto; max-width: 420px; }

.form-label { font-family: "Inter", sans-serif; font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; color: var(--white); display: block; }
.req { color: var(--gold); }

.form-control, .form-select {
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line-soft);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control::placeholder { color: rgba(255,255,255,.32); }
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,175,31,0.18);
}
.form-select option { background: var(--surface-2); color: var(--white); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #ff5b5b; box-shadow: 0 0 0 3px rgba(255,91,91,0.15); }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; }
.consent input { margin-top: 3px; accent-color: var(--gold); flex: 0 0 auto; }
.consent a { color: var(--gold); text-decoration: underline; }
.consent.is-invalid-box label { color: #ff7b7b; }

.form-message { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; margin: 14px 0 0; }
.form-message.is-error { color: #ff7b7b; }
.form-message.is-success { color: #5fd38a; }

.form-legal { color: rgba(201,205,211,.4); font-size: 0.76rem; line-height: 1.55; margin: 14px 0 0; }

.success-state { padding: 18px 0; text-align: center; }
.success-state__check {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(95,211,138,0.14); color: #5fd38a;
  font-size: 2rem; font-weight: 800; border: 2px solid #5fd38a;
}
.success-state h3 { color: var(--white); font-family:"Outfit",sans-serif; font-weight: 700; font-size: 1.4rem; margin: 0 0 10px; }
.success-state p { color: var(--text-dim); font-size: 0.95rem; margin: 0; line-height: 1.6; }

.calendly-inline-widget { border-radius: 12px; overflow: hidden; background: #fff; height: 700px; }
@media (max-width: 991px) { .calendly-inline-widget { height: 760px !important; } }

/* =========================================
   Footer
========================================= */
.site-footer { padding: 30px 0; background: var(--surface); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-row small { color: var(--text-faint); font-size: 0.84rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--gold); text-decoration: none; font-size: 0.84rem; }
.footer-links a:hover { text-decoration: underline; }

/* =========================================
   Bento grid (platform / product panels)
========================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.bento-card:hover { border-color: var(--line-strong); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.bento-card::before, .bento-card::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; opacity: .5; }
.bento-card::before { top: -1px; left: -1px; border-top: 2px solid var(--trace); border-left: 2px solid var(--trace); border-radius: var(--radius-lg) 0 0 0; }
.bento-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 0 var(--radius-lg) 0; }
.bento-card:hover::before, .bento-card:hover::after { opacity: 1; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-3 { grid-column: span 3; }
@media (max-width: 980px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2, .bento-card.span-3 { grid-column: span 1; }
}

.bento-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bento-kicker { font-family: "Inter", sans-serif; font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.bento-title { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.18rem; color: var(--white); margin: 4px 0 0; }
.bento-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--gold-soft); border: 1px solid var(--line-strong); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex: 0 0 auto; }
.bento-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.bento-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--text-dim); font-size: .85rem; line-height: 1.5; }
.bento-stat { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--trace); letter-spacing: -0.02em; line-height: 1; }
.bento-stat .unit { font-size: 1rem; color: var(--text-dim); font-weight: 600; margin-left: 4px; }
.bento-sub { color: var(--text-dim); font-size: .88rem; margin-top: 4px; }

/* Donut chart (conic-gradient) — value renders by default; transition is a JS-enhanced nice-to-have */
.donut-row { display: flex; align-items: center; gap: 22px; }
.donut {
  --pct-a: 0%; --pct-b: 0%;
  width: 96px; height: 96px; border-radius: 50%; flex: 0 0 auto;
  background: conic-gradient(
    var(--gold) 0 var(--pct-a),
    var(--trace) var(--pct-a) var(--pct-b),
    rgba(255,255,255,.08) var(--pct-b) 100%
  );
  display: flex; align-items: center; justify-content: center;
}
.donut.will-animate { background: conic-gradient(var(--gold) 0 0%, var(--gold) 0 0%, rgba(255,255,255,.08) 0 100%); transition: background 1.1s ease; }
.donut.will-animate.is-visible {
  background: conic-gradient(
    var(--gold) 0 var(--pct-a),
    var(--trace) var(--pct-a) var(--pct-b),
    rgba(255,255,255,.08) var(--pct-b) 100%
  );
}
.donut::after { content: ""; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); }
.donut-legend { display: grid; gap: 8px; }
.donut-legend .item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text); }
.donut-legend .sw { width: 9px; height: 9px; border-radius: 2px; flex: 0 0 auto; }
.sw-gold { background: var(--gold); }
.sw-trace { background: var(--trace); }
.sw-line { background: rgba(255,255,255,.2); }

/* Funnel (CRM pipeline) — width renders by default; JS-enhanced grow-in is optional */
.funnel { display: grid; gap: 9px; }
.funnel-row { display: flex; align-items: center; gap: 10px; }
.funnel-bar { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-bright), var(--gold)); width: var(--w); }
.funnel-bar.will-animate { width: 0; transition: width 1s ease; }
.funnel-bar.will-animate.is-visible { width: var(--w); }
.funnel-label { font-size: .76rem; color: var(--text-dim); min-width: 64px; font-family: "Inter", sans-serif; }

/* Bar chart (revenue) — height renders by default; JS-enhanced grow-in is optional */
.bar-chart { display: flex; align-items: flex-end; gap: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.bar-val { font-family: "Inter", sans-serif; font-weight: 700; font-size: .68rem; color: var(--text-dim); white-space: nowrap; }
.bar-track { width: 100%; height: 84px; display: flex; align-items: flex-end; }
.bar-chart .bar { width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); height: var(--h); }
.bar-chart .bar.will-animate { height: 0; transition: height 1s ease; }
.bar-chart .bar.will-animate.is-visible { height: var(--h); }
.bar-month { font-family: "Inter", sans-serif; font-weight: 600; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }

/* Kanban pill row (production) */
.kanban-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kanban-pill {
  font-family: "Inter", sans-serif; font-weight: 600; font-size: .78rem;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-soft); color: var(--text-dim);
}
.kanban-pill.is-active { background: var(--gold-soft); border-color: var(--line-strong); color: var(--gold); }
.kanban-pill.is-done { color: var(--text-faint); text-decoration: line-through; }
.kanban-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  border-radius: 999px; background: rgba(255,255,255,.1);
  font-size: .68rem; font-weight: 700; color: var(--text-dim);
}
.kanban-pill.is-active .kanban-count { background: rgba(255,175,31,.28); color: var(--gold); }
.kanban-pill.is-done .kanban-count { background: transparent; }

/* =========================================
   Supply-chain flow
========================================= */
.chain-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
}
.chain-node {
  flex: 1 1 0;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 14px;
}
.chain-node .chain-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-soft); border: 1px solid var(--line-strong); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  margin-bottom: 14px;
}
.chain-node h4 { color: var(--white); font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1rem; margin: 0 0 6px; }
.chain-node p { color: var(--text-dim); font-size: .85rem; line-height: 1.5; margin: 0; }
.chain-link {
  flex: 0 0 auto;
  width: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  align-self: center;
  margin-top: -64px;
  color: var(--trace);
}
.chain-link .line { width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--trace) 0 6px, transparent 6px 12px); opacity: .6; }
.chain-link span { font-family: "Inter", sans-serif; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 880px) {
  .chain-flow { flex-direction: column; }
  .chain-link { margin-top: 0; width: 1px; height: 40px; flex-direction: row; }
  .chain-link .line { width: 1px; height: 100%; background: repeating-linear-gradient(180deg, var(--trace) 0 6px, transparent 6px 12px); }
}

/* =========================================
   Comparison — bento cards (replaces flat table)
========================================= */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 880px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column;
}
.compare-card.is-highlight {
  background: linear-gradient(180deg, rgba(255,175,31,.08) 0%, var(--surface) 60%);
  border-color: var(--line-strong);
  position: relative;
}
.compare-card.is-highlight::before, .compare-card.is-highlight::after { content: ""; position: absolute; width: 18px; height: 18px; opacity: .8; }
.compare-card.is-highlight::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); border-radius: var(--radius-lg) 0 0 0; }
.compare-card.is-highlight::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 0 var(--radius-lg) 0; }
.compare-name { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white); margin: 0 0 4px; }
.compare-metric { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 22px; }
.compare-metric .val { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--gold); letter-spacing: -.02em; }
.compare-metric .lbl { color: var(--text-faint); font-size: .8rem; }
.compare-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; flex: 1; }
.compare-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); }
.compare-list i.yes { color: var(--gold); }
.compare-list i.no { color: var(--text-faint); }
.compare-list li.is-muted { color: var(--text-faint); }

/* Compare section: red accent for the "rest of the market" cards, gold reserved for SlabWare */
#compare .eyebrow,
#compare .eyebrow .dot,
#compare .h-display .hl {
  color: #ff5b5b;
}
#compare .eyebrow .dot { background: #ff5b5b; }
#compare .compare-card:not(.is-highlight) .compare-metric .val { color: #ff5b5b; }
#compare .compare-card:not(.is-highlight) .compare-list i.yes { color: #ff5b5b; }

/* =========================================
   Onboarding timeline (single wide bento)
========================================= */
.timeline-panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px 36px 30px;
  position: relative;
}
.timeline-track { display: flex; justify-content: space-between; position: relative; gap: 6px; }
.timeline-track::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--trace), var(--gold), var(--trace), var(--gold));
  opacity: .35;
}
.timeline-node { position: relative; flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.timeline-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1305; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; position: relative; z-index: 1;
  box-shadow: 0 10px 24px rgba(255,175,31,.25);
}
.timeline-when { font-family: "Inter", sans-serif; font-weight: 700; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--trace); margin-bottom: 6px; }
.timeline-node h4 { color: var(--white); font-family: "Outfit", sans-serif; font-weight: 700; font-size: .98rem; margin: 0 0 6px; }
.timeline-node p { color: var(--text-dim); font-size: .82rem; line-height: 1.5; margin: 0; max-width: 160px; }
@media (max-width: 880px) {
  .timeline-track { flex-direction: column; gap: 28px; align-items: flex-start; }
  .timeline-track::before { left: 27px; top: 28px; bottom: 28px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), var(--trace), var(--gold), var(--trace), var(--gold)); }
  .timeline-node { flex-direction: row; text-align: left; align-items: flex-start; gap: 16px; }
  .timeline-dot { margin-bottom: 0; }
  .timeline-node p { max-width: none; }
}

/* Mini stat chip row (used above contact form) */
.mini-stats { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.mini-stat { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface-glass); border: 1px solid var(--line-soft); font-family: "Inter", sans-serif; font-size: .82rem; color: var(--text); }
.mini-stat i { color: var(--gold); }

/* FAQ wrapper panel */
.faq-panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 12px 32px; }
.faq-panel .faq-item:first-child { border-top: none; }
.faq-panel .faq-item:last-child { border-bottom: none; }


@media (max-width: 768px) {
  .section-head { margin-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame-card, .btn, .bento-card { transition: none; }
  .frame-card:hover, .btn-gold:hover, .btn-ghost:hover { transform: none; }
  .eyebrow .dot, .scroll-cue .line { animation: none; }
  .will-reveal { opacity: 1; transform: none; transition: none; }
  .donut.will-animate, .funnel-bar.will-animate, .bar-chart .bar.will-animate { transition: none; }
}
