/* ==========================================================================
   Triplist — website prototype design system
   Tokens mirror the iOS app (DesignSystemTokens.swift). Amber intentionally
   dropped per product direction. Semantic aliases:
     blue = visited/primary · pink = wishlist · purple = planned
   ========================================================================== */

/* ----- Fonts: real Recoleta OTFs from the iOS repo (display only) --------- */
@font-face {
  font-family: "Recoleta";
  src: url("fonts/Recoleta-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Recoleta";
  src: url("fonts/Recoleta-SemiBold.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Recoleta";
  src: url("fonts/Recoleta-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Brand / travel-status palette */
  --blue: #3D77E3;          --blue-light: #6E9BEA;   --blue-line: #2E5AB0;
  --pink: #F62681;          --pink-light: #F95FA3;   --pink-line: #C51E67;
  --purple: #9645F9;        --purple-light: #B07DFB; --purple-line: #7B2FD6;

  /* Extra blues from the iOS tokens */
  --title-blue: #045FD6;          /* titleColor / primary action  */
  --grad-blue-start: #005CD4;     /* primaryGradientStart          */
  --grad-blue-end:   #588ED5;     /* primaryGradientEnd            */
  --section-label:   #3856D6;     /* itinerarySectionLabel         */
  --day-badge:       #4C6DE8;     /* itineraryDayBadge             */

  /* Neutrals */
  --ink: #001629;                 /* primary text                  */
  --ink-75: rgba(0,22,41,.75);    /* secondary text                */
  --ink-55: rgba(0,22,41,.55);
  --muted: #787878;               /* unselected / tertiary         */
  --panel: #F1F4FC;               /* lavender panel background      */
  --hairline: rgba(0,22,41,.08);  /* pill / card border            */
  --white: #ffffff;

  /* Gradients */
  --grad-blue:   linear-gradient(135deg, var(--grad-blue-start), var(--grad-blue-end));
  --grad-hero:   linear-gradient(150deg, #2E5AB0 0%, #3D77E3 55%, #6E9BEA 100%);
  --grad-visited:  linear-gradient(135deg, var(--blue),   var(--blue-light));
  --grad-wishlist: linear-gradient(135deg, var(--pink),   var(--pink-light));
  --grad-planned:  linear-gradient(135deg, var(--purple), var(--purple-light));

  /* Type */
  --font-display: "Recoleta", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii (iOS: card 12, button 32, sheet 28) */
  --r-card: 16px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,22,41,.06);
  --shadow-md: 0 10px 30px rgba(0,22,41,.10);
  --shadow-lg: 0 30px 60px rgba(0,22,41,.16);

  /* Layout */
  --container: 1160px;
  --gutter: 24px;
}

/* ----- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* decorative brushes (width >100%) must never cause horizontal scroll */
}
img { max-width: 100%; display: block; }
a { color: var(--title-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* ----- Typography --------------------------------------------------------- */
.display,
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .4em; }
.display { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p  { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-75); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--section-label); margin: 0 0 .8rem;
}
.muted { color: var(--muted); }

/* ----- Layout primitives -------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--panel { background: var(--panel); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.measure { max-width: 42ch; }
.measure-wide { max-width: 60ch; }

/* ----- Buttons (pill, mirroring the iOS primary button) ------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1.05rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(61,119,227,.32); }
.btn-primary:hover { background: #2f66d0; box-shadow: 0 12px 26px rgba(61,119,227,.4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: #f2f6ff; }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.15rem; }
.btn-block { width: 100%; }

/* ----- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-75); font-size: .98rem; font-weight: 500; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .45rem; border-radius: 10px;
  color: var(--ink); line-height: 0;
}
.nav-toggle:hover { background: var(--panel); }

/* ----- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone img { width: min(340px, 82%); filter: drop-shadow(var(--shadow-lg)); }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--panel); color: var(--section-label);
  font-weight: 600; font-size: .85rem; padding: .4rem .85rem; border-radius: var(--r-pill);
  border: 1px solid var(--hairline); margin-bottom: 1.2rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

/* ----- Hero CTAs: Get-the-app + QR (desktop only) -------------------------- */
.hero-ctas { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.qr-card {
  display: flex; align-items: center; gap: .65rem;
  background: var(--white); border: 1px solid var(--hairline); border-radius: 14px;
  padding: .5rem .85rem .5rem .55rem; box-shadow: var(--shadow-sm);
}
.qr-card img { width: 58px; height: 58px; }
.qr-card span { font-size: .78rem; font-weight: 600; color: var(--ink-75); max-width: 10ch; line-height: 1.3; }

/* ----- Email capture ------------------------------------------------------ */
.capture { display: flex; gap: .6rem; max-width: 440px; margin-top: 1.4rem; }
.capture input {
  flex: 1; font-size: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--hairline); background: var(--white); color: var(--ink); outline: none;
}
.capture input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61,119,227,.14); }
.capture--stacked { flex-direction: column; }
.capture-note { font-size: .85rem; color: var(--muted); margin-top: .7rem; }
.capture.is-done { justify-content: center; }
.capture-success { display: none; font-weight: 600; color: var(--blue); }
.capture.is-done .capture-success { display: block; }
.capture.is-done input, .capture.is-done button { display: none; }

/* ----- Pillar bands ------------------------------------------------------- */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pillar + .pillar { margin-top: clamp(48px, 7vw, 104px); }
.pillar--reverse .pillar-media { order: 2; }
.pillar-media { position: relative; display: flex; justify-content: center; }
.pillar-media img { width: min(320px, 80%); filter: drop-shadow(var(--shadow-md)); }
.pillar-tag {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem;
}
.pillar-tag .swatch { width: 10px; height: 10px; border-radius: 3px; }
.tag-blue   { color: var(--blue); }   .tag-blue   .swatch { background: var(--blue); }
.tag-pink   { color: var(--pink-line); }   .tag-pink   .swatch { background: var(--pink); }
.tag-purple { color: var(--purple-line); } .tag-purple .swatch { background: var(--purple); }

/* ----- Chips (knownFor pills) --------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--white); border: 1px solid var(--hairline); color: var(--ink);
  font-size: .9rem; font-weight: 500; padding: .45rem .85rem; border-radius: var(--r-pill);
}
.chip--panel { background: var(--panel); }

/* ----- Cards -------------------------------------------------------------- */
.grid { display: grid; gap: var(--gutter); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card a { color: inherit; }
.card-media { aspect-ratio: 4 / 3; background: var(--panel) center/cover no-repeat; position: relative; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: 0 0 .25rem; }
.card-meta { font-size: .85rem; color: var(--muted); }
.card-flag { position: absolute; top: .6rem; left: .6rem; font-size: 1.3rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }

/* ----- Step / how-it-works ------------------------------------------------ */
.steps { counter-reset: step; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-visited); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ----- Stat row (passport) ------------------------------------------------ */
.stats { display: flex; gap: clamp(20px, 5vw, 56px); flex-wrap: wrap; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.stat .lbl { font-size: .85rem; color: var(--ink-75); margin-top: .3rem; }

/* ----- Share row ---------------------------------------------------------- */
.share-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem;
  border-radius: var(--r-pill); border: 1px solid var(--hairline); background: var(--white);
  font-weight: 600; font-size: .9rem; color: var(--ink);
}
.share-btn:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* ----- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--grad-hero); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2, .cta-band .display { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.9); }

/* ----- Breadcrumbs -------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; list-style: none; padding: 0; }
.crumbs li::after { content: "›"; margin-left: .4rem; color: var(--hairline); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-75); }

/* ----- Detail hero (explore / itinerary / passport) ----------------------- */
.detail-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; color: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,41,0) 30%, rgba(0,22,41,.72) 100%); }
.detail-hero .detail-hero-inner { position: relative; z-index: 2; padding: 2.4rem var(--gutter); width: 100%; }
.detail-hero h1 { color: #fff; margin-bottom: .3rem; }
.detail-hero .subtitle { font-size: 1.15rem; color: rgba(255,255,255,.92); }

/* ----- Explore pages: app-mirror components (structure = iOS Explore) ------ */
.crumb-bar { padding: .75rem 0 0; }
.crumb-bar .crumbs { margin-bottom: 0; }

.app-hero { position: relative; height: clamp(300px, 42vw, 460px); overflow: hidden; }
.app-hero img.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,41,0) 55%, rgba(0,22,41,.45) 100%); }
.app-hero .app-hero-inner { position: absolute; left: 0; right: 0; bottom: 1.6rem; z-index: 2; }
.app-hero h1 { color: #fff; margin: 0; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.hero-dots { display: flex; gap: .45rem; margin-top: .8rem; }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.hero-dots span:first-child { background: #fff; }
.hero-actions {
  position: absolute; top: 1.2rem; right: var(--gutter); z-index: 3;
  display: flex; gap: .4rem; background: rgba(255,255,255,.55); backdrop-filter: blur(10px);
  border-radius: var(--r-pill); padding: .35rem;
}
.hero-actions a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: var(--muted); background: transparent;
}
.hero-actions a:hover { background: rgba(255,255,255,.75); color: var(--blue); }

.app-panel { position: relative; z-index: 2; background: var(--panel); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: calc(-1 * var(--r-lg)); padding: 2.6rem 0 3.5rem; }
.app-panel .section-block + .section-block { margin-top: 2.6rem; }
.section-label { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--section-label); margin: 0 0 1rem; }
.section-label--weather { color: var(--weather-green-dark); }
.app-panel .prose { font-size: 1.08rem; color: var(--ink); max-width: 72ch; }
.chips--app .chip { background: var(--white); }

/* Weather module (mirrors iOS weather card) */
:root { --weather-green: #34C759; --weather-green-dark: #00A650; }
.weather-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 1.4rem 1.4rem 1.6rem; max-width: 780px; box-shadow: var(--shadow-sm); }
.wx-tabs { display: flex; gap: 1.6rem; border-bottom: 1px solid var(--hairline); margin-bottom: 1rem; }
.wx-tab { background: none; border: 0; padding: .4rem 0 .7rem; font-size: 1rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.wx-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.wx-unit { display: inline-flex; border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; float: right; }
.wx-unit button { border: 0; background: var(--white); padding: .35rem .8rem; font-weight: 700; font-size: .85rem; color: var(--ink-55); }
.wx-unit button.active { background: var(--ink); color: #fff; }
.wx-chart { display: flex; align-items: flex-end; gap: 2.2%; height: 220px; margin-top: 2.2rem; clear: both; }
.wx-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .4rem; }
.wx-val { font-size: .78rem; font-weight: 600; color: var(--ink-75); white-space: nowrap; }
.wx-bar { width: 100%; max-width: 34px; border-radius: 999px; background: linear-gradient(180deg, var(--weather-green), #8FE3A7); min-height: 14px; transition: height .25s ease; }
.wx-month { font-size: .78rem; font-weight: 600; color: var(--ink-55); }

/* Key-destinations tabs + rows (mirrors iOS list) */
.dest-tabs { display: flex; gap: 2.2rem; border-bottom: 1px solid var(--hairline); margin-bottom: 1.2rem; max-width: 780px; }
.dest-tab { background: none; border: 0; padding: .4rem 0 .7rem; font-size: 1.05rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.dest-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.dest-list { display: grid; gap: .9rem; max-width: 780px; }
.dest-row {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: .8rem .9rem; box-shadow: var(--shadow-sm);
  color: var(--ink); transition: transform .15s ease, box-shadow .15s ease;
}
.dest-row:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dest-row img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.dest-row .dest-txt { flex: 1; min-width: 0; }
.dest-row h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin: 0 0 .15rem; }
.dest-row .dest-sub { font-size: .9rem; color: var(--muted); margin: 0; }
.dest-icons { display: flex; gap: .5rem; }
.dest-icons span { width: 42px; height: 42px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; color: #C5D5CF; }

/* Entity detail pages (region / city / attraction — mirrors iOS detail sheet) */
.entity-body { max-width: 760px; }
.entity-body h1 { font-family: var(--font-body); font-weight: 800; letter-spacing: -.01em; font-size: clamp(2rem, 4vw, 2.6rem); margin: 1.6rem 0 .3rem; }
.entity-sub { font-size: 1.2rem; color: var(--ink-55); margin: 0 0 1rem; }
.badge-key { display: inline-flex; align-items: center; gap: .35rem; background: rgba(61,119,227,.12); color: var(--title-blue); font-weight: 700; font-size: .9rem; padding: .4rem .9rem; border-radius: var(--r-pill); }
.badge-type { display: inline-flex; align-items: center; background: rgba(0,22,41,.06); color: var(--ink-55); font-weight: 600; font-size: .9rem; padding: .4rem .9rem; border-radius: var(--r-pill); }
.entity-desc { font-size: 1.15rem; line-height: 1.7; margin-top: 1.2rem; }

/* ----- Explore detail pages ------------------------------------------------ */
.detail-hero img.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.hero-meta .chip { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); }
.pill-safe { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); font-size: .9rem; font-weight: 600; padding: .45rem .85rem; border-radius: var(--r-pill); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--section-label); margin-bottom: .25rem; }
.map-embed { height: clamp(340px, 48vw, 500px); border-radius: var(--r-card); border: 1px solid var(--hairline); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-note { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.curated-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--panel); color: var(--section-label); border: 1px solid var(--hairline);
  font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: var(--r-pill);
}
.marker-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(0,22,41,.35); cursor: pointer; }
.marker-dot--attraction { background: var(--purple); }

/* ----- Day list (itinerary) ----------------------------------------------- */
.day { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.4rem 0; border-top: 1px solid var(--hairline); }
.day-badge { background: var(--day-badge); color: #fff; font-weight: 700; border-radius: 12px; padding: .5rem .7rem; text-align: center; min-width: 62px; height: fit-content; }
.day-badge small { display: block; font-size: .65rem; opacity: .85; font-weight: 600; letter-spacing: .08em; }
.time-block { margin-top: .6rem; }
.time-block b { color: var(--section-label); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }

/* ----- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: 64px 40px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: .8rem; }
.footer-brand img { width: 28px; border-radius: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 24px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ----- Decorative brush --------------------------------------------------- */
.brush { position: absolute; z-index: -1; opacity: .9; pointer-events: none; }

/* ----- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-phone { order: -1; }
  .capture { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .qr-card { display: none; } /* QR is a desktop affordance; mobile taps straight through */
  .pillar { grid-template-columns: 1fr; text-align: center; }
  .pillar--reverse .pillar-media { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav-links {
    display: grid; gap: 1rem; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--hairline);
    padding: 1.2rem var(--gutter) 1.4rem; box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .nav-links a { font-size: 1.05rem; }
  .nav-cta .btn { padding: .72rem 1.05rem; font-size: .92rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { justify-content: center; }
  .day { grid-template-columns: 1fr; }
}

/* ----- Pricing plans ------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); align-items: start; }
.plan {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: 2rem 1.6rem 1.8rem; box-shadow: var(--shadow-sm); position: relative; height: 100%;
}
.plan--featured { border-color: var(--blue); box-shadow: var(--shadow-md); }
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: var(--r-pill);
}
.plan h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.15rem; margin: 0 0 .3rem; }
.plan .plan-price { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1.1; margin: .6rem 0 .1rem; }
.plan .plan-per { font-size: .9rem; color: var(--muted); }
.plan .plan-note { font-size: .92rem; color: var(--ink-75); margin: .5rem 0 1.3rem; min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .6rem; font-size: .95rem; }
.plan li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .5rem; align-items: start; color: var(--ink-75); }
.plan li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.plan li.plan-off { color: var(--muted); }
.plan li.plan-off::before { content: "—"; color: var(--hairline); }

/* ----- Coming-soon / empty states ----------------------------------------- */
.soon { text-align: center; max-width: 56ch; margin-inline: auto; padding-block: clamp(40px, 7vw, 80px); }
.soon .soon-mark { font-size: 2.6rem; line-height: 1; margin-bottom: 1rem; }
.soon h1 { margin-bottom: .6rem; }
.soon .btn { margin-top: 1.6rem; }

/* ----- Long-form legal / prose pages -------------------------------------- */
.legal { max-width: 70ch; }
.legal h2 { font-family: var(--font-body); font-weight: 800; font-size: 1.3rem; margin: 2.4rem 0 .6rem; }
.legal h2:first-of-type { margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-75); font-size: 1rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal-updated { font-size: .9rem; color: var(--muted); }
.legal-notice {
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: 1rem 1.2rem; font-size: .92rem; color: var(--ink-75); margin-bottom: 2rem;
}

@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* Destination rows whose entity page isn't published yet: same visual, not clickable. */
.dest-row--soon { cursor: default; }
.dest-row--soon:hover { transform: none; box-shadow: none; }

/* `.dest-list { display: grid }` is an author rule and so beats the UA's
   [hidden] { display: none }. Without this, every tab panel renders at once. */
.dest-list[hidden] { display: none; }
