:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --text: #10233d;
  --muted: #5d6b7d;
  --border: #dce4ee;
  --primary: #0a66c2;
  --primary-dark: #064b91;
  --primary-soft: #eaf4ff;
  --success: #1b7f5d;
  --success-soft: #eaf7f2;
  --navy: #0b2038;
  --shadow: 0 22px 60px rgba(20, 46, 80, 0.10);
  --shadow-soft: 0 12px 36px rgba(20, 46, 80, 0.07);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.narrow-shell {
  width: min(calc(100% - 40px), 860px);
}

.section {
  padding: 96px 0;
}

.section-tinted {
  background: var(--surface-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 228, 238, 0.8);
}

.nav-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  letter-spacing: -0.03em;
}

.brand-word {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a,
.text-link,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.desktop-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-weight: 700;
  transition: 180ms ease;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  padding: 10px 15px;
  font-size: 0.9rem;
}

.button-large {
  min-height: 54px;
  padding: 0 22px;
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 102, 194, 0.18);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: #bfcbd8;
}

.button-light {
  background: #fff;
  color: var(--navy);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 9px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

.mobile-menu {
  padding: 16px 20px 22px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
}

/* HERO: tighter than V1 so the next section enters the viewport sooner */
.hero {
  padding-top: 70px;
  padding-bottom: 62px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  gap: 66px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(27, 127, 93, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.1rem, 5.45vw, 5.2rem);
  line-height: 1.01;
  letter-spacing: -0.058em;
  margin-bottom: 24px;
  max-width: 760px;
}

h1 .accent {
  display: block;
  color: var(--primary);
  margin-top: 4px;
}

.hero-lead {
  max-width: 700px;
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.trust-line span::before {
  content: "✓";
  color: var(--success);
  margin-right: 7px;
}

.hero-panel {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(10, 102, 194, 0.16), transparent 68%);
  left: -120px;
  top: -100px;
  z-index: -1;
}

.panel-top,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel-label,
.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.panel-badge {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font: 700 0.68rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.05em;
}

.workflow-card {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
}

.workflow-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--border);
}

.workflow-row:last-child {
  border-bottom: 0;
}

.workflow-row strong,
.workflow-row span {
  display: block;
}

.workflow-row strong {
  margin-bottom: 3px;
  font-size: 0.94rem;
}

.workflow-row span {
  font-size: 0.78rem;
  color: var(--muted);
}

.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef2f7;
  color: var(--muted);
  font: 600 0.75rem/1 "IBM Plex Mono", monospace;
}

.workflow-row.active .step-number,
.workflow-row.current .step-number {
  background: var(--primary-soft);
  color: var(--primary);
}

.workflow-row.current {
  background: linear-gradient(90deg, rgba(234, 244, 255, 0.55), rgba(255,255,255,0));
}

.step-status {
  font-size: 0.74rem;
  font-weight: 700;
}

.step-status.done {
  color: var(--success);
}

.step-status.ready {
  color: var(--primary);
}

.step-status.next {
  color: var(--muted);
}

.panel-footer strong {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
}

.report-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font: 600 0.68rem/1 "IBM Plex Mono", monospace;
}

.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  margin-bottom: 5px;
  font-size: 0.93rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.deliverable-grid h2,
.early-access-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

.section-heading p,
.large-copy,
.early-access-card p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.process-card h3,
.principle-card h3,
.capability-panel h3 {
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.process-card p,
.principle-card p,
.capability-panel p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.process-number {
  color: var(--primary);
  font: 600 0.78rem/1 "IBM Plex Mono", monospace;
  margin-bottom: 34px;
}

.process-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 22px;
}

.process-card-wide .process-number {
  margin-bottom: 0;
}

.file-chip {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font: 600 0.78rem/1 "IBM Plex Mono", monospace;
  white-space: nowrap;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.principle-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font: 700 0.85rem/1 "IBM Plex Mono", monospace;
  margin-bottom: 34px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.capability-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.muted-panel {
  background: #f9fafc;
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf1f5;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 24px;
}

.panel-kicker.positive {
  background: var(--success-soft);
  color: var(--success);
}

.check-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 27px;
}

.check-list li::before,
.plain-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

.boundary-note {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.boundary-note strong,
.boundary-note span {
  display: block;
}

.boundary-note span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 74px;
  align-items: center;
}

.plain-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.report-preview {
  position: relative;
  padding-bottom: 28px;
}

.report-sheet {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.report-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-header strong,
.report-header span {
  display: block;
}

.report-header span {
  color: var(--muted);
  font-size: 0.72rem;
}

.mini-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.report-rule {
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}

.report-section-title {
  font-size: 0.82rem;
  font-weight: 800;
  margin: 18px 0 10px;
}

.fake-line {
  height: 9px;
  background: #e8edf3;
  border-radius: 999px;
  margin-bottom: 7px;
}

.w100 { width: 100%; }
.w92 { width: 92%; }
.w78 { width: 78%; }

.status-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #edf1f4;
  font-size: 0.78rem;
}

.status-row b {
  color: var(--success);
  font: 600 0.72rem/1 "IBM Plex Mono", monospace;
}

.mini-chart {
  position: relative;
  height: 78px;
  margin-top: 12px;
}

.axis {
  position: absolute;
  left: 10%;
  right: 8%;
  top: 42px;
  height: 1px;
  background: #cfd8e3;
}

.ci-line {
  position: absolute;
  width: 48%;
  left: 28%;
  top: 40px;
  height: 4px;
  border-radius: 99px;
  background: var(--primary);
}

.estimate-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  left: 53%;
  top: 35px;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(10, 102, 194, 0.12);
}

.download-pill {
  position: absolute;
  right: -10px;
  bottom: 0;
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  font: 600 0.78rem/1 "IBM Plex Mono", monospace;
}

.early-access-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 54px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 10%, rgba(57, 146, 227, 0.32), transparent 28%),
    linear-gradient(135deg, #0b2038 0%, #123c66 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.early-access-card h2 {
  max-width: 620px;
}

.early-access-card p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 690px;
  margin-bottom: 0;
}

.light-eyebrow {
  color: #85c7ff;
}

.early-access-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.early-access-action > span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.66);
}

.faq-section {
  padding-top: 84px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 46px 22px 0;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 19px;
  font-size: 1.35rem;
  color: var(--primary);
}

details[open] summary::after {
  content: "−";
}

details p {
  color: var(--muted);
  margin: -4px 0 24px;
  max-width: 760px;
}

.site-footer {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 46px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-grid p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

@media (max-width: 1100px) {
  .button-small {
    padding-left: 13px;
    padding-right: 13px;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .text-link {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-grid,
  .comparison-grid,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero-panel {
    max-width: 720px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:first-child,
  .proof-item {
    padding: 20px;
  }

  .proof-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .early-access-card {
    grid-template-columns: 1fr;
  }

  .early-access-action {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .shell,
  .narrow-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 50px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .nav-actions .button-small {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .workflow-row {
    grid-template-columns: 38px 1fr;
  }

  .step-status {
    grid-column: 2;
  }

  .proof-grid,
  .process-grid,
  .principles-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .process-card-wide {
    grid-template-columns: 1fr;
  }

  .process-card-wide .process-number {
    margin-bottom: 6px;
  }

  .file-chip {
    justify-self: start;
  }

  .section-heading {
    text-align: left;
    margin-bottom: 36px;
  }

  .capability-panel {
    padding: 24px;
  }

  .early-access-card {
    padding: 34px 24px;
    border-radius: 22px;
  }

  .report-sheet {
    padding: 24px;
  }

  .download-pill {
    right: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-meta {
    text-align: left;
  }
}
