/* =============================================
   SlumpScan — Landing Page Styles
   Design tokens match the iOS app exactly
   ============================================= */

:root {
  --accent:      #1e99b0;
  --accent-dark: #167a90;
  --accent-bg:   #e3f5f9;
  --bg:          #f4f6f8;
  --surface:     #ffffff;
  --surface2:    #edf0f3;
  --dark:        #1a2c35;
  --text:        #111c22;
  --text2:       #4a5c66;
  --text3:       #7a8f99;
  --border:      #dde3e8;
  --border2:     #b8c4cc;
  --green:       #2d6a4f;
  --green-bg:    #e8f3ed;
  --r:           10px;
  --r-sm:        6px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; }

/* ── NAV ───────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 241, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo img { height: 32px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }
.nav-links .btn:hover { color: #fff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
}

/* Full-screen background gallery */
.hero-gallery {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
}
.hero-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  flex-shrink: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 28, 34, 0.78) 0%,
    rgba(17, 28, 34, 0.55) 55%,
    rgba(17, 28, 34, 0.25) 100%
  );
}

/* Text on top of photo */
.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 620px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
}
.hero-actions .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.badge-green {
  background: var(--green-bg);
  color: var(--green);
}

/* ── SECTION HEADER ────────────────────────── */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.65;
}


/* ── THE PROBLEM ───────────────────────────── */
.problem {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.problem-copy .chapter-label { margin-bottom: 12px; }
.problem-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.problem-copy p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.problem-stat {
  padding: 24px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.problem-stat:last-child { border-bottom: none; }
.problem-stat-value {
  font-family: 'DM Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.problem-stat-label {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

/* ── THE SENSOR ─────────────────────────────── */
.sensor-section {
  padding: 48px 0;
  background: var(--surface);
  overflow: hidden;
}
.expect-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-right: max(24px, calc((100vw - 1080px) / 2 + 24px));
}
.expect-visuals {
  display: flex;
  align-items: center;
  justify-content: center;
}
.expect-product-stack {
  position: relative;
  width: 100%;
  height: 520px;
}
.expect-screen-img {
  position: absolute;
  width: 300px;
  top: 24px;
  left: -80px;
  z-index: 2;
}
.expect-probe-img {
  position: absolute;
  width: 340px;
  bottom: 24px;
  left: -80px;
  z-index: 2;
}
.expect-phone-wrap {
  position: absolute;
  left: calc(40vw - 100px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 200px;
  background: #111;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 0 0 1px #333, 0 20px 60px rgba(0,0,0,0.25);
}
.expect-sensor-bg { display: none; }
.expect-copy {
  max-width: 420px;
  margin-left: auto;
}
.expect-copy .chapter-label {
  margin-bottom: 12px;
}
.expect-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 32px;
}
.expect-stat-block {
  margin-bottom: 32px;
}
.expect-big-stat {
  font-size: 9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 4px;
}
.expect-stat-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.expect-stat-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}
.expect-spec-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.expect-spec-item {
  flex: 1;
  padding: 16px;
  text-align: center;
}
.expect-spec-value {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.expect-spec-name {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.expect-spec-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
.expect-phone-wrap::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 7px;
  background: #222;
  border-radius: 999px;
  z-index: 2;
}
.expect-phone-img {
  width: 100%;
  border-radius: 28px;
  display: block;
}

/* Feature blocks (Milwaukee-style) */
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.feature-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
}
.feature-accent {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--accent-bg);
  color: var(--accent);
}
.feature-body {}
.feature-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text);
  margin-bottom: 4px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.5;
}

.expect-copy h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.expect-checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.checklist-group {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
  background: var(--surface);
}
.checklist-label {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.checklist-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: steps;
}
.checklist-steps li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
}
.checklist-steps li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.checklist-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}
.sensor-copy .chapter-label { margin-bottom: 12px; }
.sensor-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.sensor-copy p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.sensor-specs {
  list-style: none;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.sensor-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.sensor-specs li:last-child { border-bottom: none; }
.spec-label {
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}
.spec-value { color: var(--text2); text-align: right; }

/* ── FOUNDER TEASER ─────────────────────────── */
.founder-teaser {
  padding: 64px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 760px;
  margin: 0 auto;
}
.founder-quote {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}
.founder-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}
.founder-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.founder-role {
  font-size: 13px;
  color: var(--text3);
}

/* ── WHY IT MATTERS ────────────────────────── */
.why-it-matters {
  padding: 96px 0;
  background: var(--dark);
}
.why-it-matters .section-header h2 { color: #fff; }
.why-it-matters .section-header p  { color: rgba(255,255,255,0.55); }
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}
.process-step {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.process-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--accent);
  margin-top: 80px;
}
.process-number {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.process-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}
.process-why {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.process-readings {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-reading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: rgba(30,153,176,0.08);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.reading-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.reading-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.process-rating-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
}
.rating-low, .rating-high {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.rating-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  position: relative;
}
.rating-target {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── CONTACT ───────────────────────────────── */
.contact {
  padding: 96px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.contact-copy p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  font-size: 14px;
}
.contact-detail svg { color: var(--accent); flex-shrink: 0; }
.contact-detail a { color: var(--accent); font-weight: 500; }
.contact-detail a:hover { text-decoration: underline; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.optional {
  font-weight: 400;
  color: var(--text3);
}
.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(55, 171, 191, 0.15);
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  background: var(--accent-bg);
  border-radius: var(--r);
  color: var(--accent-dark);
}
.form-success svg { stroke: var(--accent-dark); }
.form-success p { font-size: 15px; font-weight: 500; }

/* ── FOOTER ────────────────────────────────── */
.footer {
  padding: 32px 0;
  background: var(--dark);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy {
  font-size: 13px;
  color: #5a7a88;
}
.footer img { filter: brightness(0) invert(1); opacity: 0.85; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer-social-link:hover { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

/* ── NAV ACTIVE STATE ──────────────────────── */
.nav-active {
  color: var(--text) !important;
  font-weight: 600 !important;
}

/* ── ABOUT PAGE ────────────────────────────── */
.about-hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--border);
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-hero-copy .hero-badge { margin-bottom: 20px; }
.about-hero-copy h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.about-hero-copy p {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.65;
}
.about-hero-img-wrap { position: relative; }
.about-hero-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-hero-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}
.about-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.about-title {
  font-size: 13px;
  color: var(--text3);
}

/* Story chapters */
.about-story {
  padding: 96px 0;
}
.story-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 96px;
}
.story-chapter:last-child { margin-bottom: 0; }
.story-chapter-reverse { direction: rtl; }
.story-chapter-reverse > * { direction: ltr; }

.chapter-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.story-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.2;
}
.story-text p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.story-text p:last-child { margin-bottom: 0; }
.story-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.story-img {
  width: 100%;
  border-radius: var(--r);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.story-img-secondary-row {
  display: grid;
  gap: 12px;
}
.story-img-secondary {
  aspect-ratio: 4/3;
}

/* SD Mines badge */
.sdmines-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.sdmines-logo {
  height: 40px;
  width: auto;
  opacity: 0.85;
}

/* Story carousels */
.story-carousel {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--surface2);
}
.story-carousel-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.story-carousel-img.active { opacity: 1; }
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.carousel-dot.active { background: #fff; }

/* Team */
.about-team {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-photo {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: block;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* CTA */
.about-cta {
  padding: 80px 0;
}
.about-cta-inner {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.about-cta-inner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.about-cta-inner p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── BETA TESTERS ──────────────────────────── */
.beta-testers {
  background: var(--dark);
  padding: 64px 0;
}
.beta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.beta-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.beta-inner h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}
.beta-inner p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .process-flow { flex-direction: column; gap: 8px; }
  .process-arrow { margin-top: 0; transform: rotate(90deg); }
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .expect-inner { grid-template-columns: 1fr; gap: 48px; padding-right: 24px; }
  .expect-copy { padding-left: 24px; }

  .sensor-inner { grid-template-columns: 1fr; gap: 40px; }
  .founder-teaser-inner { grid-template-columns: 1fr; gap: 40px; }
  .founder-teaser-img { aspect-ratio: 4/3; max-width: 400px; }
  .variables-grid { grid-template-columns: 1fr; }
  .hero { min-height: 75vh; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-chapter { grid-template-columns: 1fr; gap: 40px; }
  .story-chapter-reverse { direction: ltr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { margin-top: 8px; text-align: center; border-radius: var(--r-sm); }
  .nav-toggle { display: flex; }

  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-overlay { background: linear-gradient(to bottom, rgba(17,28,34,0.5) 0%, rgba(17,28,34,0.72) 100%); }

  .features { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .how-it-works { padding: 64px 0; }
  .steps { flex-direction: column; gap: 32px; }
  .step-divider { display: none; }
  .step { padding: 0; }

  .contact { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }

  .expect-product-stack { height: 300px; }
  .expect-screen-img { width: 140px; top: 15px; left: -30px; }
  .expect-probe-img { width: 160px; bottom: 15px; left: -30px; }
  .expect-phone-wrap { width: 110px; left: auto; right: 0; border-radius: 28px; padding: 7px; }
  .expect-copy { max-width: none; margin-left: 0; }
  .expect-spec-value { font-size: 12px; }
  .expect-spec-name { font-size: 10px; }
  .expect-spec-item { padding: 12px 8px; }
}
