/* =========================================================
   Crux — ボルダリング自己分析アプリ ランディングページ
   明るいマーケ基調（白 × ブルー）／ 和文ゴシック
   ========================================================= */

:root {
  /* --- ブランドカラー --- */
  --blue: #2563eb;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-tint: #eaf1ff;
  --blue-tint-2: #f4f8ff;

  /* --- ニュートラル（やや寒色寄りの白黒） --- */
  --ink: #0d1320;
  --ink-2: #2a3344;
  --muted: #5b6678;
  --muted-2: #8a94a6;
  --line: #e6e9f0;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-soft-2: #eef2f9;

  /* --- アプリ画面（ダーク）配色 --- */
  --app-bg: #0a0c11;
  --app-surface: #14171e;
  --app-surface-2: #1b1f28;
  --app-line: #262b36;
  --app-ink: #f3f5f9;
  --app-muted: #97a0b0;
  --app-blue: #2f6bff;

  /* --- タグ色（アプリ） --- */
  --tag-red: #c8453c;
  --tag-red-bg: #3a201e;
  --tag-orange: #d97a2b;
  --tag-orange-bg: #382517;
  --tag-yellow: #cf9f2b;
  --tag-yellow-bg: #34301a;
  --tag-gray: #6b7280;

  --shadow-card: 0 1px 2px rgba(13,19,32,.04), 0 12px 32px -12px rgba(13,19,32,.12);
  --shadow-phone: 0 30px 60px -24px rgba(13,19,32,.45), 0 8px 20px -8px rgba(13,19,32,.25);
  --radius: 18px;

  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.28; letter-spacing: .01em; margin: 0; }

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

p { margin: 0; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--blue-600); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue-600); border-radius: 2px; }

.section-head { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: .005em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 18px -8px rgba(37,99,235,.6); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 13px; }

/* =========================================================
   Header
   ========================================================= */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
header.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(13,19,32,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--blue-500), var(--blue-700));
  display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(37,99,235,.7);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.lnk { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-links a.lnk:hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links .lnk { display: none; } }

/* =========================================================
   Hero (base)
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-top: 70px; padding-bottom: 90px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, var(--blue-tint) 0%, transparent 60%),
    radial-gradient(700px 460px at 6% 8%, var(--blue-tint-2) 0%, transparent 55%);
}
.hero-grid-dots {
  position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(37,99,235,.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero-inner { display: grid; gap: 56px; align-items: center; }
.hero-copy { max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px 7px 9px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-card); margin-bottom: 26px;
}
.hero-badge .pip { width: 8px; height: 8px; border-radius: 50%; background: #1fa971; box-shadow: 0 0 0 4px rgba(31,169,113,.18); }
.hero h1 {
  font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.24; letter-spacing: .002em;
}
.hero h1 .hl { color: var(--blue-600); }
.hero h1 .marker {
  position: relative;
  display: inline;
  background-image: linear-gradient(
    100deg,
    rgba(255, 233, 130, 0) 0%,
    rgba(255, 233, 130, .55) 4%,
    rgba(255, 226, 92, .62) 50%,
    rgba(255, 233, 130, .5) 96%,
    rgba(255, 233, 130, 0) 100%
  );
  background-repeat: no-repeat;
  background-position: 0 78%;
  background-size: 100% 62%;
  padding: 0 .08em;
  border-radius: 40% 60% 55% 45% / 60% 55% 45% 60%;
}
.hero h1 .underline { position: relative; display: inline-block; white-space: nowrap; }
.hero h1 .underline .ul-svg {
  position: absolute; left: 0; bottom: -3px; width: 100%; height: 11px;
  overflow: visible; pointer-events: none;
}
.hero h1 .underline .ul-svg path {
  fill: none; stroke: var(--tag-red); stroke-width: 4; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hero-sub { margin-top: 24px; font-size: 18px; color: var(--muted); line-height: 1.85; max-width: 30em; }
.hero-cta { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.hero-note svg { flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; }

/* ---- Layout A : split (左テキスト / 右モック) ---- */
body[data-hero="split"] .hero-inner { grid-template-columns: 1.05fr .95fr; }
body[data-hero="split"] .hero-visual { justify-content: flex-end; }

/* ---- Layout B : center (中央寄せ + 下にモック) ---- */
body[data-hero="center"] .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
body[data-hero="center"] .hero-copy { max-width: 760px; }
body[data-hero="center"] .hero-sub { margin-left: auto; margin-right: auto; }
body[data-hero="center"] .hero-cta { justify-content: center; }
body[data-hero="center"] .hero-note { justify-content: center; }
body[data-hero="center"] .hero-visual { margin-top: 14px; }

/* ---- Layout C : showcase (全幅 + 3画面ファン) ---- */
body[data-hero="showcase"] .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
body[data-hero="showcase"] .hero-copy { max-width: 820px; }
body[data-hero="showcase"] .hero-sub { margin-left: auto; margin-right: auto; }
body[data-hero="showcase"] .hero-cta { justify-content: center; }
body[data-hero="showcase"] .hero-note { justify-content: center; }
body[data-hero="showcase"] .hero-visual { margin-top: 26px; }

/* show/hide the right visual cluster per layout */
.hero-visual .single-phone { display: none; }
.hero-visual .fan-phones { display: none; }
body[data-hero="split"] .hero-visual .single-phone,
body[data-hero="center"] .hero-visual .single-phone { display: block; }
body[data-hero="showcase"] .hero-visual .fan-phones { display: flex; }

/* fan cluster */
.fan-phones { align-items: center; justify-content: center; gap: 0; }
.fan-phones .phone { transition: transform .3s ease; }
.fan-phones .phone:nth-child(1) { transform: translateX(60px) rotate(-7deg) scale(.86); z-index: 1; }
.fan-phones .phone:nth-child(2) { z-index: 3; }
.fan-phones .phone:nth-child(3) { transform: translateX(-60px) rotate(7deg) scale(.86); z-index: 1; }
.fan-phones:hover .phone:nth-child(1) { transform: translateX(30px) rotate(-7deg) scale(.88); }
.fan-phones:hover .phone:nth-child(3) { transform: translateX(-30px) rotate(7deg) scale(.88); }

@media (max-width: 880px) {
  body[data-hero="split"] .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  body[data-hero="split"] .hero-sub { margin-left: auto; margin-right: auto; }
  body[data-hero="split"] .hero-cta, body[data-hero="split"] .hero-note { justify-content: center; }
  body[data-hero="split"] .hero-visual { justify-content: center; }
  .fan-phones .phone:nth-child(1), .fan-phones .phone:nth-child(3) { display: none; }
}

/* =========================================================
   Phone screen mock (frameless)
   ========================================================= */
.phone {
  width: 344px; flex: none;
  background: var(--app-bg); border-radius: 40px;
  border: 1px solid #20242e;
  box-shadow: var(--shadow-phone);
  overflow: hidden; position: relative;
  font-family: var(--font-body);
  color: var(--app-ink);
}
.phone.sm { width: 308px; }
.phone .statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 26px 4px; font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.phone .statusbar .sb-right { display: flex; align-items: center; gap: 6px; }
.phone .screen { padding: 2px 18px 14px; }

.app-topbar { display: flex; align-items: center; justify-content: center; position: relative; padding: 8px 4px 12px; }
.app-topbar h3 { font-family: var(--font-display); font-size: 17px; color: var(--app-ink); }
.app-topbar .ico-btn { position: absolute; right: 2px; top: 8px; color: var(--app-muted); }
.app-topbar .back { position: absolute; left: 2px; top: 8px; color: var(--app-ink); font-size: 20px; }
.app-topbar .edit { position: absolute; right: 2px; top: 11px; color: var(--app-blue); font-size: 14px; font-weight: 600; }

/* trend banner card on home */
.home-cta {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(120deg, #16243f, #0f1830);
  border: 1px solid #243a63; border-radius: 18px; padding: 13px 14px;
  margin-bottom: 16px;
}
.home-cta .spark { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(47,107,255,.16); display: grid; place-items: center; color: var(--app-blue); }
.home-cta .hc-txt h4 { font-family: var(--font-display); font-size: 16px; color: var(--app-ink); margin-bottom: 3px; }
.home-cta .hc-txt p { font-size: 11.5px; color: var(--app-muted); line-height: 1.5; }
.home-cta .chev { margin-left: auto; color: var(--app-muted); }

.list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.list-head h4 { font-family: var(--font-display); font-size: 16px; }
.list-head .all { color: var(--app-blue); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 3px; }

.rec-card {
  display: flex; gap: 12px; background: var(--app-surface); border: 1px solid var(--app-line);
  border-radius: 16px; padding: 10px; margin-bottom: 9px;
}
.rec-thumb {
  width: 96px; height: 70px; flex: none; border-radius: 11px; overflow: hidden; position: relative;
  background:
    repeating-linear-gradient(135deg, #1d2733 0 8px, #222d3b 8px 16px);
}
.rec-thumb .dur {
  position: absolute; left: 6px; bottom: 6px; display: flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); padding: 2px 6px; border-radius: 6px;
}
.rec-meta { flex: 1; min-width: 0; }
.rec-row1 { display: flex; align-items: center; justify-content: space-between; color: var(--app-muted); font-size: 12px; }
.rec-row1 .date { display: flex; align-items: center; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; font-family: var(--font-display);
  font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin: 6px 0;
  color: #fff;
}
.tag.red { background: var(--tag-red); }
.tag.orange { background: var(--tag-orange); }
.tag.yellow { background: var(--tag-yellow); color: #2a2410; }
.rec-row2 { display: flex; align-items: center; gap: 10px; color: var(--app-muted); font-size: 12px; }
.rec-row2 .sep { width: 1px; height: 12px; background: var(--app-line); }
.rec-row2 .mi { display: flex; align-items: center; gap: 5px; }

.app-fab {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--app-blue); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 15px; border-radius: 14px; padding: 12px; margin-top: 2px;
}
.app-tabbar {
  display: flex; justify-content: space-around; border-top: 1px solid var(--app-line);
  margin: 12px -18px 0; padding: 10px 0 2px;
}
.app-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: var(--app-muted); }
.app-tab.active { color: var(--app-blue); }

/* trend screen */
.trend-card { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 18px; padding: 14px; margin-bottom: 11px; }
.bar-row:last-child { margin-bottom: 0; }
.trend-card h4 { font-family: var(--font-display); font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.donut-row { display: flex; align-items: center; gap: 16px; }
.donut { width: 116px; height: 116px; flex: none; position: relative; border-radius: 50%; }
.donut::after {
  content: ""; position: absolute; inset: 26px; border-radius: 50%; background: var(--app-surface);
}
.donut .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; z-index: 2; }
.donut .center b { font-family: var(--font-display); font-size: 24px; display: block; line-height: 1; }
.donut .center span { font-size: 10px; color: var(--app-muted); }
.legend { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.legend .li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.legend .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.legend .li .pct { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 13px; }

.top-cause { display: flex; align-items: center; gap: 14px; }
.top-cause .tc-left { flex: 1; }
.top-cause .tc-num { font-size: 13px; color: var(--app-muted); margin-top: 10px; }
.top-cause .tc-num b { color: var(--tag-red); font-family: var(--font-display); font-size: 19px; }
.top-cause .tc-badge {
  width: 84px; height: 84px; flex: none; border-radius: 50%;
  border: 1.5px solid rgba(200,69,60,.5); display: grid; place-items: center; color: var(--tag-red);
  background: radial-gradient(circle, rgba(200,69,60,.12), transparent 70%);
}
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; font-size: 12.5px; }
.bar-row .bi { width: 18px; color: var(--app-muted); display: grid; place-items: center; }
.bar-row .bl { width: 92px; flex: none; }
.bar-track { flex: 1; height: 7px; background: var(--app-line); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--app-blue); border-radius: 6px; }
.bar-row .bc { width: 30px; text-align: right; color: var(--app-muted); }
.bar-row .bp { width: 34px; text-align: right; font-family: var(--font-display); font-weight: 700; }

/* record screen */
.form-label { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin: 13px 0 8px; }
.form-label .req { color: var(--app-blue); font-size: 12px; margin-left: 4px; }
.form-label .opt { color: var(--app-muted); font-size: 12px; font-weight: 500; margin-left: 4px; }
.video-pick {
  display: flex; gap: 13px; align-items: center; background: var(--app-surface);
  border: 1px solid var(--app-line); border-radius: 14px; padding: 10px;
}
.video-pick .vthumb { width: 100px; height: 66px; border-radius: 10px; flex: none; position: relative;
  background: repeating-linear-gradient(135deg, #1d2733 0 8px, #222d3b 8px 16px); }
.video-pick .vp-txt b { color: var(--app-blue); font-family: var(--font-display); font-size: 14px; display: flex; align-items: center; gap: 7px; }
.video-pick .vp-txt p { font-size: 10.5px; color: var(--app-muted); margin-top: 6px; line-height: 1.5; }
.select-group { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 14px; overflow: hidden; }
.select-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; }
.select-row + .select-row { border-top: 1px solid var(--app-line); }
.select-row .sl { color: var(--app-muted); font-size: 13.5px; }
.select-row .sv { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.select-row .sv svg { color: var(--app-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  padding: 8px 13px; border-radius: 999px; border: 1px solid var(--app-line); color: var(--app-muted);
}
.chip.on { background: var(--app-blue); border-color: var(--app-blue); color: #fff; }
.memo { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 14px; padding: 12px; font-size: 13px; color: var(--app-muted); position: relative; }
.memo .count { position: absolute; right: 12px; bottom: 9px; font-size: 11px; color: var(--muted-2); }

/* =========================================================
   Problem / 課題共感
   ========================================================= */
.problem { padding: 96px 0; background: var(--bg-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 10px; }
@media (max-width: 900px){ .problem-grid { grid-template-columns: 1fr; gap: 40px; } }
.quote-stack { display: flex; flex-direction: column; gap: 16px; }
.thought {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 5px;
  padding: 18px 20px; font-size: 16px; color: var(--ink-2); box-shadow: var(--shadow-card); max-width: 440px;
}
.thought.right { align-self: flex-end; border-radius: 16px 16px 5px 16px; }
.thought .who { font-size: 12px; color: var(--muted-2); margin-top: 8px; }
.problem-copy h2 { font-size: clamp(26px, 3.2vw, 38px); }
.problem-copy h2 .hl { color: var(--blue-600); }
.problem-copy p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.problem-copy .turn { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 17px; }
.problem-copy .turn .arrow { color: var(--blue-600); }

/* =========================================================
   3 steps
   ========================================================= */
.steps { padding: 100px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
@media (max-width: 860px){ .steps-grid { grid-template-columns: 1fr; gap: 18px; } }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px 28px; box-shadow: var(--shadow-card); overflow: hidden;
}
.step .num {
  font-family: var(--font-display); font-weight: 900; font-size: 60px; line-height: 1;
  color: var(--blue-tint); position: absolute; right: 18px; top: 8px;
}
.step .s-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-tint); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 20px; position: relative; }
.step h3 { font-size: 20px; }
.step p { margin-top: 11px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.step .tags-mini { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.step .tm { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); }
.step .tm.red { background: #fdecea; border-color: #f6cfc9; color: var(--tag-red); }
.step .tm.blue { background: var(--blue-tint); border-color: #cfe0ff; color: var(--blue-700); }

/* =========================================================
   Features
   ========================================================= */
.features { padding: 100px 0; background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  padding: 50px 0;
}
.feature.reverse .feat-visual { order: -1; }
@media (max-width: 900px){
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 36px; }
  .feature .feat-visual, .feature.reverse .feat-visual { order: 0; }
}
.feat-copy .ftag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--blue-600); background: var(--blue-tint); padding: 6px 13px; border-radius: 999px; }
.feat-copy h3 { font-size: clamp(24px, 3vw, 33px); margin-top: 18px; }
.feat-copy p { margin-top: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.85; }
.feat-points { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.feat-points li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 15px; color: var(--ink-2); }
.feat-points { padding: 0; margin-left: 0; }
.feat-points .ck { width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--blue-tint); color: var(--blue-600); display: grid; place-items: center; margin-top: 1px; }
.feat-visual { display: flex; justify-content: center; position: relative; }
.feat-visual .glow { position: absolute; inset: -10% 10% 10%; background: radial-gradient(closest-side, var(--blue-tint), transparent); z-index: 0; filter: blur(8px); }
.feat-visual .phone { position: relative; z-index: 1; }

/* =========================================================
   Waitlist CTA
   ========================================================= */
.waitlist { padding: 110px 0; }
.wl-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f1830 0%, #142a52 55%, #1c3a72 100%);
  border-radius: 30px; padding: 70px 56px; color: #fff; text-align: center;
  box-shadow: 0 40px 80px -30px rgba(20,42,82,.6);
}
.wl-card .wl-dots {
  position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 75%);
}
.wl-card > * { position: relative; z-index: 1; }
.wl-card .eyebrow { color: #8fb6ff; }
.wl-card .eyebrow::before { background: #8fb6ff; }
.wl-card h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 16px; letter-spacing: .01em; }
.wl-card p.lead { margin-top: 18px; color: #b9c6e0; font-size: 17px; max-width: 32em; margin-left: auto; margin-right: auto; line-height: 1.85; }
.wl-form { margin: 34px auto 0; max-width: 470px; display: flex; gap: 10px; }
.wl-form input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: 15px;
  padding: 15px 18px; border-radius: 13px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; outline: none; transition: border-color .15s, background .15s;
}
.wl-form input::placeholder { color: #9fb0d0; }
.wl-form input:focus { border-color: #6aa0ff; background: rgba(255,255,255,.14); }
.wl-form .btn-primary { background: #fff; color: var(--blue-700); box-shadow: none; }
.wl-form .btn-primary:hover { background: #eaf1ff; }
.wl-success {
  display: none; margin: 30px auto 0; max-width: 470px; align-items: center; gap: 14px;
  background: rgba(31,169,113,.16); border: 1px solid rgba(31,169,113,.5); border-radius: 14px;
  padding: 18px 20px; text-align: left;
}
.wl-success.show { display: flex; }
.wl-success .wc { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #1fa971; display: grid; place-items: center; }
.wl-success b { font-family: var(--font-display); display: block; }
.wl-success span { color: #b9c6e0; font-size: 13.5px; }
.wl-error { display: none; color: #ffb4ac; font-size: 13px; margin-top: 12px; }
.wl-error.show { display: block; }
@media (max-width: 560px){ .wl-form { flex-direction: column; } .wl-card { padding: 50px 26px; } }

/* roadmap mini strip */
.road { margin-top: 44px; display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.road .rp { display: flex; align-items: center; gap: 10px; color: #b9c6e0; font-size: 13px; }
.road .rp b { color: #fff; font-family: var(--font-display); }
.road .rp .dotp { width: 9px; height: 9px; border-radius: 50%; background: #6aa0ff; }
.road .rp.now .dotp { background: #1fa971; box-shadow: 0 0 0 4px rgba(31,169,113,.2); }
.road .rsep { width: 40px; height: 1px; background: rgba(255,255,255,.16); margin: 0 16px; }
@media (max-width: 640px){ .road .rsep { display: none; } .road { gap: 14px; } }

/* =========================================================
   Footer
   ========================================================= */
footer.ft { padding: 50px 0 40px; border-top: 1px solid var(--line); }
.ft-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ft .brand { font-size: 17px; }
.ft .ft-note { color: var(--muted-2); font-size: 13px; }
.ft .ft-links { display: flex; gap: 24px; font-size: 13.5px; color: var(--muted); }
.ft .ft-links a:hover { color: var(--ink); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }
