/* ── Glight Landing styles ─────────────────────────────────────────────── */

:root {
  /* Cream palette (default) */
  --bg: #F6EFE2;
  --bg-soft: #FBF6EC;
  --bg-card: #FFFFFF;
  --ink: #14213D;
  --ink-soft: #3E4A66;
  --ink-mute: #6B7891;
  --line: #E7DDC8;
  --line-soft: #EFE7D5;
  --navy: #14213D;
  --navy-deep: #0B142A;
  --accent: #E27D3C;
  --accent-deep: #C8651F;
  --accent-soft: #FBE6D3;
  --warm: #F4D58D;
  --warm-deep: #E9B254;
  --alert: #FFF1C9;
  --alert-ink: #6B4E0A;
  --alert-line: #F4D77A;
  --shadow-sm: 0 1px 2px rgba(20,33,61,.06), 0 1px 0 rgba(20,33,61,.04);
  --shadow-md: 0 4px 14px rgba(20,33,61,.08), 0 1px 2px rgba(20,33,61,.05);
  --shadow-lg: 0 24px 60px -20px rgba(20,33,61,.22), 0 8px 24px -12px rgba(20,33,61,.14);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 480px;
  --side: 20px;
  --bottom-cta: 84px;
}

body[data-palette="white"] {
  --bg: #FFFFFF;
  --bg-soft: #FAFAF7;
  --bg-card: #FFFFFF;
  --line: #ECE7DC;
  --line-soft: #F2EEE4;
}
body[data-palette="navy"] {
  --bg: #0E1A33;
  --bg-soft: #142544;
  --bg-card: #182C50;
  --ink: #F6EFE2;
  --ink-soft: #C6CFE0;
  --ink-mute: #8896B3;
  --line: #243B65;
  --line-soft: #1B2D52;
  --navy: #F6EFE2;
  --navy-deep: #FFFFFF;
  --accent: #F08A4B;
  --accent-deep: #FFA467;
  --accent-soft: #2A3B62;
  --warm: #F4D58D;
  --alert: #2E2818;
  --alert-ink: #F4D77A;
  --alert-line: #5C4C1E;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Pretendard Variable", Pretendard, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
  letter-spacing: -0.015em;
  transition: background .35s ease, color .35s ease;
  padding-bottom: var(--bottom-cta);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.page { width: 100%; overflow-x: clip; }
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--side);
  padding-right: var(--side);
}
section { position: relative; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 24px; letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
}
.brand-mark {
  width: 44px; height: 44px;
  display: inline-block;
  object-fit: contain;
  flex: 0 0 auto;
}
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: all .18s ease;
}
.nav-link-mobile-arrow { font-size: 11px; }
.nav-link:hover { color: var(--accent-deep); border-color: var(--accent); }

/* ── Type scale ────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor;
}
.h-display {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 12px;
  text-wrap: balance;
}
.h-sub {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin: 8px 0 0;
  text-wrap: pretty;
}
.serif {
  font-family: "Nanum Myeongjo", "Noto Serif KR", Georgia, serif;
  letter-spacing: -0.005em;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  font-size: 17px; font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 8px 22px -8px color-mix(in oklab, var(--accent) 70%, transparent);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--bg-card);
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-mute); }

.btn .arr { display: inline-block; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ── Badges ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 100%;
  padding: 8px 16px 8px 10px;
  font-size: 17px; font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
}
.badge-logo {
  height: 22px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  display: block;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 35%, transparent); }
  50%      { box-shadow: 0 0 0 7px color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: 20px 0 28px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.hero-headline-row { display: flex; flex-direction: column; gap: 16px; }
.hero-headline-row .h-display em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--warm) 80%, transparent) 60%);
  padding: 0 4px;
}
.hero-headline-row .h-sub b { color: var(--navy); }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 4px;
}
.hero-actions .btn-primary,
.hero-actions .btn-ghost { flex: 1 1 100%; justify-content: center; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  font-size: 13px; color: var(--ink-mute);
  margin-top: 6px;
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hero-meta-item::before { content: "✓"; color: var(--accent); font-weight: 800; }

.hero-scene {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-scene img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

/* ── Section frame ─────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 32px; }

/* ── Problem ───────────────────────────────────────────────────────────── */
.card-stack { display: grid; gap: 18px; max-width: 720px; }
.tech-notes { margin-top: 22px; }
.plain-copy p {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-soft);
}
.plain-copy p:last-child { margin-bottom: 0; }
.plain-copy b { color: var(--navy); }
.ai-layout { display: grid; gap: 12px; }
.ai-chip {
  margin: 8px auto 0;
  width: min(260px, 70%);
}
.ai-chip img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-list { display: grid; }
.feature-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.feature-row img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.feature-row img.feature-shot-wide {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.feature-row:has(.feature-shot-wide) {
  grid-template-columns: 1fr;
}
.feature-row h3 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.feature-row p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-soft);
}
#problem .stat {
  background: none;
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  padding: 16px 0;
}
#problem .stat:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.problem-photo {
  width: 100%; aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 24px;
  position: relative;
}
.problem-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.92) saturate(.92);
}
.problem-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in oklab, var(--navy) 50%, transparent) 100%);
  pointer-events: none;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 6px; left: 18px;
  font-size: 64px; line-height: 1; color: var(--accent);
  font-family: Georgia, serif; opacity: .35;
}
.quote-card p {
  margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft);
}
.quote-card p b { color: var(--navy); }

.problem-grid {
  display: grid; gap: 14px; grid-template-columns: 1fr;
  margin-top: 28px;
}
.stat {
  display: flex; gap: 18px; align-items: baseline;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.stat:hover { border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat .num {
  font-family: inherit;
  font-size: 40px; font-weight: 600; line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}
.stat .num-unit { font-size: 22px; font-weight: 700; color: var(--accent-deep); margin-left: 2px; }
.stat .lbl { font-size: 17px; font-weight: 600; color: var(--ink-soft); line-height: 1.4; }
.stat .lbl b { color: var(--navy); }
.stat .lbl .muted { opacity: .7; }

/* ── Solution cards ────────────────────────────────────────────────────── */
.sol-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
.sol-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.sol-card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 0% 0%, color-mix(in oklab, var(--accent) 8%, transparent) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.sol-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
  box-shadow: var(--shadow-md);
}
.sol-card:hover::before { opacity: 1; }
.sol-card > * { position: relative; z-index: 1; }
.sol-card .glyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid; place-items: center;
  margin-bottom: 4px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.sol-card:hover .glyph { transform: rotate(-6deg) scale(1.05); }
.sol-card .glyph svg { width: 24px; height: 24px; }
.sol-card .pill {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-deep);
}
.sol-card h3 {
  margin: 4px 0 4px;
  font-size: 19px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.02em;
  line-height: 1.32;
}
.sol-card p {
  margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft);
}

/* ── Steps ─────────────────────────────────────────────────────────────── */
.steps {
  display: grid; gap: 22px;
}
.step {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.step-num {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-deep);
}
.step-num .n {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--bg-soft);
  display: grid; place-items: center;
  font-family: "Nanum Myeongjo", Georgia, serif;
  font-size: 14px; font-weight: 800;
  letter-spacing: 0;
}
.step h3 { margin: 6px 0 6px; font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 19px; font-weight: 600; line-height: 1.45; }
.step-media {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
}
.step-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.step-media--portrait {
  aspect-ratio: auto;
  max-width: 280px;
  margin: 0 auto;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.step-media--portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ── Gallery ───────────────────────────────────────────────────────────── */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.g-tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  aspect-ratio: 1/1;
  position: relative;
}
.g-tile.tall { grid-row: span 2; aspect-ratio: 1 / 2.04; }
.g-tile.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.g-tile.scene { aspect-ratio: 16 / 10; }
.g-tile.product-view {
  aspect-ratio: 3.16 / 1;
  background: transparent;
  border: none;
  margin: 4px 0 8px;
}
.g-tile.product-view img { object-fit: contain; }
.g-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Pricing ───────────────────────────────────────────────────────────── */
.price-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
.price {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.price:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.price[data-featured="true"]:hover {
  box-shadow: 0 24px 60px -20px rgba(20,33,61,.45);
}
.price[data-featured="true"] {
  background: var(--navy);
  color: var(--bg-soft);
  border-color: var(--navy-deep);
}
.price[data-featured="true"] .price-name,
.price[data-featured="true"] .price-amount { color: var(--bg-soft); }
.price[data-featured="true"] .price-tag {
  background: var(--accent); color: #fff;
}
.price[data-featured="true"] .price-desc,
.price[data-featured="true"] .price-features li { color: color-mix(in oklab, var(--bg-soft) 80%, transparent); }
.price[data-featured="true"] .price-features li::before { color: var(--warm-deep); }
.price[data-featured="true"] .price-amount .unit { color: color-mix(in oklab, var(--bg-soft) 70%, transparent); }

.price-tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 9px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-deep);
  margin-bottom: 10px;
}
.price-name { font-size: 20px; font-weight: 800; color: var(--navy); margin: 0 0 4px; letter-spacing: -0.02em; }
.price-desc { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; min-height: 38px; }
.price-amount {
  font-family: "Nanum Myeongjo", Georgia, serif;
  font-size: 44px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1;
}
.price-amount .unit { font-family: "Pretendard Variable", Pretendard, sans-serif; font-size: 15px; font-weight: 700; color: var(--ink-mute); margin-left: 6px; letter-spacing: -0.01em; }
.price-features { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 9px; }
.price-features li {
  font-size: 14.5px; color: var(--ink-soft);
  padding-left: 22px; position: relative;
}
.price-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent-deep); font-weight: 800;
}
.price-note {
  text-align: center; margin-top: 18px;
  font-size: 13px; color: var(--ink-mute);
}

/* ── Form ──────────────────────────────────────────────────────────────── */
.signup-wrap { max-width: 640px; }
.signup-head { text-align: center; margin-inline: auto; }
.signup-head .eyebrow { justify-content: center; }
.signup-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.signup-form[hidden] { display: none; }

.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--alert);
  color: var(--alert-ink);
  border: 1px solid var(--alert-line);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.55;
}
.alert .ico {
  flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--alert-line);
  display: grid; place-items: center;
  color: var(--alert-ink); font-weight: 800; font-size: 14px;
}
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field label .req { color: var(--accent-deep); margin-left: 3px; }
.field input {
  height: 50px; padding: 0 14px;
  font: inherit; font-size: 15.5px;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}
.field .hint { font-size: 12.5px; color: var(--ink-mute); }
.field.error input { border-color: #D14343; background: #FEF1F1; }
.field.error .hint { color: #B82E2E; }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid var(--ink-mute);
  background: var(--bg-card);
  margin-top: 1px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .15s ease;
  position: relative;
}
.consent input[type="checkbox"]:checked {
  background: var(--accent); border-color: var(--accent);
}
.consent input[type="checkbox"]:checked::after {
  content: "✓"; color: #fff; font-size: 13px; font-weight: 900;
}
.consent label { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent a { color: var(--accent-deep); font-weight: 700; }
.consent .hint { display: none; font-size: 12.5px; color: #B82E2E; margin-top: 4px; }
.consent.error .hint { display: block; }

.submit-btn {
  width: 100%; justify-content: center;
  padding: 18px 22px; font-size: 17px;
}
.submit-btn[disabled] { opacity: .55; cursor: not-allowed; }

.success {
  text-align: center;
  padding: 16px 8px 8px;
}
.success .check {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 16px;
  background: color-mix(in oklab, var(--accent) 18%, var(--bg-soft));
  display: grid; place-items: center;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  animation: pop .4s ease-out;
}
@keyframes pop {
  from { transform: scale(.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success h3 { margin: 0 0 6px; font-size: 22px; color: var(--navy); }
.success p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }
.success .interview {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: left;
}
.success .interview b { color: var(--navy); }
.success .interview button {
  margin-top: 10px;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
}
.success .interview-done {
  margin-top: 10px;
  color: var(--accent-deep);
  font-weight: 700;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq-wrap { max-width: 760px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.faq details {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  padding: 20px 4px;
  font-weight: 700; font-size: 19px;
  color: var(--navy);
  cursor: pointer;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--ink-mute);
  transition: transform .25s ease, color .2s ease;
}
.faq summary .chev svg { width: 14px; height: 14px; display: block; }
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--accent-deep); }
.faq details[open] summary { color: var(--accent-deep); padding-bottom: 8px; }
.faq .ans {
  padding: 0 0 22px 0;
  margin: 0;
  color: var(--ink-soft); font-size: 19px; font-weight: 600; line-height: 1.45;
  max-width: 600px;
}
.faq details > *:not(summary) {
  animation: faqFadeIn .35s cubic-bezier(.2,.7,.3,1);
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq summary:hover { color: var(--accent-deep); }
.faq summary:hover .chev { color: var(--accent-deep); }

/* ── Sticky bottom CTA ─────────────────────────────────────────────────── */
.bottom-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bg-card) 96%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
  transform: translateY(0);
  transition: transform .25s ease;
}
.bottom-cta[data-hidden="true"] { transform: translateY(110%); }
.bottom-cta .label {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.bottom-cta .label .ttl { font-size: 13px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.bottom-cta .label .sub { font-size: 11.5px; color: var(--ink-mute); }
.bottom-cta .btn-primary {
  flex: 0 0 auto;
  padding: 14px 20px;
  font-size: 15px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 13px;
}
.footer .row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  align-items: flex-start;
}
.footer-brand { margin-bottom: 8px; }
.footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer .links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer .links a:hover { color: var(--accent-deep); }
.legal { font-size: 12px; color: var(--ink-mute); line-height: 1.6; max-width: 560px; }

/* Wider than a phone: use the screen instead of a fixed 440px column. */
@media (min-width: 720px) {
  .wrap { max-width: 760px; }
  .signup-wrap { max-width: 640px; }
  .bottom-cta {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    transform: none;
  }
  .bottom-cta[data-hidden="true"] { transform: translateY(110%); }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { flex: 0 1 auto; min-width: 180px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .h-display { font-size: 64px; }
  .h-section { font-size: 48px; }
  .h-sub, .plain-copy p, .step p, .faq .ans { font-size: 21px; }
  .badge { font-size: 20px; padding: 10px 18px 10px 12px; }
  .badge-logo { height: 26px; }
}

@media (min-width: 1024px) {
  .wrap { max-width: 1080px; --side: 28px; }
  .section { padding: 80px 0; }
  .hero { padding: 36px 0 48px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }
  .hero-scene { aspect-ratio: 4 / 3; }
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    border-top: none;
  }
  .feature-row img {
    width: 100%;
    height: 180px;
  }
  .feature-row img.feature-shot-wide {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .step {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 36px;
  }
  .step:nth-child(even) .step-media { order: -1; }
  .step-media--portrait { margin: 0; }
  .plain-copy { max-width: 760px; }
  .ai-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    gap: 28px 40px;
    align-items: center;
  }
  #tech .section-head,
  #tech .plain-copy { max-width: none; }
  .ai-chip { width: 100%; margin: 0; }
  .h-display { font-size: 76px; }
  .h-section { font-size: 56px; }
  .step h3 { font-size: 32px; }
  .stat .num { font-size: 48px; }
  .gallery { gap: 16px; }
}

/* ── Motion: scroll-reveal & hover micro-interactions ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.g-tile {
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.g-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
}

/* Footer link underline that grows from left on hover */
.footer .links a {
  position: relative;
  padding-bottom: 2px;
}
.footer .links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: currentColor;
  transition: right .25s cubic-bezier(.2,.7,.3,1);
}
.footer .links a:hover::after { right: 0; }

/* Nav-link arrow nudge */
.nav-link { transition: color .18s ease, border-color .18s ease, background .18s ease; }
.nav-link .nav-link-mobile-arrow { transition: transform .2s ease; }
.nav-link:hover .nav-link-mobile-arrow { transform: translateX(3px); }

/* Bottom CTA subtle hover lift */
.bottom-cta .btn-primary { transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.bottom-cta .btn-primary:hover { transform: translateY(-1px) scale(1.02); }

/* Hero entrance — applies once on page load */
.hero .badge,
.hero .h-display,
.hero .h-sub,
.hero .hero-actions,
.hero .hero-meta,
.hero-scene {
  opacity: 0;
  animation: heroIn .8s cubic-bezier(.2,.7,.3,1) forwards;
}
.hero .badge        { animation-delay: 60ms; }
.hero .h-display    { animation-delay: 140ms; }
.hero .h-sub        { animation-delay: 220ms; }
.hero .hero-actions { animation-delay: 300ms; }
.hero .hero-meta    { animation-delay: 360ms; }
.hero-scene         { animation-delay: 180ms; animation-duration: 1s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Lamp glow breathe (subtle) — uses transform of the inner glow polygon */
.hero-scene svg ellipse[fill="url(#glow)"] {
  transform-origin: center;
  animation: glowBreathe 6s ease-in-out infinite;
}
@keyframes glowBreathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: .85; }
}

/* Stat number count-up uses tabular nums so the width doesn't jitter */
.stat .num { font-variant-numeric: tabular-nums; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
