/* ================================================================
   QAcover — design system
   Light, editorial, conversion-first. Product-mockup hero.
   ================================================================ */

:root {
  --bg: #f4eee3;
  --bg-soft: #ece3d3;
  --bg-soft-2: #e2d7c3;
  --surface: #ffffff;
  --card: #ffffff;
  --line: #e2d7c5;
  --line-soft: #ede5d7;
  --text: #16110c;
  --text-dim: #453a31;
  --muted: #6f6157;
  --brand: #ff5600;
  --brand-deep: #b83c00;
  --brand-2: #d04500;
  --brand-wash: #fff2ea;
  --ice: #1778b8;
  --violet: #6d5bd0;
  --amber: #e9a325;
  --danger: #dd3b34;
  --paper: #f4efe7;
  --paper-2: #eae3d9;
  --paper-ink: #16110c;
  --paper-muted: #6a5c52;
  --ink: #16110c;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --nav-h: 72px;
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(38, 24, 12, 0.05), 0 8px 24px -18px rgba(38, 24, 12, 0.35);
  --shadow-md: 0 24px 60px -34px rgba(38, 24, 12, 0.32);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  color: var(--text);
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

::selection { background: #ffd8c4; color: #3a1500; }

:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout ---------- */

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

.section { padding: 104px 0; position: relative; }
.section-tight { padding: 68px 0; position: relative; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-deep);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- type helpers ---------- */

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 62ch;
}

.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(30px, 3.7vw, 46px);
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}
.section-head p { color: var(--muted); font-size: 17px; max-width: 62ch; }

.grad {
  background: linear-gradient(98deg, #c73d00 0%, #ff5600 50%, #ff7a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn svg { flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(180deg, #ff6a1a, #f04a00);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(214, 64, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ff7d33, #ff5600);
  box-shadow: 0 18px 34px -14px rgba(214, 64, 0, 0.5);
}

.btn-ghost {
  background: #fff;
  border-color: #e6ddd2;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: #c9bdb0;
  background: #fffaf6;
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  border-bottom: 1px solid transparent;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow:hover { gap: 11px; border-color: currentColor; }

/* ---------- nav ---------- */

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(244, 238, 227, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-shell.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -22px rgba(38, 24, 12, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--brand);
}
.brand-logo { display: block; height: 36.96px; width: auto; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover { background: var(--bg-soft); color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--brand-deep); background: var(--brand-wash); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav-phone:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative;
  flex: none;
}
.nav-toggle span,
.nav-toggle span::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-shell.open .nav-toggle span { top: 20px; transform: translateX(-50%) rotate(45deg); }
.nav-shell.open .nav-toggle span::before { top: 0; transform: rotate(-90deg); }

.mobile-menu {
  display: none;
  padding: 8px 0 22px;
  border-top: 1px solid var(--line-soft);
}
.mobile-menu > a:not(.btn) {
  display: block;
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu > a[aria-current="page"] { color: var(--brand-deep); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }
.menu-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.nav-shell.open .mobile-menu { display: block; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 64px 0 46px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -260px 0 auto 0;
  height: 720px;
  background:
    radial-gradient(620px 340px at 78% 32%, rgba(255, 138, 76, 0.16), transparent 70%),
    radial-gradient(560px 320px at 18% 8%, rgba(255, 86, 0, 0.09), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy {
  max-width: 840px;
  margin: 0;
  text-align: left;
}
.hero-kicker {
  margin: 0 0 20px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.hero h1 {
  font-size: clamp(34px, 4.3vw, 57px);
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  line-height: 1.02;
}
.hero h1 .bug-mark {
  display: inline-grid;
  place-items: center;
  width: 0.92em;
  height: 0.92em;
  color: var(--brand);
  transform: translateY(0.06em) rotate(-8deg);
}
.hero h1 .bug-mark svg { width: 100%; height: 100%; }
.hero .lede { font-size: 18.5px; max-width: 62ch; margin: 0; }
.hero .btn-row { margin-top: 30px; justify-content: flex-start; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-copy > * { animation: rise 0.75s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.13s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.22s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.38s; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c73d00' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
  border: 1px solid #ffd7c1;
}

/* hero art stage */
.hero-stage {
  position: relative;
  margin: 54px 0 8px;
}

.stage {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 48px 46px;
  background:
    radial-gradient(58% 120% at 50% 42%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 62%),
    linear-gradient(101deg, #ff4a12 0%, #ff7d3a 5%, #ffc4a0 13%, #ffeadc 24%, #fffaf5 39%, #fffaf5 61%, #ffe4cf 76%, #ff8a45 92%, #e83405 100%);
  overflow: hidden;
  box-shadow: 0 50px 90px -60px rgba(80, 25, 0, 0.55);
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(122deg, rgba(255, 255, 255, 0.2) 0 1.5px, transparent 1.5px 14px);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(101deg, #000 0%, transparent 22%, transparent 78%, #000 100%);
  mask-image: linear-gradient(101deg, #000 0%, transparent 22%, transparent 78%, #000 100%);
  pointer-events: none;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 50% 45%, transparent 30%, rgba(190, 40, 0, 0.18) 100%);
  pointer-events: none;
}

/* product mock */
.app {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  background: #fdfaf6;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 34px 70px -34px rgba(58, 18, 0, 0.45), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
  font-size: 13px;
  color: #1b1410;
}

.app-rail {
  background: #f6f2ec;
  border-right: 1px solid #eae2d8;
  padding: 18px 14px 16px;
  font-size: 11.5px;
}
.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a938c;
  padding: 0 4px 12px;
}
.rail-head em {
  font-style: normal;
  color: #9aa39c;
  letter-spacing: 0;
  text-transform: none;
}
.file-list { display: flex; flex-direction: column; gap: 1px; }
.file-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #4d574f;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-list li.active { background: #fff; box-shadow: 0 1px 2px rgba(38, 24, 12, 0.07); color: #1a130d; }
.file-list li i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1fa971;
  flex: none;
}
.file-list li.warn i { background: #e5a125; }
.file-list li.fail i { background: #dd3b34; }
.rail-more {
  margin-top: 12px;
  padding: 0 8px;
  font-size: 10.5px;
  color: #939c95;
}

.app-main { padding: 18px 20px 20px; min-width: 0; }

.app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.run-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.run-title strong {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8f7ef;
  border: 1px solid #cdeede;
  color: #137a56;
  font-size: 10.5px;
  font-weight: 600;
}
.pill-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #12a56f;
}
.app-meta {
  font-size: 10.5px;
  color: #8b948d;
  text-align: right;
  line-height: 1.9;
}
.app-meta b { color: #5d675f; font-weight: 500; }

.status { margin: 16px 0 14px; }
.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #98a19a;
  margin-bottom: 6px;
}
.status-top b { font-weight: 500; font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 10.5px; color: #6f7972; }
.status-bar {
  display: flex;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: #ece5db;
  gap: 2px;
}
.status-bar i { display: block; height: 100%; }
.status-bar i:nth-child(1) { background: #17a673; }
.status-bar i:nth-child(2) { background: #f0b429; }
.status-bar i:nth-child(3) { background: #dd3b34; }
.status-bar i:nth-child(4) { background: #e8dfd4; }

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.metric {
  background: #fff;
  border: 1px solid #ece4da;
  border-radius: 8px;
  padding: 9px 10px 8px;
  box-shadow: 0 1px 1px rgba(38, 24, 12, 0.03);
}
.metric-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #7c857e;
}
.metric-label i { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.metric-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.3;
  margin-top: 2px;
}
.metric-value.fail { color: #cf2f28; }

.app-grid {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.panel {
  background: #fff;
  border: 1px solid #ece4da;
  border-radius: 8px;
  padding: 12px;
  min-width: 0;
}
.panel h4 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #98a19a;
  font-weight: 500;
  margin-bottom: 12px;
}

.sev-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 92px;
}
.sev { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.sev-count { font-size: 10px; color: #4d574f; font-weight: 600; }
.sev-bar {
  width: 100%;
  border-radius: 3px;
  background: #cfc6ba;
  min-height: 6px;
  transition: height 0.4s var(--ease);
}
.sev.critical .sev-bar { background: #dd3b34; }
.sev.major .sev-bar { background: #353b37; }
.sev.minor .sev-bar { background: #c4b9ac; }
.sev.low .sev-bar { background: #e6e0d8; }
.sev-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #8b948d;
}
.sev-label i { width: 4px; height: 4px; border-radius: 50%; background: #cfc6ba; flex: none; }
.sev.critical .sev-label i { background: #dd3b34; }

.results-list { display: flex; flex-direction: column; gap: 1px; }
.results-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  border-bottom: 1px solid #f5f0e9;
  font-size: 11px;
  color: #2c3730;
  min-width: 0;
}
.results-list li:last-child { border-bottom: 0; }
.results-list .res-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.results-list .res-time {
  margin-left: auto;
  font-size: 9.5px;
  color: #98a19a;
  white-space: nowrap;
  flex: none;
}
.results-list .res-time.fail { color: #cf2f28; }
.results-list .res-time.warn { color: #b57814; }

.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: #17a673; }
.dot.fail { background: #dd3b34; }
.dot.warn { background: #efb020; }

/* floating cards */
.float {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 26px 50px -28px rgba(60, 18, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  color: #1b1410;
}
.float-ai { left: -6px; top: 86px; width: 226px; padding: 12px; }
.float-team { right: -6px; top: 28px; width: 238px; padding: 12px 14px 13px; }
.float-pass { right: 22px; bottom: -26px; width: 208px; padding: 12px 14px 10px; }

.ai-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ai-head .ai-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #17120d;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.ai-head strong { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.ai-head .ai-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #6f7972;
  background: #f5f0e9;
  border-radius: 4px;
  padding: 2px 5px;
}
.mini-card {
  border: 1px solid #eceee9;
  border-radius: 9px;
  padding: 9px 10px;
  background: #fff;
  box-shadow: 0 2px 5px -3px rgba(38, 24, 12, 0.15);
}
.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #6f7972;
  margin-bottom: 6px;
}
.mini-top b { font-size: 9.5px; font-weight: 600; color: #cf2f28; }
.ai-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid #eceee9;
  border-radius: 9px;
  background: #fff;
}
.ai-row .ai-ico {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #f5f0e9;
  display: grid;
  place-items: center;
  color: #5d675f;
  flex: none;
}
.ai-row strong { display: block; font-size: 10.5px; font-weight: 600; }
.ai-row span { display: block; font-size: 9px; color: #8b948d; }

.spark { width: 100%; height: auto; display: block; }
.spark-wrap { margin: 2px -2px -2px; }

.team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #98a19a;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid #f3eee6;
}
.team-head span {
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  font-size: 9.5px;
  color: #6f7972;
  background: #f7f2ea;
  border-radius: 999px;
  padding: 2px 7px;
}
.team-lead { display: flex; align-items: center; gap: 9px; }
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #17120d;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex: none;
}
.team-lead strong { display: block; font-size: 11.5px; font-weight: 600; }
.team-lead span { display: block; font-size: 9.5px; color: #8b948d; }
.team-avatars { display: flex; align-items: center; margin-top: 10px; }
.team-avatars .avatar {
  width: 22px;
  height: 22px;
  font-size: 8px;
  border: 2px solid #fff;
  margin-right: -7px;
}
.team-avatars .avatar:nth-child(1) { background: #f0642f; }
.team-avatars .avatar:nth-child(2) { background: #2f6df0; }
.team-avatars .avatar:nth-child(3) { background: #c2542a; }
.team-avatars .avatar:nth-child(4) { background: #8a4ff0; }
.team-avatars .avatar.more { background: #f5f0e9; color: #6f7972; border-color: #fff; }
.team-avatars .avatar.more { margin-right: 0; margin-left: 12px; }

.pass-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #98a19a;
}
.pass-head b { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 9.5px; color: #12a56f; }
.pass-big {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.15;
  margin: 1px 0 0;
}
.pass-big small { font-size: 14px; letter-spacing: -0.02em; }
.pass-foot { font-size: 9.5px; color: #8b948d; margin-bottom: 4px; }

/* ---------- ticker ---------- */

.ticker {
  margin-top: 58px;
  position: relative;
}
.ticker-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa39c;
  margin-bottom: 14px;
  text-align: center;
}
.ticker-viewport {
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: ticker 58s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-dim);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 14px;
  white-space: nowrap;
  box-shadow: 0 10px 20px -18px rgba(38, 24, 12, 0.5);
}
.tick-item img { width: 17px; height: 17px; flex: none; object-fit: contain; }
.tick-item b { font-weight: 500; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 30px 26px 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat strong em {
  font-style: normal;
  font-size: 22px;
  color: var(--brand-2);
  margin-left: 1px;
}
.stat strong .stat-num { font: inherit; letter-spacing: inherit; }
.stat span { font-size: 13.5px; color: var(--muted); line-height: 1.55; display: block; }

/* ---------- paper (problem band) ---------- */

.paper {
  background: var(--bg-soft);
  padding: 96px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.paper h2, .paper h3 { color: var(--paper-ink); }
.paper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.paper-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-sm);
}
.paper-card .num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--brand-2);
  display: block;
  margin-bottom: 14px;
}
.paper-card h3 { font-size: 19px; letter-spacing: -0.03em; margin-bottom: 9px; }
.paper-card p { font-size: 14px; color: var(--paper-muted); }

.paper-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 22px 26px;
  border: 1px dashed #ddd2c4;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
}
.paper-note p { font-size: 15px; color: var(--paper-muted); max-width: 70ch; }
.paper-note strong { color: var(--paper-ink); }

/* ---------- models ---------- */

.models {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.models.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.model-spot {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 30px 36px;
  align-content: start;
  padding: 36px 34px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid #ffd8c0;
  background:
    radial-gradient(560px 280px at 6% 0%, rgba(255, 86, 0, 0.1), transparent 66%),
    linear-gradient(180deg, #fffaf4, #ffffff 62%);
  box-shadow: 0 34px 70px -46px rgba(180, 60, 0, 0.42);
  overflow: hidden;
}
.model-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 16px;
}
.model-tag::before {
  content: "";
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--brand);
}
.model-spot h3 {
  font-size: clamp(24px, 2.3vw, 31px);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.model-spot .spot-main > p { font-size: 14.5px; color: var(--muted); max-width: 56ch; }
.spot-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
  margin: 22px 0 24px;
}
.spot-list li {
  display: flex;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.45;
}
.spot-list li svg { color: var(--brand-deep); flex: none; margin-top: 2px; }
.spot-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  grid-column: 1 / -1;
}
.spot-foot > span { font-size: 12.5px; color: var(--muted); }
.spot-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 6px 0 0 26px;
  border-left: 1px solid var(--line-soft);
}
.spot-fact { display: flex; flex-direction: column; gap: 1px; }
.spot-fact b {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--brand-deep);
  line-height: 1;
}
.spot-fact span { font-size: 12.5px; color: var(--muted); }

.model-list { display: flex; flex-direction: column; gap: 12px; }
.model-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.model-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #f1c6ab; }
.model-row h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.model-row p { font-size: 12.5px; color: var(--muted); line-height: 1.5; max-width: 34ch; }
.model-row .mr-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8d8175;
  white-space: nowrap;
}
.model-row > svg { color: var(--brand-2); flex: none; transition: transform 0.25s var(--ease); }
.model-row:hover > svg { transform: translateX(3px); }
.model-row.more { background: #fdf6ee; border-style: dashed; box-shadow: none; }
.model-row.more h4 { font-size: 15px; }

.model {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.model:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #e2d4c5; }
.model.featured {
  border-color: #ffcaa8;
  background: linear-gradient(180deg, #fff7f2, #fff 55%);
  box-shadow: 0 22px 50px -32px rgba(200, 70, 0, 0.35);
}
.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 14px;
}
.model-badge::before {
  content: "";
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--brand);
}
.model h3 { font-size: 19px; letter-spacing: -0.03em; margin-bottom: 8px; }
.model > p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.model ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.model li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.model li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c73d00' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 8px no-repeat;
}
.model-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}
.model-foot strong { font-weight: 600; letter-spacing: -0.01em; }
.model-foot span { color: var(--muted); }

.models.two .model { padding: 28px; }
.models.two .model h3 { font-size: 20px; }
.models.two .model p { color: var(--paper-muted); font-size: 14px; }

/* ---------- service rows ---------- */

.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.15fr) minmax(0, 1fr) 40px;
  align-items: center;
  gap: 24px;
  padding: 24px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.svc:hover { background: #fdf9f3; }
.svc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a1aaa2;
  letter-spacing: 0.08em;
}
.svc h3 { font-size: 20px; letter-spacing: -0.03em; }
.svc h3 a { display: inline-flex; align-items: center; gap: 8px; }
.svc h3 a svg { color: var(--brand-2); opacity: 0; transform: translateX(-4px); transition: 0.25s var(--ease); }
.svc:hover h3 a svg { opacity: 1; transform: none; }
.svc > p { font-size: 14px; color: var(--muted); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.svc-tags span {
  font-size: 11px;
  color: #5b6a62;
  background: #f5f7f3;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.svc-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: 0.25s var(--ease);
}
.svc:hover .svc-arrow { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

/* ---------- bento cards ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #e2d4c5; }
.card.span-2 { grid-column: span 2; }
.card h3 { font-size: 18.5px; letter-spacing: -0.03em; margin-bottom: 8px; }
.card > p { font-size: 14px; color: var(--muted); }
.card .link-arrow { margin-top: 14px; }

.icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-wash);
  border: 1px solid #ffd7c1;
  color: var(--brand-deep);
  margin-bottom: 16px;
}

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(255, 86, 0, 0));
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand-2);
  margin-bottom: 14px;
}
.step h3 { font-size: 17.5px; letter-spacing: -0.03em; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }
.step-time {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8981;
  background: #f6f8f4;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px 9px;
}

/* ---------- comparison ---------- */

.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: 16px 20px; display: flex; align-items: center; gap: 10px; }
.compare-row > div:first-child { color: var(--text-dim); font-weight: 500; }
.compare-row > div:nth-child(2) { color: var(--muted); }
.compare-row > div:nth-child(3) { font-weight: 500; color: var(--text); background: #fff7f1; }
.compare-row.head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8b958d;
  background: var(--bg-soft);
}
.compare-row.head > div { font-weight: 500; padding-top: 13px; padding-bottom: 13px; }
.compare-row.head > div:nth-child(3) { background: #fff2ea; color: var(--brand-deep); }

.check, .cross {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
}
.check { background: #fff0e8; color: var(--brand-deep); }
.cross { background: #fbeeed; color: #c5463f; }

/* ---------- lead + form ---------- */

.lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 52px;
  align-items: start;
  padding: 52px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(255, 86, 0, 0.08), transparent 65%),
    radial-gradient(520px 300px at 92% 100%, rgba(255, 138, 76, 0.14), transparent 65%),
    #fdf7f1;
}
.lead h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
.lead-points { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.lead-points li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }
.lead-points strong { color: var(--text); }
.tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff0e8;
  border: 1px solid #ffd7c1;
  color: var(--brand-deep);
  flex: none;
  margin-top: 2px;
}
.lead-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--muted);
}
.lead-note svg { color: var(--brand-deep); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 30px 60px -40px rgba(38, 24, 12, 0.45);
}
.form-card h3 { font-size: 20px; letter-spacing: -0.03em; margin-bottom: 6px; }
.form-card > p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7d8981;
}
.field label span { color: #a4ada6; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: #fdfdfb;
  border: 1px solid #e0e5de;
  border-radius: 10px;
  padding: 11px 12px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364756d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #b3a79a; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #ff9c66;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 86, 0, 0.13);
}
.form-foot { margin-top: 16px; }
.form-foot .btn { width: 100%; }
.form-privacy { font-size: 11.5px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--brand-deep);
  flex: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--brand-wash); }
.faq .answer {
  padding: 0 60px 22px 4px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- cta band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  color: #efe4d8;
  background: #120d09;
  border: 1px solid #2b1b12;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 300px at 20% 0%, rgba(255, 86, 0, 0.26), transparent 70%),
    radial-gradient(500px 280px at 85% 110%, rgba(255, 122, 60, 0.24), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  color: #fff;
}
.cta-band p { color: #c0ad9e; max-width: 62ch; margin: 0 auto; font-size: 16px; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff4ec;
  box-shadow: none;
}
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.13); }
.band-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: 12px;
  color: #a89a8c;
}
.band-note span { display: inline-flex; align-items: center; gap: 7px; }
.band-note span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff8a4d;
}

/* ---------- page hero ---------- */

.page-hero {
  position: relative;
  padding: 74px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -180px 0 auto 0;
  height: 520px;
  background:
    radial-gradient(520px 300px at 82% 18%, rgba(255, 138, 76, 0.15), transparent 70%),
    radial-gradient(520px 280px at 12% 0%, rgba(255, 86, 0, 0.11), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.page-hero-copy { max-width: 780px; }
.crumbs { font-size: 12.5px; color: #93a099; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.page-hero h1 {
  font-size: clamp(34px, 4.5vw, 58px);
  letter-spacing: -0.045em;
  margin: 18px 0 20px;
  max-width: 20ch;
}
.page-hero .lede { max-width: 66ch; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .svc-tags span { background: #fff; }

/* ---------- prose / split / side card ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: start;
}

.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.035em;
  margin: 34px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; letter-spacing: -0.02em; margin: 24px 0 8px; }
.prose p { color: var(--text-dim); margin-bottom: 14px; font-size: 15.5px; }
.prose ul { display: flex; flex-direction: column; gap: 9px; margin: 16px 0 22px; }
.prose li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.prose a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.side-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.side-card h3 { font-size: 18px; letter-spacing: -0.03em; margin-bottom: 16px; }
.side-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.side-card li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }
.side-card li svg { color: var(--brand-deep); flex: none; margin-top: 2px; }
.side-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: #8b958d;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.deliverable {
  display: flex;
  gap: 13px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.deliverable > svg { color: var(--brand-deep); flex: none; margin-top: 3px; }
.deliverable strong { display: block; font-size: 14.5px; letter-spacing: -0.02em; margin-bottom: 3px; }
.deliverable span { display: block; font-size: 13px; color: var(--muted); line-height: 1.55; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #4f5e56;
  background: #f7f9f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
}

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related a {
  display: block;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #dfd2c4; }
.related small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93a099;
  margin-bottom: 8px;
}
.related strong { display: block; font-size: 16px; letter-spacing: -0.025em; margin-bottom: 5px; }
.related span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- centered pages ---------- */

.centered-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
  background:
    radial-gradient(600px 340px at 50% 0%, rgba(255, 86, 0, 0.12), transparent 70%),
    radial-gradient(500px 300px at 80% 100%, rgba(255, 138, 76, 0.12), transparent 70%);
}
.centered-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-md);
}
.centered-card h1 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.04em; margin: 16px 0 14px; }
.centered-card p { color: var(--muted); font-size: 15.5px; max-width: 48ch; margin: 0 auto; }
.centered-card .btn-row { justify-content: center; margin-top: 26px; }
.big-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: var(--brand-wash);
  border: 1px solid #ffd7c1;
  color: var(--brand-deep);
}

/* ---------- footer ---------- */

.footer {
  background: #16110c;
  color: #bba99b;
  padding: 66px 0 26px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { font-size: 13.5px; color: #b09a8d; margin-top: 14px; max-width: 40ch; }
.footer-contact { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; font-size: 13px; }
.footer-contact a { color: #e6d8cc; }
.footer-contact a:hover { color: #ff8a4d; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7a6c;
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: #bba99b; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dcc9bb;
  transition: 0.2s var(--ease);
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.08); color: #ff8a4d; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #93816f;
}
.footer-loc { display: inline-flex; align-items: center; gap: 7px; }
.footer .muted { color: #a2917f; }

/* ---------- sticky cta ---------- */

.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px 11px 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px -20px rgba(38, 24, 12, 0.45);
  transform: translateY(130%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  backdrop-filter: blur(10px);
}
.sticky-cta.is-visible { transform: none; opacity: 1; }
.sticky-copy { display: flex; flex-direction: column; }
.sticky-copy strong { font-size: 13.5px; letter-spacing: -0.02em; }
.sticky-copy span { font-size: 11px; color: var(--muted); }

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand), #ff9a5c);
  transition: transform 0.1s linear;
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .nav-links a { padding: 8px 10px; }
  .stage { padding: 40px 34px; }
  .float-ai { left: -2px; width: 210px; }
  .float-team { right: -2px; width: 220px; }
  .model-spot { gap: 20px; padding: 30px 28px 28px; }
  .svc { grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1fr) 36px; gap: 18px; }
  .lead { grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; padding: 40px; }
}

@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 960px) {
  .model-spot { grid-template-columns: 1fr; }
  .spot-aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 32px;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .models { grid-template-columns: 1fr; }
  .float { position: static; width: auto; box-shadow: var(--shadow-sm); }
  .stage { padding: 20px; }
  .app { grid-template-columns: 1fr; }
  .app-rail { display: none; }
  .app-grid { grid-template-columns: 1fr; }
  .flush-floats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .stage-floats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px auto 0;
    max-width: 960px;
  }
  .stage-floats .float-pass { grid-column: 1 / -1; }
  .paper-grid, .bento, .related, .deliverables { grid-template-columns: 1fr; }
  .card.span-2 { grid-column: auto; }
  .process { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .side-card { position: static; }
  .lead { grid-template-columns: 1fr; padding: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .compare-row { font-size: 13px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section-tight { padding: 48px 0; }
  .paper { padding: 64px 0; }
  .hero { padding: 40px 0 34px; }
  .hero h1 { font-size: clamp(32px, 8.4vw, 44px); }
  .hero .lede { font-size: 16.5px; }
  .hero-kicker { font-size: 10.5px; letter-spacing: 0.05em; margin-bottom: 16px; }
  .hero-stage { margin-top: 36px; }
  .stage { padding: 14px; border-radius: 20px; }
  .app-main { padding: 14px 14px 16px; }
  .run-title strong { font-size: 18px; }
  .app-meta { display: none; }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric:nth-child(4), .metric:nth-child(5) { display: none; }
  .app-grid { margin-top: 10px; }
  .sev-chart { height: 76px; }
  .stage-floats { grid-template-columns: 1fr; }
  .stage-floats .float-pass { grid-column: auto; }
  .ticker { margin-top: 36px; }
  .spot-list { grid-template-columns: 1fr; }
  .spot-foot { justify-content: flex-start; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(26px, 6.4vw, 34px); }
  .models, .models.two { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 32px minmax(0, 1fr) 34px; gap: 12px; padding: 20px 4px; }
  .svc > p { display: none; }
  .svc h3 { font-size: 17px; }
  .svc-arrow { width: 34px; height: 34px; }
  .process { grid-template-columns: 1fr; }
  .lead { padding: 24px; border-radius: 20px; }
  .form-card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0 46px; }
  .page-hero h1 { max-width: 100%; }
  .cta-band { padding: 40px 22px; border-radius: 20px; }
  .centered-card { padding: 38px 22px; }
  .faq summary { font-size: 15.5px; padding: 17px 2px; }
  .faq .answer { padding-right: 10px; }
  .footer { padding: 48px 0 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > div { padding: 12px 14px; font-size: 12.5px; }
  .compare-row > div:first-child { grid-column: 1 / -1; padding-bottom: 4px; font-weight: 600; }
  .compare-row.head { display: none; }
  .stats { border-bottom: 0; }
  .stat { padding: 22px 16px; }
  .stat strong { font-size: 32px; }
  .sticky-cta { left: 10px; right: 10px; bottom: 10px; }
}

@media (max-width: 420px) {
  .metric-value { font-size: 17px; }
  .results-list li { font-size: 10.5px; }
  .nav-actions .btn { display: none; }
}

/* ---------- scroll-scrubbed narrative ---------- */

.scrub {
  position: relative;
  height: 320vh;
  background: linear-gradient(180deg, var(--bg) 0%, #f2eadb 42%, var(--bg) 100%);
}
.scrub-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(26px, 5vh, 58px);
  padding: 96px 24px 76px;
  overflow: hidden;
}
.scrub-ghost {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px) 1fr;
  gap: clamp(22px, 4vw, 56px);
  align-content: center;
  padding: 0 max(28px, calc((100vw - var(--container)) / 2 + 28px));
  color: var(--text);
  opacity: 0;
  transform: translateY(calc(var(--p, 0) * -80px));
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}
.scrub-ghost.is-on { opacity: 0.15; }
.scrub-ghost p:last-child { grid-column: 3; }
.scrub-ghost p {
  font-size: clamp(14.5px, 1.15vw, 18px);
  line-height: 1.72;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.scrub-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  order: 2;
  width: min(42vw, 470px, 48vh);
  padding: 13px;
  background: #fbf3e4;
  border: 1.5px solid #2a211b;
  box-shadow: 0 34px 64px -44px rgba(45, 30, 15, 0.65);
  transform: rotate(-1.1deg) translateY(calc(var(--p, 0) * 30px));
}
.scrub-frame svg { display: block; width: 100%; height: auto; }
.scrub-lines {
  position: relative;
  z-index: 2;
  order: 1;
  display: grid;
  place-content: center;
  pointer-events: none;
}
.scrub-line {
  grid-area: 1 / 1;
  justify-self: center;
  max-width: min(960px, 94vw);
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.7vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--text);
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(7px);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease), filter 0.55s var(--ease);
  text-shadow: 0 0 24px var(--bg), 0 0 46px var(--bg), 0 0 72px var(--bg);
  will-change: opacity, transform, filter;
}
.scrub-line span { display: block; }
.scrub-line .l2 { color: var(--brand); }
.scrub-line.is-on { opacity: 1; transform: none; filter: none; }
.scrub-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.scrub-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(22, 17, 12, 0.18);
  transition: background 0.4s var(--ease), width 0.4s var(--ease);
}
.scrub-dots i.is-on { width: 22px; border-radius: 4px; background: var(--brand); }

@media (max-width: 960px) {
  .scrub { height: 280vh; }
  .scrub-ghost { grid-template-columns: 1fr; padding: 0 28px; }
  .scrub-ghost p + p { display: none; }
  .scrub-frame { width: min(58vw, 360px, 42vh); }
}

@media (max-width: 720px) {
  .scrub { height: 240vh; }
  .scrub-ghost { opacity: 0; display: none; }
  .scrub-frame { width: min(72vw, 320px, 38vh); }
  .scrub-line { font-size: clamp(24px, 7vw, 34px); }
  .scrub-dots { bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .scrub { height: auto; }
  .scrub-stage { position: static; height: auto; padding: 84px 22px; gap: 40px; }
  .scrub-ghost, .scrub-dots { display: none; }
  .scrub-frame { transform: none; width: min(460px, 100%); }
  .scrub-lines { display: grid; gap: 30px; }
  .scrub-line { grid-area: auto; opacity: 1; transform: none; filter: none; text-shadow: none; }
  .scrub-line .l2 { color: var(--brand); }
}
