/* =========================================================
   NICO — landing page
   Type: Instrument Serif (display) + Geist (UI) + JetBrains Mono
   Palette: warm cream / deep ink / clay accent
   ========================================================= */

:root {
  --bg: #f6f3ee;
  --bg-warm: #efeae1;
  --bg-deep: #0f0d0b;
  --paper: #ffffff;
  --ink: #1a1714;
  --ink-2: #2c2825;
  --muted: #6b655d;
  --muted-2: #a39c92;
  --line: rgba(26, 23, 20, 0.08);
  --line-strong: rgba(26, 23, 20, 0.14);
  --clay: oklch(0.62 0.12 38);
  --clay-soft: oklch(0.93 0.04 60);
  --sage: oklch(0.62 0.06 160);

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Unified card system */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --card-pad: 22px;
  --card-pad-inner: 14px;
  --card-bg: #ffffff;
  --card-border: 1px solid var(--line);

  --shadow-sm: 0 1px 2px rgba(20, 16, 12, 0.04), 0 1px 1px rgba(20, 16, 12, 0.03);
  --shadow-md: 0 8px 24px -4px rgba(20, 16, 12, 0.08), 0 3px 8px -2px rgba(20, 16, 12, 0.04);
  --shadow-lg: 0 30px 60px -20px rgba(20, 16, 12, 0.18), 0 12px 30px -10px rgba(20, 16, 12, 0.1);
  --shadow-phone: 0 50px 70px -30px rgba(20, 16, 12, 0.4), 0 20px 40px -15px rgba(20, 16, 12, 0.2);

  --t-fast: 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-base: 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html, body { margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  position: relative;
}

/* subtle film grain */
body::after {
  content: "";
  pointer-events: none;
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPScwIDAgMCAwIDAgIDAgMCAwIDAgMCAgMCAwIDAgMCAwICAwIDAgMCAwLjA0NSAwJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
  opacity: 0.7;
  mix-blend-mode: multiply;
  z-index: 100;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  padding-top: 0.08em;
  margin: 0;
}
.display .roman { font-style: normal; }

h1.display { font-size: clamp(56px, 9vw, 132px); }
h2.display { font-size: clamp(44px, 6.4vw, 92px); }
h3.display { font-size: clamp(32px, 4vw, 56px); }

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  max-width: 56ch;
}

.small { font-size: 13px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { background: rgba(26, 23, 20, 0.04); }
.btn-ghost { padding: 10px 14px; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); }

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sticky nav ---------- */
.brand-mark {
  position: absolute;
  top: 24px;
  left: 32px;
  z-index: 51;
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  letter-spacing: -0.02em;
  color: var(--ink);
  pointer-events: auto;
  line-height: 1;
}
.brand-mark .brand-icon {
  width: 34px; height: 34px;
  object-fit: contain;
  display: block;
}
@keyframes brand-pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.62 0.12 38 / 0.5); }
  70%  { box-shadow: 0 0 0 10px oklch(0.62 0.12 38 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.62 0.12 38 / 0); }
}
@media (max-width: 720px) {
  .brand-mark { top: 18px; left: 20px; font-size: 34px; }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 16px;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 22px;
  background: rgba(246, 243, 238, 0.7);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.nav-logo { display: none; }
.nav-links {
  display: flex; gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
}
.nav-cta:hover { background: var(--ink-2); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { gap: 10px; padding: 8px 8px 8px 18px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 72px 0 32px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: 64vh;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
}

.hero-copy h1 .word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0; transform: translateY(20px);
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-copy h1 .word:last-child { margin-right: 0; }

/* After entrance, words follow scroll (staggered parallax + fade) */
.hero-copy h1.risen .word {
  animation: none;
  opacity: var(--wo, 1);
  transform: translateY(var(--wy, 0));
  will-change: transform, opacity;
}
.hero-copy h1 .word:nth-child(1) { animation-delay: 0.05s; }
.hero-copy h1 .word:nth-child(2) { animation-delay: 0.13s; }
.hero-copy h1 .word:nth-child(3) { animation-delay: 0.21s; }
.hero-copy h1 .word:nth-child(4) { animation-delay: 0.29s; }
.hero-copy h1 .word:nth-child(5) { animation-delay: 0.45s; }
.hero-copy h1 .word:nth-child(6) { animation-delay: 0.53s; }

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

.hero-copy .lead { margin-top: 20px; }
.hero-cta {
  margin-top: 20px;
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0;
  animation: fade-in 0.8s 0.9s ease forwards;
}
@keyframes fade-in { to { opacity: 1; } }

.hero-meta {
  margin-top: 28px;
  display: flex; align-items: center; gap: 24px;
  opacity: 0;
  animation: fade-in 0.8s 1.1s ease forwards;
}
.hero-avatars {
  display: flex;
}
.hero-avatars > * {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background-size: cover; background-position: center;
}
.hero-avatars > *:first-child { margin-left: 0; }
.hero-meta-text { font-size: 13px; color: var(--muted); line-height: 1.45; }
.hero-meta-text b { color: var(--ink); font-weight: 600; }

/* Hero phone stage */
.hero-stage {
  position: relative;
  height: 720px;
  perspective: 1600px;
}
@media (max-width: 980px) {
  .hero-stage { height: 640px; }
}
.hero-phone { z-index: 5; }
.hero-phone .phone { --phone-w: 320px; }

.float-card {
  position: absolute;
  will-change: transform;
}

.hero-phone {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: float-a 8s ease-in-out infinite;
}
.hero-photo-1 {
  top: 6%; left: 0;
  width: 200px; height: 260px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-6deg);
  animation: float-b 9s ease-in-out infinite;
  z-index: 2;
}
.hero-photo-2 {
  bottom: 4%; right: 0;
  width: 220px; height: 280px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(5deg);
  animation: float-c 10s ease-in-out infinite;
  z-index: 2;
}
.hero-photo-3 {
  top: 8%; right: -10px;
  width: 140px; height: 180px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: rotate(8deg);
  animation: float-b 11s ease-in-out infinite;
  z-index: 1;
}
.hero-photo-4 {
  bottom: 8%; left: 2%;
  width: 160px; height: 200px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: rotate(-9deg);
  animation: float-c 12s ease-in-out infinite;
  z-index: 1;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; }

.float-card .caption {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  padding: 5px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

@keyframes float-a {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}
@keyframes float-b {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-10px); }
}
@keyframes float-c {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-10px); }
}

@media (max-width: 980px) {
  .hero-photo-3 { display: none; }
  .hero-photo-4 { display: none; }
}

/* =========================================================
   PHONE COMPONENT
   Premium messaging UI fidelity — NICO's own visual language,
   built with iOS-class proportions, weights, and spacing.
   ========================================================= */
.phone {
  --phone-w: 310px;
  width: var(--phone-w);
  aspect-ratio: 9 / 19.5;
  background: #0a0907;
  border-radius: 48px;
  padding: 7px;
  box-shadow: var(--shadow-phone),
              inset 0 0 0 1.5px rgba(255,255,255,0.05),
              inset 0 0 0 3.5px #1f1c18;
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  background: #fbfaf7;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* dynamic-island-style pill */
.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 34px;
  background: #050403;
  border-radius: 20px;
  z-index: 5;
}

/* ---------- Status bar ---------- */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1;
  color: var(--ink);
  height: 50px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.status-bar > span:first-child { padding-left: 0; }
.status-bar .status-icons {
  display: flex; gap: 6px; align-items: center;
  padding-right: 0;
}
.status-bar .bars { display: flex; gap: 2px; align-items: flex-end; height: 11px; }
.status-bar .bars span {
  width: 3px; background: var(--ink); border-radius: 1px;
}
.status-bar .bars span:nth-child(1) { height: 4px; }
.status-bar .bars span:nth-child(2) { height: 6px; }
.status-bar .bars span:nth-child(3) { height: 8px; }
.status-bar .bars span:nth-child(4) { height: 10px; }
.status-bar .wifi {
  width: 16px; height: 11px;
  display: flex; align-items: flex-end; justify-content: center;
}
.status-bar .wifi svg { width: 100%; height: 100%; fill: var(--ink); }
.status-bar .battery {
  width: 25px; height: 12px;
  border: 1.2px solid var(--ink);
  border-radius: 3.5px;
  position: relative;
  padding: 1.5px;
  opacity: 0.95;
}
.status-bar .battery::after {
  content: ""; position: absolute; right: -3.5px; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 5px; background: var(--ink);
  border-radius: 0 1.5px 1.5px 0;
  opacity: 0.55;
}
.status-bar .battery i {
  display: block;
  width: 82%; height: 100%; background: var(--ink); border-radius: 1.2px;
}

/* ---------- Chat header ---------- */
.chat-header {
  padding: 4px 14px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 0.5px solid var(--line);
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.chat-header .back {
  color: var(--clay);
  font-size: 26px;
  line-height: 0.9;
  font-weight: 300;
  width: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-top: -1px;
}
.chat-header-id {
  display: flex; flex-direction: column;
  align-items: center;
  flex: 1;
  margin-left: -22px;
  gap: 2px;
}
.chat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clay) 0%, oklch(0.72 0.12 60) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  color: #fff; font-size: 16px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.chat-avatar--brand {
  background: #a8451f;
  background: oklch(0.52 0.14 42);
}
.chat-avatar--brand img {
  width: 72%; height: 72%;
  object-fit: contain;
  display: block;
}
.chat-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-top: 1px;
  display: flex; align-items: center; gap: 4px;
  color: var(--ink);
}
.chat-name::after {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 oklch(0.62 0.06 160 / 0.55);
  animation: live-pulse 2.4s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.62 0.06 160 / 0.55); }
  70% { box-shadow: 0 0 0 6px oklch(0.62 0.06 160 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.62 0.06 160 / 0); }
}
.chat-header .video {
  color: var(--clay);
  font-size: 18px;
  width: 22px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  opacity: 0.85;
}

/* ---------- Chat body ---------- */
.chat-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14.5px;
  line-height: 1.32;
  letter-spacing: -0.005em;
  font-weight: 400;
  scrollbar-width: none;
}
.chat-body::-webkit-scrollbar { display: none; }
.chat-body > * { flex-shrink: 0; }

/* Explicit spacing override */
.msg + .chat-card { margin-top: 14px; }

/* Consistent spacing rhythm */
.msg + .msg { margin-top: 4px; }
.msg.in + .msg.out,
.msg.out + .msg.in,
.msg + .chat-card,
.msg + .itin-card,
.msg + .map-card,
.msg + .poll-card,
.msg + .pass-card,
.msg + .resv-card,
.msg + .transport-card,
.msg + .route-card,
.msg + .rental-stack,
.msg + .event-stack,
.msg + .driver-card,
.msg + .nudge-card,
.chat-card + .msg,
.itin-card + .msg,
.poll-card + .msg,
.pass-card + .msg,
.resv-card + .msg,
.transport-card + .msg,
.route-card + .msg,
.rental-stack + .msg,
.event-stack + .msg,
.driver-card + .msg,
.nudge-card + .msg { margin-top: 12px; }
.msg.spaced { margin-top: 12px; }

.msg {
  max-width: 75%;
  padding: 7px 13px 8px;
  border-radius: 18px;
  word-wrap: break-word;
  position: relative;
  font-size: 14.5px;
  line-height: 1.32;
  width: fit-content;
  box-sizing: border-box;
}
.msg.in {
  background: #e9e9eb;
  color: #1a1a1c;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}
.msg.out {
  background: #0b93f6;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}
/* same-sender stack: smooth top corner on subsequent bubbles */
.msg.in + .msg.in { border-top-left-radius: 5px; }
.msg.in + .msg.in:not(:last-of-type) { border-bottom-left-radius: 18px; }
.msg.out + .msg.out { border-top-right-radius: 5px; }
.msg.out + .msg.out:not(:last-of-type) { border-bottom-right-radius: 18px; }
.msg + .msg { margin-top: 4px; }
.msg.spaced { margin-top: 12px; }

/* Big emoji message — large emoji emphasis */
.msg.emoji {
  background: transparent !important;
  padding: 2px 6px !important;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: 0;
  border-radius: 0 !important;
  margin-top: 6px;
}
.msg.emoji.lg { font-size: 54px; }

/* sender label inside a group chat */
.sender-label {
  align-self: flex-start;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 4px 14px;
}
.sender-label.out { align-self: flex-end; margin-right: 14px; margin-left: 0; }

.timestamp {
  align-self: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin: 6px 0 4px;
  text-transform: none;
}
.timestamp b { color: var(--ink); font-weight: 600; }

/* Rich cards inside chat */
.chat-card {
  align-self: flex-start;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 78%;
  border: 1px solid var(--line);
}
.chat-card.out { align-self: flex-end; }
.chat-card .card-img {
  width: 100%; aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  background-color: #d8c9b3;
}
.chat-card .card-body { padding: 9px 12px 11px; }
.chat-card .card-title { font-size: 13px; font-weight: 600; letter-spacing: -0.005em; }
.chat-card .card-meta {
  font-size: 10.5px;
  color: var(--muted);
  display: flex; gap: 6px; align-items: center;
  margin-top: 3px;
}
.chat-card .card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

/* Force every rich chat card to stay inside the phone screen */
.chat-card,
.itin-card,
.map-card,
.poll-card,
.voice,
.photo-bubble,
.pass-card,
.nudge-card,
.resv-card,
.event-stack,
.event-mini,
.transport-card,
.driver-card,
.rental-stack,
.rental-card,
.route-card {
  max-width: 100%;
  box-sizing: border-box;
}

/* Itinerary card */
.itin-card {
  align-self: flex-start;
  width: 88%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.itin-card .itin-head {
  background: var(--clay-soft);
  padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.itin-card .itin-head .t {
  font-family: var(--serif); font-style: italic;
  font-size: 16px;
}
.itin-card .itin-head .d {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.itin-list { padding: 8px 14px 14px; }
.itin-row {
  display: flex; gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 11px;
}
.itin-row:last-child { border-bottom: 0; }
.itin-row .time {
  font-family: var(--mono);
  width: 44px; color: var(--muted);
  font-size: 10px;
}
.itin-row .body { flex: 1; }
.itin-row .body b { display: block; font-weight: 600; color: var(--ink); }
.itin-row .body span { color: var(--muted); font-size: 10px; }

/* Map card */
.map-card {
  align-self: flex-start;
  width: 82%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-canvas {
  height: 130px;
  background: linear-gradient(135deg, #ebe6dc 0%, #e0d9cb 60%, #d8d0bf 100%);
  position: relative;
  overflow: hidden;
}
.map-canvas .road {
  position: absolute;
  background: rgba(255,255,255,0.6);
  border-radius: 4px;
}
.map-canvas .park {
  position: absolute;
  background: rgba(120, 150, 110, 0.25);
  border-radius: 50%;
}
.map-canvas .water {
  position: absolute;
  background: linear-gradient(180deg, rgba(170,195,210,0.5), rgba(150,180,200,0.55));
  border-radius: 40% 60% 30% 70%;
}
.map-pin {
  position: absolute;
  width: 22px; height: 22px;
  background: var(--clay);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  box-shadow: 0 4px 8px rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: center;
}
.map-pin::after {
  content: "";
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  transform: rotate(45deg);
}
.map-pin.b { background: var(--ink); }
.map-pin.c { background: var(--sage); }

.map-foot {
  padding: 10px 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.map-foot .t { font-size: 12px; font-weight: 600; }
.map-foot .m { font-size: 10px; color: var(--muted); margin-top: 1px; }
.map-foot button {
  font-size: 10px; font-weight: 600; color: var(--clay);
  font-family: var(--mono);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* Poll card */
.poll-card {
  align-self: flex-end;
  width: 82%;
  background: var(--ink);
  color: #f3efe7;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  padding: 12px 14px;
}
.poll-title { font-size: 12px; opacity: 0.7; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.poll-q { font-size: 14px; margin: 4px 0 10px; }
.poll-opt {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  padding: 7px 10px;
  margin-top: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  position: relative; overflow: hidden;
}
.poll-opt .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
  z-index: 0;
}
.poll-opt > * { position: relative; z-index: 1; }
.poll-opt .count { font-family: var(--mono); font-size: 10px; opacity: 0.7; }

/* Voice note */
.voice {
  align-self: flex-start;
  background: #e8e5dd;
  border-radius: 19px;
  border-bottom-left-radius: 5px;
  padding: 8px 14px 8px 8px;
  display: flex; align-items: center; gap: 10px;
  width: 72%;
}
.voice .play {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--clay);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.voice .play::after {
  content: "";
  border-left: 7px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}
.voice .wave {
  display: flex; gap: 2px; align-items: center;
  flex: 1; height: 22px;
}
.voice .wave span {
  width: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  opacity: 0.7;
  animation: wave 1.4s ease-in-out infinite;
}
.voice .wave span:nth-child(odd) { animation-delay: 0.1s; }
@keyframes wave {
  0%, 100% { height: 5px; }
  50% { height: 18px; }
}
.voice .dur {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted);
}

/* Typing indicator */
.typing {
  align-self: flex-start;
  background: #e8e5dd;
  border-radius: 19px;
  border-bottom-left-radius: 5px;
  padding: 10px 14px;
  display: flex; gap: 4px;
  margin-top: 2px;
}
.typing span {
  width: 7px; height: 7px;
  background: var(--muted-2);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Reactions */
.reaction {
  align-self: flex-start;
  background: #e8e5dd;
  border: 2.5px solid #fbfaf7;
  font-size: 13px;
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: -10px;
  margin-left: 18px;
  position: relative;
  z-index: 2;
}
.reaction.out { align-self: flex-end; margin-right: 18px; margin-left: 0; background: var(--ink); color: #fff; }

/* Photo bubble */
.photo-bubble {
  align-self: flex-start;
  width: 60%;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover; background-position: center;
}
.photo-bubble.out { align-self: flex-end; }

/* =========================================================
   Boarding pass card (original design)
   ========================================================= */
.pass-card {
  align-self: flex-start;
  width: 92%;
  background: linear-gradient(160deg, #fbfaf7 0%, #f0ece3 100%);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
.pass-card.out { align-self: flex-end; }
.pass-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: var(--ink);
  color: #f3efe6;
}
.pass-top .brand {
  font-family: var(--serif); font-style: italic; font-size: 14px;
}
.pass-top .pnr {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.7;
  text-transform: uppercase;
}
.pass-main {
  padding: 14px 14px 6px;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 56px;
  gap: 8px;
}
.pass-iata {
  font-family: var(--serif); font-style: italic;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}
.pass-iata .city {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  margin-top: 4px;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.pass-arrow {
  flex: 1;
  position: relative;
  margin: 0 12px;
  height: 24px;
  display: flex; align-items: center;
}
.pass-arrow::before {
  content: "";
  position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  border-top: 1px dashed var(--line-strong);
}
.pass-arrow::after {
  content: "✈";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(160deg, #fbfaf7 0%, #f0ece3 100%);
  padding: 0 8px;
  font-size: 13px;
  color: var(--clay);
}
.pass-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px 14px 14px;
  border-top: 1px dashed var(--line);
  margin-top: 6px;
}
.pass-details .cell .k {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.pass-details .cell .v {
  font-size: 13px;
  font-weight: 600;
  margin-top: 3px;
  color: var(--ink);
}
.pass-details .cell .v.hl { color: var(--clay); }

/* Reminder / proactive nudge card */
.nudge-card {
  align-self: flex-start;
  width: 86%;
  background: var(--clay-soft);
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid oklch(0.85 0.06 60);
}
.nudge-card .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #f3efe6;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.nudge-card .body { flex: 1; }
.nudge-card .ttl {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0.7;
}
.nudge-card .txt {
  font-size: 13px;
  color: var(--ink);
  margin-top: 3px;
  line-height: 1.35;
}
.nudge-card .txt b { font-weight: 600; }

/* =========================================================
   Reservation card (concierge confirmations)
   ========================================================= */
.resv-card {
  align-self: flex-start;
  width: 88%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.resv-card.out { align-self: flex-end; }
.resv-top {
  padding: 9px 14px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ink);
  color: #f3efe6;
}
.resv-top .lbl {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.resv-top .pill {
  font-family: var(--mono);
  font-size: 9.5px;
  padding: 3px 8px;
  background: oklch(0.62 0.06 160 / 0.3);
  color: oklch(0.88 0.08 160);
  border-radius: 999px;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 5px;
}
.resv-top .pill::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: oklch(0.78 0.12 160);
}
.resv-name {
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  line-height: 1.1;
  padding: 12px 14px 6px;
}
.resv-name .neigh {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.resv-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px 14px 10px;
  border-bottom: 1px dashed var(--line);
}
.resv-meta .cell .k {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.resv-meta .cell .v {
  font-size: 12px;
  font-weight: 600;
  margin-top: 3px;
}
.resv-extras {
  display: flex; flex-wrap: wrap; gap: 5px;
  padding: 10px 14px 12px;
}
.resv-extras .tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  background: var(--clay-soft);
  color: var(--ink);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
}
.resv-extras .tag.dark {
  background: rgba(26, 23, 20, 0.06);
  color: var(--ink);
}

/* Event mini-card (carousel-style inside chat) */
.event-stack {
  align-self: flex-start;
  width: 90%;
  display: flex; flex-direction: column;
  gap: 6px;
}
.event-mini {
  display: flex; gap: 10px; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.event-mini .thumb {
  width: 44px; height: 44px;
  border-radius: 10px;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.event-mini .body { flex: 1; min-width: 0; }
.event-mini .when {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--clay);
  text-transform: uppercase;
}
.event-mini .ttl {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-mini .why {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.25;
}

/* Coming-soon badge — applied to demo tabs, phones, think-cards, features */
.badge-soon {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--clay-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.demo-tab .badge-soon { margin-left: 8px; }
.feature-row .badge-soon { margin-left: 10px; vertical-align: 4px; }
.think-card .badge-soon { margin-left: 10px; vertical-align: 1px; }

/* Phone-frame coming-soon ribbon */
.phone .badge-soon-phone {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  background: var(--clay-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(20, 16, 12, 0.12);
}

/* =========================================================
   Flight-search card (in-chat)
   ========================================================= */
.flight-card {
  align-self: flex-start;
  width: 92%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
.flight-head {
  padding: 9px 14px;
  background: var(--ink);
  color: #f3efe6;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.flight-head > :last-child { opacity: 0.6; }
.flight-list { padding: 6px; }
.flight-opt {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  row-gap: 1px;
  padding: 10px 12px;
  border-radius: 12px;
  align-items: baseline;
}
.flight-opt + .flight-opt { margin-top: 2px; }
.flight-opt.picked { background: var(--clay-soft); }
.flight-opt .tier {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  grid-column: 1;
  grid-row: 1;
}
.flight-opt .tier.splurge { color: oklch(0.5 0.14 28); }
.flight-opt .route {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  grid-column: 1;
  grid-row: 2;
}
.flight-opt .meta {
  font-size: 10.5px;
  color: var(--muted);
  grid-column: 1;
  grid-row: 3;
}
.flight-opt .price {
  text-align: right;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}
.flight-opt .price .duration {
  display: block;
  font-weight: 400;
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================
   Integrations grid
   ========================================================= */
.integrations {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.intg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}
@media (max-width: 980px) { .intg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .intg-grid { grid-template-columns: 1fr; } }

.intg-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
}
.intg-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.intg-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 23, 20, 0.04);
  overflow: hidden;
  position: relative;
}
.intg-mark img {
  width: 22px; height: 22px;
  object-fit: contain;
  display: block;
}
.intg-mark.tinted-gmail { background: #fdecec; }
.intg-mark.tinted-outlook { background: #e7eef8; }
.intg-mark.tinted-gcal { background: #e9f4ec; }
.intg-mark.tinted-apple { background: #f2f1ef; }
.intg-mark.tinted-airbnb { background: #fdeaee; }
.intg-mark.tinted-uber { background: #efefee; }
.intg-mark.tinted-lyft { background: #fde8f1; }
.intg-mark.tinted-waymo { background: #e8f0f8; }
.intg-mark.tinted-resy { background: #fbebeb; }
.intg-mark.tinted-opentable { background: #fbecec; }
.intg-tile .body { flex: 1; min-width: 0; }
.intg-tile .brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.intg-tile .cat {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.intg-tile .status {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex; align-items: center; gap: 5px;
}
.intg-tile .status::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
}
.intg-tile .status.soon { color: var(--muted-2); }
.intg-tile .status.soon::before { background: var(--muted-2); }

/* tinted marks (generic geometric tiles — not brand logos) */
.intg-mark.email { background: oklch(0.62 0.13 25); }       /* warm red */
.intg-mark.email2 { background: oklch(0.55 0.11 250); }      /* blue */
.intg-mark.cal1 { background: oklch(0.6 0.15 145); }         /* green */
.intg-mark.cal2 { background: oklch(0.55 0.02 270); color: oklch(0.95 0 0); }  /* charcoal */
.intg-mark.map { background: oklch(0.62 0.12 150); }         /* map green */
.intg-mark.stay { background: oklch(0.62 0.13 25); }         /* coral */
.intg-mark.ride1 { background: #1a1714; }                    /* black */
.intg-mark.ride2 { background: oklch(0.7 0.15 340); }        /* pink */
.intg-mark.ride3 { background: oklch(0.78 0.1 220); color: var(--ink); } /* light blue */
.intg-mark.resv1 { background: oklch(0.55 0.18 28); }        /* deep red */
.intg-mark.resv2 { background: oklch(0.55 0.2 25); }         /* red */

.intg-foot {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: rgba(26, 23, 20, 0.03);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
}
.intg-foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .intg-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}
.transport-card {
  align-self: flex-start;
  width: 88%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.transport-head {
  padding: 9px 14px;
  background: var(--ink);
  color: #f3efe6;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.transport-head .when { opacity: 0.7; }
.transport-list { padding: 6px; }
.transport-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.transport-opt + .transport-opt { margin-top: 2px; }
.transport-opt:hover { background: rgba(0,0,0,0.03); }
.transport-opt.picked {
  background: var(--clay-soft);
}
.transport-opt .glyph {
  width: 34px; height: 34px;
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.transport-opt.picked .glyph {
  background: var(--ink);
  color: #f3efe6;
}
.transport-opt .lbl { flex: 1; min-width: 0; }
.transport-opt .lbl .name { font-size: 12.5px; font-weight: 600; }
.transport-opt .lbl .sub { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.transport-opt .price {
  text-align: right;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
}
.transport-opt .price .eta {
  display: block;
  font-weight: 400;
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 1px;
  letter-spacing: 0.05em;
}

/* Driver assigned card */
.driver-card {
  align-self: flex-start;
  width: 84%;
  background: var(--ink);
  color: #f3efe6;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.driver-card .avatar-d {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.7 0.1 60), oklch(0.55 0.12 30));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  font-size: 16px;
  flex-shrink: 0;
}
.driver-card .info { flex: 1; }
.driver-card .info .n { font-size: 13px; font-weight: 600; }
.driver-card .info .m {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin-top: 2px;
  text-transform: uppercase;
}
.driver-card .eta-big {
  text-align: right;
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  line-height: 1;
}
.driver-card .eta-big small {
  font-family: var(--mono); font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  opacity: 0.55;
  margin-top: 4px;
}

/* =========================================================
   Rental listing card (Airbnb/VRBO/HomeAway etc)
   ========================================================= */
.rental-stack {
  align-self: flex-start;
  width: 90%;
  display: flex; flex-direction: column;
  gap: 6px;
}
.rental-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
}
.rental-card .rimg {
  width: 88px;
  min-height: 90px;
  background-size: cover; background-position: center;
  flex-shrink: 0;
  background-color: #d8c9b3;
}
.rental-card .rbody {
  flex: 1;
  padding: 8px 10px 9px;
  min-width: 0;
}
.rental-card .platform {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.rental-card .platform::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--clay);
}
.rental-card .rname {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rental-card .rmeta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  display: flex; align-items: center; gap: 5px;
  flex-wrap: wrap;
}
.rental-card .rmeta .d {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}
.rental-card .rprice {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 4px;
}
.rental-card .rprice .pct {
  margin-left: 6px;
  padding: 2px 6px;
  background: var(--clay-soft);
  color: var(--clay);
  border-radius: 999px;
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

/* =========================================================
   Route / Directions card
   ========================================================= */
.route-card {
  align-self: flex-start;
  width: 86%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.route-map {
  height: 110px;
  background: linear-gradient(135deg, #ece6d9 0%, #ddd3c1 100%);
  position: relative;
  overflow: hidden;
}
.route-map .rd {
  position: absolute;
  background: rgba(255,255,255,0.55);
  border-radius: 2px;
}
.route-map .park-r {
  position: absolute;
  background: rgba(120, 150, 110, 0.22);
  border-radius: 40% 60% 30% 70%;
}
.route-map svg.route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.route-map svg.route-line path {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-route 2s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes draw-route {
  to { stroke-dashoffset: 0; }
}
.route-map .pin-r {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transform: translate(-50%, -50%);
}
.route-map .pin-r.end { background: var(--clay); }

.route-summary {
  padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.route-summary .dist {
  font-family: var(--serif); font-style: italic;
  font-size: 20px;
}
.route-summary .mode {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.route-steps {
  padding: 0 14px 12px;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.route-step {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 5px 0;
  font-size: 11.5px;
}
.route-step .ix {
  font-family: var(--mono);
  width: 28px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding-top: 2px;
  text-transform: uppercase;
}
.route-step .ins {
  color: var(--ink);
  line-height: 1.35;
}
.route-step .ins .turn {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--clay-soft);
  border-radius: 4px;
  margin-right: 4px;
  vertical-align: -3px;
  position: relative;
}
.route-step .ins .turn::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid var(--clay);
}
.route-step .ins .turn.r::before { transform: translate(-50%, -50%) rotate(90deg); }
.route-step .ins .turn.l::before { transform: translate(-50%, -50%) rotate(-90deg); }

/* Composer */
.composer {
  border-top: 0;
  padding: 4px 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.composer .plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(26, 23, 20, 0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 20px; line-height: 0; padding-bottom: 2px;
  font-weight: 300;
  flex-shrink: 0;
}
.composer .field {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px 38px 8px 14px;
  font-size: 13px;
  color: var(--muted);
  position: relative;
}
.composer .field::after {
  content: "↑";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  background: var(--clay);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  padding-bottom: 1px;
  opacity: 0.6;
}

/* =========================================================
   SECTIONS
   ========================================================= */
section { position: relative; scroll-margin-top: 88px; }

.section-pad { padding: 58px 0; }
@media (max-width: 720px) { .section-pad { padding: 48px 0; } }

.section-head {
  display: flex; flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 24px;
}
.section-head .lead { margin-top: 6px; }

/* Live demo carousel */
.demo {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.demo.section-pad { padding: 48px 0 80px; }
.demo .section-head { margin-bottom: 8px; gap: 14px; }
.demo-stage {
  position: relative;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 980px) {
  .demo-stage { grid-template-columns: 1fr; }
}
/* Demo counter chip */
.demo-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 14px;
}
.demo-counter .now {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: none;
}
.demo-counter .sep { opacity: 0.4; }
.demo-phone {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.demo-phone.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.demo-phone .phone { --phone-w: 308px; }
.demo-phones {
  position: sticky;
  top: 24px;
  height: 700px;
  padding-top: 0;
  display: flex; align-items: flex-start; justify-content: center;
  align-self: start;
}

.demo-side {
  display: flex; flex-direction: column; gap: 8px;
  margin: 0;
  padding: 0;
}
.demo-tabs {
  display: flex; flex-direction: column;
  gap: 0;
  margin-top: 4px;
}
.demo-tab {
  text-align: left;
  padding: 8px 12px 8px 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  transition: padding-left 0.3s ease, color 0.3s ease, background 0.3s ease;
  border-radius: 6px;
  position: relative;
}
.demo-tab::before {
  content: "";
  position: absolute;
  left: -2px; top: 50%;
  width: 2px; height: 0;
  background: var(--clay);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height 0.3s ease;
}
.demo-tab.active::before { height: 60%; }
.demo-tab.active { background: rgba(26, 23, 20, 0.04); }
.demo-tab:last-child { border-bottom: 1px solid var(--line); }
.demo-tab .idx {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.demo-tab .title {
  font-family: var(--serif); font-style: italic;
  font-size: 16px;
  color: var(--muted);
  transition: color 0.3s ease, font-weight 0.3s ease;
}
.demo-tab.active .title { color: var(--ink); font-weight: 500; }
.demo-tab .arrow {
  color: var(--muted-2);
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.demo-tab.active .title { color: var(--ink); }
.demo-tab.active .idx { color: var(--clay); }
.demo-tab.active .arrow { opacity: 1; transform: translateX(4px); color: var(--ink); }
.demo-tab:hover .title { color: var(--ink-2); }

/* progress bar under active tab */
.demo-tab .progress {
  grid-column: 1 / -1;
  height: 2px;
  background: var(--line-strong);
  position: relative;
  margin-top: 10px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.demo-tab.active .progress { opacity: 1; }
.demo-tab .progress::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--clay);
  transform-origin: left;
  transform: scaleX(0);
}
.demo-tab.active .progress::before {
  animation: progress 14s linear forwards;
}
@keyframes progress { to { transform: scaleX(1); } }

/* =========================================================
   "How NICO thinks" — capabilities
   ========================================================= */
.thinks {
  background: var(--bg-deep);
  color: #ece6dc;
  overflow: hidden;
}
.thinks .eyebrow { color: rgba(255,255,255,0.55); }
.thinks .eyebrow::before { background: oklch(0.78 0.12 70); }
.thinks .display { color: #f3efe6; }
.thinks .lead { color: rgba(255,255,255,0.7); }

.thinks-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  align-items: stretch;
}
.think-card {
  height: 100%;
}
.think-card {
  grid-column: span 4;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  position: relative;
  overflow: visible;
  transition: background 0.3s ease, transform 0.3s ease;
  height: auto;
  min-height: unset;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
}
.think-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.think-card.wide { grid-column: span 8; }
.think-card.full { grid-column: span 12; min-height: 220px; }

@media (max-width: 980px) {
  .think-card, .think-card.wide, .think-card.full { grid-column: span 12; }
}

.think-card .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.think-card h3 {
  font-family: var(--serif); font-style: normal;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 16px 0 10px;
}
.think-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin: 0;
  max-width: 38ch;
}

/* visual gizmos for cards */
.gizmo {
  margin-top: 0;
  min-height: 90px;
  height: auto;
  position: relative;
}
.gizmo.taste {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}
.gizmo.taste > div:last-child {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  align-content: flex-start;
  width: 100%;
}
.gizmo.taste .chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
}
.gizmo.taste .chip.on {
  background: oklch(0.78 0.12 70);
  color: #1a1714;
  border-color: transparent;
}

.gizmo.memory {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
}
.gizmo.memory .row {
  display: flex; gap: 10px; align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}
.gizmo.memory .row .k { color: rgba(255,255,255,0.45); width: 70px; }
.gizmo.memory .row .v { color: #f3efe6; }

.gizmo.group {
  display: flex; align-items: center; gap: -8px;
}
.gizmo.group .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--bg-deep);
  margin-left: -12px;
  background-size: cover; background-position: center;
}
.gizmo.group .av:first-child { margin-left: 0; }
.gizmo.group .badge {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

.gizmo.adapt {
  display: flex; gap: 6px;
  margin-top: 0;
}
.gizmo.adapt .day {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  display: flex; flex-direction: column; gap: 5px;
  background: rgba(255,255,255,0.02);
}
.gizmo.adapt .day b {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  font-size: 9px;
}
.gizmo.adapt .day .ev {
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 11px;
}
.gizmo.adapt .day.flag {
  background: oklch(0.62 0.12 38 / 0.18);
  border-color: oklch(0.78 0.12 38 / 0.4);
}

.gizmo.vibe {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  padding-top: 22px;
}
.vibe-meter {
  flex: 1; height: 30px;
  background: linear-gradient(90deg, oklch(0.55 0.1 250), oklch(0.7 0.12 60), oklch(0.65 0.13 30));
  border-radius: 8px;
  position: relative;
  overflow: visible;
}
.vibe-meter .knob {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  left: 15%;
  animation: knob-cycle 14s ease-in-out infinite;
}
.vibe-now {
  position: absolute;
  top: -22px;
  left: 0; right: 0;
  height: 14px;
  pointer-events: none;
}
.vibe-now .vp {
  position: absolute;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #f3efe6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  animation: vp-fade 14s ease-in-out infinite;
}
.vibe-now .vp:nth-child(1) { left: 15%; animation-delay: 0s; }
.vibe-now .vp:nth-child(2) { left: 38%; animation-delay: 3.5s; }
.vibe-now .vp:nth-child(3) { left: 62%; animation-delay: 7s; }
.vibe-now .vp:nth-child(4) { left: 85%; animation-delay: 10.5s; }

@keyframes knob-cycle {
  0%, 100% { left: 15%; }
  20%, 25% { left: 15%; }
  35%, 50% { left: 38%; }
  60%, 75% { left: 62%; }
  85%, 95% { left: 85%; }
}

@keyframes vp-fade {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(4px); }
  4%, 20% { opacity: 1; transform: translateX(-50%) translateY(0); }
  24% { opacity: 0; transform: translateX(-50%) translateY(-2px); }
}

.gizmo.hidden {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gizmo.hidden .pin {
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  border: 1px dashed rgba(255,255,255,0.1);
}
.gizmo.hidden .pin.lit {
  background: oklch(0.78 0.12 70 / 0.18);
  border-style: solid;
  border-color: oklch(0.78 0.12 70 / 0.4);
  color: oklch(0.88 0.06 70);
}

.gizmo.logistics {
  display: flex; flex-direction: column; gap: 5px;
  font-family: var(--mono); font-size: 10.5px;
}
.gizmo.logistics .line {
  display: flex; gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gizmo.logistics .line .t { color: rgba(255,255,255,0.45); width: 50px; }
.gizmo.logistics .line .s { flex: 1; color: rgba(255,255,255,0.85); }
.gizmo.logistics .line .ok { color: oklch(0.78 0.12 150); }

/* Budget gizmo — price tier display */
.gizmo.budget {
  display: flex; flex-direction: column;
  gap: 6px;
  margin-top: 0;
}
.gizmo.budget .bd-tier {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 4px 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 11px;
  align-items: baseline;
}
.gizmo.budget .bd-tier .bd-k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  grid-row: span 2;
  align-self: center;
}
.gizmo.budget .bd-tier.mid .bd-k { color: oklch(0.78 0.12 70); }
.gizmo.budget .bd-tier.splurge .bd-k { color: oklch(0.86 0.12 50); }
.gizmo.budget .bd-tier .bd-v {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.005em;
}
.gizmo.budget .bd-tier .bd-eg {
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.3;
}

/* =========================================================
   Mobile polish — no design changes, just fit + readability
   ========================================================= */
@media (max-width: 720px) {
  /* Container padding tighter */
  .container { padding: 0 18px; }

  /* Nav + brand mark — stack cleaner */
  .brand-mark { font-size: 27px; top: 16px; left: 18px; }
  .brand-mark .brand-icon { width: 25px; height: 25px; }
  .nav { top: 12px; }
  .nav-inner { padding: 7px 7px 7px 14px; gap: 10px; }
  .nav-cta { padding: 7px 12px; font-size: 12.5px; }

  /* Hero phone scales down */
  .hero {
    padding: 56px 0 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }
  .hero-stage { height: 560px; }
  .hero-phone .phone { --phone-w: 280px; }
  .hero-photo-1, .hero-photo-2 { display: none; }
  .hero-meta { margin-top: 24px; flex-wrap: wrap; }
  .hero-platforms { flex-wrap: wrap; gap: 8px 14px; }
  h1.display { font-size: clamp(44px, 12vw, 64px); }

  /* Demo phones on mobile */
  .demo.section-pad { padding: 40px 0 64px; }
  .demo-stage { gap: 24px; }
  .demo-phone .phone { --phone-w: 280px; }
  .demo-phones { height: 620px; position: relative; top: 0; }
  .demo-side { gap: 6px; }
  .demo-tab { padding: 8px 8px 8px 12px; }
  .demo-tab .title { font-size: 15px; }
  .demo-counter { margin-top: 12px; }

  /* Thinks cards stack cleanly */
  .think-card,
  .think-card.wide,
  .think-card.full {
    grid-column: span 12;
    min-height: auto;
    padding: 22px 20px;
  }
  .think-card h3 { font-size: 24px; }
  .thinks-grid { gap: 10px; margin-top: 22px; }

  /* Trust strip stacks */
  .trust-stage { gap: 20px; grid-template-columns: 1fr; }
  .trust-points { grid-template-columns: 1fr; gap: 10px; }
  .trust-points li { padding: 14px 16px; }
  .trust-stage h3.display { font-size: 28px; }
  .trust-stage .lead { max-width: 100%; }

  /* Trip mock — scales down + scrollable horizontally if too wide */
  .trip-stage { gap: 28px; grid-template-columns: 1fr; }
  .trip-copy { position: static; }
  .trip-copy h2.display { font-size: clamp(32px, 8vw, 48px); }
  .trip-card { font-size: 13px; }
  .trip-hero { height: 160px; }
  .trip-hero h3 { font-size: 28px; }
  .trip-metabar { padding: 12px 16px; flex-wrap: wrap; gap: 12px; }
  .trip-metabar .col {
    flex: 0 0 calc(50% - 4px);
    border-right: 0;
    padding: 0;
  }
  .trip-day-tabs { padding: 10px 16px 6px; }
  .trip-itin { padding: 12px 16px; }
  .trip-itin-row {
    grid-template-columns: 48px 1fr;
    gap: 8px;
  }
  .trip-itin-row .tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }
  .trip-saved { padding: 14px 16px; }
  .trip-saved-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .trip-share { padding: 14px 16px; flex-wrap: wrap; gap: 8px; }
  .trip-share .copy-link {
    flex: 1 1 100%;
    order: 0;
    font-size: 10.5px;
  }
  .trip-share .copy-btn { order: 2; }
  .trip-share .share-icons { order: 1; }

  /* Feature list — already stacks, just tighten */
  .feature-row { padding: 16px 0; gap: 6px; }
  .feature-row .fname { font-size: 22px; }
  .feature-row .fdesc { font-size: 14px; }

  /* Why rows */
  .why-row { padding: 16px 0; gap: 8px; }
  .why-row .pain { font-size: 22px; }
  .why-row .fix { font-size: 14px; }

  /* Final CTA */
  .final { padding: 100px 0 110px; }
  .final h2.display { font-size: clamp(50px, 13vw, 96px); }
  .final-form { padding: 5px; }
  .final-form input { padding: 12px 14px; font-size: 14px; }
  .final-form button { padding: 10px 16px; font-size: 13px; }

  /* Footer compact */
  .footer { padding: 36px 0 24px; }
  .footer-brand .logo { font-size: 40px; }
  .footer-brand p { font-size: 13px; }
  .footer-bottom { margin-top: 24px; padding-top: 16px; }
}

@media (max-width: 480px) {
  /* Even tighter on phones */
  h1.display { font-size: clamp(38px, 11vw, 54px); }
  .lead { font-size: 16px; }
  .demo-phone .phone,
  .hero-phone .phone { --phone-w: 264px; }
  .demo-phones { height: 580px; }
  .demo-tab .title { font-size: 14px; }
  .trip-saved-grid { grid-template-columns: repeat(2, 1fr); }
  .stat .n { font-size: 36px; }
  .final-form { flex-wrap: wrap; gap: 6px; }
  .final-form input { flex: 1 1 100%; text-align: center; }
  .final-form button { flex: 1 1 100%; }
  .nav-links { display: none; }
}

/* Anti-overflow safety — no horizontal scroll */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
  .container { max-width: 100%; }
  .trip-card,
  .phone,
  .feature-row,
  .why-row { max-width: 100%; }
}

/* Acts gizmo — concierge actions */
.gizmo.acts {
  display: flex; flex-direction: column; gap: 6px;
}
.gizmo.acts .act {
  display: flex; gap: 10px; align-items: center;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 11.5px;
}
.gizmo.acts .act .vb {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.82 0.1 60);
  width: 64px;
  flex-shrink: 0;
}
.gizmo.acts .act .what {
  color: rgba(255,255,255,0.85);
  flex: 1;
}
.gizmo.acts .act .ch {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: oklch(0.62 0.06 160 / 0.3);
  color: oklch(0.85 0.1 160);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
  flex-shrink: 0;
}

/* =========================================================
   FEATURE GRID
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.feature {
  grid-column: span 4;
  background: #fff;
  border-radius: var(--r-md);
  padding: 22px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 170px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature.wide { grid-column: span 6; }
.feature.tall { grid-row: span 2; }

@media (max-width: 980px) {
  .feature, .feature.wide { grid-column: span 6; }
}
@media (max-width: 600px) {
  .feature, .feature.wide { grid-column: span 12; }
}

.feature .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.feature h4 {
  font-family: var(--serif); font-style: italic;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.05;
  margin: 14px 0 8px;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 32ch;
}
.feature .icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--clay-soft);
  margin-top: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--clay);
  font-family: var(--mono);
  font-size: 13px;
}

/* =========================================================
   CINEMATIC STORYTELLING
   ========================================================= */
.cinema {
  padding: 40px 0 60px;
}
.cinema-rail {
  display: flex;
  gap: 24px;
  padding: 0 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cinema-rail::-webkit-scrollbar { display: none; }
.cinema-card {
  flex: 0 0 auto;
  width: 350px;
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background-size: cover; background-position: center;
  background-color: #2a2622;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.cinema-card:hover { transform: translateY(-6px) scale(1.015); }
@media (max-width: 720px) {
  .cinema-card { width: 280px; }
}

.cinema-card .grad {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.18) 38%, rgba(0,0,0,0) 65%),
              linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 30%);
}
.cinema-card .meta {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  color: #fff;
}
.cinema-card .place {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.cinema-card .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.1;
  margin: 8px 0 0;
  max-width: 22ch;
}

/* whisper bubble overlay — message-bubble style sitting on the image */
.cinema-card .whisper {
  position: absolute;
  top: 22px; left: 22px;
  max-width: 70%;
  animation: whisper-float 6s ease-in-out infinite;
}
.cinema-card .whisper .av { display: none; }
.cinema-card .whisper .bub {
  position: relative;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 14px;
  border-radius: 22px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  letter-spacing: -0.005em;
  display: inline-block;
}
/* received-bubble tail (bottom-left) */
.cinema-card .whisper .bub::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -5px;
  width: 18px; height: 16px;
  background: rgba(255,255,255,0.98);
  border-bottom-right-radius: 14px;
  z-index: -1;
}
.cinema-card .whisper .bub::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -7px;
  width: 8px; height: 12px;
  background: transparent;
  border-bottom-right-radius: 8px;
  box-shadow: 2px 1px 0 rgba(255,255,255,0.98);
}
@keyframes whisper-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* second bubble — NICO's reply on the image (sent-style) */
.cinema-card .reply-bub {
  position: absolute;
  bottom: 116px; right: 22px;
  background: var(--ink);
  color: #f3efe6;
  padding: 8px 14px;
  border-radius: 22px;
  font-size: 12.5px;
  line-height: 1.3;
  max-width: 60%;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  animation: whisper-float 7s ease-in-out infinite;
  animation-delay: 0.6s;
  display: inline-block;
}
/* sent-bubble tail (bottom-right) */
.cinema-card .reply-bub::before {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -5px;
  width: 18px; height: 16px;
  background: var(--ink);
  border-bottom-left-radius: 14px;
  z-index: -1;
}
.cinema-card .reply-bub::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -7px;
  width: 8px; height: 12px;
  background: transparent;
  border-bottom-left-radius: 8px;
  box-shadow: -2px 1px 0 var(--ink);
}

/* =========================================================
   WHY NICO
   ========================================================= */
.why {
  background: var(--bg);
}
.why-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}
.why-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.why-row:last-child { border-bottom: 1px solid var(--line); }
.why-row .num {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.16em;
  padding-top: 4px;
}
.why-row .pain {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.1;
  color: var(--muted-2);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.why-row .fix {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 38ch;
}
.why-row .fix b { font-weight: 600; color: var(--ink); }

@media (max-width: 720px) {
  .why-row { grid-template-columns: 1fr; gap: 12px; }
  .why-row .pain { font-size: 26px; }
}

/* =========================================================
   SOCIAL PROOF
   ========================================================= */
.proof {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 24px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .n {
  font-family: var(--serif); font-style: italic;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 720px) {
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat .n { font-size: 40px; }
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
}
.quote-card .q {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote-card .who {
  margin-top: 24px;
  display: flex; align-items: center; gap: 12px;
}
.quote-card .who .av {
  width: 38px; height: 38px; border-radius: 50%;
  background-size: cover; background-position: center;
}
.quote-card .who .n { font-size: 13px; font-weight: 600; }
.quote-card .who .r { font-size: 12px; color: var(--muted); }

@media (max-width: 980px) {
  .quotes { grid-template-columns: 1fr; }
}

.press-row {
  margin-top: 56px;
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
  opacity: 0.5;
}
.press-row .press {
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.press-row .press.sans {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
  text-transform: uppercase;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final {
  position: relative;
  padding: 130px 0 140px;
  background: var(--bg-deep);
  color: #f3efe6;
  overflow: hidden;
  text-align: center;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, oklch(0.62 0.12 38 / 0.35), transparent 60%);
  pointer-events: none;
}
.final-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  display: inline-block;
}
.final h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(56px, 10vw, 160px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 14ch;
  margin: 0 auto;
  color: #f3efe6;
}
.final h2 .roman { color: rgba(243, 239, 230, 0.7); }
.final-sub {
  margin: 32px auto 0;
  max-width: 50ch;
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  position: relative;
}
.final-form {
  position: relative;
  margin: 48px auto 0;
  max-width: 460px;
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(20px);
}
.final-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 20px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.final-form input::placeholder { color: rgba(255,255,255,0.4); }
.final-form button {
  background: #f3efe6;
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.final-form button:hover { transform: scale(1.02); }

.final-foot {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 44px 0 28px;
  background: var(--bg);
}
.footer-top {
  display: block;
  max-width: 480px;
}
.footer-brand .logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  max-width: 28ch;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--clay); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom .social { display: flex; gap: 18px; }
.footer-bottom .footer-meta-line { justify-self: end; }
@media (max-width: 720px) {
  .footer-bottom { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom .footer-meta-line { justify-self: start; }
}

@media (max-width: 720px) {
  .footer-top { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}

/* =========================================================
   Active-demo message stagger
   ========================================================= */
.demo-phone.active .chat-body > * {
  opacity: 0;
  transform: translateY(6px);
  animation: msg-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.demo-phone.active .chat-body > *:nth-child(1) { animation-delay: 0.05s; }
.demo-phone.active .chat-body > *:nth-child(2) { animation-delay: 0.18s; }
.demo-phone.active .chat-body > *:nth-child(3) { animation-delay: 0.31s; }
.demo-phone.active .chat-body > *:nth-child(4) { animation-delay: 0.44s; }
.demo-phone.active .chat-body > *:nth-child(5) { animation-delay: 0.57s; }
.demo-phone.active .chat-body > *:nth-child(6) { animation-delay: 0.7s; }
.demo-phone.active .chat-body > *:nth-child(7) { animation-delay: 0.83s; }
.demo-phone.active .chat-body > *:nth-child(8) { animation-delay: 0.96s; }
.demo-phone.active .chat-body > *:nth-child(9) { animation-delay: 1.09s; }
.demo-phone.active .chat-body > *:nth-child(10) { animation-delay: 1.22s; }
.demo-phone.active .chat-body > *:nth-child(11) { animation-delay: 1.35s; }
.demo-phone.active .chat-body > *:nth-child(12) { animation-delay: 1.48s; }
.demo-phone.active .chat-body > *:nth-child(13) { animation-delay: 1.61s; }
.demo-phone.active .chat-body > *:nth-child(14) { animation-delay: 1.74s; }
.demo-phone.active .chat-body > *:nth-child(15) { animation-delay: 1.87s; }
.demo-phone.active .chat-body > *:nth-child(16) { animation-delay: 2.00s; }
.demo-phone.active .chat-body > *:nth-child(17) { animation-delay: 2.13s; }
.demo-phone.active .chat-body > *:nth-child(18) { animation-delay: 2.26s; }
@keyframes msg-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* =========================================================
   Scroll progress bar (top of page)
   ========================================================= */
.scroll-progress {
  display: none;
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--clay);
  width: 0%;
  z-index: 1000;
  pointer-events: none;
  transform-origin: left center;
  transition: opacity 0.4s ease;
}

/* =========================================================
   Hero platform row
   ========================================================= */
.hero-platforms {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-in 0.8s 1.0s ease forwards;
}
.hero-platforms .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero-platforms .plat {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.hero-platforms .plat::before {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted-2);
}

/* =========================================================
   Shareable Trip Page section
   ========================================================= */
.trip-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.trip-stage {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.trip-copy {
  position: sticky;
  top: 32px;
  align-self: start;
}
@media (max-width: 900px) {
  .trip-stage { grid-template-columns: 1fr; gap: 36px; }
}
.trip-copy h2.display { font-size: clamp(40px, 5.6vw, 78px); }
.trip-points {
  margin-top: 22px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.trip-points li {
  list-style: none;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 42ch;
}
.trip-points li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
  margin-top: 7px;
  flex-shrink: 0;
}
.trip-points b { color: var(--ink); font-weight: 600; }

/* The shareable trip page mock */
.trip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(20, 16, 12, 0.22),
              0 16px 40px -16px rgba(20, 16, 12, 0.12);
  position: relative;
  transform: translateY(0);
}
.trip-url {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
}
.trip-url .lock {
  width: 14px; height: 14px;
  color: var(--muted);
}
.trip-url .url {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: -0.005em;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trip-url .url .accent { color: var(--ink); font-weight: 500; }

.trip-hero {
  height: 200px;
  background-size: cover; background-position: center;
  background-color: #d4baa1;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 22px;
}
.trip-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
}
.trip-hero-body {
  position: relative; z-index: 1;
  color: #fff;
  width: 100%;
}
.trip-hero .place {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}
.trip-hero h3 {
  font-family: var(--serif); font-style: italic;
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  margin: 6px 0 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.trip-metabar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.trip-metabar .col {
  flex: 1;
  padding: 0 8px;
  border-right: 1px solid var(--line);
}
.trip-metabar .col:last-child { border-right: 0; padding-right: 0; }
.trip-metabar .col:first-child { padding-left: 0; }
.trip-metabar .k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.trip-metabar .v {
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: -0.005em;
}
.trip-metabar .v .avs {
  display: inline-flex; vertical-align: middle; margin-right: 6px;
}
.trip-metabar .v .avs span {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background-size: cover; background-position: center;
  margin-left: -5px;
}
.trip-metabar .v .avs span:first-child { margin-left: 0; }

.trip-day-tabs {
  display: flex;
  padding: 12px 22px 8px;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.trip-day-tabs::-webkit-scrollbar { display: none; }
.trip-day-tabs .dtab {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.trip-day-tabs .dtab.on {
  background: var(--ink);
  color: #fbfaf7;
  font-weight: 500;
}
.trip-day-tabs .dtab:not(.on):hover { color: var(--ink); }

.trip-itin {
  padding: 14px 22px;
}
.trip-itin-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  align-items: center;
}
.trip-itin-row:last-child { border-bottom: 0; }
.trip-itin-row .t {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.trip-itin-row .name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.trip-itin-row .sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.trip-itin-row .tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--clay-soft);
  color: var(--clay);
}
.trip-itin-row .tag.dark { background: rgba(26,23,20,0.06); color: var(--ink-2); }

.trip-saved {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.trip-saved .label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.trip-saved-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.trip-saved-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.2/1;
  background-size: cover; background-position: center;
  background-color: #c8b8a0;
}
.trip-saved-card .nm {
  position: absolute;
  bottom: 6px; left: 7px; right: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  letter-spacing: -0.005em;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trip-share {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  background: var(--bg);
}
.trip-share .copy-link {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: -0.005em;
}
.trip-share .copy-btn {
  background: var(--ink);
  color: #fbfaf7;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  transition: background 0.2s ease;
}
.trip-share .copy-btn:hover { background: var(--ink-2); }
.trip-share .share-icons {
  display: flex; gap: 4px;
}
.trip-share .share-icons button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.trip-share .share-icons button:hover { color: var(--ink); background: var(--bg); }

/* Memory chat snippet (replaces data display) */
.gizmo.memory-chat {
  display: flex; flex-direction: column;
  gap: 4px;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 16px;
}
.gizmo.memory-chat .mc-bub {
  max-width: 84%;
  padding: 7px 11px;
  border-radius: 14px;
}
.gizmo.memory-chat .mc-bub.in {
  background: rgba(255,255,255,0.06);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: rgba(255,255,255,0.85);
}
.gizmo.memory-chat .mc-bub.out {
  background: oklch(0.78 0.12 70);
  color: #1a1714;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.gizmo.memory-chat .mc-row {
  display: flex; gap: 6px;
  align-self: flex-start;
  margin-top: 4px;
}
.gizmo.memory-chat .mc-row button {
  font-size: 10.5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.gizmo.memory-chat .mc-row button.yes {
  background: oklch(0.78 0.12 70);
  color: #1a1714;
  border-color: transparent;
  font-weight: 500;
}

/* Subtle screen-glare on phones */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 35%);
  z-index: 6;
  border-radius: 42px;
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.15s !important;
  }
  .scroll-progress { display: none; }
}

/* =========================================================
   Feature list (staggered, editorial)
   ========================================================= */
.feature-list {
  margin-top: 24px;
  display: flex; flex-direction: column;
}
.feature-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.3s ease;
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row:hover { padding-left: 8px; }
.feature-row .fnum {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.16em;
  padding-top: 8px;
}
.feature-row .fname {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feature-row .fdesc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 50ch;
  padding-top: 8px;
}
@media (max-width: 720px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
  .feature-row .fdesc { padding-top: 0; }
}

/* =========================================================
   Discovery (filterable destinations) — replaces Cinema
   ========================================================= */
.discovery {
  background: var(--bg-deep);
  color: #ece6dc;
  overflow: hidden;
}
.discovery .display { color: #f3efe6; }
.discovery .eyebrow { color: rgba(255,255,255,0.55); }
.discovery .eyebrow::before { background: oklch(0.78 0.12 70); }
.discovery .lead { color: rgba(255,255,255,0.65); }

.disc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 26px 0 32px;
}
.disc-filter {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.005em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.disc-filter:hover { color: #fff; background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.2); }
.disc-filter:focus { outline: none; }
.disc-filter:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(255,255,255,0.4); }
.disc-filter.on {
  background: #f3efe6;
  color: var(--ink);
  border-color: #f3efe6;
  font-weight: 600;
}
.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .disc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .disc-grid { grid-template-columns: 1fr; } }

.disc-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background-size: cover; background-position: center;
  background-color: #c8b89a;
  transition: opacity 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: 0ms;
  will-change: opacity, transform;
  cursor: pointer;
}
.disc-card.dimmed { opacity: 0.4; transform: scale(0.94); }
.disc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 38%, rgba(0,0,0,0) 60%);
}
.disc-bub {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 13px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink);
  max-width: 78%;
  letter-spacing: -0.005em;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 1;
}
.disc-meta {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 1;
  color: #fff;
}
.disc-meta .place {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.disc-meta .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.05;
  margin: 6px 0 4px;
}
.disc-meta .one-liner {
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.005em;
  line-height: 1.35;
  max-width: 26ch;
}

/* =========================================================
   Status bar: 5G label
   ========================================================= */
.status-bar .carrier {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-right: 2px;
  color: var(--ink);
}

/* =========================================================
   Delivered / Read receipts
   ========================================================= */
.receipt {
  align-self: flex-end;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 2px 4px 0 0;
}

/* =========================================================
   Footer privacy line
   ========================================================= */
.footer-privacy {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 60ch;
}
.footer-privacy b { color: var(--ink); font-weight: 600; }

/* =========================================================
   Trust strip (between Thinks and Trip)
   ========================================================= */
.trust-strip {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip.section-pad { padding: 32px 0; }
.trust-stage {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .trust-stage { grid-template-columns: 1fr; gap: 24px; }
}
.trust-stage h3.display {
  font-size: clamp(28px, 3vw, 42px);
  margin: 6px 0 0;
}
.trust-stage .lead { font-size: 15px; margin: 8px 0 0; max-width: 38ch; }
.trust-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 720px) { .trust-points { grid-template-columns: 1fr; } }
.trust-points li {
  display: flex; flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.trust-points .pk {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  display: flex; align-items: center; gap: 5px;
}
.trust-points .pk::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--clay);
}
.trust-points .pv {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}
.trust-points .pv b { color: var(--ink); font-weight: 600; }

/* =========================================================
   Subtle trust badge inside cards / phones
   ========================================================= */
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: 0.1em;
}
.trust-badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
}
.think-card .trust-badge { color: rgba(255,255,255,0.55); }
.think-card .trust-badge::before { background: oklch(0.78 0.12 70); }

/* in-chat platform attribution badge (transport card) */
.transport-card .powered {
  border-top: 1px solid var(--line);
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex; justify-content: space-between; align-items: center;
}

/* Eyebrow muted variant for pricing line */
.eyebrow.muted::before { background: var(--muted-2); }
.eyebrow.muted { color: var(--muted-2); }

/* =========================================================
   Stat sub-source
   ========================================================= */
.stat .src {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-top: 6px;
  text-transform: uppercase;
}

/* =========================================================
   Hero meta-aux setup line
   ========================================================= */
.hero-setup {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: -0.005em;
  opacity: 0;
  animation: fade-in 0.8s 1.05s ease forwards;
  line-height: 1.5;
  max-width: 50ch;
}
.hero-setup b { color: var(--ink-2); font-weight: 600; }

/* =========================================================
   Footer restructure
   ========================================================= */
.footer-meta-line {
  font-style: italic;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.005em;
  margin-top: 4px;
}

/* =========================================================
   Tweaks Panel
   ========================================================= */
.tweaks-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 308px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(20, 16, 12, 0.25);
  z-index: 999;
  padding: 16px;
  font-family: var(--sans);
  color: var(--ink);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s ease;
}
.tweaks-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.tw-head {
  display: flex; justify-content: space-between; align-items: center;
}
.tw-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.tw-close {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(26, 23, 20, 0.06);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 2px;
  transition: background 0.2s ease;
}
.tw-close:hover { background: rgba(26, 23, 20, 0.12); }
.tw-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin: 4px 0 14px;
  line-height: 1.4;
}
.tw-group { margin-top: 12px; }
.tw-lbl-row { display: flex; justify-content: space-between; align-items: baseline; }
.tw-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.tw-val {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.tw-radio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  background: rgba(26, 23, 20, 0.05);
  border-radius: 10px;
}
.tw-radio button {
  padding: 8px 6px;
  font-size: 12px;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  letter-spacing: -0.005em;
}
.tw-radio button:hover { color: var(--ink); }
.tw-radio button.on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 16, 12, 0.1);
  font-weight: 500;
}
.tw-slider-row {
  display: flex; align-items: center; gap: 8px;
}
.tw-tick {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tw-slider-row input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(26, 23, 20, 0.1);
  border-radius: 2px;
  outline: none;
}
.tw-slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--clay);
  cursor: pointer;
  border: 2px solid var(--paper);
  box-shadow: 0 2px 6px rgba(20, 16, 12, 0.2);
  transition: transform 0.15s ease;
}
.tw-slider-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.tw-slider-row input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--clay);
  cursor: pointer;
  border: 2px solid var(--paper);
}

/* Intensity tiers — discrete shifts */
body.intensity-low h1.display { font-size: clamp(48px, 7vw, 100px); }
body.intensity-low h2.display { font-size: clamp(38px, 5vw, 76px); }
body.intensity-low .float-card { animation-duration: 14s; }

body.intensity-high h1.display { font-size: clamp(64px, 11vw, 160px); }
body.intensity-high h2.display { font-size: clamp(50px, 8vw, 116px); }
body.intensity-high .float-card { animation-duration: 5s; }

/* Mood: Midnight — adapt sections that were already dark + cards */
body[data-mood="midnight"] .thinks,
body[data-mood="midnight"] .final {
  background: #050403;
}
body[data-mood="midnight"] .demo,
body[data-mood="midnight"] .proof {
  border-color: var(--line-strong);
}
body[data-mood="midnight"] .feature,
body[data-mood="midnight"] .quote-card,
body[data-mood="midnight"] .resv-card,
body[data-mood="midnight"] .pass-card,
body[data-mood="midnight"] .rental-card,
body[data-mood="midnight"] .event-mini,
body[data-mood="midnight"] .transport-card,
body[data-mood="midnight"] .route-card,
body[data-mood="midnight"] .chat-card,
body[data-mood="midnight"] .itin-card,
body[data-mood="midnight"] .map-card,
body[data-mood="midnight"] .intg-tile {
  background: var(--paper);
}
body[data-mood="midnight"] .phone-screen { background: #1a1714; }
body[data-mood="midnight"] .chat-header { background: rgba(26, 23, 20, 0.85); }
body[data-mood="midnight"] .msg.in { background: #2a2520; color: var(--ink); }
body[data-mood="midnight"] .msg.out { background: var(--clay); color: #15110e; }
body[data-mood="midnight"] .composer { background: rgba(26, 23, 20, 0.96); }
body[data-mood="midnight"] .composer .field {
  background: rgba(243, 239, 230, 0.06);
  color: var(--muted);
  border-color: var(--line);
}
body[data-mood="midnight"] .nav-inner { background: rgba(26, 23, 20, 0.7); }

/* Mood: Coastal — section adaptations */
body[data-mood="coastal"] .thinks,
body[data-mood="coastal"] .final {
  background: #0d1620;
}
body[data-mood="coastal"] .nav-inner { background: rgba(238, 241, 244, 0.75); }

