/* ============================================================
   RoamDrop website — shared styles
   Plain CSS, no dependencies. Mobile-first, works desktop + phone.
   Visual language follows the app design system:
   airy white + cool tint, violet brand accent + travel-semantic
   colors, soft blue-undertone shadows, no gradient blobs.
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-tint: #f5f6ff;     /* cool airy section tint */
  --bg-soft: #eef0fe;     /* alt section */
  --bg-warm: #fff6f1;     /* warm coral tint, used sparingly */
  --card: #ffffff;
  --line: #e8e9f4;

  /* Text */
  --ink: #15172b;
  --ink-2: #2b2e45;
  --muted: #5d6377;

  /* Brand + travel-semantic accents */
  --brand: #6d42f5;
  --brand-strong: #5a2ee0;
  --brand-soft: #efe9ff;
  --coral: #ff6a5e;
  --amber: #f2a93b;
  --teal: #2fa896;
  --blue: #3f7bf2;
  --magenta: #d6489b;

  /* Radii */
  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-round: 999px;

  /* Shadows (soft, blue undertone — never heavy black) */
  --shadow-card: 0 14px 34px rgba(46, 40, 110, .08);
  --shadow-float: 0 26px 60px rgba(46, 40, 110, .14);
  --shadow-button: 0 12px 24px rgba(109, 66, 245, .26);

  --container: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg { max-width: 100%; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* Visually-hidden (a11y) */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Icon sprite glyphs */
.ico { width: 22px; height: 22px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 15px 22px;
  border-radius: var(--r-round);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover { background: var(--brand-strong); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.btn-secondary:hover { background: var(--bg-tint); }
.btn-ghost {
  background: transparent;
  color: var(--brand-strong);
  padding: 12px 14px;
}

/* App Store coming-soon badge */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  border-radius: var(--r-md);
  background: #15172b;
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.appstore .ico { width: 26px; height: 26px; }
.appstore small { display: block; font-size: 11px; opacity: .72; font-weight: 500; letter-spacing: .02em; }
.appstore b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.appstore:hover { text-decoration: none; opacity: .94; }

/* ----------------------------------------------------------------
   Header / nav
   ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--brand), #9b7cff);
  display: grid; place-items: center;
  box-shadow: var(--shadow-button);
}
.brand-mark .ico { width: 17px; height: 17px; color: #fff; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 14px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 18px; font-size: 15px; }

/* ----------------------------------------------------------------
   Sections
   ---------------------------------------------------------------- */
.section { padding: 84px 0; }
.section.tint { background: var(--bg-tint); }
.section.soft { background: var(--bg-soft); }
.section.warm { background: var(--bg-warm); }
.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-strong);
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: var(--r-round);
  margin-bottom: 16px;
}

h1, h2, h3 { letter-spacing: -.022em; color: var(--ink); }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.05; font-weight: 800; margin: 0 0 18px; }
h2 { font-size: clamp(27px, 3.6vw, 38px); line-height: 1.12; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; margin: 0 0 8px; }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); margin: 0; }

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(120% 90% at 88% -10%, var(--brand-soft) 0%, rgba(239,233,255,0) 55%),
    radial-gradient(90% 80% at -5% 10%, #eef6ff 0%, rgba(238,246,255,0) 50%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 { margin-top: 6px; }
.hero .lead { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-store { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.trust-strip {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip .ico { width: 17px; height: 17px; color: var(--teal); }

/* ----------------------------------------------------------------
   Hero visual: scattered inputs -> organized board
   ---------------------------------------------------------------- */
.transform {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.scatter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 12px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.chip .ico { width: 19px; height: 19px; color: var(--muted); }
.chip-i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.chip-i .ico { width: 18px; height: 18px; color: #fff; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.chip:nth-child(1) { transform: rotate(-2.5deg); }
.chip:nth-child(2) { transform: rotate(1.5deg); }
.chip:nth-child(3) { transform: rotate(1.8deg); }
.chip:nth-child(4) { transform: rotate(-1.6deg); }
.chip:nth-child(5) { transform: rotate(-1.2deg); }
.chip:nth-child(6) { transform: rotate(2deg); }

.flow-arrow { display: grid; place-items: center; color: var(--brand); }
.flow-arrow .ico { width: 30px; height: 30px; }

/* Phone with organized board */
.phone {
  background: #11132a;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-float);
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.phone-screen {
  background: var(--bg-tint);
  border-radius: 28px;
  padding: 16px 13px;
  overflow: hidden;
}
.phone-top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 12px;
}
.phone-top .pill-day { background: var(--brand); color: #fff; padding: 3px 10px; border-radius: var(--r-round); font-size: 11px; }
.daycol { margin-bottom: 12px; }
.daycol h4 { margin: 0 0 7px; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.icard {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-card);
  padding: 9px 11px;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 9px;
}
.icard .ico { width: 16px; height: 16px; }
.icard b { font-size: 12.5px; font-weight: 700; display: block; line-height: 1.25; }
.icard small { font-size: 11px; color: var(--muted); }
.icard.flight { border-left-color: var(--teal); }
.icard.stay { border-left-color: var(--brand); }
.icard.food { border-left-color: var(--amber); }
.icard.tour { border-left-color: var(--magenta); }
.icard.place { border-left-color: var(--blue); }
.icard.flight .ico { color: var(--teal); }
.icard.stay .ico { color: var(--brand); }
.icard.food .ico { color: var(--amber); }
.icard.tour .ico { color: var(--magenta); }
.icard.place .ico { color: var(--blue); }
.inbox-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--brand-strong);
  background: var(--brand-soft); padding: 4px 9px; border-radius: var(--r-round);
  margin-bottom: 8px;
}
.inbox-tag .ico { width: 13px; height: 13px; }

/* color helpers for chip icon tiles */
.bg-brand { background: var(--brand); }
.bg-coral { background: var(--coral); }
.bg-amber { background: var(--amber); }
.bg-teal { background: var(--teal); }
.bg-blue { background: var(--blue); }
.bg-magenta { background: var(--magenta); }

/* ----------------------------------------------------------------
   Real App Store badge (header / hero / final / footer)
   ---------------------------------------------------------------- */
.store-badge { display: inline-flex; line-height: 0; border-radius: 11px; box-shadow: 0 10px 24px rgba(17,20,45,.16); transition: transform .15s ease, box-shadow .2s ease; }
.store-badge:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-float); }
.store-badge svg { display: block; }
.store-note { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ----------------------------------------------------------------
   Hero "app board" — faithful recreation of the RoamDrop board,
   with a looping inbox-card -> day animation. Pure CSS, no images.
   Mirrors the app: gradient category cards, dotted drag handle,
   day columns, dashed drop zone, dark coaching bubble, FAB.
   ---------------------------------------------------------------- */
.ab-stage { position: relative; width: 100%; max-width: 320px; margin: 0 auto; }
.ab-phone { position: relative; background: #11132a; border-radius: 42px; padding: 12px; box-shadow: var(--shadow-float); }
.ab-screen {
  position: relative; height: 588px; overflow: hidden; border-radius: 32px;
  padding: 16px 14px 0;
  background: linear-gradient(160deg, #F8F9FF, #F4F6FF 58%, #FBFAFF);
}

/* header */
.ab-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.ab-head .ico { width: 25px; height: 25px; color: var(--ink); }
.ab-title { font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.ab-subt { font-size: 12px; color: #8A91A8; font-weight: 600; margin-top: 3px; }

/* section header */
.ab-sec { display: flex; align-items: center; gap: 7px; margin: 0 2px 9px; }
.ab-sec .ico { width: 15px; height: 15px; color: var(--brand); }
.ab-sec b { font-size: 14px; color: var(--ink); font-weight: 700; }
.ab-count { font-size: 11px; font-weight: 700; color: var(--brand-strong); background: #F1EDFF; padding: 2px 8px; border-radius: 999px; }

/* filter pills */
.ab-pills { display: flex; gap: 7px; margin-bottom: 12px; }
.ab-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; height: 30px; padding: 0 11px; border-radius: 999px; white-space: nowrap; }
.ab-pill .ico { width: 13px; height: 13px; }
.ab-pill.on { color: var(--brand-strong); background: #F1EDFF; border: 1px solid #D9CEFF; }
.ab-pill.off { color: #596078; background: #F6F7FA; border: 1px solid #EEF0F5; }

/* gradient category card (matches the app's BoardItemCard) */
.ab-card { border-radius: 11px; padding: 13px 11px 12px 9px; display: flex; gap: 8px; border: 1px solid; box-shadow: 0 8px 18px rgba(17,20,45,.08); }
.ab-handle { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.ab-handle i { width: 4px; height: 4px; border-radius: 50%; background: rgba(101,112,138,.6); display: block; }
.ab-body { flex: 1; min-width: 0; }
.ab-card .ico { width: 21px; height: 21px; margin-bottom: 9px; }
.ab-card b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.22; }
.ab-card small { font-size: 11.5px; font-weight: 500; }
.ab-flight { background: linear-gradient(135deg,#E3F7F4,#CFF0EB); border-color: rgba(14,158,153,.28); } .ab-flight .ico { color: #0E9E99; } .ab-flight small { color: #2E4A48; }
.ab-stay   { background: linear-gradient(135deg,#F1ECFF,#E9E2FF); border-color: rgba(122,90,248,.28); } .ab-stay .ico { color: #7A5AF8; } .ab-stay small { color: #38405A; }
.ab-tour   { background: linear-gradient(135deg,#FCEAF3,#F9D9E9); border-color: rgba(214,72,154,.28); } .ab-tour .ico { color: #D6489A; } .ab-tour small { color: #553246; }
.ab-food   { background: linear-gradient(135deg,#FFEDE6,#FFDFD2); border-color: rgba(244,93,47,.28); } .ab-food .ico { color: #F45D2F; } .ab-food small { color: #5A4851; }
.ab-place  { background: linear-gradient(135deg,#EFF8EF,#E3F4E1); border-color: rgba(31,162,87,.28); } .ab-place .ico { color: #1FA257; } .ab-place small { color: #34433A; }

/* inbox row */
.ab-row { display: flex; gap: 11px; margin-bottom: 18px; }
.ab-row .ab-card { width: 132px; flex: 0 0 auto; }

/* calendar columns */
.ab-cal { display: flex; gap: 11px; align-items: flex-start; }
.ab-col { flex: 1; min-width: 0; background: rgba(255,255,255,.82); border: 1px solid #E5E8F0; border-radius: 13px; padding: 11px 10px; }
.ab-day { font-size: 15px; font-weight: 700; color: var(--ink); }
.ab-wd { font-size: 12px; font-weight: 600; color: #2B3048; margin-bottom: 9px; }
.ab-drop { border: 1.4px dashed #D8CCFF; border-radius: 11px; min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; padding: 10px; background: rgba(255,255,255,.4); transition: background .35s ease, border-color .35s ease; }
.ab-drop .ico { width: 26px; height: 26px; color: var(--brand); }
.ab-drop span { font-size: 11px; font-weight: 600; color: #2B3048; line-height: 1.25; }
.ab-drop.is-active { border-color: #7A5AF8; border-style: solid; background: #F1ECFF; animation: ab-drop-pulse 7s ease-in-out infinite; }
.ab-col .ab-card { box-shadow: 0 8px 16px rgba(17,20,45,.07); }

/* FAB */
.ab-fab { position: absolute; right: 16px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 14px 26px rgba(122,90,248,.36); }
.ab-fab .ico { width: 26px; height: 26px; color: #fff; }

/* dark coaching bubble (matches the app's CoachingHintBubble) */
.ab-hint { position: absolute; left: 14px; right: 56px; top: 236px; z-index: 6; background: rgba(23,24,28,.93); border-radius: 18px; padding: 12px 13px; display: flex; gap: 11px; align-items: flex-start; box-shadow: 0 18px 32px rgba(0,0,0,.26); animation: ab-hint-fade 7s ease-in-out infinite; }
.ab-hint .ab-hic { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #A98BFF; display: grid; place-items: center; color: #A98BFF; flex: 0 0 auto; }
.ab-hint .ab-hic .ico { width: 17px; height: 17px; }
.ab-hint b { font-size: 13px; font-weight: 700; color: #fff; display: block; line-height: 1.25; }
.ab-hint small { font-size: 11.5px; color: rgba(255,255,255,.72); }

/* the flying card: starts over the inbox card, travels into Day 1, returns */
.ab-fly { position: absolute; left: 14px; top: 138px; width: 132px; z-index: 7; animation: ab-fly 7s ease-in-out infinite; transform-origin: 50% 50%; }
.ab-origin { animation: ab-origin 7s ease-in-out infinite; }

@keyframes ab-fly {
  0%, 8%   { transform: translate(0, 0) rotate(0) scale(1); }
  12%      { transform: translate(0, -10px) rotate(-2deg) scale(1.05); }
  44%      { transform: translate(6px, 212px) rotate(2deg) scale(1.05); }
  50%      { transform: translate(6px, 206px) rotate(0) scale(.99); }
  54%, 72% { transform: translate(6px, 212px) rotate(0) scale(1); }
  88%      { transform: translate(0, -6px) rotate(-1deg) scale(1.03); }
  96%,100% { transform: translate(0, 0) rotate(0) scale(1); }
}
@keyframes ab-origin {
  0%, 9%   { opacity: 1; }
  20%, 84% { opacity: .16; }
  95%,100% { opacity: 1; }
}
@keyframes ab-drop-pulse {
  0%, 17%, 76%, 100% { border-color: #D8CCFF; background: rgba(255,255,255,.4); }
  24%, 70%           { border-color: #7A5AF8; background: #F1ECFF; }
}
@keyframes ab-hint-fade {
  0%, 44%  { opacity: 1; transform: translateY(0); }
  52%, 88% { opacity: 0; transform: translateY(-6px); }
  96%,100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 380px) {
  .ab-stage { max-width: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-fly { animation: none; transform: translate(6px, 212px); }
  .ab-origin { animation: none; opacity: .16; }
  .ab-drop.is-active { animation: none; border-color: #7A5AF8; border-style: solid; background: #F1ECFF; }
  .ab-hint { animation: none; opacity: 0; }
}

/* ----------------------------------------------------------------
   Generic grids + cards
   ---------------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.card .c-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  margin-bottom: 14px;
}
.card .c-icon .ico { width: 23px; height: 23px; color: var(--brand-strong); }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
a.card { display: block; color: inherit; transition: transform .15s ease, box-shadow .2s ease; }
a.card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-float); }
.card .c-meta { color: var(--brand-strong); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.card .c-meta .ico { width: 16px; height: 16px; }

.tag-soon {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber);
  background: #fff3e2;
  border: 1px solid #ffe2bc;
  padding: 3px 9px; border-radius: var(--r-round);
  margin-left: 8px; vertical-align: middle;
}

/* Problem section "mess" cards */
.mess-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 16px 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.mess-card .ico { width: 20px; height: 20px; color: var(--muted); margin-top: 2px; }
.mess-card b { display: block; font-size: 15px; }
.mess-card span { color: var(--muted); font-size: 13.5px; }

/* ----------------------------------------------------------------
   How it works (steps)
   ---------------------------------------------------------------- */
.steps { counter-reset: step; }
.step .num {
  width: 40px; height: 40px;
  border-radius: var(--r-round);
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-button);
}

/* ----------------------------------------------------------------
   Feature rows
   ---------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 30px 0;
}
.feature-row.flip .feature-media { order: -1; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-2); }
.feature-list .ico { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; flex: 0 0 auto; }
.feature-media {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

/* ----------------------------------------------------------------
   Use cases
   ---------------------------------------------------------------- */
.usecase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 22px;
}
.usecase .u-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 12px; }
.usecase .u-icon .ico { width: 21px; height: 21px; color: #fff; }
.usecase h3 { font-size: 18px; }
.usecase p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ----------------------------------------------------------------
   Comparison table
   ---------------------------------------------------------------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
table.compare th, table.compare td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
table.compare thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink); position: sticky; top: 0; }
table.compare th.row-h { font-weight: 700; color: var(--ink); width: 28%; }
table.compare td.roam { background: #f7f3ff; font-weight: 600; color: var(--ink); }
table.compare thead th.roam-h { background: var(--brand); color: #fff; border-radius: 8px 8px 0 0; }
.compare-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* ----------------------------------------------------------------
   Trust
   ---------------------------------------------------------------- */
.trust-card { display: flex; gap: 14px; align-items: flex-start; }
.trust-card .ico { width: 26px; height: 26px; color: var(--teal); flex: 0 0 auto; margin-top: 2px; }
.trust-card b { display: block; font-size: 16px; margin-bottom: 3px; }
.trust-card span { color: var(--muted); font-size: 14.5px; }

/* ----------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px; font-weight: 400; color: var(--brand-strong);
  transition: transform .2s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ----------------------------------------------------------------
   Final CTA
   ---------------------------------------------------------------- */
.final {
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% -20%, var(--brand-soft), rgba(239,233,255,0) 60%),
    var(--bg-tint);
}
.final .lead { max-width: 620px; margin: 0 auto 26px; }
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Early-access form */
.ea-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; max-width: 460px; }
.ea-form input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 16px;
  border-radius: var(--r-round);
  border: 1px solid var(--line);
  font-size: 15px; font-family: inherit;
  background: #fff; color: var(--ink);
}
.ea-form input[type="email"]:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.ea-note { font-size: 13px; color: var(--muted); margin-top: 9px; }
.ea-ok { display: none; margin-top: 12px; color: var(--teal); font-weight: 700; }
.ea-ok.show { display: block; }
.final .ea-form { margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer { background: #11132a; color: #c7cadb; padding: 56px 0 30px; }
.footer a { color: #c7cadb; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand-mark { box-shadow: none; }
.footer-blurb { color: #9a9eb5; font-size: 14px; margin: 14px 0 18px; max-width: 280px; }
.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #9a9eb5;
}

/* ----------------------------------------------------------------
   Legal / content pages
   ---------------------------------------------------------------- */
.doc { padding: 56px 0 80px; }
.doc-wrap { max-width: 820px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); }
.doc h2 { font-size: 23px; margin-top: 38px; }
.doc h3 { font-size: 18px; margin-top: 26px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-top: -6px; }
.doc .placeholder { background: #fff3e2; border: 1px dashed #ffd79a; border-radius: 6px; padding: 1px 6px; font-size: 14px; color: #8a5a12; }
.callout {
  background: var(--brand-soft);
  border: 1px solid #d9ccff;
  border-radius: var(--r-md);
  padding: 16px 18px;
  color: var(--ink-2);
  margin: 22px 0;
  font-size: 15px;
}
.toc { background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; margin: 22px 0 30px; }
.toc h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.toc ul { margin: 0; padding-left: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; margin-bottom: 18px; }
.back-link .ico { width: 16px; height: 16px; transform: rotate(180deg); }

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { order: 2; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row.flip .feature-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta .btn-secondary { display: none; }
  .section-head { margin-bottom: 34px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .transform { grid-template-columns: 1fr; gap: 18px; }
  .flow-arrow { transform: rotate(90deg); }
  .scatter { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
