* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0d0d14;
  --surface: #13131e;
  --border: #1e1e30;
  --text: #ffffff;
  --dim: #ffffff;
  --accent: #5b7cf6;
  --green: #4ec9a0;
  --mono: 'Space Mono', monospace;
  --sans: 'DM Sans', sans-serif;
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
  overflow: hidden;
  overflow-wrap: break-word;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 124, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 124, 246, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 124, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Nav + step indicator ── */
.flow-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}

.step-indicator__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.step-indicator__item:hover {
  border-color: rgba(91, 124, 246, 0.45);
}

.step-indicator__item.is-active {
  border-color: var(--accent);
  background: rgba(91, 124, 246, 0.1);
}

.step-indicator__item.is-done {
  border-color: rgba(78, 201, 160, 0.35);
}

.step-indicator__num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.step-indicator__item.is-done .step-indicator__num {
  color: var(--green);
}

.step-indicator__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dim);
}

.step-indicator__item.is-active .step-indicator__label {
  color: var(--text);
}

/* ── Horizontal scroll-snap viewport ── */
.flow-viewport {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100vh;
  padding-top: var(--nav-h);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.flow-step {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: calc(100vh - var(--nav-h));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow-y: auto;
  overflow-x: hidden;
}

.flow-step__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  text-align: center;
}

.flow-step__inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h) - 48px);
}

/* ── Typography ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--mono);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--accent);
}

.hero-sub,
.step-lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--dim);
  line-height: 1.65;
  margin-bottom: 28px;
  font-weight: 300;
}

/* ── Hero layout (copy + video visual) ── */
.flow-step__inner--hero {
  max-width: 560px;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-visual {
  display: none;
}

.hero-visual__frame {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a1d29, #0d0d14);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.15s;
}

.hero-visual__frame:hover {
  border-color: rgba(91, 124, 246, 0.5);
}

.hero-visual__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
}

.hero-visual__caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--dim);
}

/* ── Sync facts strip ── */
.sync-facts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 440px;
  margin: 4px auto 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.sync-fact {
  flex: 1 1 110px;
}

.sync-fact__num {
  display: block;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.sync-fact__lbl {
  display: block;
  font-size: 11px;
  color: var(--dim);
  line-height: 1.4;
}

@media (min-width: 900px) {
  .flow-step__inner--hero {
    max-width: 1080px;
  }

  .hero-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;
    text-align: left;
  }

  .hero-copy {
    flex: 1 1 55%;
    text-align: left;
  }

  .hero-copy .video-trigger {
    display: none;
  }

  .hero-copy .waitlist-form,
  .hero-copy .success-msg,
  .hero-copy .form-note,
  .hero-copy .founder-status,
  .hero-copy .sync-facts,
  .hero-copy .compare-strip,
  .hero-copy .flow-continue {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-visual {
    display: block;
    flex: 1 1 40%;
    position: sticky;
    top: calc(var(--nav-h) + 32px);
  }
}

/* ── Video trigger + modal ── */
.video-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -12px auto 24px;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.video-trigger:hover {
  border-color: rgba(91, 124, 246, 0.5);
  background: rgba(91, 124, 246, 0.06);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.video-modal__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
}

.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  font-size: 16px;
  line-height: 1;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.video-modal__close:hover {
  border-color: var(--accent);
}

.video-modal__player {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #000;
}

.step-title {
  font-family: var(--mono);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.step-hint,
.step-note {
  font-family: var(--mono);
  font-size: 11px;
  color: #aaaaaa;
  line-height: 1.55;
  margin: 16px 0;
}

.step-note a {
  color: var(--green);
  text-decoration: none;
}

.step-note a:hover {
  text-decoration: underline;
}

/* ── Compare strip ── */
.compare-strip {
  list-style: none;
  text-align: left;
  margin: 28px auto 28px;
  max-width: 440px;
  font-size: 13px;
  line-height: 1.65;
  color: #aaaaaa;
}

.compare-strip li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.compare-strip li:last-child {
  border-bottom: none;
}

.compare-strip__cepho {
  color: var(--green);
  margin-top: 4px;
}

.faq-eyebrow {
  text-align: center;
  margin: 72px 0 16px;
}

/* ── FAQ accordion ── */
.faq {
  text-align: left;
  margin: 0 auto 28px;
  max-width: 440px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  float: right;
  color: var(--accent);
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item p {
  font-size: 14px;
  line-height: 1.65;
  color: #aaaaaa;
  padding-bottom: 14px;
}

/* ── Waitlist form (from waitlist.html) ── */
.signup-block {
  margin-bottom: 8px;
}

.waitlist-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  width: 100%;
  margin: 0 auto 16px;
}

.waitlist-input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--accent);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  outline: none;
}

.waitlist-input::placeholder {
  color: #aaaaaa;
}

.waitlist-btn {
  background: var(--accent);
  border: none;
  padding: 14px 22px;
  color: white;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0 8px 8px 0;
}

.waitlist-btn:hover {
  background: #4a6be0;
}

.waitlist-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-note span {
  color: var(--green);
}

.form-note .live-dot {
  color: var(--green);
  font-size: 8px;
  vertical-align: middle;
}

.form-note #builderCount {
  color: var(--green);
  font-weight: 700;
}

.success-msg {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  background: rgba(78, 201, 160, 0.08);
  border: 1px solid rgba(78, 201, 160, 0.2);
  border-radius: 8px;
  padding: 14px 20px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto 16px;
}

.success-msg.visible {
  display: flex;
}

.form-error {
  display: none;
  font-family: var(--mono);
  font-size: 11px;
  color: #f87171;
  max-width: 440px;
  width: 100%;
  margin: 0 auto 12px;
  line-height: 1.5;
}

.form-error.visible {
  display: block;
}

.counter-wrap {
  margin-top: 24px;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.counter-card {
  width: 100%;
  background: #11161d;
  border: 1px solid #232b35;
  border-radius: 10px;
  padding: 20px 24px 22px;
  text-align: center;
}

.counter-card__label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}

.counter-card__value {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.counter-card__value.counter-bump {
  animation: counterBump 0.35s ease-out;
}

@keyframes counterBump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.founder-status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  line-height: 1.5;
}

.founder-status .founder-remaining {
  font-weight: 700;
}

.founder-status--locked {
  opacity: 0.85;
}

/* ── Buttons ── */
.flow-continue,
.flow-back {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 8px;
  padding: 14px 24px;
  margin-top: 24px;
  transition: background 0.15s, border-color 0.15s;
}

.flow-continue {
  display: block;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  background: var(--green);
  color: #0d0d14;
  border: 1px solid var(--green);
}

.flow-continue:hover {
  background: #5fdcb3;
  border-color: #5fdcb3;
}

.flow-back {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  margin-top: 12px;
}

.flow-back:hover {
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  border-radius: 8px;
  padding: 16px 28px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #4a6be0;
}

.btn-meta {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.85;
}

/* ── APK QR ── */
.apk-qr {
  display: inline-block;
  padding: 12px;
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 8px;
}

#apkQrBlock {
  margin-bottom: 16px;
}

/* ── Mini steps + install cmd ── */
.mini-steps {
  text-align: left;
  max-width: 440px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: #aaaaaa;
  padding-left: 20px;
}

.install-cmd {
  text-align: left;
  max-width: 440px;
  margin: 16px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}

.install-cmd__label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.install-cmd pre {
  overflow-x: auto;
  margin-bottom: 10px;
}

.install-cmd code {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  color: #cccccc;
  white-space: pre-wrap;
  word-break: break-all;
}

.copy-btn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--accent);
}

/* ── Ready step ── */
.ready-list {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #aaaaaa;
}

.ready-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.ready-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ── Footer ── */
.flow-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  background: rgba(13, 13, 20, 0.9);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 10px;
  color: #aaaaaa;
}

.flow-footer__links {
  display: flex;
  gap: 16px;
  margin-left: 16px;
}

.flow-footer__links a {
  color: var(--accent);
  text-decoration: none;
}

.flow-footer__links a:hover {
  text-decoration: underline;
}

/* ── Marketing sections (Works in / Why / Showcase / Compare / Trust / How) ── */
.marketing-section {
  max-width: 900px;
  margin: 72px auto 0;
  padding: 0 24px;
  text-align: left;
}

.marketing-section .section-head {
  margin-bottom: 24px;
}

.marketing-section .section-head h2 {
  font-family: var(--mono);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: #ffffff;
}

/* Works in */
.editor-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.editor-strip__label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #aaaaaa;
  font-weight: 700;
  white-space: nowrap;
}

.editor-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.editor-pill {
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}

.editor-pill--note {
  border-style: dashed;
  color: #aaaaaa;
}

/* Why I built Cepho */
.why-section {
  max-width: 640px;
}

.why-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.why-head h2 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.why-head p {
  font-size: 12.5px;
  color: #aaaaaa;
}

.why-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--dim);
  margin-bottom: 18px;
}

.why-body strong {
  color: #ffffff;
}

.why-quote {
  position: relative;
  padding-left: 26px;
}

.why-quote::before {
  content: '"';
  position: absolute;
  left: -4px;
  top: -18px;
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--border);
  line-height: 1;
}

.why-sign {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
  color: #ffffff;
}

/* Octopus arm teaser */
.arm-teaser {
  max-width: 640px;
}

.arm-teaser-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  background: var(--surface);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.arm-teaser-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.arm-teaser-box p {
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.6;
}

.arm-teaser-box strong {
  color: #ffffff;
}

/* Showcase — What it looks like */
.showcase {
  max-width: 900px;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.phone-card {
  text-align: center;
}

.phone-img {
  width: 100%;
  max-width: 210px;
  height: auto;
  aspect-ratio: 357 / 699;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
}

.phone-caption {
  font-size: 12.5px;
  color: var(--dim);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Compare — Where Cepho fits */
.compare-section {
  max-width: 900px;
}

.compare-note {
  font-size: 13px;
  color: var(--dim);
  margin-top: -8px;
  margin-bottom: 24px;
  max-width: 560px;
}

.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

table.matrix th,
table.matrix td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}

table.matrix thead th {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #aaaaaa;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  cursor: help;
}

.th-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.th-label .info-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--border);
  color: #aaaaaa;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  text-transform: none;
  flex-shrink: 0;
}

.th-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  width: 220px;
  background: #0d0d14;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
  z-index: 20;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}

table.matrix thead th:hover .th-tooltip {
  display: block;
}

table.matrix tbody th {
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

table.matrix tr:last-child td,
table.matrix tr:last-child th {
  border-bottom: none;
}

table.matrix tbody tr.is-cepho {
  background: rgba(91, 124, 246, 0.1);
}

table.matrix tbody tr.is-cepho th {
  color: var(--accent);
}

.yes {
  color: var(--green);
  font-weight: 700;
}

.no {
  color: var(--dim);
}

.partial {
  color: #d4a017;
}

/* Trust strip */
.trust-section {
  max-width: 900px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: var(--surface);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(91, 124, 246, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.trust-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.trust-card p {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.5;
}

/* How it works */
.how-section {
  max-width: 900px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.how-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}

.how-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.how-card p {
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.55;
}

@media (min-width: 900px) {
  .marketing-section {
    max-width: 1080px;
    padding: 0 24px;
  }

  .how-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Tablet: avoid 3-col grids getting crushed before the 900px desktop breakpoint ── */
@media (min-width: 641px) and (max-width: 899px) {
  .phone-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 480px;
    margin: 0 auto;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .phone-grid {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin: 0 auto;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .why-head {
    align-items: flex-start;
  }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .apk-desktop-only {
    display: none !important;
  }

  .flow-nav {
    padding: 12px 16px;
    gap: 8px;
  }

  :root {
    --nav-h: 64px;
  }

  .step-indicator {
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
  }

  .step-indicator__label {
    display: none;
  }

  .waitlist-form {
    flex-direction: column;
    gap: 8px;
  }

  .waitlist-input {
    border-radius: 8px;
    border-right: 1px solid var(--accent);
  }

  .waitlist-btn {
    border-radius: 8px;
    padding: 12px;
  }

  .flow-step__inner {
    padding-bottom: 80px;
  }

  .step-indicator__item {
    padding: 8px 11px;
  }

  .copy-btn {
    padding: 9px 14px;
  }
}

@media (max-width: 600px) {
  .flow-footer {
    flex-direction: column;
    gap: 8px;
  }

  .flow-footer__links {
    margin-left: 0;
  }
}
