@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,500..900,50,1&family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f7ecd3;
  --paper: #fff8e7;
  --sand: #efe1c3;
  --ink: #2b1d0e;
  --ink-2: #5a4632;
  --muted: #8b7355;
  --gold: #e8a33d;
  --gold-deep: #c7822a;
  --terra: #d85a3c;
  --mint: #7fcfc7;
  --teal: #3fb8af;
  --forest: #234437;
  --navy: #0e1423;
  --line: rgba(43, 29, 14, 0.13);
  --shadow: 0 24px 70px rgba(43, 29, 14, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(43, 29, 14, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(43, 29, 14, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(circle at 12% 8%, rgba(232, 163, 61, 0.24), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(63, 184, 175, 0.16), transparent 28%),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

button,
a,
summary,
input,
textarea {
  font: inherit;
}

button,
a,
summary {
  cursor: pointer;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 248, 231, 0.34);
  background: rgba(247, 236, 211, 0.78);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(43, 29, 14, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 18px 36px rgba(232, 163, 61, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #f2b856;
  box-shadow: 0 20px 42px rgba(232, 163, 61, 0.42);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 248, 231, 0.72);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--paper);
  border-color: rgba(43, 29, 14, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.8fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px) 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 248, 231, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
  color: var(--gold-deep);
}

h1,
h2,
.serif {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}

h1 {
  max-width: 980px;
  margin: 22px 0 18px;
  font-size: clamp(58px, 10.5vw, 148px);
  line-height: 0.82;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--forest);
  font-style: italic;
}

.hero-copy {
  max-width: 700px;
  color: var(--ink-2);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(35, 68, 55, 0.08);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.trust-pill svg {
  width: 16px;
  height: 16px;
}

.ai-engine {
  padding: 0 clamp(18px, 5vw, 72px) clamp(32px, 5vw, 56px);
}

.ai-engine-kicker {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.ai-engine-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(43, 29, 14, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(255, 248, 231, 0.9), rgba(255, 248, 231, 0.64)),
    radial-gradient(circle at 14% 50%, rgba(127, 207, 199, 0.18), transparent 28%);
  box-shadow: 0 14px 34px rgba(43, 29, 14, 0.1);
}

.ai-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 13px 9px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 248, 231, 0.94);
  box-shadow: 3px 4px 0 var(--ink);
}

.gemini-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ai-provider strong {
  display: block;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ai-provider span {
  display: block;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ai-engine-note {
  color: var(--ink-2);
  max-width: 270px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  padding: 0 8px;
}

.hero-stage {
  position: relative;
  min-height: 610px;
}

.passport-card {
  position: absolute;
  top: 16px;
  right: 0;
  width: min(390px, 92vw);
  padding: 28px;
  border-radius: 34px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(145deg, var(--forest), #1b3129);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.passport-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 248, 231, 0.16);
  border-radius: 24px;
  pointer-events: none;
}

.passport-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.passport-label {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.passport-sub {
  margin-top: 2px;
  color: rgba(255, 248, 231, 0.64);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stamp-ring {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(232, 163, 61, 0.58);
  border-radius: 50%;
  background: rgba(232, 163, 61, 0.14);
}

.stamp-ring img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 18px;
}

.passport-card h2 {
  margin: 60px 0 10px;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.passport-card p {
  max-width: 260px;
  color: rgba(255, 248, 231, 0.74);
  line-height: 1.55;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.stamp-cell {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid rgba(255, 248, 231, 0.16);
  border-radius: 18px;
  color: var(--gold);
  background: rgba(14, 20, 35, 0.22);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.phone-card {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: min(310px, 78vw);
  padding: 16px;
  border: 1px solid rgba(43, 29, 14, 0.12);
  border-radius: 36px;
  background: #121827;
  box-shadow: 0 26px 80px rgba(14, 20, 35, 0.32);
  transform: rotate(-6deg);
}

.phone-screen {
  min-height: 520px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 16%, rgba(232, 163, 61, 0.28), transparent 34%),
    #0e1423;
  color: var(--paper);
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.phone-pill {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(127, 207, 199, 0.16);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.phone-map {
  position: relative;
  height: 270px;
  margin: 0 16px;
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: 24px;
  background: rgba(255, 248, 231, 0.06);
  box-shadow: inset 0 0 36px rgba(14, 20, 35, 0.78);
  overflow: hidden;
}

.phone-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98) sepia(0.08);
}

.map-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 20, 35, 0.16), rgba(14, 20, 35, 0.08) 48%, rgba(14, 20, 35, 0.24)),
    radial-gradient(circle at 50% 45%, transparent 0 46%, rgba(14, 20, 35, 0.08) 78%);
}

.osm-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid var(--navy);
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
  filter: drop-shadow(0 8px 10px rgba(14, 20, 35, 0.52));
  animation: pinPulse 2.4s ease-in-out infinite;
}

.osm-pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--navy);
}

.pin-one {
  right: 27%;
  top: 34%;
  background: var(--terra);
}

.pin-two {
  left: 35%;
  bottom: 30%;
  animation-delay: 0.5s;
  background: var(--mint);
}


.phone-panel {
  margin: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 248, 231, 0.09);
}

.phone-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.phone-panel span {
  color: rgba(255, 248, 231, 0.72);
  font-size: 12px;
}

.kai-ticket {
  position: absolute;
  right: 42px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(330px, 80vw);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 248, 231, 0.9);
  box-shadow: var(--shadow);
}

.kai-ticket img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--paper);
}

.kai-ticket strong {
  display: block;
  margin-bottom: 3px;
}

.kai-ticket span {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.35;
}

section {
  padding: 76px clamp(18px, 5vw, 72px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.45fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.section-head p {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 248, 231, 0.74);
  box-shadow: 0 16px 42px rgba(43, 29, 14, 0.08);
  transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  border-color: rgba(43, 29, 14, 0.26);
  background: var(--paper);
  box-shadow: 0 22px 58px rgba(43, 29, 14, 0.14);
}

.feature-card.large {
  grid-column: span 6;
}

.feature-card.small {
  grid-column: span 3;
}

.feature-card.dark {
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    var(--navy);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 16px;
  color: var(--ink);
  background: var(--gold);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1;
}

.feature-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}

.feature-card.dark p {
  color: rgba(255, 248, 231, 0.72);
}

.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  margin: 0 clamp(18px, 5vw, 72px);
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(43, 29, 14, 0.1);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.9), rgba(239, 225, 195, 0.72)),
    var(--paper);
  box-shadow: var(--shadow);
}

.pricing-copy h2 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.pricing-copy p {
  max-width: 690px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.58;
}

.pricing-cards {
  display: grid;
  gap: 14px;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 248, 231, 0.72);
}

.price-card span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.price-card p {
  color: var(--ink-2);
  line-height: 1.5;
}

.price-card.featured {
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 16%, rgba(232, 163, 61, 0.22), transparent 36%),
    linear-gradient(145deg, #2b1d0e, #0e1423);
  box-shadow: 0 26px 70px rgba(14, 20, 35, 0.28);
}

.price-card.featured p {
  color: rgba(255, 248, 231, 0.72);
}

.price-card.featured .btn {
  width: max-content;
  margin-top: 8px;
}

.investor-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: stretch;
  border-radius: 38px;
  color: var(--paper);
  background:
    linear-gradient(130deg, rgba(232, 163, 61, 0.18), transparent 32%),
    linear-gradient(145deg, var(--forest), #132820);
  box-shadow: var(--shadow);
}

.investor-copy,
.investor-metrics {
  padding: clamp(28px, 4vw, 52px);
}

.investor-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5.6vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.investor-copy p {
  max-width: 620px;
  color: rgba(255, 248, 231, 0.75);
  font-size: 18px;
  line-height: 1.55;
}

.metric {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 248, 231, 0.14);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  color: var(--gold);
  font-family: "Fraunces", serif;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 0.9;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 248, 231, 0.72);
  line-height: 1.45;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 20px;
}

.support-card,
.faq-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 248, 231, 0.78);
  box-shadow: 0 16px 44px rgba(43, 29, 14, 0.08);
}

.support-card {
  padding: 26px;
}

.support-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
}

.support-card p {
  color: var(--ink-2);
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.field label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.18);
}

.faq-panel {
  overflow: hidden;
}

.faq-panel details {
  border-bottom: 1px solid var(--line);
}

.faq-panel details:last-child {
  border-bottom: 0;
}

.faq-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-weight: 900;
  list-style: none;
}

.faq-panel summary::-webkit-details-marker {
  display: none;
}

.faq-panel summary svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.faq-panel details[open] summary svg {
  transform: rotate(45deg);
}

.faq-panel details p {
  margin: -8px 24px 22px;
  color: var(--ink-2);
  line-height: 1.55;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 30px clamp(18px, 5vw, 72px) 72px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 38px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.download-page {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 54px);
}

.download-brand {
  width: max-content;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 110px);
}

.download-hero h1 {
  max-width: 860px;
  margin: 22px 0 20px;
  font-size: clamp(54px, 9vw, 132px);
}

.download-hero p:not(.eyebrow) {
  max-width: 690px;
  color: var(--ink-2);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 210px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 248, 231, 0.14);
  border-radius: 18px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(43, 29, 14, 0.22);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  background: var(--navy);
  border-color: rgba(232, 163, 61, 0.5);
  box-shadow: 0 22px 48px rgba(43, 29, 14, 0.3);
}

.store-badge svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.store-badge span {
  display: grid;
  gap: 1px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.store-badge small {
  color: rgba(255, 248, 231, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.download-links a {
  color: var(--ink-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(232, 163, 61, 0.65);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.download-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 38px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent),
    var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.download-card img {
  width: min(190px, 60vw);
  border-radius: 44px;
  box-shadow: 0 18px 48px rgba(43, 29, 14, 0.22);
}

.download-card strong {
  margin-top: 8px;
  font-family: "Fraunces", serif;
  font-size: 34px;
  line-height: 1;
}

.download-card span {
  max-width: 280px;
  color: var(--ink-2);
  line-height: 1.5;
}

.legal-body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 10%, rgba(232, 163, 61, 0.18), transparent 28%),
    radial-gradient(circle at 10% 24%, rgba(113, 201, 196, 0.16), transparent 24%),
    var(--paper);
}

.legal-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(18px, 4vw, 52px) 0 42px;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.legal-nav-links > a:not(.btn),
.legal-footer a,
.legal-card a {
  color: var(--gold-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(232, 163, 61, 0.58);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.legal-hero {
  display: grid;
  gap: 18px;
  padding: clamp(56px, 8vw, 104px) 0 clamp(28px, 5vw, 56px);
}

.legal-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.legal-hero > p:last-child {
  color: var(--ink-2);
  font-weight: 800;
}

.legal-card {
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06)),
    rgba(255, 248, 231, 0.78);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.02em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  max-width: 860px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}

.legal-card p + p {
  margin-top: 10px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 0;
  color: var(--muted);
  border-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 160ms;
}

.delay-3 {
  animation-delay: 240ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pinPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(232, 163, 61, 0));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(232, 163, 61, 0.8));
  }
}

/* ─── Hamburger button ─── */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 248, 231, 0.72);
  cursor: pointer;
  padding: 0;
  transition: background 180ms ease;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms ease;
}

.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── Mobile nav panel ─── */

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: min(320px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--paper);
  box-shadow: -24px 0 72px rgba(43, 29, 14, 0.22);
  transform: translateX(110%);
  transition: transform 340ms cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-close {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav nav a {
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 18px;
  transition: background 160ms ease;
}

.mobile-nav nav a:hover {
  background: rgba(232, 163, 61, 0.12);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.mobile-nav-actions .btn {
  width: 100%;
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 29;
  background: rgba(43, 29, 14, 0.36);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 280ms ease;
}

.mobile-nav-backdrop.is-open {
  display: block;
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
}

/* ─── Screens section ─── */

.screens-section {
  padding: 88px 0 80px;
  background: var(--navy);
  overflow: hidden;
}

.screens-head {
  margin-bottom: 60px;
  text-align: center;
  padding: 0 clamp(18px, 5vw, 72px);
}

.eyebrow-gold {
  background: rgba(232, 163, 61, 0.14);
  border-color: rgba(232, 163, 61, 0.32);
  color: var(--gold);
  margin: 0 auto 22px;
}

.eyebrow-gold svg {
  color: var(--gold);
}

.screens-head h2 {
  margin: 0 0 16px;
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: clamp(38px, 5.5vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--paper);
}

.screens-head p {
  max-width: 540px;
  margin: 0 auto;
  color: rgba(255, 248, 231, 0.58);
  font-size: 18px;
  line-height: 1.55;
}

.screens-tour {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 72px) 24px;
}

.screen-hero-phone {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(210px, 300px);
  justify-content: center;
  gap: 22px;
}

.screen-hero-phone .sp-frame {
  border-width: 7px;
  transform: rotate(-2.5deg);
}

.screen-hero-phone figcaption {
  position: relative;
  z-index: 2;
  max-width: 390px;
  padding: 22px;
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: 26px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(255, 248, 231, 0.12), rgba(255, 248, 231, 0.04)),
    rgba(14, 20, 35, 0.78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.screen-kicker,
.screen-story-card span {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-hero-phone figcaption strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.screen-hero-phone figcaption p,
.screen-story-card p {
  margin: 10px 0 0;
  color: rgba(255, 248, 231, 0.64);
  line-height: 1.52;
}

.screen-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.screen-story-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  min-height: 210px;
  padding: 14px;
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 248, 231, 0.11), rgba(255, 248, 231, 0.035)),
    rgba(255, 248, 231, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.screen-story-card:hover,
.screen-story-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(232, 163, 61, 0.36);
  background:
    linear-gradient(145deg, rgba(232, 163, 61, 0.13), rgba(255, 248, 231, 0.04)),
    rgba(255, 248, 231, 0.055);
}

.screen-story-card img {
  width: 104px;
  height: 182px;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.screen-story-card strong {
  display: block;
  color: var(--paper);
  font-size: 18px;
  line-height: 1.08;
}

.screens-strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px clamp(24px, 7vw, 96px) 40px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.screens-strip::-webkit-scrollbar {
  display: none;
}

/* ─── Phone frame ─── */

.screen-phone {
  flex: 0 0 228px;
  scroll-snap-align: center;
  margin: 0;
}

.sp-frame {
  position: relative;
  border: 5px solid rgba(255, 255, 255, 0.11);
  border-radius: 44px;
  overflow: hidden;
  background: #0a0e1a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 36px 88px rgba(0, 0, 0, 0.56),
    0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 340ms ease;
}

.sp-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 39px;
}

.sp-shine {
  position: absolute;
  inset: 0;
  border-radius: 39px;
  background: linear-gradient(
    138deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 35%,
    transparent 65%
  );
  pointer-events: none;
}

.sp-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 24px;
  background: #0a0e1a;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

/* Alternating gentle tilts for personality */
.screen-phone:nth-child(odd) .sp-frame  { transform: rotate(-1.6deg); }
.screen-phone:nth-child(even) .sp-frame { transform: rotate(1.6deg);  }
.screen-phone:nth-child(4) .sp-frame    { transform: rotate(-0.5deg); }

.screen-phone:hover .sp-frame {
  transform: rotate(0) translateY(-12px) scale(1.035) !important;
  box-shadow:
    0 0 0 1px rgba(232, 163, 61, 0.36),
    0 52px 100px rgba(0, 0, 0, 0.6),
    0 20px 48px rgba(232, 163, 61, 0.14);
}

.screen-phone figcaption {
  margin-top: 20px;
  text-align: center;
}

.screen-phone figcaption strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: var(--paper);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.screen-phone figcaption span {
  font-size: 11px;
  color: rgba(255, 248, 231, 0.46);
  line-height: 1.45;
}

/* ─── Legacy mock-screen CSS removed — real screenshots used ─── */

/* placeholder — delete block start
.sc-map {
  background: linear-gradient(160deg, #0e1423, #1a2540);
  color: var(--paper);
  display: flex;
  flex-direction: column;
}

.sp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 14px 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--paper);
}

.sp-location {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp-loc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pinPulse 2s ease-in-out infinite;
}

.sp-avatar-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terra));
  border: 2px solid rgba(255, 248, 231, 0.5);
}

.sp-maparea {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.sp-maparea img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.72) sepia(0.15);
}

.sp-map-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 20, 35, 0.2), rgba(14, 20, 35, 0.1) 50%, rgba(14, 20, 35, 0.5));
}

.sp-mpoi {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.sp-mpoi-1 { top: 30%; right: 28%; background: var(--gold); }
.sp-mpoi-2 { top: 55%; left: 35%; background: var(--terra); }
.sp-mpoi-3 { bottom: 28%; right: 42%; background: var(--mint); }

.sp-bottom-peek {
  background: rgba(255, 248, 231, 0.96);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 0 0 18px 18px;
}

.sp-peek-label {
  font-size: 10px;
  font-weight: 900;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.sp-peek-item {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 3px 0;
  border-bottom: 1px solid rgba(43, 29, 14, 0.08);
}

.sp-peek-item:last-child { border: none; }

/* ─── Screen 2: Discover ─── */

.sc-discover {
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.sp-disc-header {
  padding: 28px 14px 10px;
}

.sp-disc-title {
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--ink);
}

.sp-disc-sub {
  font-size: 10px;
  color: var(--ink-2);
  margin: 0;
}

.sp-disc-hero {
  margin: 4px 14px 0;
  background: linear-gradient(135deg, var(--forest), #3a6356);
  border-radius: 16px;
  padding: 14px;
  color: var(--paper);
  min-height: 80px;
  position: relative;
}

.sp-disc-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.sp-disc-place {
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 3px;
  color: var(--paper);
}

.sp-disc-meta {
  font-size: 10px;
  color: rgba(255, 248, 231, 0.72);
  margin: 0;
}

.sp-chips {
  display: flex;
  gap: 5px;
  padding: 10px 14px 6px;
  overflow: hidden;
}

.sp-chip {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(43, 29, 14, 0.08);
  color: var(--ink-2);
  white-space: nowrap;
}

.sp-chip.active {
  background: var(--gold);
  color: var(--ink);
}

.sp-disc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 14px;
}

.sp-disc-card {
  background: rgba(255, 248, 231, 0.86);
  border-radius: 12px;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid var(--line);
}

.sp-disc-card span { font-size: 10px; color: var(--ink-2); }

.sp-kai-banner {
  margin: 8px 14px 14px;
  background: var(--navy);
  border-radius: 12px;
  padding: 10px;
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
}

/* ─── Screen 3: Chat ─── */

.sc-chat {
  background: #f0e8d6;
  display: flex;
  flex-direction: column;
}

.sp-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 28px 12px 10px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.sp-chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terra));
  flex: 0 0 28px;
}

.sp-chat-name {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink);
  margin: 0;
}

.sp-chat-status {
  font-size: 9px;
  color: var(--ink-2);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30c85e;
  display: inline-block;
}

.sp-messages {
  flex: 1;
  overflow: hidden;
  padding: 10px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sp-bubble {
  max-width: 88%;
  font-size: 10px;
  line-height: 1.4;
  border-radius: 14px;
}

.sp-bubble.sp-kai {
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 4px 14px 14px 14px;
  border: 1px solid var(--line);
}

.sp-bubble.sp-kai span { display: block; margin-bottom: 6px; }

.sp-bubble.sp-user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 14px 14px 4px 14px;
  font-weight: 700;
}

.sp-spot-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-spot {
  font-size: 9px;
  color: var(--paper);
  font-weight: 700;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 248, 231, 0.1);
}

.sp-spot:last-child { border: none; }

.sp-chat-bar {
  margin: 6px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  color: var(--muted);
  background: var(--paper);
}

/* ─── Screen 4: Crew ─── */

.sc-crew {
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.sp-crew-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 14px 8px;
}

.sp-crew-title {
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.sp-bell { font-size: 16px; }

.sp-crew-tabs {
  display: flex;
  gap: 4px;
  padding: 0 14px 8px;
}

.sp-ctab {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--ink-2);
  background: transparent;
  white-space: nowrap;
}

.sp-ctab.active {
  background: var(--gold);
  color: var(--ink);
}

.sp-traveler {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(43, 29, 14, 0.07);
}

.sp-tav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: white;
}

.ta-blue { background: #4f87e6; }
.ta-rose { background: #e06080; }
.ta-teal { background: var(--teal); }

.sp-tinfo { flex: 1; overflow: hidden; }
.sp-tinfo strong { display: block; font-size: 11px; font-weight: 900; color: var(--ink); }
.sp-tinfo small { font-size: 9px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.sp-tbtn {
  font-size: 9px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  white-space: nowrap;
}

.sp-tbtn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.sp-crew-footer {
  margin: auto 0 0;
  padding: 10px 14px;
  background: var(--navy);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
  border-radius: 0 0 18px 18px;
}

/* ─── Screen 5: Profile ─── */

.sc-profile {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.sp-prof-hero {
  background: linear-gradient(160deg, var(--navy), #1e2d52);
  padding: 28px 14px 36px;
  position: relative;
  display: flex;
  justify-content: center;
}

.sp-prof-initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  border: 3px solid var(--paper);
  position: absolute;
  bottom: -20px;
}

.sp-prof-tag {
  position: absolute;
  bottom: -42px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 8px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.sp-prof-name {
  margin: 52px 0 4px;
  text-align: center;
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.sp-prof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px 10px 8px;
}

.sp-stat { text-align: center; }
.sp-stat strong { display: block; font-size: 14px; font-weight: 900; color: var(--ink); }
.sp-stat span { font-size: 8px; color: var(--ink-2); font-weight: 700; }

.sp-prof-tabs {
  display: flex;
  gap: 0;
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--line);
}

.sp-ptab {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 0;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
}

.sp-ptab.active {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
}

.sp-journal-card {
  margin: 8px 10px;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.sp-jcard-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--terra));
}

/* placeholder — delete block end */

/* ─── Social proof strip ─── */

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 231, 0.6);
}

.proof-stars {
  color: var(--gold-deep);
  font-size: 22px;
  letter-spacing: 2px;
}

.proof-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(35, 68, 55, 0.08);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

/* ─── Footer expansion ─── */

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: 15px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(43, 29, 14, 0.14);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 24px);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 13px;
  white-space: nowrap;
}

/* ─── How it works ─── */

.how-section {
  padding: 76px clamp(18px, 5vw, 72px);
}

.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.how-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.how-step:last-child {
  border-bottom: none;
}

.how-num {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
  opacity: 0.72;
  padding-top: 4px;
  user-select: none;
}

.how-body h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.how-body p {
  max-width: 660px;
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.how-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.how-tags li {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(232, 163, 61, 0.1);
  border: 1px solid rgba(232, 163, 61, 0.24);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ─── Footer bottom row ─── */

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(43, 29, 14, 0.06);
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ─── Scroll-reveal ─── */

.reveal-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .hero,
  .section-head,
  .ai-engine-card,
  .screens-tour,
  .pricing-band,
  .investor-band,
  .support-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .download-hero {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 720px;
  }

  .feature-card.large,
  .feature-card.small {
    grid-column: span 6;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .how-step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .how-num {
    font-size: 38px;
  }

  .screens-strip {
    justify-content: flex-start;
  }

  .screen-story-grid {
    grid-template-columns: 1fr;
  }

  .proof-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 14px 16px;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .ai-engine {
    padding-bottom: 40px;
  }

  .ai-engine-card {
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }

  .ai-provider {
    width: 100%;
    border-radius: 20px;
    box-shadow: 3px 4px 0 var(--ink);
  }

  .ai-engine-note {
    max-width: none;
    padding: 0 10px 8px;
  }

  .hero-stage {
    min-height: 690px;
  }

  .passport-card {
    right: auto;
    left: 10px;
    transform: rotate(1deg);
  }

  .phone-card {
    left: 20px;
    bottom: 44px;
    transform: rotate(-3deg);
  }

  .kai-ticket {
    right: 6px;
    bottom: 0;
  }

  .feature-card.large,
  .feature-card.small {
    grid-column: 1 / -1;
  }

  .screens-section {
    padding-top: 64px;
  }

  .screen-hero-phone {
    grid-template-columns: minmax(210px, 270px);
  }

  .screen-story-card {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 0;
    border-radius: 22px;
  }

  .screen-story-card img {
    width: 84px;
    height: 146px;
    border-radius: 18px;
  }

  .screen-story-card strong {
    font-size: 16px;
  }

  .pricing-band {
    border-radius: 30px;
  }

  .price-card.featured .btn {
    width: 100%;
  }

  .final-cta {
    margin-bottom: 42px;
  }

  .store-badge {
    width: 100%;
  }

  .download-card {
    transform: none;
  }
}
