/* SmallMES Landing — page-specific styles
   Reusing tokens from brochure-styles.css */

@import url('brochure-styles.css');

/* ── Reset / base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  color: var(--sm-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--sm-line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 12px;
}
.site-header .brand-mark { font-size: 24px; }
.site-header .brand-mark .factory-icon { width: 30px; height: 30px; }
@media (max-width: 480px) {
  .site-header .inner { height: 64px; }
  .site-header .brand-mark { font-size: 19px; }
  .site-header .brand-mark .factory-icon { width: 24px; height: 24px; }
  .site-header .cta-row .btn { padding: 10px 14px; font-size: 13px; }
}
.site-header .nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  color: var(--sm-slate);
}
.site-header .nav a:hover { color: var(--sm-ink); }
.site-header .cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header .phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--sm-mute);
}
@media (max-width: 720px) {
  .site-header .nav { display: none; }
  .site-header .phone { display: none; }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sm-cyan);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(34,181,220,0.55);
}
.btn-primary:hover { background: var(--sm-cyan-600); transform: translateY(-1px); }
.btn-ghost {
  color: var(--sm-ink);
  border-color: var(--sm-line-2);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--sm-ink); }
.btn-dark {
  background: var(--sm-ink);
  color: #fff;
}
.btn-dark:hover { background: var(--sm-navy); }
.btn-lg { padding: 16px 24px; font-size: 15px; border-radius: 12px; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(2px); }

/* ── Section scaffold ─────────────────────────────────────────── */
section { padding: 56px 0; }
section.tight { padding: 40px 0; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sm-cyan);
}
.eyebrow.muted { color: var(--sm-mute); }

h1, h2, h3 { letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { padding: 56px 0 48px; position: relative; overflow: hidden; }
@media (max-width: 720px) {
  .hero { padding: 40px 0 32px; }
}
section { padding: 56px 0; }
@media (max-width: 720px) {
  section { padding: 40px 0; }
  section.tight { padding: 32px 0; }
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .hero h1 { font-size: 38px; line-height: 1.02; }
  .hero .lede { font-size: 17px; }
}
.hero h1 .accent { color: var(--sm-cyan); }
.hero .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--sm-slate);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero .lede .emph { color: var(--sm-ink); font-weight: 600; }

/* Dark hero variant */
.hero.dark-hero {
  background: var(--sm-navy);
  color: #fff;
}
.hero.dark-hero h1 { color: #fff; }
.hero.dark-hero .lede { color: #CBD5E1; }
.hero.dark-hero .lede .emph { color: #fff; }
.hero.dark-hero .reassure { color: #94A3B8; }
.hero.dark-hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.hero.dark-hero .btn-ghost:hover { border-color: #fff; }
.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 480px) {
  .hero .ctas .btn { width: 100%; justify-content: center; }
}
.hero .reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12.5px;
  color: var(--sm-mute);
}
.hero .reassure .check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero .check svg { color: var(--sm-cyan); }

/* hero screenshot frame */
.hero-stage {
  position: relative;
  perspective: 1800px;
  min-height: 480px;
  isolation: isolate;
}
/* decorative cyan blob */
.hero-stage .hero-blob {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(34,181,220,0.30), rgba(34,181,220,0) 70%);
  top: -40px; right: -40px;
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
}
/* dotted accent pattern */
.hero-stage .hero-dots {
  position: absolute;
  width: 120px; height: 120px;
  bottom: 20px; left: -30px;
  z-index: 0;
  background-image: radial-gradient(rgba(34,181,220,0.45) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
}
.screen-frame {
  position: relative;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--sm-line);
  box-shadow:
    0 30px 60px -20px rgba(14,26,43,0.25),
    0 12px 24px -12px rgba(14,26,43,0.18);
  overflow: hidden;
}
.screen-main {
  transform: perspective(1800px) rotateY(-8deg) rotateX(2deg) rotateZ(-1deg);
  transform-origin: center right;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  z-index: 1;
  box-shadow:
    0 50px 90px -30px rgba(14,26,43,0.35),
    0 20px 40px -20px rgba(14,26,43,0.22);
}
.screen-main:hover {
  transform: perspective(1800px) rotateY(-3deg) rotateX(1deg) rotateZ(0);
}
.screen-float {
  position: absolute;
  width: 44%;
  right: -6%;
  bottom: -8%;
  z-index: 2;
  transform: perspective(1400px) rotateY(-12deg) rotateX(3deg) rotateZ(2deg);
  transform-origin: center left;
  box-shadow:
    0 40px 80px -20px rgba(14,26,43,0.40),
    0 15px 30px -10px rgba(34,181,220,0.20);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.screen-float:hover {
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) rotateZ(1deg);
}
.screen-frame .bar {
  background: var(--sm-navy);
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.screen-frame .bar .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.screen-frame .bar .url {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #94A3B8;
}

/* hero blueprint motif */
.hero-motif {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 360px;
  height: 360px;
  opacity: 0.06;
  pointer-events: none;
}

/* floating pills near the hero composition */
.hero-pill {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--sm-line);
  border-radius: 999px;
  padding: 10px 16px 10px 14px;
  box-shadow:
    0 18px 40px -16px rgba(14,26,43,0.30),
    0 6px 12px -6px rgba(14,26,43,0.15);
}
.hero-pill > svg { color: var(--sm-cyan); flex: 0 0 auto; }
.hero-pill > div { display: flex; flex-direction: column; line-height: 1.1; }
.hero-pill b { font-size: 14.5px; font-weight: 700; color: var(--sm-ink); }
.hero-pill span { font-size: 11.5px; color: var(--sm-slate); margin-top: 2px; }
.hero-pill-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #4DA84A;
  box-shadow: 0 0 0 4px rgba(77,168,74,0.18);
  flex: 0 0 auto;
}
.hero-pill--top { top: 6%; left: -4%; transform: rotate(-3deg); }
.hero-pill--bot { bottom: 16%; left: 8%; transform: rotate(2deg); }

@media (max-width: 960px) {
  .hero-stage { min-height: 360px; margin-top: 24px; }
  .screen-main { transform: none; }
  .screen-float { width: 52%; right: -4%; bottom: -10%; transform: rotate(-3deg); }
  .hero-pill--top { left: -10px; }
  .hero-pill--bot { display: none; }
}
@media (max-width: 640px) {
  .hero-stage { min-height: 0; }
  .screen-float, .hero-pill { display: none; }
  .hero-stage .hero-blob, .hero-stage .hero-dots { display: none; }
}

/* ── Logos / social proof strip ───────────────────────────────── */
.proof-strip {
  border-top: 1px solid var(--sm-line);
  border-bottom: 1px solid var(--sm-line);
  padding: 28px 0;
  background: var(--sm-bg);
}
.proof-strip .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.proof-strip .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sm-mute);
  max-width: 180px;
  line-height: 1.4;
}
.proof-strip .logos {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
}
.proof-strip .logo-placeholder {
  height: 30px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--sm-mute);
  border: 1px dashed var(--sm-line-2);
  border-radius: 4px;
  background: #fff;
}
@media (max-width: 720px) {
  .proof-strip .row { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Problem section ──────────────────────────────────────────── */
.problem-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: #fff;
  border: 1px solid var(--sm-line);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.problem-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--sm-cyan);
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.problem-card p {
  font-size: 15.5px;
  color: var(--sm-slate);
  margin: 0;
  line-height: 1.55;
}

/* ── 3-col solution ───────────────────────────────────────────── */
.three-col {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 960px) { .three-col { grid-template-columns: 1fr; } }
.three-col.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .three-col.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .three-col.cols-4 { grid-template-columns: 1fr; } }
.three-col .col .badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--sm-cyan-50);
  color: var(--sm-cyan-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.three-col .col h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.three-col .col p {
  font-size: 15.5px;
  color: var(--sm-slate);
  margin: 0 0 14px;
}
.three-col .col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--sm-slate);
  line-height: 1.65;
}
.three-col .col ul li { margin-bottom: 4px; }
.three-col .col ul li b { color: var(--sm-ink); font-weight: 600; }

/* ── Roadmap cards ────────────────────────────────────────────── */
.roadmap-grid { margin-top: 48px; }
.col.rm { position: relative; padding: 22px 22px 20px; border-radius: 12px; border: 1px solid var(--sm-line-2); background: #fff; }
.col.rm h3 { margin: 14px 0 6px; font-size: 22px; letter-spacing: -.3px; }
.col.rm > p { color: var(--sm-slate); font-size: 14.5px; margin: 0 0 12px; }
.col.rm ul { padding-left: 18px; font-size: 14px; }
.col.rm ul li { margin-bottom: 5px; }
.col.rm .rm-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(34,181,220,0.10); color: var(--sm-cyan);
}
.col.rm .rm-dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
/* Variants */
.col.rm--done    { background: linear-gradient(180deg, rgba(77,168,74,0.06), transparent 60%); border-color: rgba(77,168,74,0.35); }
.col.rm--done    .rm-tag { background: rgba(77,168,74,0.12); color: #2F8A3C; }
.col.rm--active  { border-color: var(--sm-cyan); box-shadow: 0 10px 30px -18px rgba(34,181,220,0.45); }
.col.rm--active  .rm-tag { background: rgba(34,181,220,0.14); color: var(--sm-cyan); }
.col.rm--planned .rm-tag { background: rgba(244,183,58,0.16); color: #B7790F; }
.col.rm--future  { background: #f8fafc; border-style: dashed; }
.col.rm--future  .rm-tag { background: rgba(20,30,45,0.08); color: var(--sm-ink); }

/* Influence-the-roadmap CTA strip */
.rm-influence {
  margin-top: 32px;
  display: flex; align-items: center; gap: 28px;
  padding: 26px 28px;
  border-radius: 14px;
  background: linear-gradient(120deg, #0E1620 0%, #142235 100%);
  color: #fff;
}
.rm-influence h3, .rm-influence p { color: #fff; }
.rm-influence p { color: #c5cfdb; }
.rm-influence .eyebrow { color: var(--sm-cyan); }
.rm-influence .accent { color: var(--sm-cyan); }
.rm-influence .btn { margin-left: auto; white-space: nowrap; }
@media (max-width: 760px) {
  .rm-influence { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rm-influence .btn { margin-left: 0; }
}

/* ── Operator workflow ───────────────────────────────────────── */
.operator-section { background: #fff; padding: 88px 0; }
.operator-section .sec-head { margin-bottom: 56px; }

.op-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 64px;
}
.op-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 56px;
  align-items: center;
}
.op-step:nth-child(even) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.op-step:nth-child(even) .op-step-head { order: 2; }

.op-step-head { display: flex; gap: 22px; align-items: flex-start; }
.op-num {
  flex: 0 0 auto;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sm-cyan);
  background: rgba(34,181,220,0.10);
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1;
}
.op-step-head h3 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -.4px;
  line-height: 1.2;
}
.op-step-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--sm-slate);
  max-width: 44ch;
}

.op-shot {
  border-radius: 12px;
  overflow: hidden;
  background: #0E1620;
  border: 1px solid #1E2D44;
  box-shadow: 0 30px 80px -30px rgba(14,22,32,0.45), 0 8px 24px -12px rgba(14,22,32,0.25);
}
.op-shot .op-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0E1620;
  border-bottom: 1px solid #1E2D44;
}
.op-shot .op-bar .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.op-shot .op-bar .url {
  margin-left: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #7d8a99;
}
.op-shot img { display: block; width: 100%; height: auto; background: #fff; }

.op-tldr {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sm-line-2);
  border-bottom: 1px solid var(--sm-line-2);
}
.op-tldr-item {
  display: flex; align-items: baseline; gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid var(--sm-line-2);
}
.op-tldr-item:last-child { border-right: 0; }
.op-tldr-num {
  font-size: 44px; font-weight: 800; letter-spacing: -1.5px;
  color: var(--sm-cyan); line-height: 1;
}
.op-tldr-lbl { font-size: 14.5px; line-height: 1.45; color: var(--sm-slate); }
.op-tldr-lbl b { color: var(--sm-ink); font-weight: 600; display: block; }

@media (max-width: 900px) {
  .op-step,
  .op-step:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .op-step:nth-child(even) .op-step-head { order: 0; }
  .op-tldr { grid-template-columns: 1fr; }
  .op-tldr-item { border-right: 0; border-bottom: 1px solid var(--sm-line-2); }
  .op-tldr-item:last-child { border-bottom: 0; }
}

/* ── HUB feature ──────────────────────────────────────────────── */
.hub-feature {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) { .hub-feature { grid-template-columns: 1fr; } }
.hub-feature h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.06;
  margin-bottom: 16px;
}
.hub-feature .lede {
  font-size: 17px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 24px;
}
.hub-stack {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 12px;
  font-size: 15px;
}
.hub-stack li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 15.5px;
}
.hub-stack li b { color: var(--sm-cyan); font-weight: 700; }
.hub-stack li svg { flex-shrink: 0; margin-top: 2px; color: var(--sm-cyan); }
.hub-stack li b { color: #fff; font-weight: 600; }

.nuc-shot {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
  position: relative;
  overflow: visible;
}
.nuc-shot img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
}
.nuc-shot .grid-bg { display: none; }
.nuc-shot .ports-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--sm-slate);
  position: relative;
}
.nuc-shot .ports-list .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sm-cyan);
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* ── Timeline showcase ────────────────────────────────────────── */
.timeline-card {
  background: var(--sm-navy-2);
  border-radius: 16px;
  padding: 32px;
  margin-top: 48px;
  border: 1px solid #1E2D44;
}
.timeline-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.timeline-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 6px;
}
.timeline-card .legend {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #fff;
}
.timeline-card .legend .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.timeline-card .frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1E2D44;
  background: #fff;
}
.timeline-card .caption {
  font-size: 13.5px;
  color: #E2E8F0;
  margin: 16px 0 0;
}

/* ── Numbers strip ────────────────────────────────────────────── */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--sm-line);
  border-bottom: 1px solid var(--sm-line);
}
@media (max-width: 720px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
.numbers .stat {
  padding: 28px 24px;
  border-right: 1px solid var(--sm-line);
}
.numbers .stat:last-child { border-right: none; }
@media (max-width: 720px) {
  .numbers .stat:nth-child(2n) { border-right: none; }
  .numbers .stat:nth-child(-n+2) { border-bottom: 1px solid var(--sm-line); }
}
.numbers .stat .big {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sm-ink);
  line-height: 1;
}
.numbers .stat .big .accent { color: var(--sm-cyan); }
.numbers .stat .lbl {
  font-size: 12.5px;
  color: var(--sm-mute);
  margin-top: 8px;
  line-height: 1.4;
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; } }
.quote-card {
  background: #fff;
  border: 1px solid var(--sm-line);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.quote-card .mark {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 0.6;
  color: var(--sm-cyan);
  height: 24px;
}
.quote-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--sm-ink);
  margin: 14px 0 24px;
  flex: 1;
}
.quote-card .who {
  font-size: 12px;
  color: var(--sm-mute);
  border-top: 1px solid var(--sm-line);
  padding-top: 14px;
  line-height: 1.5;
}
.quote-card .who b { color: var(--sm-ink); font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--sm-line);
}
.faq-item {
  border-bottom: 1px solid var(--sm-line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--sm-mute);
  transition: transform .2s ease;
}
.faq-item[open] summary .icon { transform: rotate(45deg); color: var(--sm-cyan); }
.faq-item .body {
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--sm-slate);
  max-width: 760px;
}
.faq-item .body p { margin: 0 0 10px; }
.faq-item .body p:last-child { margin-bottom: 0; }

/* ── Form / final CTA ─────────────────────────────────────────── */
.cta-section {
  background: var(--sm-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section .grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) { .cta-section .grid { grid-template-columns: 1fr; gap: 40px; } }
.cta-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta-section h2 .accent { color: var(--sm-cyan); }
.cta-section .lede {
  font-size: 17px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 28px;
  max-width: 460px;
}
.cta-section .contact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
  font-size: 15px;
}
.cta-section .contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.cta-section .contact-list li svg { color: var(--sm-cyan); flex-shrink: 0; }
.cta-section .contact-list a:hover { color: var(--sm-cyan); }

.lead-form {
  background: #fff;
  color: var(--sm-ink);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  gap: 16px;
}
@media (max-width: 540px) {
  .lead-form { padding: 22px; border-radius: 14px; }
}
.lead-form .form-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.lead-form .form-sub {
  font-size: 13px;
  color: var(--sm-mute);
  margin: -10px 0 6px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--sm-slate);
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 11px 12px;
  border: 1px solid var(--sm-line-2);
  border-radius: 8px;
  background: #fff;
  color: var(--sm-ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--sm-cyan);
  box-shadow: 0 0 0 3px rgba(34,181,220,0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--sm-mute);
  line-height: 1.45;
}
.field-check input { margin-top: 2px; }
.field-check a { color: var(--sm-cyan-600); text-decoration: underline; }

.lead-form .submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lead-form .footnote {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--sm-mute);
}
.lead-form button[type="submit"] {
  background: var(--sm-ink);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  transition: background .15s;
}
.lead-form button[type="submit"]:hover { background: var(--sm-navy); }

/* form success */
.form-success {
  display: none;
  text-align: center;
  padding: 24px 12px 8px;
}
.form-success.shown { display: block; }
.form-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sm-cyan-50);
  color: var(--sm-cyan-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--sm-slate); font-size: 14px; margin: 0; }

/* ── Tour slideshow ───────────────────────────────────────────── */
.tour {
  margin-top: 40px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.tour-frame {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--sm-line);
  box-shadow:
    0 30px 60px -20px rgba(14,26,43,0.25),
    0 12px 24px -12px rgba(14,26,43,0.18);
  overflow: hidden;
  position: relative;
}
.tour-bar {
  background: var(--sm-navy);
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}
.tour-bar .tour-dot {
  width: 9px; height: 9px; border-radius: 50%;
}
.tour-url {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #94A3B8;
  background: rgba(255,255,255,0.06);
  padding: 4px 12px;
  border-radius: 4px;
  min-width: 280px;
  text-align: center;
  transition: color .2s;
}
.tour-stage {
  position: relative;
  overflow: hidden;
  background: var(--sm-bg);
}
.tour-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,.0,.2,1);
  will-change: transform;
}
.tour-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.tour-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.92);
  color: var(--sm-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(14,26,43,0.4);
  transition: background .15s, transform .15s;
}
.tour-arr:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.tour-arr-prev { left: 18px; }
.tour-arr-next { right: 18px; }
@media (max-width: 540px) {
  .tour-arr { width: 38px; height: 38px; }
  .tour-arr-prev { left: 8px; }
  .tour-arr-next { right: 8px; }
  .tour-url { min-width: 0; font-size: 10px; padding: 3px 8px; }
}
.tour-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 0 4px;
}
.tour-cap {
  font-size: 16px;
  color: var(--sm-slate);
  line-height: 1.5;
}
.tour-cap b { color: var(--sm-ink); font-weight: 700; }
.tour-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tour-dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--sm-line-2);
  padding: 0;
  cursor: pointer;
  transition: background .15s, transform .15s, width .2s;
}
.tour-dot-btn:hover { background: var(--sm-mute); }
.tour-dot-btn.on {
  background: var(--sm-cyan);
  width: 22px;
  border-radius: 4px;
}
.tour-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--sm-mute);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .tour-meta {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
  .tour-dots { justify-content: center; }
  .tour-cap { font-size: 14.5px; }
}
.site-footer {
  background: #0A1320;
  color: #94A3B8;
  padding: 48px 0 32px;
  font-size: 14px;
}
.site-footer .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .site-footer .row { grid-template-columns: 1fr; gap: 24px; } }
.site-footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal {
  border-top: 1px solid #1B2940;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: #64748B;
}
.site-footer .tn-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.site-footer .tn-mark img {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  padding: 0;
  mix-blend-mode: screen;
}
.site-footer .tn-mark .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748B;
}

/* ── Section header ───────────────────────────────────────────── */
.sec-head {
  max-width: 720px;
  margin-bottom: 8px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  margin: 12px 0 16px;
}
.sec-head h2 .accent { color: var(--sm-cyan); }
.sec-head p {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--sm-slate);
  margin: 0;
  max-width: 640px;
}
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.sec-head.dark h2 { color: #fff; }
.sec-head.dark p { color: #CBD5E1; }

/* HUB light variant — testo nero su sfondo chiaro */
section.hub-light {
  background: #fff;
  color: var(--sm-ink);
}
section.hub-light .eyebrow { color: var(--sm-cyan-600); }
section.hub-light .hub-feature h2 { color: var(--sm-ink); }
section.hub-light .hub-feature h2 span { color: var(--sm-cyan-600); }
section.hub-light .hub-feature .lede { color: var(--sm-ink); }
section.hub-light .hub-stack li { color: var(--sm-ink); }
section.hub-light .hub-stack li b { color: var(--sm-cyan-600); }
section.hub-light .timeline-card {
  background: var(--sm-bg);
  color: var(--sm-ink);
  border-color: var(--sm-line);
}
section.hub-light .timeline-card h3 { color: var(--sm-ink); }
section.hub-light .timeline-card .legend { color: var(--sm-ink); }
section.hub-light .timeline-card .caption { color: var(--sm-slate); }
section.hub-light .timeline-card .frame { border-color: var(--sm-line); }

