:root {
  --page:#f4f7fb; --card:#fff; --ink:#0b2545; --muted:#3f4f66; --line:#d9e2ec;
  --blue:#1d4e89; --blue-d:#133c6b; --red:#12805c; --sun:#e6f0fa; --ok:#12805c;
  --display:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body:"Figtree", "Segoe UI", system-ui, sans-serif;
  --stripes:repeating-linear-gradient(135deg, var(--blue) 0 12px, #fff 12px 24px, var(--ok) 24px 36px, #fff 36px 48px);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:16px; }
body { margin:0; color:var(--ink); background:var(--page); font-family:var(--body); font-size:16px; line-height:1.5; -webkit-font-smoothing:antialiased; }
body.lock { overflow:hidden; }
h1, h2, h3 { font-family:var(--display); margin:0; font-weight:700; }
a { color:inherit; }
:focus-visible { outline:3px solid var(--blue); outline-offset:3px; border-radius:6px; }
.airmail-edge { height:8px; background:var(--stripes); }
.wrap { width:min(1080px, calc(100% - 32px)); margin:0 auto; }
.fine { color:var(--muted); font-size:14px; margin:0; }

/* header */
.top { display:flex; justify-content:space-between; align-items:center; padding:22px 0 6px; }
.brand { display:flex; gap:10px; align-items:center; font-family:var(--display); font-weight:800; font-size:22px; letter-spacing:-.03em; text-decoration:none; }
.mark { width:36px; height:36px; border-radius:9px; background:var(--stripes); padding:3px; display:block; flex:none; }
.mark i { display:grid; place-items:center; width:100%; height:100%; background:var(--ink); color:#fff; border-radius:6px; font-style:normal; font-size:13px; font-weight:800; letter-spacing:0; }
nav { display:flex; gap:22px; }
nav a { white-space:nowrap; text-decoration:none; font-weight:600; font-size:15px; color:var(--muted); padding:6px 0; border-bottom:2px solid transparent; }
nav a:hover { color:var(--ink); border-bottom-color:var(--red); }

/* language switcher */
.top-right { display:flex; align-items:center; gap:18px; flex-wrap:wrap; justify-content:flex-end; }
.lang-switcher { flex:none; }
.lang-wrap { display:inline-flex; align-items:center; gap:6px; background:var(--card); border:1.5px solid var(--line); border-radius:999px; padding:4px 10px 4px 8px; }
.lang-icon { font-size:14px; line-height:1; }
.lang-select { border:0; background:transparent; font:inherit; font-weight:600; font-size:13px; color:var(--ink); cursor:pointer; padding:4px 2px; max-width:11rem; }
.lang-select:focus { outline:none; }
.lang-wrap:focus-within { border-color:var(--blue); box-shadow:0 0 0 3px rgba(29,78,137,.2); }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.blog-lang-note { margin:0 0 18px; padding:12px 14px; background:var(--sun); border-radius:12px; font-size:14px; color:var(--muted); font-weight:600; }


/* hero */
.hero { display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; padding:48px 0 40px; }
h1 { font-size:clamp(42px, 6.4vw, 80px); line-height:.92; letter-spacing:-.045em; font-variation-settings:"wdth" 86; font-weight:800; text-wrap:balance; }
.lede { font-size:19px; color:var(--muted); max-width:44ch; margin:22px 0 0; }

/* boarding pass: shared by hero, destination cards, detail sheet, success */
.pass { position:relative; background:var(--card); border-radius:18px; box-shadow:0 1px 0 var(--line), 0 24px 48px -28px rgba(11,37,69,.45); overflow:visible; }
.pass-stripe { height:10px; border-radius:18px 18px 0 0; background:var(--stripes); }
.pass-body { display:grid; grid-template-columns:1fr 112px; }
.pass-main { padding:22px 24px 24px; min-width:0; }
.pass-stub { position:relative; border-left:2px dashed var(--line); padding:18px 14px; display:flex; flex-direction:column; justify-content:space-between; align-items:center; gap:14px; }
.pass-stub::before, .pass-stub::after { content:""; position:absolute; left:-13px; width:24px; height:24px; border-radius:50%; background:var(--page); }
.pass-stub::before { top:-12px; }
.pass-stub::after { bottom:-12px; }
.barcode { flex:1; width:56px; min-height:90px; background:repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 12px, transparent 12px 14px); border-radius:2px; opacity:.9; }
.stub-word { font-family:var(--display); font-weight:800; font-size:20px; letter-spacing:.02em; }
.hero-pass { transform:rotate(1.6deg); animation:print .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes print { from { transform:translateY(-36px) rotate(0deg); opacity:0; } to { transform:translateY(0) rotate(1.6deg); opacity:1; } }

.field-label { display:block; font-size:13px; font-weight:600; color:var(--muted); margin:0 0 6px; }
.dest-input { font-family:var(--display); font-size:clamp(26px, 3.4vw, 36px); font-weight:700; letter-spacing:-.03em; border:0; border-bottom:3px solid var(--ink); border-radius:0; padding:4px 0 8px; margin:0; background:transparent; }
.dest-input::placeholder { color:#6b7a90; }
.dest-input:focus { outline:none; border-bottom-color:var(--blue); }
.dest-input:focus-visible { outline:none; }
.pass-facts { display:grid; grid-template-columns:1fr 1fr 1.3fr; gap:14px; margin:22px 0 0; }
.pass-facts dt { font-size:13px; color:var(--muted); font-weight:600; }
.pass-facts dd { margin:2px 0 0; font-weight:700; font-size:16px; line-height:1.25; }

/* forms */
input { width:100%; font:inherit; color:inherit; border:1.5px solid var(--line); border-radius:12px; padding:13px 14px; background:#fff; margin:0 0 14px; }
input:focus { outline:3px solid rgba(29,78,137,.25); border-color:var(--blue); }
.buy { width:100%; background:var(--blue); color:#fff; border:0; border-radius:12px; padding:15px 16px; font:inherit; font-weight:700; font-size:16px; cursor:pointer; transition:background .15s; }
.buy:hover { background:var(--blue-d); }
.buy:disabled { opacity:.6; cursor:progress; }
.btn-outline { background:transparent; border:2px solid var(--ink); border-radius:12px; padding:12px 22px; font:inherit; font-weight:700; cursor:pointer; }
.btn-outline:hover { background:var(--ink); color:#fff; }
.ghost { background:transparent; border:0; color:var(--blue-d); padding:4px 0; font:inherit; font-weight:600; cursor:pointer; }
.ghost:hover { text-decoration:underline; }
.banner { margin:0 0 20px; padding:12px 16px; border-radius:12px; background:var(--sun); color:var(--ink); font-weight:600; }

/* sections */
.section { margin:56px 0; scroll-margin-top:16px; }
.section-head { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:18px; }
h2 { font-size:clamp(28px, 4vw, 38px); letter-spacing:-.035em; line-height:1.05; }
h3 { font-size:18px; letter-spacing:-.02em; }

/* destination tickets */
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(290px, 1fr)); gap:16px; }
.card { all:unset; box-sizing:border-box; position:relative; display:grid; grid-template-columns:1fr auto; align-items:stretch; background:var(--card); border-radius:14px; cursor:pointer; box-shadow:0 1px 0 var(--line); transition:transform .15s, box-shadow .15s; }
.card:hover { transform:translateY(-3px); box-shadow:0 1px 0 var(--blue), 0 18px 30px -22px rgba(11,37,69,.6); }
.card:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.c-main { padding:16px 18px; min-width:0; display:flex; flex-direction:column; gap:6px; }
.c-name { font-family:var(--display); font-weight:700; font-size:22px; letter-spacing:-.03em; line-height:1.1; }
.c-cov { color:var(--muted); font-size:14px; min-height:21px; }
.c-price { position:relative; border-left:2px dashed var(--line); padding:16px 16px; display:flex; flex-direction:column; justify-content:center; align-items:flex-end; min-width:104px; }
.c-price::before, .c-price::after { content:""; position:absolute; left:-12px; width:22px; height:22px; border-radius:50%; background:var(--page); }
.c-price::before { top:-11px; }
.c-price::after { bottom:-11px; }
.c-price small { font-size:12px; color:var(--muted); font-weight:600; }
.c-price b { font-family:var(--display); font-size:22px; letter-spacing:-.03em; }
.empty { grid-column:1/-1; background:var(--card); border-radius:14px; padding:28px; color:var(--muted); }
.empty b { color:var(--ink); }
.more-row { text-align:center; margin-top:22px; }

/* detail sheet */
#detail:not([hidden]) { position:fixed; inset:0; z-index:30; display:flex; align-items:flex-end; justify-content:center; background:rgba(11,37,69,.62); overflow-y:auto; padding:24px 16px; }
.sheet { width:min(860px, 100%); margin:auto; animation:rise .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { transform:translateY(24px); opacity:0; } to { transform:none; opacity:1; } }
.sheet .pass-body { grid-template-columns:1.25fr 1fr; }
.sheet .pass-stub { align-items:stretch; padding:24px; gap:0; justify-content:flex-start; }
.sheet h2 { margin:10px 0 6px; }
.cov { color:var(--muted); margin:0 0 18px; font-size:15px; max-height:4.6em; overflow:auto; }
fieldset { border:0; padding:0; margin:0; min-width:0; }
legend { font-size:13px; font-weight:600; color:var(--muted); padding:0; margin-bottom:8px; }
.plan { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; margin:0 0 8px; cursor:pointer; background:#fff; }
.plan:hover { border-color:var(--ink); }
.plan.active { border-color:var(--ink); background:#eef5fc; box-shadow:inset 0 0 0 1px var(--ink); }
.plan input { width:18px; height:18px; margin:0; padding:0; accent-color:var(--ink); }
.plan .p-size { font-family:var(--display); font-weight:700; font-size:19px; letter-spacing:-.02em; display:block; line-height:1.15; }
.plan .p-meta { color:var(--muted); font-size:13px; }
.plan b { font-family:var(--display); font-size:19px; letter-spacing:-.02em; }
.total { font-family:var(--display); font-weight:800; font-size:44px; letter-spacing:-.045em; line-height:1; margin:2px 0 18px; }
.total small { display:block; font-family:var(--body); font-size:13px; font-weight:600; letter-spacing:0; color:var(--muted); margin-bottom:6px; }
.error { color:#b3261e; font-weight:600; font-size:14px; min-height:20px; margin:0 0 8px; }

/* success pass */
.done { margin:0 0 40px; }
.done .pass-body { grid-template-columns:1fr 280px; }
.done .pass-stub { align-items:center; padding:24px 20px; justify-content:center; gap:14px; }
.done h2 { margin:0 0 10px; }
.done ol { padding-left:20px; margin:14px 0 0; color:var(--muted); }
.done li { margin:4px 0; }
.qr { width:240px; height:240px; background:#fff; padding:10px; border-radius:12px; border:1.5px solid var(--line); display:grid; place-items:center; }
.mono { font-family:ui-monospace, Menlo, Consolas, monospace; font-size:12.5px; word-break:break-all; }
.code-box { width:100%; background:var(--page); border-radius:10px; padding:10px 12px; }
.pending { background:var(--card); border-radius:18px; padding:26px; border-left:10px solid var(--sun); }

/* how it works */
.how { background:var(--card); border-radius:18px; padding:36px; }
.steps-row { list-style:none; counter-reset:s; display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; padding:0; margin:26px 0 0; }
.steps-row li { counter-increment:s; display:flex; flex-direction:column; gap:6px; padding-top:48px; position:relative; }
.steps-row li::before { content:counter(s); position:absolute; top:0; left:0; width:36px; height:36px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-family:var(--display); font-weight:800; }
.steps-row b { font-family:var(--display); font-size:19px; letter-spacing:-.02em; }
.steps-row span { color:var(--muted); }
.install { display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; margin-top:32px; padding-top:26px; border-top:2px dashed var(--line); }
.install p { margin:4px 0 0; color:var(--muted); }

/* help */
.help { display:grid; grid-template-columns:1fr 1.1fr; gap:40px; align-items:start; }
.help-copy .fine { margin-top:12px; font-size:16px; max-width:38ch; }
.help-box { background:var(--card); border-radius:18px; padding:24px; }
.reply { margin:16px 0 0; padding:0; min-height:0; }
.reply:not(:empty) { padding:14px 16px; background:var(--page); border-radius:4px 14px 14px 14px; }

.foot { background:var(--ink); color:#fff; padding:28px 0 32px; margin-top:64px; border-top:8px solid transparent; border-image:var(--stripes) 8; }
.foot-in { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.foot .fine { color:#dbe5f0; }
.brand-light .mark i { background:#fff; color:var(--ink); }

@media (max-width:860px) {
  .hero { grid-template-columns:1fr; gap:36px; padding-top:28px; }
  .steps-row, .install, .help { grid-template-columns:1fr; }
  .how { padding:26px 20px; }
  .sheet .pass-body, .done .pass-body { grid-template-columns:1fr; }
  .sheet .pass-stub, .done .pass-stub { border-left:0; border-top:2px dashed var(--line); }
  .sheet .pass-stub::before, .sheet .pass-stub::after, .done .pass-stub::before, .done .pass-stub::after { top:-12px; bottom:auto; left:-12px; }
  .sheet .pass-stub::after, .done .pass-stub::after { left:auto; right:-12px; }
  #detail:not([hidden]) { align-items:flex-start; padding:12px; }
}
@media (max-width:560px) {
  .top { flex-wrap:wrap; gap:12px; }
  .top-right { width:100%; justify-content:space-between; }
  nav { gap:14px; }
  .dest-input { font-size:23px; }
  nav a { font-size:14px; }
  .pass-body { grid-template-columns:1fr 72px; }
  .barcode { width:34px; }
  .stub-word { font-size:15px; }
  .pass-facts { grid-template-columns:1fr 1fr; }
  .pass-facts div:last-child { grid-column:1/-1; }
  .hero-pass { transform:none; animation:none; }
  .qr { width:220px; height:220px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .hero-pass { animation:none; }
  .sheet { animation:none; }
  .card { transition:none; }
}


/* blog */
.blog-hero { padding-top: 28px; }
.blog-hero .lede { margin-top: 14px; }
.blog-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.blog-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.blog-item h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
.blog-item a { text-decoration: none; }
.blog-item a:hover h2 { color: var(--blue); }
.blog-meta { color: var(--muted); font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.blog-post h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.03em; margin: 10px 0 12px; }
.blog-body { max-width: 68ch; }
.blog-body h2 { font-size: 24px; margin: 28px 0 10px; letter-spacing: -0.02em; }
.blog-body h3 { font-size: 18px; margin: 20px 0 8px; }
.blog-body p { margin: 0 0 14px; color: var(--ink); }
.blog-body ul, .blog-body ol { margin: 0 0 16px; padding-left: 1.25rem; color: var(--ink); }
.blog-body li { margin: 0 0 6px; }
.blog-body a { color: var(--blue); font-weight: 600; }
.blog-body code { font-size: 0.92em; background: var(--sun); padding: 0.1em 0.35em; border-radius: 4px; }
.sitemap-list { display: grid; gap: 8px; }
.sitemap-list a { color: var(--blue); font-weight: 600; text-decoration: none; }
.sitemap-list a:hover { text-decoration: underline; }

/* footer nav */
.foot-nav { display:flex; gap:18px; flex-wrap:wrap; }
.foot-nav a { color:#fff; font-weight:600; text-decoration:none; font-size:14px; opacity:.92; }
.foot-nav a:hover { text-decoration:underline; opacity:1; }

/* stars */
.stars { display:inline-flex; flex-wrap:nowrap; align-items:center; gap:2px; letter-spacing:0; line-height:1; vertical-align:middle; white-space:nowrap; }
.star { display:inline-block; width:1em; text-align:center; color:#c5d0de; font-size:16px; line-height:1; }
.star.full { color:var(--ok); }
.star.half { position:relative; color:#c5d0de; }
.star.half > span { position:absolute; inset:0 auto 0 0; width:50%; overflow:hidden; color:var(--ok); pointer-events:none; }
.stars-lg .star { font-size:22px; }

/* home trust strip */
.trust-strip .section-head a { color:var(--blue); font-weight:600; text-decoration:none; }
.trust-strip .section-head a:hover { text-decoration:underline; }
.trust-summary { margin:0 0 18px; }
.trust-score { display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; background:var(--card); border-radius:14px; padding:16px 18px; box-shadow:0 1px 0 var(--line); }
.trust-avg { font-family:var(--display); font-size:36px; letter-spacing:-.04em; line-height:1; }
.trust-cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.mini-review { margin:0; background:var(--card); border-radius:14px; padding:16px 18px; box-shadow:0 1px 0 var(--line); display:flex; flex-direction:column; gap:8px; }
.mini-review p { margin:0; font-size:14px; color:var(--ink); line-height:1.45; flex:1; }
.mini-review footer { font-size:13px; color:var(--muted); font-weight:600; }
.mini-review cite { font-style:normal; color:var(--ink); }

/* checkout modal reviews */
.checkout-reviews { margin-top:18px; padding-top:16px; border-top:2px dashed var(--line); }
.checkout-reviews-head { display:flex; align-items:center; gap:10px; margin-bottom:10px; flex-wrap:wrap; font-size:14px; }
.checkout-reviews-head a { color:var(--blue); font-weight:600; text-decoration:none; }
.checkout-reviews-head a:hover { text-decoration:underline; }
.checkout-reviews-list { display:grid; gap:10px; }
.checkout-rev { background:var(--page); border-radius:10px; padding:10px 12px; }
.checkout-rev p { margin:4px 0 2px; font-size:13px; line-height:1.4; font-weight:600; }

/* reviews page */
.reviews-hero { padding-top:28px; }
.reviews-hero .lede { margin-top:14px; }
.agg { display:grid; grid-template-columns:auto 1fr; gap:28px; align-items:center; margin-top:28px; background:var(--card); border-radius:18px; padding:24px 28px; box-shadow:0 1px 0 var(--line); }
.agg-score { text-align:center; min-width:140px; }
.agg-num { font-family:var(--display); font-size:56px; font-weight:800; letter-spacing:-.045em; line-height:1; }
.agg-score .stars { margin:8px 0; justify-content:center; }
.hist { display:grid; gap:8px; width:100%; max-width:420px; }
.hist-row { display:grid; grid-template-columns:48px 1fr 56px; gap:10px; align-items:center; font-size:13px; font-weight:600; color:var(--muted); }
.hist-bar { height:10px; background:var(--page); border-radius:999px; overflow:hidden; }
.hist-bar i { display:block; height:100%; background:var(--ok); border-radius:999px; }
.hist-n { text-align:right; color:var(--ink); }
.review-grid { display:grid; gap:14px; }
.review-card { background:var(--card); border-radius:14px; padding:18px 20px; box-shadow:0 1px 0 var(--line); }
.review-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:6px; }
.review-top time { font-size:13px; color:var(--muted); font-weight:600; }
.review-title { font-size:18px; margin:0 0 6px; letter-spacing:-.02em; }
.review-body { margin:0 0 10px; color:var(--ink); }
.review-by { margin:0; font-size:13px; color:var(--muted); }
.review-pager { display:flex; justify-content:center; align-items:center; gap:16px; margin-top:28px; flex-wrap:wrap; }
.review-pager .btn-outline { text-decoration:none; display:inline-block; color:inherit; }

@media (max-width:860px) {
  .trust-cards { grid-template-columns:1fr; }
  .agg { grid-template-columns:1fr; }
}
