@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #f6f9ff;
  --surface: #ffffff;
  --surface-soft: #f1f6ff;
  --ink: #09112b;
  --muted: #4e5d7a;
  --primary: #2357d9;
  --primary-dark: #13378f;
  --teal: #0aa0a5;
  --line: #dce5f8;
  --danger: #b63636;
  --success: #2f8f66;
  --shadow: 0 18px 48px rgba(26, 47, 99, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(35, 87, 217, 0.09), transparent 38%),
    radial-gradient(circle at 90% 14%, rgba(10, 160, 165, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.page {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 80px;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(8, 32, 96, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 32, 96, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 32%);
}

.page > * {
  position: relative;
  z-index: 1;
}

.site-nav {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 10px 12px;
  border: 1px solid rgba(205, 220, 248, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(18, 52, 140, 0.2);
  box-shadow: 0 14px 28px rgba(16, 39, 105, 0.16);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  margin-bottom: 24px;
  align-items: stretch;
}

.hero-content {
  display: grid;
  gap: 14px;
}

.hero-content-main {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: var(--shadow);
}

.pill {
  width: fit-content;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8efff;
  color: var(--primary-dark);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.pill.mini {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  padding: 5px 10px;
}

.hero h1,
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  max-width: 14.5ch;
  line-height: 1.02;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-grid {
  margin-top: 2px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hero-card {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.hero-card h3 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.hero-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero-tech-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #0c1c4e 0%, #132a69 55%, #1d3b8f 100%);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: center;
}

.hero-logo-frame {
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid rgba(216, 160, 117, 0.4);
  background: rgba(8, 20, 56, 0.65);
  box-shadow: inset 0 0 0 1px rgba(216, 160, 117, 0.12);
  overflow: hidden;
}

.hero-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-metric {
  border: 1px solid rgba(197, 216, 255, 0.24);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #e9efff;
  display: grid;
  gap: 3px;
}

.hero-metric span {
  font-size: 0.78rem;
  opacity: 0.88;
}

.hero-metric strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
}

.hero-orb {
  display: none;
}

.trust-strip {
  margin: 2px 0 14px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.trust-title {
  margin: 0;
  font-size: 0.9rem;
  color: var(--primary-dark);
  font-weight: 800;
}

.trust-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trust-chip {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1c2d57;
}

.offer-strip {
  margin-bottom: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.offer-item {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px;
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer-item:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 87, 217, 0.35);
  box-shadow: 0 14px 34px rgba(22, 47, 112, 0.12);
}

.offer-item h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.offer-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-order {
  margin-bottom: 18px;
  display: grid;
  gap: 14px;
}

.quick-order:hover {
  transform: none;
}

.quick-offer-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.quick-offer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  background: var(--surface-soft);
  display: grid;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quick-offer-card:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 87, 217, 0.36);
}

.quick-offer-card.active {
  border-color: rgba(35, 87, 217, 0.62);
  background: linear-gradient(160deg, #ffffff 0%, #edf4ff 100%);
  box-shadow: inset 0 0 0 1px rgba(35, 87, 217, 0.16);
}

.quick-offer-card h3 {
  font-size: 1.02rem;
}

.quick-offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-offer-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  color: #123579;
}

.quick-order-form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 14px;
}

.quick-order-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.route-pick {
  margin-bottom: 18px;
  display: grid;
  gap: 14px;
}

.route-pick:hover {
  transform: none;
}

.route-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.route-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.route-card h3 {
  font-size: 1.08rem;
}

.route-card .ops-list {
  margin: 0;
  gap: 6px;
}

.deliverable-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.post-pay-flow {
  margin-bottom: 18px;
}

.flow-steps {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.flow-step {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.flow-step strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  color: #17326f;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.case-grid {
  margin-bottom: 18px;
}

.impact-ribbon {
  margin-bottom: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.impact-item {
  border-radius: 14px;
  border: 1px solid #d4e1fb;
  background: linear-gradient(160deg, #ffffff 0%, #f4f8ff 100%);
  padding: 13px;
  display: grid;
  gap: 4px;
}

.impact-item span {
  font-size: 0.75rem;
  color: #5a6f9c;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.impact-item strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: #102f78;
}

.impact-item small {
  color: var(--muted);
  font-size: 0.8rem;
}

.ops-grid {
  margin-bottom: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.ops-card {
  display: grid;
  gap: 12px;
}

.ops-card.compact {
  align-content: start;
}

.ops-steps {
  display: grid;
  gap: 10px;
}

.ops-step {
  border: 1px solid #d9e4fa;
  border-radius: 12px;
  background: #f8fbff;
  padding: 11px;
}

.ops-step b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.ops-step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.ops-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.form-section {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.section-title h2 {
  margin: 0 0 6px;
  font-size: 1.7rem;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.card,
.diagnostic-form {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card {
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 87, 217, 0.26);
  box-shadow: 0 18px 40px rgba(20, 52, 124, 0.16);
}

.diagnostic-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.onboarding-form {
  display: grid;
  gap: 16px;
}

.stepper {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.stepper-counter {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 700;
}

.stepper-track {
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(35, 87, 217, 0.15);
}

.stepper-progress {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), #48a6ff);
  transition: width 0.32s ease;
}

.stepper-labels {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.step-label {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7283a7;
  font-weight: 700;
}

.step-label.active {
  color: var(--primary-dark);
}

.form-step {
  display: none;
  gap: 14px;
}

.form-step.active {
  display: grid;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  border: 1px solid #ccd9f6;
  background: #ffffff;
  color: var(--ink);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.95rem;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  padding: 0;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(35, 87, 217, 0.7);
  box-shadow: 0 0 0 3px rgba(35, 87, 217, 0.12);
}

textarea {
  resize: vertical;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.module-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.module-choice {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.module-choice span {
  font-weight: 800;
  color: #17326f;
}

.module-choice small {
  color: var(--muted);
  font-size: 0.83rem;
}

.preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.preview-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 14px;
  background: #f9fbff;
  display: grid;
  gap: 4px;
}

.preview-card.problem {
  border-color: rgba(182, 54, 54, 0.25);
}

.preview-card.solution {
  border-color: rgba(47, 143, 102, 0.25);
}

.preview-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.preview-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.54rem;
}

.preview-card small {
  color: #667799;
  font-size: 0.82rem;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.86rem;
  width: 100%;
  max-width: 100%;
}

.consent input[type="checkbox"] {
  margin-top: 4px;
}

.consent span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.45;
}

button,
.button-link {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button,
.button-link {
  background: linear-gradient(100deg, var(--primary), #2d83f5);
  color: #fff;
  box-shadow: 0 12px 28px rgba(32, 84, 214, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ghost,
.ghost-btn,
.mini-btn {
  border: 1px solid #cddaf8;
  background: #ffffff;
  color: #123073;
  box-shadow: none;
}

.ghost,
.mini-btn {
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
}

.ghost-btn {
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 800;
}

.report {
  display: grid;
  gap: 16px;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.report-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.report-grid,
.compare-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.executive-board {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.exec-tile {
  border: 1px solid #d4e2fc;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff 0%, #f3f7ff 100%);
  padding: 12px;
  display: grid;
  gap: 4px;
}

.exec-tile span {
  font-size: 0.76rem;
  color: #5870a5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.exec-tile strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.14rem;
  color: #163782;
}

.exec-tile small {
  color: var(--muted);
  font-size: 0.81rem;
}

.card.highlight {
  border: 1px solid rgba(35, 87, 217, 0.2);
  background: linear-gradient(160deg, #ffffff 0%, #eef4ff 100%);
}

.meta-connect {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: var(--surface-soft);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.meta-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.status {
  border: 1px solid #ccdaf8;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #15408f;
  background: #eef4ff;
}

.status.ok {
  border-color: rgba(47, 143, 102, 0.35);
  color: #15563b;
  background: rgba(47, 143, 102, 0.14);
}

.kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
}

.kpi span {
  color: var(--muted);
  font-size: 0.9rem;
}

.kpi strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.34rem;
  text-align: right;
}

.kpi.big strong {
  font-size: 2rem;
}

.money {
  border-width: 1px;
  border-style: solid;
}

.money.problem {
  border-color: rgba(182, 54, 54, 0.2);
  background: linear-gradient(160deg, #fffefe 0%, #fff4f4 100%);
}

.money.solution {
  border-color: rgba(47, 143, 102, 0.25);
  background: linear-gradient(160deg, #ffffff 0%, #f1fbf6 100%);
}

.money-amount {
  margin: 8px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.05;
}

.action-panel {
  border-color: rgba(35, 87, 217, 0.24);
  background: linear-gradient(145deg, #ffffff 0%, #ecf4ff 100%);
}

.action-panel-cta {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.express-trigger {
  cursor: pointer;
  outline: none;
}

.express-trigger:hover,
.express-trigger:focus {
  border-color: rgba(35, 87, 217, 0.35);
  box-shadow: 0 18px 34px rgba(17, 46, 117, 0.15);
  transform: translateY(-2px);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 19, 48, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: min(620px, 100%);
  border-radius: 20px;
  border: 1px solid #cdd9f7;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(13, 30, 76, 0.34);
  padding: 20px;
  position: relative;
  display: grid;
  gap: 10px;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #12377f;
  box-shadow: none;
  font-size: 1.8rem;
  line-height: 1;
  padding: 2px 6px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pain-list,
.roadmap {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.roadmap li {
  display: grid;
  gap: 3px;
}

.modules {
  display: grid;
  gap: 10px;
}

.module {
  border: 1px dashed #cbdbfa;
  border-radius: 14px;
  padding: 12px;
  background: #f9fbff;
}

.meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tags {
  font-size: 0.84rem;
  color: #2a4b96;
}

.founder-card {
  display: grid;
  gap: 14px;
  grid-template-columns: 150px 1fr;
  align-items: center;
}

.founder-photo {
  margin: 0;
  width: 150px;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #e6eeff, #effaf9);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-headline {
  margin: 10px 0 0;
  color: #213d85;
  font-weight: 800;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.founder-page {
  margin-bottom: 10px;
}

.about-founder {
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: start;
}

.about-founder .founder-photo {
  margin: 0;
  width: 170px;
  height: 170px;
}

.about-founder article {
  min-width: 0;
}

.founder-ribbon {
  margin-bottom: 14px;
}

.access-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.access-item {
  border: 1px dashed #c8d9fb;
  border-radius: 14px;
  padding: 12px;
  background: #f8fbff;
}

.fold {
  border: 1px dashed #c8d9fb;
  border-radius: 14px;
  padding: 10px 12px;
  background: #f9fbff;
}

.fold > summary {
  cursor: pointer;
  font-weight: 800;
  color: #1e3f8f;
}

.roi-compare,
.roi-math {
  display: grid;
  gap: 10px;
}

.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.roi-row span {
  color: var(--muted);
}

.roi-bar {
  height: 8px;
  border-radius: 999px;
  background: #dce7ff;
  overflow: hidden;
}

.roi-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.roi-bar-fill.base {
  background: #9fb2df;
}

.roi-bar-fill.saved {
  background: linear-gradient(90deg, #2f85f5, #22b6be);
}

.roi-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.roi-tile span {
  color: var(--muted);
}

.site-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #516080;
  font-size: 0.86rem;
}

.site-footer a {
  color: #1a3f96;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

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

.mini-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.mini-note {
  font-size: 0.82rem;
  color: #667799;
}

.mini-note.ok {
  color: #126745;
  font-weight: 700;
}

.mini-note.error {
  color: #a42b2b;
  font-weight: 700;
}

.hero-content-main,
.hero-tech-panel,
.offer-item,
.impact-item,
.ops-card,
.exec-tile {
  animation: fade-up 0.5s ease both;
}

.hero-tech-panel {
  animation-delay: 0.06s;
}

.offer-item:nth-child(2) {
  animation-delay: 0.06s;
}

.offer-item:nth-child(3) {
  animation-delay: 0.12s;
}

.impact-item:nth-child(2) {
  animation-delay: 0.04s;
}

.impact-item:nth-child(3) {
  animation-delay: 0.08s;
}

.impact-item:nth-child(4) {
  animation-delay: 0.12s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal {
  line-height: 1.62;
  color: #1d2d4f;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-tech-panel {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: stretch;
  }

  .hero-logo-frame {
    width: min(100%, 190px);
  }

  .report-grid,
  .compare-grid,
  .executive-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page {
    padding: 14px 12px 46px;
  }

  .site-nav {
    position: static;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px;
  }

  .site-nav-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .site-nav-actions .button-link,
  .site-nav-actions .js-check-ai {
    width: 100%;
    justify-content: center;
  }

  .brand-link {
    width: 100%;
  }

  .hero {
    gap: 12px;
    margin-bottom: 14px;
  }

  .hero-content-main,
  .hero-tech-panel {
    padding: 14px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.2rem);
    max-width: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-logo-frame {
    width: min(100%, 160px);
    border-radius: 18px;
  }

  .hero-metric strong {
    font-size: 1.02rem;
  }

  .trust-strip {
    margin: 0 0 12px;
    padding: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-strip,
  .impact-ribbon,
  .ops-grid,
  .route-grid,
  .quick-offer-grid,
  .flow-steps,
  .case-grid,
  .preview-grid,
  .grid,
  .module-grid,
  .access-grid,
  .report-grid,
  .compare-grid,
  .executive-board {
    grid-template-columns: 1fr;
  }

  .offer-strip,
  .impact-ribbon,
  .ops-grid {
    gap: 10px;
    margin-bottom: 12px;
  }

  .card,
  .diagnostic-form,
  .quick-order-form {
    padding: 14px;
    border-radius: 16px;
  }

  .section-title h2 {
    font-size: 1.34rem;
  }

  .stepper {
    gap: 8px;
    padding: 10px;
  }

  .stepper-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mini-actions {
    width: 100%;
    gap: 6px;
  }

  .mini-actions .mini-btn {
    width: 100%;
    justify-content: center;
  }

  .stepper-labels {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .step-label {
    min-width: max-content;
    border: 1px solid #d6e2fa;
    border-radius: 999px;
    padding: 6px 10px;
    letter-spacing: 0.08em;
    background: #f6f9ff;
  }

  .step-label.active {
    border-color: rgba(35, 87, 217, 0.45);
    background: #eaf1ff;
  }

  .form-step {
    gap: 10px;
  }

  .step-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step-actions > button {
    width: 100%;
  }

  .step-submit {
    order: -1;
  }

  label {
    font-size: 0.86rem;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  textarea,
  select {
    font-size: 16px;
    padding: 10px 11px;
  }

  .consent {
    gap: 8px;
    font-size: 0.84rem;
  }

  .money-amount {
    font-size: clamp(1.4rem, 8.8vw, 2rem);
  }

  .kpi {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .kpi strong {
    text-align: left;
    font-size: 1.18rem;
  }

  .modal-card {
    padding: 14px;
    border-radius: 16px;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .modal-actions > * {
    width: 100%;
  }

  .report-header {
    flex-direction: column;
    gap: 8px;
  }

  .report-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .report-header .ghost,
  .report-header .button-link {
    width: 100%;
    justify-content: center;
  }

  .founder-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .about-founder {
    grid-template-columns: 1fr;
  }

  .founder-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .founder-actions > * {
    width: 100%;
  }

  .founder-photo {
    width: 120px;
    height: 120px;
  }

  .quick-order-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-order-actions > * {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 12px 10px 38px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand-copy small {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 9.4vw, 1.9rem);
    line-height: 1.05;
  }

  .lead {
    font-size: 0.93rem;
  }

  .pill {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .pill.mini {
    font-size: 0.56rem;
  }

  .hero-metric span {
    font-size: 0.72rem;
  }

  .hero-metric strong {
    font-size: 0.94rem;
  }

  .section-title h2 {
    font-size: 1.22rem;
  }

  .module-choice,
  .offer-item,
  .impact-item,
  .route-card,
  .quick-offer-card {
    padding: 12px;
  }

  .quick-offer-card strong {
    font-size: 1.28rem;
  }

  .stepper-counter {
    font-size: 0.78rem;
  }

  .step-label {
    font-size: 0.58rem;
    padding: 5px 8px;
  }

  .roadmap,
  .pain-list {
    padding-left: 16px;
  }

  .mini-btn,
  .ghost {
    width: 100%;
    justify-content: center;
  }
}

@media (hover: none) {
  .card:hover,
  .offer-item:hover,
  .quick-offer-card:hover,
  .express-trigger:hover,
  .button-link:hover,
  button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
