
/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg:      #F7F7F5;
  --white:   #FFFFFF;
  --border:  #E8E8E5;
  --text:    #0D0D0D;
  --t2:      #404040;
  --t3:      #737373;
  --t4:      #B0B0B0;
  --green:   #30D158;
  --green-l: rgba(48,209,88,0.10);
  --blue:    #3B82F6;
  --ff: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --r: 14px;   /* standard card radius */
  --ios-trip-width: 100%;
  --ios-trip-height: 86px;
  --ios-trip-radius: 13px;
  --ios-trip-gap: 7px;
  --ios-trip-glass-inset-x: 8px;
  --ios-trip-glass-inset-bottom: 6px;
  --ios-trip-glass-pad-x: 10px;
  --ios-trip-glass-pad-y: 4px;
  --ios-trip-glass-radius: 11px;
  --ios-trip-glass-bg: rgba(57, 63, 75, 0.66);
  --ios-trip-glass-border: rgba(255,255,255,0.18);
  --ios-trip-glass-blur: blur(11px) saturate(130%);
  --ios-trip-glass-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  --ios-trip-glass-min-height: 36px;
  --ios-trip-meta-shift-y: 1px;
  --ios-trip-title-size: 11.5px;
  --ios-trip-title-line-height: 1.05;
  --ios-trip-date-size: 7.2px;
  --ios-trip-date-line-height: 1.12;
  --ios-trip-date-gap: 4px;
  --ios-trip-avatar-size: 17px;
  --ios-trip-avatar-font-size: 6.2px;
  --ios-trip-avatar-overlap: -4.2px;
  --ios-trip-avatar-border: 1.35px;
  --ios-trip-overlay: linear-gradient(to top, rgba(0,0,0,.58), transparent 52%);
  --ios-trip-avatar-bg: rgba(232, 236, 240, 0.48);
  --ios-trip-avatar-text: rgba(245, 248, 250, 0.95);
  --ios-trip-avatar-primary-bg: #34d399;
  --ios-trip-avatar-primary-text: #052e24;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── SCROLL REVEAL ─── */
.sr { opacity: 0; transform: translateY(16px); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
.sr.in { opacity: 1; transform: none; }
.sr.d1{transition-delay:.08s} .sr.d2{transition-delay:.16s}
.sr.d3{transition-delay:.24s} .sr.d4{transition-delay:.32s}

/* ─── LAYOUT HELPERS ─── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.divider { height: 1px; background: var(--border); }

/* ─────────────────────────────────────
   NAV
───────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 54px;
  background: rgba(247,247,245,.92);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: transform .32s cubic-bezier(.16,1,.3,1), opacity .22s ease;
  will-change: transform, opacity;
}
nav.is-hidden {
  transform: translate3d(0, calc(-100% - 12px), 0);
  opacity: 0;
  pointer-events: none;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center;
}
.nav-logo {
  font-size: 15px; font-weight: 600; color: var(--text);
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.01em;
}
.nav-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.nav-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
nav ul { display: flex; list-style: none; margin-left: 36px; }
nav ul a {
  font-size: 13px; font-weight: 400; color: var(--t3);
  text-decoration: none; padding: 0 14px; transition: color .15s;
}
nav ul a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-link {
  font-size: 13px; color: var(--t3); text-decoration: none;
  padding: 7px 14px; transition: color .15s;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  font-size: 13px; font-weight: 500; color: var(--white);
  background: var(--text); text-decoration: none;
  padding: 8px 18px; border-radius: 8px; transition: opacity .15s;
}
.nav-cta:hover { opacity: .82; }

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  padding-top: 54px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 52% 48%;
}

.hero-copy {
  padding: 100px 60px 80px 40px;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 560px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-l);
  border: 1px solid rgba(48,209,88,0.2);
  border-radius: 100px; padding: 5px 12px 5px 9px;
  font-size: 12px; font-weight: 500; color: #186b2e;
  margin-bottom: 32px; width: fit-content;
}
.hero-tag-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }

.hero-h1 {
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -0.035em; color: var(--text);
  margin-bottom: 20px;
}
.hero-h1 .muted { color: var(--t3); font-weight: 300; }

.hero-p {
  font-size: 17px; font-weight: 300; color: var(--t3);
  line-height: 1.7; max-width: 420px; margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.btn {
  font-size: 14px; font-weight: 500;
  padding: 11px 22px; border-radius: 10px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: all .18s;
}
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { opacity: .85; }
.btn-outline { border: 1px solid var(--border); color: var(--t2); background: var(--white); }
.btn-outline:hover { border-color: var(--t3); }
.app-store-badge-link {
  display: inline-block;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  line-height: 0;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity .18s;
}
.app-store-badge-link:hover { opacity: .9; }
.app-store-badge-link img {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero .hero-btns .btn-outline {
  width: 164px;
  height: 44px;
  justify-content: center;
}
.hero .hero-btns .btn-outline {
  padding: 0 22px;
}

.hero-proof {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--t4);
}
.proof-stack { display: flex; }
.proof-av {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -7px;
  font-size: 9px; font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.proof-av:first-child { margin-left: 0; }
.av1{background:#6366f1} .av2{background:#22c55e} .av3{background:#f97316}
.av4{background:#06b6d4} .av5{background:#ec4899}
.proof-stars { color: #f59e0b; letter-spacing: 1px; }

/* Hero — phone side */
.hero-visual {
  background: #F0F0EE;
  border-left: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-visual-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(48,209,88,0.06) 0%, transparent 70%);
}

/* Phone */
.phone-wrap {
  --phone-scale: 1;
  --phone-float-y: 14px;
  position: relative;
  z-index: 2;
  animation: levitate 9s ease-in-out infinite;
}
@keyframes levitate {
  0%,100% { transform: translateY(0) scale(var(--phone-scale)); }
  50% { transform: translateY(calc(-1 * var(--phone-float-y))) scale(var(--phone-scale)); }
}

.phone-shell {
  position: relative;
  background: linear-gradient(148deg, #2c2c2c 0%, #111 100%);
  border-radius: 48px; padding: 7px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 0 0 .5px #000,
    0 40px 80px rgba(0,0,0,.18),
    0 12px 28px rgba(0,0,0,.1);
}
.phone-btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, #4b4b4d, #232326);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.16), 0 0 0 .5px rgba(0,0,0,.35);
}
.phone-btn-action { left: -2px; top: 82px; height: 18px; }
.phone-btn-vol-up { left: -2px; top: 112px; height: 34px; }
.phone-btn-vol-down { left: -2px; top: 152px; height: 34px; }
.phone-btn-lock { right: -2px; top: 122px; height: 56px; }
.phone-screen {
  width: 248px; height: 490px;
  background: #000; border-radius: 42px;
  overflow: hidden; position: relative;
  font-family: -apple-system, sans-serif;
}
.d-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 27px; background: #000; border-radius: 16px; z-index: 20;
}

/* iOS Home Screen */
.ios { background: #f2f2f7; height: 100%; display: flex; flex-direction: column; position: relative; }
.ios-st {
  position: absolute;
  top: 20px;
  left: 15px;
  right: 15px;
  height: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: #000;
  pointer-events: none;
}
.ios-time { letter-spacing: -0.01em; }
.ios-sys { display: flex; align-items: flex-end; gap: 6px; }
.ios-signal { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 9px; }
.ios-signal span { width: 2px; border-radius: 1px; background: rgba(0,0,0,.9); }
.ios-signal span:nth-child(1) { height: 3px; opacity: .55; }
.ios-signal span:nth-child(2) { height: 5px; opacity: .7; }
.ios-signal span:nth-child(3) { height: 7px; opacity: .85; }
.ios-signal span:nth-child(4) { height: 9px; opacity: 1; }
.ios-battery {
  width: 18px;
  height: 9px;
  border: 1.2px solid rgba(0,0,0,.88);
  border-radius: 2.5px;
  position: relative;
  padding: 1px;
  display: flex;
  align-items: center;
}
.ios-battery::after {
  content: "";
  position: absolute;
  right: -2.5px;
  top: 2px;
  width: 1.8px;
  height: 3.8px;
  border-radius: 1px;
  background: rgba(0,0,0,.88);
}
.ios-battery-level {
  width: 72%;
  height: 100%;
  border-radius: 1px;
  background: rgba(0,0,0,.9);
}
.ios-bd { flex: 1; padding: 59px 13px 8px; display: flex; flex-direction: column; overflow: hidden; }
.ios-ht { font-size: 21px; font-weight: 700; color: #000; letter-spacing: -.03em; margin-bottom: 8px; }
.ios-inp {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.ios-inp-field {
  flex: 1;
  min-height: 24px;
  background: #fff;
  border-radius: 10px;
  padding: 5px 11px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.ios-inp-ph { font-size: 10.5px; color: #8e8e93; }
.ios-inp-btn {
  width: 21px; height: 21px; background: #3b82f6; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ios-note { font-size: 10px; font-weight: 500; color: #3c3c43; margin-bottom: 7px; }
.ios-trip-list { display: flex; flex-direction: column; gap: var(--ios-trip-gap); }
.ios-trip { border-radius: var(--ios-trip-radius); overflow: hidden; position: relative; width: var(--ios-trip-width); }
.ios-trip-bg {
  display: block;
  height: var(--ios-trip-height);
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.ios-trip-grad { position: absolute; inset: 0; background: var(--ios-trip-overlay); }
.ios-trip-glass {
  position: absolute;
  left: var(--ios-trip-glass-inset-x);
  right: var(--ios-trip-glass-inset-x);
  bottom: var(--ios-trip-glass-inset-bottom);
  min-height: var(--ios-trip-glass-min-height);
  padding: var(--ios-trip-glass-pad-y) var(--ios-trip-glass-pad-x);
  border-radius: var(--ios-trip-glass-radius);
  background: var(--ios-trip-glass-bg);
  border: 1px solid var(--ios-trip-glass-border);
  backdrop-filter: var(--ios-trip-glass-blur);
  -webkit-backdrop-filter: var(--ios-trip-glass-blur);
  box-shadow: var(--ios-trip-glass-shadow);
}
.ios-trip-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.ios-trip-meta { transform: translateY(var(--ios-trip-meta-shift-y)); }
.itn {
  font-size: var(--ios-trip-title-size);
  line-height: var(--ios-trip-title-line-height);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}
.itd {
  margin-top: var(--ios-trip-date-gap);
  font-size: var(--ios-trip-date-size);
  line-height: var(--ios-trip-date-line-height);
  color: rgba(255,255,255,.65);
}
.it-avs { display: flex; }
.it-av {
  width: var(--ios-trip-avatar-size);
  height: var(--ios-trip-avatar-size);
  border-radius: 50%;
  font-size: var(--ios-trip-avatar-font-size);
  font-weight: 700;
  color: var(--ios-trip-avatar-text);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ios-trip-avatar-bg);
  border: var(--ios-trip-avatar-border) solid rgba(255,255,255,.25);
  margin-left: var(--ios-trip-avatar-overlap);
  backdrop-filter: blur(6px) saturate(140%);
}
.it-av:first-child { margin-left: 0; }
.it-av.is-primary {
  background: var(--ios-trip-avatar-primary-bg);
  color: var(--ios-trip-avatar-primary-text);
  backdrop-filter: none;
}
.ios-tab {
  width: 156px;
  margin: 0 auto 4px;
  padding: 2px;
  display: flex;
  gap: 2px;
  border-radius: 999px;
  background: rgba(10,11,14,.8);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 14px rgba(0,0,0,.33);
}
.ios-tab-item {
  flex: 1;
  border-radius: 999px;
  padding: 5px 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: rgba(255,255,255,.9);
}
.ios-tab-ico { width: 16px; height: 16px; display: block; overflow: visible; }
.ios-tab-lbl { font-size: 7.6px; font-weight: 600; letter-spacing: .01em; }
.tab-active {
  background: rgba(255,255,255,.18);
  color: #2aa9ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.tab-idle { color: rgba(255,255,255,.95); }

/* Floating cards */
.f-card {
  position: absolute; z-index: 4;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.fc-top { top: 15%; right: -20px; width: 160px; animation: fct 10s ease-in-out infinite; }
.fc-btm { bottom: 18%; left: -16px; width: 156px; animation: fcb 12s 1.5s ease-in-out infinite; }
@keyframes fct { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes fcb { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-13px)} }
.fc-lbl { font-size: 10px; color: var(--t4); margin-bottom: 4px; }
.fc-val { font-size: 18px; font-weight: 600; letter-spacing: -.03em; color: var(--text); line-height: 1.1; }
.fc-sub { font-size: 10px; color: var(--t4); margin-top: 3px; }
.fc-bar { height: 3px; background: var(--border); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.fc-bar-fill { height: 100%; background: var(--green); border-radius: 2px; }
.fc-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.fc-row { display: flex; align-items: center; gap: 6px; }
.fc-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.fc-track { flex: 1; height: 2px; background: var(--border); border-radius: 1px; overflow: hidden; }
.fc-fill { height: 100%; border-radius: 1px; }
.fc-n { font-size: 9px; color: var(--t4); width: 30px; text-align: right; font-variant-numeric: tabular-nums; }

/* ─────────────────────────────────────
   STATS STRIP
───────────────────────────────────── */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-col {
  padding: 44px 40px 44px 0;
  border-right: 1px solid var(--border);
  margin-right: 40px;
}
.stat-col:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-n {
  font-size: 48px; font-weight: 600; letter-spacing: -.04em;
  line-height: 1; color: var(--text); margin-bottom: 6px;
}
.stat-n sup { font-size: 20px; vertical-align: super; }
.stat-lbl { font-size: 13px; color: var(--t4); font-weight: 300; }

/* ─────────────────────────────────────
   SECTION TITLES
───────────────────────────────────── */
.s-tag {
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green);
  display: block; margin-bottom: 12px;
}
.s-h2 {
  font-size: clamp(26px, 2.8vw, 38px); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.1; color: var(--text);
  margin-bottom: 12px;
}
.s-h2 em { font-style: normal; font-weight: 300; color: var(--t3); }
.s-sub { font-size: 16px; font-weight: 300; color: var(--t3); line-height: 1.75; }

/* ─────────────────────────────────────
   HOW IT WORKS — 4 steps
───────────────────────────────────── */
.how-section { padding: 100px 0; }
.how-header { margin-bottom: 60px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
/* connecting line */
.steps::before {
  content: ''; position: absolute;
  top: 22px; left: 24px; right: 24px; height: 1px;
  background: var(--border); z-index: 0;
}
.step { position: relative; z-index: 1; padding-right: 28px; }
.step:last-child { padding-right: 0; }
.step-node {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  transition: border-color .25s, box-shadow .25s;
}
.step:hover .step-node { border-color: var(--green); box-shadow: 0 0 0 4px rgba(48,209,88,.1); }
.step-n { font-size: 11px; color: var(--t4); font-weight: 500; margin-bottom: 5px; }
.step-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 7px; letter-spacing: -.01em; }
.step-desc { font-size: 13px; color: var(--t3); line-height: 1.6; margin-bottom: 18px; }

/* ─── iOS-faithful mini UI inside steps ─── */
.mini-ui {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.mu-bar {
  padding: 9px 11px; border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 6px;
}
.mu-title { font-size: 11px; font-weight: 600; color: var(--text); }
.mu-sub { font-size: 10px; color: var(--t4); }
.mu-body { padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.mu-row {
  background: var(--bg); border-radius: 8px;
  padding: 7px 9px; display: flex; align-items: center; gap: 7px;
  font-family: -apple-system, sans-serif;
}
.mr-icon { font-size: 11px; flex-shrink: 0; }
.mr-main { flex: 1; min-width: 0; }
.mr-t { font-size: 10px; font-weight: 600; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-s { font-size: 8.5px; color: #8e8e93; }
.mr-right { flex-shrink: 0; }
.mr-badge { font-size: 8px; font-weight: 500; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.mb-g { background: #f0fdf4; color: #16a34a; }
.mb-b { background: #eff6ff; color: #3b82f6; }
.mr-check { width: 15px; height: 15px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 8px; color: #fff; font-weight: 700; }
.mr-avs { display: flex; }
.mr-av { width: 13px; height: 13px; border-radius: 50%; font-size: 5.5px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid #f2f2f7; margin-left: -3px; }
.mr-av:first-child { margin-left: 0; }
/* expense mini */
.mu-exp { background: var(--bg); border-radius: 8px; padding: 9px 10px; }
.mue-total { font-size: 15px; font-weight: 700; color: #000; letter-spacing: -.02em; margin-bottom: 8px; font-family: -apple-system, sans-serif; }
.mue-row { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.mue-row:last-child { margin-bottom: 0; }
.mue-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.mue-bar { flex: 1; height: 2px; background: #e5e5ea; border-radius: 1px; overflow: hidden; }
.mue-fill { height: 100%; border-radius: 1px; }
.mue-val { font-size: 8.5px; color: #8e8e93; width: 32px; text-align: right; font-family: -apple-system, sans-serif; }
/* settle mini */
.mu-settle { background: var(--bg); border-radius: 8px; padding: 7px 9px; display: flex; align-items: center; gap: 6px; font-family: -apple-system, sans-serif; margin-bottom: 5px; }
.mu-settle:last-child { margin-bottom: 0; }
.ms-avs { display: flex; align-items: center; gap: 3px; }
.ms-av { width: 14px; height: 14px; border-radius: 50%; font-size: 5.5px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; }
.ms-arr { font-size: 9px; color: #c7c7cc; }
.ms-body { flex: 1; }
.ms-name { font-size: 9.5px; font-weight: 600; color: #000; }
.ms-note { font-size: 8px; color: #8e8e93; }
.ms-amt { font-size: 10px; font-weight: 600; color: var(--blue); }
.ms-paid { font-size: 9px; color: var(--green); }

/* ─────────────────────────────────────
   FEATURE BLOCKS
───────────────────────────────────── */
.features-section { background: var(--white); border-top: 1px solid var(--border); }
.feat {
  max-width: 1100px; margin: 0 auto; padding: 96px 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.feat:last-child { border-bottom: none; }
.feat.rev { direction: rtl; }
.feat.rev > * { direction: ltr; }
.feat-tag { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 12px; }
.feat-tag-tripdash { color: #78d98f; }
.feat-h { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--text); margin-bottom: 14px; }
.feat-h em { font-style: normal; font-weight: 300; color: var(--t3); }
.feat-p { font-size: 15px; font-weight: 300; color: var(--t3); line-height: 1.8; margin-bottom: 24px; }
.feat-list { display: flex; flex-direction: column; }
.feat-li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--t3);
}
.feat-li:first-child { border-top: 1px solid var(--border); }
.fl-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 7px; }
.feat-li strong { color: var(--text); font-weight: 500; }

/* ─── Trip Dashboard mock (Itinerary) ─── */
.feat-tripdash {
  --tripdash-sticky-top: 72px;
  --tripdash-shell-h: min(78vh, 700px);
  --td-surface: #f2f3f6;
  --td-card: #ffffff;
  --td-card-radius: 14px;
  --td-card-gap: 8px;
  --td-event-card-h: 100px;
  --td-square-card-size: 86px;
  --td-border: rgba(0,0,0,.08);
  --td-text: #151517;
  --td-muted: #8e9098;
  align-items: stretch;
}
.tripdash-copy {
  min-height: 100%;
}
.tripdash-copy-sticky {
  position: sticky;
  top: var(--tripdash-sticky-top);
  height: var(--tripdash-shell-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  padding-right: 6px;
}
.tripdash-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.tripdash-shell {
  position: sticky;
  top: var(--tripdash-sticky-top);
  width: min(100%, 420px);
  margin-left: auto;
  height: var(--tripdash-shell-h);
  background: var(--td-surface);
  border: 1px solid var(--td-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05), 0 10px 34px rgba(0,0,0,.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
.tripdash-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 10px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tripdash-scroll-spacer {
  height: 0;
  flex-shrink: 0;
  pointer-events: none;
}
.tripdash-scroll::-webkit-scrollbar { display: none; }
.td-trip-card .ios-trip {
  width: 100%;
  --ios-trip-height: 108px;
  --ios-trip-radius: 15px;
  --ios-trip-glass-min-height: 42px;
  --ios-trip-glass-inset-x: 9px;
  --ios-trip-glass-inset-bottom: 8px;
  --ios-trip-title-size: 14px;
  --ios-trip-date-size: 9px;
  --ios-trip-avatar-size: 22px;
  --ios-trip-avatar-font-size: 8px;
  --ios-trip-avatar-overlap: -5px;
  --ios-trip-avatar-border: 1.2px;
}
.td-sec { display: grid; gap: 10px; }
.td-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 0;
}
.td-sec-head h4 {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--td-text);
}
.td-plus-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.2);
  background: #fff;
  color: #8e9098;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.td-cards {
  display: grid;
  gap: var(--td-card-gap);
}
.td-card {
  height: var(--td-event-card-h);
  border-radius: var(--td-card-radius);
  border: 1px solid var(--td-border);
  background: var(--td-card);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 12px 8px;
  overflow: hidden;
}
.td-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.td-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--td-muted);
  line-height: 1.2;
}
.td-card-icon {
  width: 18px;
  height: 18px;
  color: #c2c4ca;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.td-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.td-card-map {
  width: 20px;
  height: 20px;
  color: #c7c9cf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.td-card-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.td-card-title {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--td-text);
  line-height: 1.18;
}
.td-card-body {
  padding-left: 25px;
}
.td-card-sub {
  font-size: 14px;
  color: var(--td-muted);
  margin-top: 1px;
}
.td-card-avatars {
  display: flex;
  align-items: center;
  margin-top: -8px;
  justify-content: flex-end;
  transform: none;
}
.td-card-avatars .it-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  color: rgba(58,63,72,.98);
  background: rgba(178,183,193,.9);
  border: 1px solid rgba(255,255,255,.92);
  margin-left: -6px;
  backdrop-filter: none;
}
.td-card-avatars .it-av:first-child { margin-left: 0; }
.td-card-avatars .it-av.is-primary {
  background: var(--ios-trip-avatar-primary-bg);
  border-color: rgba(255,255,255,.25);
  color: var(--ios-trip-avatar-primary-text);
}
.td-weather {
  border-radius: var(--td-card-radius);
  border: 1px solid var(--td-border);
  background: #f6f7fb;
  padding: 8px;
  display: grid;
  gap: 5px;
}
.td-weather-hd {
  display: flex;
  justify-content: space-between;
  color: var(--td-muted);
  font-size: 10px;
}
.td-weather-day {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 6px;
}
.td-day-main {
  font-size: 16px;
  font-weight: 600;
  color: var(--td-text);
}
.td-day-date { font-size: 11px; color: var(--td-muted); }
.td-day-ico { font-size: 14px; }
.td-day-temp {
  justify-self: end;
  font-size: 14px;
  letter-spacing: -.02em;
  color: #121317;
}
.td-hourly {
  --td-hour-gap: 6px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--td-hour-gap);
}
.td-hourly.has-carousel-track {
  display: block;
  overflow: hidden;
  --td-hour-visible-slots: 8.8;
  --td-hour-slot-w: calc((100% - (var(--td-hour-gap) * (var(--td-hour-visible-slots) - 1))) / var(--td-hour-visible-slots));
}
.td-hourly.has-carousel-track .td-hourly-track {
  display: flex;
  align-items: stretch;
  gap: var(--td-hour-gap);
  width: max-content;
  transform: translate3d(0px, 0, 0);
  will-change: transform;
}
.td-hourly.has-carousel-track .td-hour {
  flex: 0 0 var(--td-hour-slot-w);
}
.td-hour {
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  padding: 6px 2px;
  min-height: 45px;
  display: grid;
  gap: 2px;
  text-align: center;
}
.td-hour span:first-child { font-size: 9px; color: var(--td-muted); }
.td-hour span:nth-child(2) { font-size: 12.5px; line-height: 1; }
.td-hour strong { font-size: 10.5px; font-weight: 600; color: #151517; }
.td-weather-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.td-weather-row span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--td-text);
}
.td-weather-row small {
  font-size: 10px;
  color: var(--td-muted);
  margin-left: 4px;
  font-weight: 400;
}
.td-weather-row span:nth-child(2) { font-size: 12px; }
.td-weather-row span:nth-child(3) { font-size: 13px; color: #151517; }
.td-weather-link {
  font-size: 10px;
  color: #2d87f3;
}
.td-ess-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--td-card-gap);
}
.td-ess-card {
  min-height: var(--td-square-card-size);
  border-radius: var(--td-card-radius);
  border: 1px solid var(--td-border);
  background: var(--td-card);
  padding: 8px 9px 7px;
  display: grid;
  align-content: start;
  gap: 3px;
}
.td-ess-ico { font-size: 16px; line-height: 1; }
.td-ess-title {
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 650;
  color: var(--td-text);
}
.td-ess-sub {
  font-size: 9px;
  color: var(--td-muted);
  line-height: 1.25;
}
.td-fin-card {
  border-radius: var(--td-card-radius);
  border: 1px solid var(--td-border);
  background: var(--td-card);
  padding: 8px;
  display: grid;
  gap: 4px;
}
.td-fin-label {
  font-size: 12px;
  color: var(--td-muted);
}
.td-fin-value {
  font-size: 28px;
  line-height: 1.05;
  font-weight: 670;
  letter-spacing: -.03em;
  color: #111216;
}
.td-fin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1a1b20;
  padding: 3px 0;
}
.td-fin-row strong {
  font-size: 15px;
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 620;
  color: #111216;
}
.td-fin-cat .td-fin-row { border-top: 1px solid #ececef; }
.td-fin-cat .td-fin-row:first-of-type { border-top: none; }
.td-fin-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}
.td-fin-cat {
  position: relative;
  overflow: hidden;
}
.td-fin-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.td-fin-cat-toggle {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #9b9da6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.td-fin-cat-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}
.td-fin-cat-toggle:hover { color: #7f828c; }
.td-fin-cat-toggle[aria-pressed="true"] { color: #666972; }
.td-fin-cat-list { display: grid; gap: 0; }
.td-fin-cat-chart {
  position: absolute;
  inset: 26px 8px 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: center;
  gap: 8px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.td-fin-cat-legend {
  display: grid;
  gap: 5px;
}
.td-fin-cat-legend-item {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 5px;
}
.td-fin-cat-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0;
}
.td-fin-cat-legend-name {
  font-size: 15px;
  line-height: 1.2;
  color: #17181d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.td-fin-cat-legend-value {
  margin-top: 0;
  font-size: 12px;
  color: #111216;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.td-fin-cat-ring-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  justify-self: end;
}
.td-fin-cat-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #34a77b 0 70.4%, #5b8ee8 70.4% 85.9%, #f68a4a 85.9% 92.95%, #8fcf75 92.95% 100%);
}
.td-fin-cat-ring-hole {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #fff;
}
.td-fin-cat.is-chart .td-fin-cat-list { visibility: hidden; }
.td-fin-cat.is-chart .td-fin-cat-chart { opacity: 1; }
.td-fin-settle {
  gap: 0;
  padding: 8px;
}
.td-fin-settle .td-fin-label {
  background: transparent;
  color: var(--td-muted);
  font-size: 12px;
  font-weight: 400;
  padding: 0;
  border-bottom: none;
}
.td-fin-set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid #ececef;
  background: transparent;
}
.td-fin-set-row:first-of-type { border-top: none; }
.td-fin-set-row.is-paid { background: #eef8f1; }
.td-fin-set-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.td-fin-set-avs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}
.td-fin-av {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: rgba(68,73,82,.96);
  background: rgba(187,190,197,.72);
  border: 1px solid rgba(255,255,255,.82);
}
.td-fin-av-j { background: rgba(187,190,197,.72); }
.td-fin-av-e { background: rgba(187,190,197,.72); }
.td-fin-av-t { background: rgba(187,190,197,.72); }
.td-fin-av-p {
  background: var(--ios-trip-avatar-primary-bg);
  color: var(--ios-trip-avatar-primary-text);
  border-color: rgba(255,255,255,.25);
}
.td-fin-set-arrow {
  color: #b4b8c1;
  font-size: 12px;
  line-height: 1;
}
.td-fin-set-name {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  color: #1a1b20;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.td-fin-set-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.td-fin-set-amount {
  font-size: 15px;
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 620;
  color: #111216;
}
.td-fin-set-paid {
  color: #22c55e;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 620;
}
.td-fin-set-caret {
  display: none;
}

/* ─── App panels ─── */
.app-panel {
  background: #f2f2f7; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 16px rgba(0,0,0,.05), 0 12px 48px rgba(0,0,0,.04);
}
.ap-hd {
  background: rgba(255,255,255,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07); padding: 12px 14px;
}
.ap-hd-t { font-size: 13px; font-weight: 600; color: #000; font-family: -apple-system, sans-serif; }
.ap-hd-s { font-size: 11px; color: #8e8e93; margin-top: 1px; font-family: -apple-system, sans-serif; }
.ap-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.ap-row {
  background: #fff; border-radius: 10px; padding: 10px 12px;
  display: flex; align-items: center; gap: 9px;
  font-family: -apple-system, sans-serif;
}
.ar-icon { font-size: 14px; flex-shrink: 0; }
.ar-body { flex: 1; }
.ar-t { font-size: 12px; font-weight: 600; color: #000; }
.ar-s { font-size: 10px; color: #8e8e93; margin-top: 1px; }
.ar-chips { display: flex; gap: 4px; margin-top: 3px; }
.ar-chip { font-size: 8.5px; background: #f2f2f7; border-radius: 5px; padding: 1.5px 6px; color: #3c3c43; }
.ar-right { flex-shrink: 0; }
.ar-map { opacity: .3; font-size: 14px; }
.ar-avs { display: flex; }
.ar-av { width: 15px; height: 15px; border-radius: 50%; font-size: 6px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; border: 1.5px solid #f2f2f7; margin-left: -3px; }
.ar-av:first-child { margin-left: 0; }
.ar-badge { font-size: 9px; font-weight: 500; padding: 2px 7px; border-radius: 5px; }
.arb-g { background: #f0fdf4; color: #16a34a; }
.arb-b { background: #eff6ff; color: #3b82f6; }

/* ─── Finance panel — app-faithful ─── */
.fin-panel {
  background: #f2f2f7; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 16px rgba(0,0,0,.05), 0 12px 48px rgba(0,0,0,.04);
  font-family: -apple-system, sans-serif;
}
.fin-hd {
  background: rgba(255,255,255,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07); padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.fin-hd-t { font-size: 13px; font-weight: 600; color: #000; }
.fin-hd-s { font-size: 11px; color: #8e8e93; margin-top: 1px; }
.fin-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }

/* Summary tile row */
.fin-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.fin-tile { background: #fff; border-radius: 10px; padding: 11px 12px; }
.fin-tile-l { font-size: 10px; color: #8e8e93; margin-bottom: 3px; }
.fin-tile-v {
  font-size: 20px; font-weight: 700; color: #000;
  letter-spacing: -.03em; line-height: 1;
}
.fin-tile-v.green { color: #30d158; }
.fin-tile-v.blue  { color: #3b82f6; }

/* Breakdown bar chart */
.fin-breakdown { background: #fff; border-radius: 10px; padding: 12px; }
.fin-bd-hd { font-size: 11px; font-weight: 600; color: #000; margin-bottom: 11px; }
.fin-bd-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.fin-bd-row:last-child { margin-bottom: 0; }
.fin-bd-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fin-bd-lbl { font-size: 11px; color: #3c3c43; width: 76px; flex-shrink: 0; }
.fin-bd-bar { flex: 1; height: 4px; background: #f2f2f7; border-radius: 2px; overflow: hidden; }
.fin-bd-fill { height: 100%; border-radius: 2px; }
.fin-bd-val { font-size: 11px; color: #3c3c43; font-weight: 500; width: 50px; text-align: right; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.fin-bd-pct { font-size: 9.5px; color: #c7c7cc; width: 28px; text-align: right; flex-shrink: 0; }

/* Per-person tiles */
.fin-people { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.fin-person { background: #fff; border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; }
.fp-av { width: 28px; height: 28px; border-radius: 50%; font-size: 10px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fp-name { font-size: 11.5px; font-weight: 600; color: #000; }
.fp-amt { font-size: 10px; color: #8e8e93; margin-top: 1px; }
.fp-bal { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 5px; margin-left: auto; }
.fpb-p { background: #f0fdf4; color: #16a34a; }
.fpb-m { background: #fff1f2; color: #e11d48; }
.fpb-z { background: #f2f2f7; color: #8e8e93; }

/* Settlement list */
.fin-settle { background: #fff; border-radius: 10px; overflow: hidden; }
.fs-hd { padding: 11px 12px 8px; border-bottom: 1px solid #f2f2f7; }
.fs-hd-t { font-size: 11px; font-weight: 600; color: #000; }
.fs-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-bottom: 1px solid #f2f2f7;
  transition: background .15s;
}
.fs-row:last-child { border-bottom: none; }
.fs-row:hover { background: #fafafa; }
.fsr-avs { display: flex; align-items: center; gap: 4px; }
.fsr-av { width: 22px; height: 22px; border-radius: 50%; font-size: 8px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; }
.fsr-arr { font-size: 10px; color: #c7c7cc; }
.fsr-body { flex: 1; }
.fsr-name { font-size: 11.5px; font-weight: 600; color: #000; }
.fsr-note { font-size: 9.5px; color: #8e8e93; }
.fsr-amt { font-size: 12.5px; font-weight: 600; color: #3b82f6; flex-shrink: 0; }
.fsr-paid { font-size: 11px; color: #30d158; flex-shrink: 0; }
.fsr-caret { font-size: 12px; color: #c7c7cc; flex-shrink: 0; }

/* Groups panel */
.grp-panel {
  background: #111213; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.16), 0 16px 56px rgba(0,0,0,.12);
  font-family: -apple-system, sans-serif;
}
.grp-hd { background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); padding: 12px 14px; }
.grp-hd-t { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.grp-hd-s { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 1px; }
.grp-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.grp-row { background: rgba(255,255,255,.05); border-radius: 10px; padding: 9px 11px; display: flex; align-items: center; gap: 9px; }
.gr-av { width: 28px; height: 28px; border-radius: 50%; font-size: 10px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gr-name { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.8); flex: 1; }
.gr-role { font-size: 9px; color: rgba(255,255,255,.3); font-weight: 400; }
.gr-bal { font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 5px; flex-shrink: 0; }
.gb-p { background: rgba(48,209,88,.1); color: #30d158; }
.gb-m { background: rgba(255,60,60,.1); color: #ff5f5f; }
.gb-z { background: rgba(255,255,255,.06); color: rgba(255,255,255,.3); }
.grp-invite { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; }
.gi-icon { font-size: 15px; }
.gi-t { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); }
.gi-s { font-size: 9.5px; color: rgba(255,255,255,.3); }
.gi-btn { background: #3b82f6; color: #fff; border-radius: 7px; padding: 5px 12px; font-size: 11px; font-weight: 600; flex-shrink: 0; cursor: pointer; }

/* ─────────────────────────────────────
   ONBOARDING
───────────────────────────────────── */
.onboarding-story {
  --story-nav-h: 54px;
  --story-progress: 0;
  --story-shell-pre: min(86vh, 880px);
  --story-shell-pinned: min(86vh, 880px);
  --story-shell-max: 900px;
  --story-stage-min-h: 500px;
  background: #0D0D0D;
  padding: 72px 0 0;
  border-top: 1px solid #1a1a1a;
}
.story-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.story-header {
  display: block;
  max-width: none;
  margin-bottom: 8px;
  position: static;
  top: auto;
  padding-bottom: 0;
  transition: none;
}
.story-h { font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.story-h em { font-style: normal; color: var(--green); }
.story-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.35); line-height: 1.75; align-self: end; }
.pin-start-sentinel { height: 1px; }
.story-pin {
  position: sticky;
  top: calc(var(--story-nav-h) + 8px);
  height: calc(100vh - var(--story-nav-h) - 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.story-shell {
  width: 100%;
  height: min(var(--story-shell-pre), var(--story-shell-max));
  background: #0D0D0D;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 24px 56px rgba(0,0,0,.28);
  transition: height .58s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
  display: grid;
  grid-template-rows: auto auto auto minmax(var(--story-stage-min-h), 1fr);
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.onboarding-story.is-pinned .story-shell {
  height: min(var(--story-shell-pinned), var(--story-shell-max));
  transform: translateY(0);
}
.progress-indicator {
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  overflow: hidden;
}
.story-progress-fill {
  display: block;
  height: 100%;
  width: calc(var(--story-progress) * 100%);
  border-radius: 999px;
  background: linear-gradient(90deg,#30D158,#7CE6A0);
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  transition: opacity .38s cubic-bezier(.2,.8,.2,1), transform .38s cubic-bezier(.2,.8,.2,1);
}
.step-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .25s cubic-bezier(.2,.8,.2,1), filter .25s cubic-bezier(.2,.8,.2,1), border-color .25s cubic-bezier(.2,.8,.2,1), background .25s cubic-bezier(.2,.8,.2,1);
}
.step-card:hover { border-color: rgba(255,255,255,.2); }
.step-card .step-top {
  display: block;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
  margin-bottom: 6px;
}
.step-card .step-title {
  display: block;
  font-size: 17px;
  font-weight: 650;
  color: rgba(255,255,255,.95);
  letter-spacing: -.01em;
  margin-bottom: 0;
}
.step-card .step-desc {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,.48);
}
.step-card.is-active {
  opacity: 1;
  transform: scale(1.03);
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(48,209,88,.5);
  background: rgba(48,209,88,.08);
}
.step-card.is-inactive {
  opacity: .45;
  transform: scale(.98);
  filter: saturate(.7) brightness(.85);
}
.story-stage {
  position: relative;
  min-height: var(--story-stage-min-h);
  height: 100%;
}
.detail-pane {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 2px 0 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 20px;
  min-height: var(--story-stage-min-h);
  height: 100%;
  transition: opacity .42s cubic-bezier(.2,.8,.2,1), transform .42s cubic-bezier(.2,.8,.2,1);
}
.detail-pane.is-swapping .detail-visual,
.detail-pane.is-swapping .detail-copy {
  opacity: .2;
  transform: translateY(12px);
}
.detail-visual,
.detail-copy {
  transition: opacity .3s cubic-bezier(.2,.8,.2,1), transform .3s cubic-bezier(.2,.8,.2,1);
}
.detail-visual {
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}
.detail-step-screen {
  display: none;
  width: min(100%, 362px);
  height: 100%;
  min-height: var(--story-stage-min-h);
  margin: 0 auto;
  background: #050505;
  border: none;
  border-radius: 14px;
  overflow: auto;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  scrollbar-width: none;
}
.detail-step-screen::-webkit-scrollbar { display: none; }
.detail-visual[data-step="1"] {
  padding: 0;
  background: transparent;
}
.detail-visual[data-step="1"] .detail-step1 { display: block; }
.detail-visual[data-step="2"] .detail-step2 { display: block; }
.detail-visual[data-step="3"] .detail-step3 { display: block; }
.detail-visual[data-step="4"] .detail-step4 { display: block; }
.story-veil {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 14px;
  pointer-events: none;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px 28px;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity .46s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1);
  background: rgba(9,9,9,.9);
  backdrop-filter: blur(4px);
}
.story-veil-outro {
  background: rgba(9,9,9,.9);
}
.story-veil-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.03em;
  color: #fff;
  text-wrap: balance;
  display: inline-block;
  padding: .04em 0 .11em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .story-veil-title {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(110deg, #8f949d 8%, #cdd2d9 24%, #ffffff 40%, #ffffff 48%, #f6f9ff 50%, #ffffff 52%, #ffffff 60%, #cfd5dc 76%, #8f949d 92%);
    background-size: 300% 100%;
    background-position: 140% 0;
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(255,255,255,.28)) drop-shadow(0 0 18px rgba(255,255,255,.18));
    animation: storyShimmer 3.2s linear infinite;
  }
}
@keyframes storyShimmer {
  from { background-position: 140% 0; }
  to { background-position: -140% 0; }
}
.onboarding-story.is-intro .story-veil-intro,
.onboarding-story.is-outro .story-veil-outro {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.onboarding-story.is-outro .story-veil-outro {
  transform: translateY(22px) scale(1);
}
.onboarding-story.is-intro .detail-pane,
.onboarding-story.is-outro .detail-pane {
  opacity: 0;
  transform: scale(.97) translateY(16px);
}
.onboarding-story.is-intro .steps-row {
  opacity: .55;
  transform: translateY(5px);
}
.onboarding-story.is-outro .steps-row {
  opacity: .5;
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .story-veil-title {
    animation: none !important;
    background: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}
.tb-topbar {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.tb-nav-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.96);
}
.tb-nav-arrow svg { width: 20px; height: 20px; display: block; }
.tb-progress-row {
  display: flex;
  gap: 9px;
  flex: 1;
}
.tb-progress-seg {
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.tb-progress-main { overflow: hidden; background: rgba(48,209,88,.24); }
.tb-seg-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#2ed695,#6af1b8);
  transition: width .28s cubic-bezier(.2,.8,.2,1);
}
.tb-head {
  text-align: center;
  padding: 24px 14px 18px;
}
.tb-globe {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 8px;
}
.tb-main-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 3px;
}
.tb-main-sub {
  font-size: 11px;
  color: rgba(255,255,255,.56);
}
.detail-step1 .tb-head,
.detail-step2 .tb-head,
.detail-step3 .tb-head,
.detail-step4 .tb-head {
  padding-top: 24px;
  padding-bottom: 18px;
}
.detail-step1 .tb-globe,
.detail-step2 .tb-globe,
.detail-step3 .tb-globe,
.detail-step4 .tb-globe {
  font-size: 72px;
  margin-bottom: 8px;
}
.detail-step1 .tb-main-title,
.detail-step2 .tb-main-title,
.detail-step3 .tb-main-title,
.detail-step4 .tb-main-title {
  font-size: 22px;
  margin-bottom: 3px;
}
.detail-step1 .tb-main-sub,
.detail-step2 .tb-main-sub,
.detail-step3 .tb-main-sub,
.detail-step4 .tb-main-sub {
  font-size: 11px;
}
.tb-list {
  padding: 0 14px 28px;
  display: grid;
  gap: 8px;
}
.tb-item {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  padding: 7px 9px;
  display: grid;
  grid-template-columns: 20px 1fr 18px;
  gap: 9px;
  align-items: center;
}
.tb-ico {
  color: rgba(255,255,255,.58);
  width: 20px;
  height: 20px;
}
.tb-ico svg { width: 20px; height: 20px; display: block; }
.tb-ico-aa {
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tb-item-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.93);
  letter-spacing: -0.01em;
  margin-bottom: 1px;
}
.tb-item-sub {
  font-size: 10.5px;
  line-height: 1.35;
  color: rgba(255,255,255,.5);
}
.tb-status {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.63);
}
.tb-chevron { width: 16px; height: 16px; }
.tb-check-dot {
  display: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
  align-items: center;
  justify-content: center;
}
.tb-check-dot svg { width: 9px; height: 9px; display: block; }
.tb-item.is-done .tb-chevron { display: none; }
.tb-item.is-done .tb-check-dot { display: inline-flex; }
.detail-step1 .tb-list,
.detail-step2 .tb-list,
.detail-step3 .tb-list,
.detail-step4 .tb-list {
  padding: 0 12px 60px;
  gap: 8px;
}
.detail-step1 .tb-item,
.detail-step2 .tb-item,
.detail-step3 .tb-item,
.detail-step4 .tb-item {
  padding: 5px 8px;
  grid-template-columns: 18px 1fr 16px;
  gap: 8px;
}
.detail-step1 .tb-ico,
.detail-step2 .tb-ico,
.detail-step3 .tb-ico,
.detail-step4 .tb-ico {
  width: 18px;
  height: 18px;
}
.detail-step1 .tb-ico svg,
.detail-step2 .tb-ico svg,
.detail-step3 .tb-ico svg,
.detail-step4 .tb-ico svg {
  width: 18px;
  height: 18px;
}
.detail-step1 .tb-item-title,
.detail-step2 .tb-item-title,
.detail-step3 .tb-item-title,
.detail-step4 .tb-item-title {
  font-size: 14px;
}
.detail-step1 .tb-item-sub,
.detail-step2 .tb-item-sub,
.detail-step3 .tb-item-sub,
.detail-step4 .tb-item-sub {
  font-size: 10px;
}
.detail-step1 .tb-status,
.detail-step2 .tb-status,
.detail-step3 .tb-status,
.detail-step4 .tb-status {
  width: 16px;
  height: 16px;
}
.detail-step1 .tb-chevron,
.detail-step2 .tb-chevron,
.detail-step3 .tb-chevron,
.detail-step4 .tb-chevron {
  width: 14px;
  height: 14px;
}
.detail-step1 .tb-check-dot,
.detail-step2 .tb-check-dot,
.detail-step3 .tb-check-dot,
.detail-step4 .tb-check-dot {
  width: 15px;
  height: 15px;
}
.detail-step1 .tb-check-dot svg,
.detail-step2 .tb-check-dot svg,
.detail-step3 .tb-check-dot svg,
.detail-step4 .tb-check-dot svg {
  width: 8px;
  height: 8px;
}
.detail-device {
  width: min(100%, 360px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(170deg,#1d2330,#12161f);
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.detail-visual[data-step="2"] .detail-generic { background: linear-gradient(170deg,#20273a,#121827); }
.detail-visual[data-step="3"] .detail-generic { background: linear-gradient(170deg,#2a2537,#171222); }
.detail-visual[data-step="4"] .detail-generic { background: linear-gradient(170deg,#183427,#102319); }
.dv-topbar { display: flex; gap: 5px; margin-bottom: 10px; }
.dv-topbar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); }
.dv-content { display: grid; gap: 8px; }
.dv-line { height: 9px; border-radius: 4px; background: rgba(255,255,255,.22); }
.dv-line.w1 { width: 82%; }
.dv-line.w2 { width: 64%; }
.dv-line.w3 { width: 74%; }
.dv-block {
  margin-top: 6px;
  height: 80px;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
}
.detail-copy { align-self: center; }
.detail-kicker {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 8px;
}
.detail-title {
  font-size: clamp(20px,2.1vw,30px);
  line-height: 1.18;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.detail-list {
  margin-left: 18px;
  display: grid;
  gap: 8px;
}
.detail-list li {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}
.story-spacer { height: 120vh; pointer-events: none; }
.onboarding-story.is-reduced-motion .story-header {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: static;
  top: auto;
  padding-bottom: 0;
}
.onboarding-story.is-reduced-motion .story-pin { position: relative; top: auto; height: auto; display: block; }
.onboarding-story.is-reduced-motion .story-shell {
  height: auto;
  transform: none;
  grid-template-rows: auto auto auto auto;
}
.onboarding-story.is-reduced-motion .story-spacer { display: none; }

@media(min-width:1500px) {
  .onboarding-story {
    --story-shell-pre: min(90vh, 980px);
    --story-shell-pinned: min(90vh, 980px);
    --story-shell-max: 1000px;
    --story-stage-min-h: 680px;
    padding-top: 40px;
  }
  .detail-pane { min-height: var(--story-stage-min-h); }
  .detail-step-screen { width: min(100%, 428px); min-height: var(--story-stage-min-h); }
}

/* ─────────────────────────────────────
   REVIEWS
───────────────────────────────────── */
.reviews { padding: 100px 0; overflow: hidden; border-top: 1px solid var(--border); }
.rev-head { max-width: 1100px; margin: 0 auto; padding: 0 40px 56px; display: flex; align-items: flex-end; justify-content: space-between; }
.rev-h { font-size: clamp(24px,2.6vw,36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
.rev-h em { font-style: normal; color: var(--t3); font-weight: 300; }
.rev-stat { text-align: right; }
.rev-big { font-size: 48px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--text); }
.rev-stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; }
.rev-count { font-size: 12px; color: var(--t4); margin-top: 3px; }
.mq { overflow: hidden; position: relative; }
.mq::before,.mq::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.mq::before { left: 0; background: linear-gradient(90deg,var(--bg),transparent); }
.mq::after { right: 0; background: linear-gradient(-90deg,var(--bg),transparent); }
.mq-t { display: flex; gap: 12px; width: max-content; animation: mqs 26s linear infinite; }
@keyframes mqs { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.mq-c {
  width: 272px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 18px;
}
.mq-stars { color: #f59e0b; font-size: 11px; letter-spacing: 1px; margin-bottom: 10px; }
.mq-q { font-size: 13.5px; color: var(--t2); line-height: 1.65; margin-bottom: 14px; }
.mq-au { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.mq-av { width: 26px; height: 26px; border-radius: 50%; font-size: 9px; font-weight: 600; color: #fff; display: flex; align-items: center; justify-content: center; }
.mq-name { font-size: 12px; font-weight: 500; color: var(--text); }
.mq-loc { font-size: 11px; color: var(--t4); }

/* ─────────────────────────────────────
   CTA
───────────────────────────────────── */
.cta { background: var(--text); padding: 96px 0; }
.cta-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cta-tag { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 14px; }
.cta-h { font-size: clamp(30px,3.2vw,44px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: #fff; margin-bottom: 16px; }
.cta-h em { font-style: normal; color: rgba(255,255,255,.3); font-weight: 300; }
.cta-p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,.35); line-height: 1.75; margin-bottom: 32px; }
.btn-white { background: #fff; color: var(--text); font-weight: 600; }
.btn-white:hover { background: #f0f0f0; }
.btn-ghost-dk { border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.45); }
.btn-ghost-dk:hover { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.75); }
.cta-list { border-left: 1px solid rgba(255,255,255,.07); padding-left: 72px; display: flex; flex-direction: column; }
.cta-li { display: flex; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.cta-li:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.cta-li-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.86);
  flex-shrink: 0;
}
.cta-li-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-li-t { font-size: 14px; color: rgba(255,255,255,.88); letter-spacing: -.01em; }
.cta-li-s { font-size: 12px; color: rgba(255,255,255,.56); margin-top: 2px; line-height: 1.45; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer { background: var(--text); border-top: 1px solid rgba(255,255,255,.06); padding: 28px 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.3); display: flex; align-items: center; gap: 7px; }
.footer-logo-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.2); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.55); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.15); }

/* ─────────────────────────────────────
   LEGAL PAGES
───────────────────────────────────── */
.legal-main {
  padding: 108px 0 88px;
  background: var(--bg);
  min-height: calc(100vh - 140px);
}
.legal-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.legal-hero {
  max-width: 760px;
  margin-bottom: 28px;
}
.legal-hero .s-tag { margin-bottom: 14px; }
.legal-hero .s-h2 { margin-bottom: 12px; }
.legal-hero .s-sub { max-width: 680px; }
.legal-card {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 30px 26px;
  box-shadow: 0 10px 34px rgba(13,13,13,.05);
}
.legal-card + .legal-card { margin-top: 14px; }
.legal-card h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 22px 0 10px;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p,
.legal-card li {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.7;
}
.legal-card ul {
  margin-left: 18px;
  display: grid;
  gap: 8px;
}
.legal-card a {
  color: var(--blue);
  text-decoration: none;
}
.legal-card a:hover { text-decoration: underline; }
.legal-note {
  color: var(--t3);
  background: #f4f4f2;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
}
.legal-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--t3);
}

/* ─── RESPONSIVE ─── */
@media(max-width:900px) {
  .nav-link { display: none; }
  .nav-inner { padding: 0 14px; }
  .nav-logo {
    font-size: 13px;
    gap: 7px;
  }
  .nav-logo-img {
    width: 21px;
    height: 21px;
  }
  nav ul {
    display: flex;
    margin-left: auto;
    align-items: center;
  }
  nav ul a {
    padding: 0 7px;
    font-size: 11px;
    white-space: nowrap;
  }
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-copy { padding: 60px 24px 40px; max-width: none; }
  .hero-visual { height: 460px; border-left: none; border-top: 1px solid var(--border); }
  .phone-wrap {
    --phone-scale: .88;
    --phone-float-y: 10px;
  }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .stat-col:nth-child(2) { border-right: none; margin-right: 0; padding-right: 0; }
  .how-section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps::before { display: none; }
  .step { padding-right: 0; }
  .feat {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
    direction: ltr !important;
    align-items: stretch;
  }
  .feat.rev > * { direction: ltr; }
  .feat-tripdash {
    --tripdash-shell-h: min(70svh, 560px);
    --td-event-card-h: 72px;
    --td-square-card-size: 60px;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .tripdash-copy {
    min-height: 0;
    align-self: stretch;
  }
  .tripdash-copy-sticky {
    position: relative;
    top: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: none;
    padding-right: 0;
    padding-bottom: 6px;
    z-index: 0;
    background: transparent;
  }
  .tripdash-copy-sticky .feat-p,
  .tripdash-copy-sticky .feat-list {
    transition: none;
  }
  .tripdash-copy-sticky .feat-tag { margin-bottom: 8px; }
  .tripdash-copy-sticky .feat-h { margin-bottom: 9px; }
  .tripdash-copy-sticky .feat-p {
    margin-bottom: 12px;
    line-height: 1.6;
  }
  .tripdash-copy-sticky .feat-li { padding: 8px 0; }
  .tripdash-rail { align-items: stretch; }
  .tripdash-shell {
    position: relative;
    top: auto;
    width: min(100%, 306px);
    margin-left: auto;
    margin-right: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    border-radius: 12px;
  }
  .tripdash-scroll-spacer {
    display: none;
    height: 0;
  }
  .td-trip-card .ios-trip {
    --ios-trip-height: 72px;
    --ios-trip-title-size: 9px;
    --ios-trip-date-size: 6px;
    --ios-trip-avatar-size: 13px;
    --ios-trip-avatar-font-size: 5px;
    --ios-trip-avatar-overlap: -2px;
    --ios-trip-meta-shift-y: 3px;
    --ios-trip-glass-inset-bottom: 3px;
    --ios-trip-glass-pad-y: 3px;
  }
  .td-trip-card .ios-trip .it-avs { transform: translateY(3px); }
  .tripdash-scroll {
    height: auto;
    max-height: none;
    padding: 6px 6px 10px;
    gap: 8px;
    overflow-y: visible;
    overscroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }
  .td-sec-head h4 { font-size: 15px; }
  .td-plus-btn { width: 22px; height: 22px; font-size: 16px; }
  .td-card { grid-template-columns: 18px 1fr auto; padding: 8px; }
  .td-card-avatars {
    margin-top: -8px;
    transform: translateY(-3px);
  }
  .td-card-avatars .it-av {
    width: 16px;
    height: 16px;
    font-size: 6.5px;
    margin-left: -2px;
  }
  .td-card-icon { font-size: 11px; }
  .td-card-meta { font-size: 9px; }
  .td-card-title { font-size: 11px; line-height: 1.14; }
  .td-card-sub { font-size: 9px; }
  .td-hour { padding: 4px 3px; min-height: 34px; }
  .td-hour span:first-child { font-size: 7px; }
  .td-hour span:nth-child(2) { font-size: 10px; }
  .td-hour strong { font-size: 8px; }
  .td-day-main { font-size: 14px; }
  .td-day-date { font-size: 10px; }
  .td-day-temp { font-size: 12px; }
  .td-weather-row span:first-child { font-size: 11px; }
  .td-weather-row small { font-size: 9px; }
  .td-weather-row span:nth-child(2),
  .td-weather-row span:nth-child(3) { font-size: 11px; }
  .td-ess-title { font-size: 11px; }
  .td-ess-sub { font-size: 8px; }
  .td-fin-value { font-size: 23px; }
  .td-fin-row { font-size: 11px; }
  .td-fin-row strong { font-size: 12px; }
  .td-fin-cat-chart { inset: 20px 7px 5px; grid-template-columns: minmax(0, 1fr) 58px; min-height: 0; }
  .td-fin-cat-ring-wrap { width: 58px; height: 58px; }
  .td-fin-cat-ring-hole { inset: 14px; }
  .td-fin-cat-legend-name { font-size: 10px; }
  .td-fin-cat-legend-value { font-size: 9px; }
  .td-fin-set-avs { gap: 2px; }
  .td-fin-av {
    width: 11px;
    height: 11px;
    font-size: 5px;
  }
  .td-fin-set-arrow { font-size: 8px; }
  .td-fin-set-name { font-size: 10px; }
  .td-fin-set-amount { font-size: 11px; }
  .td-fin-set-paid { font-size: 11px; }
  .onboarding-story {
    --story-shell-pre: min(90svh, 740px);
    --story-shell-pinned: min(90svh, 740px);
    --story-shell-max: 760px;
    --story-stage-min-h: 470px;
    padding-top: 16px;
  }
  .story-header {
    position: static;
    top: auto;
    padding-bottom: 0;
    margin-bottom: 6px;
  }
  .onboarding-story.is-pinned .story-header {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .story-pin {
    position: sticky;
    top: calc(var(--story-nav-h) + 4px);
    height: calc(100svh - var(--story-nav-h) - 6px);
    display: flex;
    align-items: flex-start;
    justify-content: stretch;
  }
  .story-shell {
    height: min(var(--story-shell-pre), var(--story-shell-max)) !important;
    border-radius: 14px;
    padding: 10px;
    width: 100%;
  }
  .steps-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding-bottom: 0;
  }
  .step-card {
    min-width: 0;
    padding: 6px 4px;
  }
  .step-card .step-top {
    font-size: 8.5px;
    margin-bottom: 2px;
  }
  .step-card .step-title {
    font-size: 10px;
    line-height: 1.1;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .step-card.is-active { transform: none; }
  .step-card.is-inactive { opacity: .62; filter: none; transform: none; }
  .detail-pane {
    grid-template-columns: 1fr;
    min-height: var(--story-stage-min-h);
    gap: 4px;
    padding-top: 0;
  }
  .detail-copy {
    display: block;
    align-self: start;
  }
  .detail-visual { height: 100%; }
  .detail-step-screen {
    width: min(100%, 264px);
    min-height: var(--story-stage-min-h);
  }
  .tb-head { padding: 10px 8px 8px; }
  .tb-globe { font-size: 34px; margin-bottom: 4px; }
  .tb-main-title { font-size: 14px; margin-bottom: 2px; }
  .tb-main-sub { font-size: 8px; }
  .tb-list { padding: 0 8px 14px; gap: 4px; }
  .tb-item {
    padding: 4px 5px;
    grid-template-columns: 14px 1fr 12px;
    gap: 5px;
    border-radius: 8px;
  }
  .tb-ico,
  .tb-ico svg { width: 14px; height: 14px; }
  .tb-ico-aa {
    width: 14px;
    height: 14px;
    font-size: 11px;
  }
  .tb-item-title { font-size: 11px; margin-bottom: 0; }
  .tb-item-sub { font-size: 8px; line-height: 1.2; }
  .tb-status { width: 12px; height: 12px; }
  .tb-chevron { width: 10px; height: 10px; }
  .tb-check-dot { width: 11px; height: 11px; }
  .tb-check-dot svg { width: 6px; height: 6px; }
  .detail-step1 .tb-list,
  .detail-step2 .tb-list,
  .detail-step3 .tb-list,
  .detail-step4 .tb-list {
    padding: 0 8px 14px;
    gap: 4px;
  }
  .detail-step1 .tb-item,
  .detail-step2 .tb-item,
  .detail-step3 .tb-item,
  .detail-step4 .tb-item {
    padding: 4px 5px;
    grid-template-columns: 14px 1fr 12px;
    gap: 5px;
  }
  .detail-step1 .tb-ico,
  .detail-step2 .tb-ico,
  .detail-step3 .tb-ico,
  .detail-step4 .tb-ico,
  .detail-step1 .tb-ico svg,
  .detail-step2 .tb-ico svg,
  .detail-step3 .tb-ico svg,
  .detail-step4 .tb-ico svg {
    width: 14px;
    height: 14px;
  }
  .detail-step1 .tb-item-title,
  .detail-step2 .tb-item-title,
  .detail-step3 .tb-item-title,
  .detail-step4 .tb-item-title { font-size: 11px; }
  .detail-step1 .tb-item-sub,
  .detail-step2 .tb-item-sub,
  .detail-step3 .tb-item-sub,
  .detail-step4 .tb-item-sub { font-size: 8px; }
  .detail-step1 .tb-status,
  .detail-step2 .tb-status,
  .detail-step3 .tb-status,
  .detail-step4 .tb-status { width: 12px; height: 12px; }
  .detail-step1 .tb-chevron,
  .detail-step2 .tb-chevron,
  .detail-step3 .tb-chevron,
  .detail-step4 .tb-chevron { width: 10px; height: 10px; }
  .detail-step1 .tb-check-dot,
  .detail-step2 .tb-check-dot,
  .detail-step3 .tb-check-dot,
  .detail-step4 .tb-check-dot { width: 11px; height: 11px; }
  .detail-step1 .tb-check-dot svg,
  .detail-step2 .tb-check-dot svg,
  .detail-step3 .tb-check-dot svg,
  .detail-step4 .tb-check-dot svg { width: 6px; height: 6px; }
  .detail-kicker {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .detail-title {
    font-size: clamp(16px, 4.8vw, 22px);
    margin-bottom: 6px;
  }
  .detail-list {
    margin-left: 14px;
    gap: 4px;
  }
  .detail-list li {
    font-size: 11px;
    line-height: 1.35;
  }
  .story-veil {
    display: grid;
    padding: 16px 12px;
  }
  .story-veil-title { font-size: clamp(18px, 6vw, 28px); }
  .story-spacer { display: block; }
  .rev-head { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 24px 48px; }
  .rev-stat { text-align: left; }
  .cta { padding: 14px 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 12px; }
  .cta-tag { margin-bottom: 8px; }
  .cta-h { margin-bottom: 8px; font-size: clamp(24px, 7.2vw, 32px); }
  .cta-p { margin-bottom: 8px; font-size: 13px; line-height: 1.45; }
  .cta-list {
    display: flex;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 10px;
  }
  .cta-li { padding: 8px 0; gap: 10px; }
  .cta-li-icon { width: 28px; height: 28px; }
  .cta-li-icon svg { width: 14px; height: 14px; stroke-width: 1.7; }
  .cta-li-t { font-size: 12px; }
  .cta-li-s { font-size: 10px; line-height: 1.4; }
  footer { padding: 24px 0; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; padding: 0 24px; }
  .footer-links { justify-content: center; }
  .wrap, .story-inner { padding: 0 24px; }
  .how-section { padding: 72px 24px; }
  .legal-main { padding: 96px 0 72px; }
  .legal-shell { padding: 0 24px; }
  .legal-card { padding: 24px 18px 20px; border-radius: 14px; }
}

@media(max-width:640px) {
  .nav-inner { padding: 0 10px; }
  .nav-logo {
    font-size: 12px;
    gap: 6px;
  }
  .nav-logo-img {
    width: 19px;
    height: 19px;
  }
  nav ul a {
    font-size: 10px;
    padding: 0 5px;
  }

  .feat-tripdash {
    --tripdash-shell-h: min(74svh, 520px);
    --td-event-card-h: 66px;
    --td-square-card-size: 54px;
    gap: 12px;
    padding-top: 24px;
    padding-bottom: 0;
  }
  .tripdash-shell {
    width: min(100%, 286px);
    border-radius: 12px;
  }
  .tripdash-copy-sticky .feat-h { font-size: clamp(26px, 8vw, 32px); }
  .tripdash-copy-sticky .feat-p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .tripdash-copy-sticky .feat-li {
    font-size: 12px;
    padding: 6px 0;
  }
  .tripdash-scroll { padding: 5px 5px 8px; gap: 7px; }
  .td-sec-head h4 { font-size: 14px; }
  .td-card-avatars .it-av {
    width: 14px;
    height: 14px;
    font-size: 6px;
    margin-left: -2px;
  }
  .td-card-avatars {
    margin-top: -10px;
    transform: translateY(-4px);
  }
  .td-fin-av {
    width: 10px;
    height: 10px;
    font-size: 5px;
  }
  .td-fin-value { font-size: 21px; }
  .cta { padding: 10px 0; }
  .cta-inner { gap: 6px; }
  .cta-h { font-size: clamp(22px, 7.6vw, 28px); margin-bottom: 6px; }
  .cta-p { margin-bottom: 6px; font-size: 12px; }
  .cta-list { display: flex; padding-top: 6px; }
  .cta-li { padding: 6px 0; gap: 8px; }
  .cta-li-icon { width: 24px; height: 24px; }
  .cta-li-icon svg { width: 12px; height: 12px; stroke-width: 1.6; }
  .cta-li-t { font-size: 11px; }
  .cta-li-s { font-size: 9px; line-height: 1.35; }

  .onboarding-story {
    --story-shell-pre: min(88svh, 620px);
    --story-shell-pinned: min(88svh, 620px);
    --story-shell-max: 640px;
    --story-stage-min-h: 410px;
    padding-top: 14px;
  }
  .story-shell { padding: 8px; }
  .step-card {
    min-width: 0;
    padding: 5px 4px;
  }
  .step-card .step-top {
    display: block;
    font-size: 8px;
    margin-bottom: 2px;
  }
  .step-card .step-title { font-size: 9px; line-height: 1.1; }
  .detail-step-screen { width: min(100%, 244px); }
  .story-veil { padding: 12px 10px; }
  .story-veil-title { font-size: clamp(16px, 6.2vw, 24px); }
  .detail-kicker {
    font-size: 8px;
    margin-bottom: 3px;
  }
  .detail-title { font-size: clamp(15px, 5vw, 20px); margin-bottom: 5px; }
  .detail-list { margin-left: 12px; gap: 3px; }
  .detail-list li {
    font-size: 10px;
    line-height: 1.3;
  }
  .hero-visual { height: 420px; }
  .phone-wrap {
    --phone-scale: .8;
    --phone-float-y: 8px;
  }
}

@media(min-width:901px) and (max-width:1499px) {
  .phone-wrap {
    --phone-scale: 1;
    --phone-float-y: 12px;
  }
}

@media(min-width:1500px) {
  nav { height: 60px; }
  .nav-inner,
  .wrap,
  .story-inner,
  .rev-head,
  .cta-inner,
  .footer-inner,
  .legal-shell { max-width: 1280px; }
  .nav-logo { font-size: 17px; }
  .nav-logo-img { width: 30px; height: 30px; }
  nav ul a,
  .nav-link,
  .nav-cta { font-size: 15px; }

  .hero {
    padding-top: 60px;
    grid-template-columns: 50% 50%;
  }
  .hero-copy { padding: 128px 86px 96px 64px; max-width: 660px; }
  .hero-tag { font-size: 14px; padding: 7px 16px 7px 12px; }
  .hero-h1 { font-size: clamp(52px, 4.8vw, 78px); }
  .hero-p { font-size: 20px; max-width: 520px; }
  .btn { font-size: 16px; padding: 13px 25px; }
  .app-store-badge-link img { height: 56px; }
  .hero .hero-btns .btn-outline {
    width: 194px;
    height: 56px;
    padding: 0 25px;
  }
  .phone-wrap {
    --phone-scale: 1.14;
    --phone-float-y: 10px;
  }

  .s-h2 { font-size: clamp(32px, 3vw, 46px); }
  .s-sub { font-size: 18px; }
  .step-title { font-size: 17px; }
  .step-desc { font-size: 14px; }
  .feat-h { font-size: clamp(30px, 3.1vw, 44px); }
  .feat-p { font-size: 17px; }
  .feat-li { font-size: 16px; }
  .story-h { font-size: clamp(32px, 3vw, 46px); }
  .step-card .step-top { font-size: 11.5px; }
  .step-card .step-title { font-size: 19px; }
  .detail-title { font-size: clamp(26px, 2.4vw, 38px); }
  .detail-list li { font-size: 16px; }
  .rev-h { font-size: clamp(30px, 3.1vw, 44px); }
  .rev-big { font-size: 58px; }
  .mq-q { font-size: 15px; }
  .cta-h { font-size: clamp(36px, 3.5vw, 52px); }
  .cta-p { font-size: 18px; }
}

@media(min-width:1900px) {
  .phone-wrap {
    --phone-scale: 1.2;
    --phone-float-y: 9px;
  }
}
