/* Passkot design system — calm, editorial, precise.
   Layout: one 1180px column, generous whitespace, cards only where an object is a real thing
   (a person, a booking, a receipt). Ink does the talking; gold marks the brand and price. */
:root {
  --bg: #f4f5f2;
  --surface: #ffffff;
  --sunken: #eceee9;
  --ink: #101726;
  --ink-2: #353e51;
  --muted: #687082;
  --line: #e1e3e0;
  --line-2: #cfd3d6;
  --gold: #d3951b;
  --gold-ink: #7d5404;
  --gold-soft: #fbf1db;
  --verify: #157347;
  --verify-soft: #e5f3ea;
  --warn: #8f5a00;
  --warn-soft: #fdf1d8;
  --danger: #b42318;
  --danger-soft: #fcebe9;
  --info: #2a55c9;
  --info-soft: #e8eefc;
  --btn: #101726;
  --btn-ink: #ffffff;
  --focus: #2a55c9;
  --shadow: 0 1px 2px rgba(16, 23, 38, .05), 0 8px 24px -12px rgba(16, 23, 38, .12);

  --f-ui: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 12px;
  --r-lg: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1018; --surface: #131927; --sunken: #0f141f; --ink: #edf0f5; --ink-2: #c3c9d5; --muted: #949db0;
    --line: #232b3b; --line-2: #313b4f; --gold: #f0b43a; --gold-ink: #f3c362; --gold-soft: #2b2312;
    --verify: #4cc488; --verify-soft: #12291e; --warn: #f2b14c; --warn-soft: #2c220f; --danger: #f2796c; --danger-soft: #2e1614;
    --info: #8aa9ff; --info-soft: #172242; --btn: #edf0f5; --btn-ink: #0c1018; --focus: #8aa9ff;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1018; --surface: #131927; --sunken: #0f141f; --ink: #edf0f5; --ink-2: #c3c9d5; --muted: #949db0;
  --line: #232b3b; --line-2: #313b4f; --gold: #f0b43a; --gold-ink: #f3c362; --gold-soft: #2b2312;
  --verify: #4cc488; --verify-soft: #12291e; --warn: #f2b14c; --warn-soft: #2c220f; --danger: #f2796c; --danger-soft: #2e1614;
  --info: #8aa9ff; --info-soft: #172242; --btn: #edf0f5; --btn-ink: #0c1018; --focus: #8aa9ff;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.6); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--btn); color: var(--btn-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; gap: var(--gap, 12px); align-items: center; flex-wrap: wrap; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 36em; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--btn) 86%, var(--gold)); }
.btn-secondary { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); background: var(--sunken); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--ink); }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-size: 22px; }
.wm { display: inline-flex; align-items: center; font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.wm-o { width: .74em; height: .74em; display: block; margin: 0 .015em; transform: translateY(.055em); }
.wm-o svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wm-track { fill: none; stroke: var(--gold); opacity: .25; stroke-width: 5; }
.wm-sweep { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 22; transform: rotate(-90deg); transform-origin: center; transform-box: fill-box; }
.wm-core { fill: var(--gold); }
.nav-main { display: flex; gap: 2px; }
.nav-main a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.nav-main a:hover { color: var(--ink); background: var(--sunken); }
.nav-main a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); align-items: center; justify-content: center; }
.acct-btn { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: flex; flex-direction: column; }
.mobile-nav a { padding: 12px 4px; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pad { padding: clamp(18px, 2.4vw, 28px); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 20em; }
.section-head p { margin-top: 10px; color: var(--muted); max-width: 40em; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.b-verify { background: var(--verify-soft); color: var(--verify); }
.b-warn { background: var(--warn-soft); color: var(--warn); }
.b-danger { background: var(--danger-soft); color: var(--danger); }
.b-info { background: var(--info-soft); color: var(--info); }
.b-gold { background: var(--gold-soft); color: var(--gold-ink); }
.b-plain { background: var(--sunken); color: var(--ink-2); }
.b-example { background: transparent; color: var(--muted); border: 1px dashed var(--line-2); }
.status { font-size: 11.5px; letter-spacing: .1em; font-weight: 700; padding: 0 8px; height: 22px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink-2); text-decoration: none; }
button.chip, a.chip { cursor: pointer; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.src { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--muted); }
.src::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.src-official { color: var(--info); }
.src-passkot { color: var(--gold-ink); }
.src-lived { color: var(--verify); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.input { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); outline: none; font-size: 16px; }
textarea.input { padding: 12px 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 20px, calc(100% - 14px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13.5px; }
.hint { color: var(--muted); font-size: 13.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.option { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; }
.option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- avatar ---------- */
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 600; color: var(--ink); background: var(--sunken); border: 1px solid var(--line); font-size: 18px; letter-spacing: -0.02em; }
.avatar-lg { width: 96px; height: 96px; font-size: 30px; }
.avatar-sm { width: 36px; height: 36px; font-size: 13px; }

/* ---------- expert card ---------- */
.expert-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; position: relative; transition: border-color .15s, box-shadow .15s; }
.expert-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.ec-top { display: flex; gap: 14px; align-items: flex-start; }
.ec-name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.ec-name a { text-decoration: none; }
.ec-name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ec-role { color: var(--ink-2); font-size: 15px; }
.ec-years { color: var(--muted); font-size: 14px; }
.verify-row { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.vi { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.vi.ok { color: var(--verify); font-weight: 500; }
.vi.pending { color: var(--warn); }
.vi svg { width: 15px; height: 15px; }
.ec-topics { color: var(--ink-2); font-size: 14px; }
.ec-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; flex-wrap: wrap; }
.price { font-family: var(--f-num); font-weight: 600; font-size: 17px; }
.price small { font-family: var(--f-ui); font-weight: 400; color: var(--muted); font-size: 13px; }
.avail { font-size: 13.5px; color: var(--verify); display: inline-flex; align-items: center; gap: 6px; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail.later { color: var(--muted); }
.ec-example { position: absolute; top: 14px; right: 14px; }
.save-btn { position: relative; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; color: var(--muted); }
.save-btn[aria-pressed="true"] { color: var(--gold-ink); border-color: var(--gold); background: var(--gold-soft); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); letter-spacing: -0.04em; line-height: 1.02; }
.hero .lede { margin-top: 20px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.preview-card { padding: 24px; box-shadow: var(--shadow); max-width: 420px; justify-self: end; width: 100%; }
.preview-list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.preview-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.preview-list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- intent + destination cards ---------- */
.intent { display: flex; flex-direction: column; gap: 8px; padding: 22px; text-decoration: none; min-height: 168px; transition: border-color .15s; }
.intent:hover { border-color: var(--ink-2); }
.intent h3 { font-size: 22px; }
.intent p { color: var(--muted); font-size: 15px; }
.intent .go { margin-top: auto; font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; }
.dest { display: flex; flex-direction: column; gap: 10px; padding: 20px; text-decoration: none; transition: border-color .15s; }
.dest:hover { border-color: var(--ink-2); }
.dest-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dest h3 { font-size: 21px; }
.dest dl { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 4px 12px; margin: 0; font-size: 14px; }
.dest dt { color: var(--muted); }
.dest dd { margin: 0; text-align: right; font-family: var(--f-num); font-size: 13.5px; }
.clock { font-family: var(--f-num); font-size: 13px; color: var(--muted); }

/* ---------- questions / quotes ---------- */
.qlist { list-style: none; display: grid; gap: 0; }
.qlist li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.qlist li:first-child { border-top: 1px solid var(--line); }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.compare li { display: flex; gap: 10px; color: var(--ink-2); }
.compare li svg { margin-top: 4px; }

/* ---------- verification layers ---------- */
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.layer { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.layer .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--verify-soft); color: var(--verify); }
.layer h3 { font-size: 19px; }
.layer p { color: var(--muted); font-size: 15px; }
.disclaimer { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 10px 10px 0; color: var(--ink-2); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; }
.steps li { counter-increment: s; padding-top: 16px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(s); font-family: var(--f-num); font-size: 13px; color: var(--muted); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-table th { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.price-table td.r, .price-table th.r { text-align: right; }
.formula { font-family: var(--f-num); font-size: 14px; background: var(--sunken); border-radius: 10px; padding: 14px 16px; overflow-x: auto; white-space: nowrap; }
.rules { list-style: none; display: grid; gap: 12px; }
.rules li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--ink-2); font-size: 15px; }

/* ---------- metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.metric { padding: 18px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric dt { font-size: 13.5px; color: var(--muted); }
.metric dd { margin: 6px 0 0; font-family: var(--f-num); font-size: 22px; font-weight: 600; }
.metric dd.na { font-family: var(--f-ui); font-size: 15px; font-weight: 500; color: var(--muted); }

/* ---------- final CTA ---------- */
.final { text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final h2 { font-size: clamp(30px, 4vw, 50px); max-width: 14em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 32px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 24px; }
.site-footer h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ---------- notices ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.notice svg { margin-top: 2px; color: var(--muted); }
.notice-gold { background: var(--gold-soft); border-color: transparent; color: var(--gold-ink); }
.notice-gold svg { color: var(--gold-ink); }
.notice-warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.notice-info { background: var(--info-soft); border-color: transparent; color: var(--info); }

/* ---------- find ---------- */
.find-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.filters legend { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.search-bar { display: flex; gap: 8px; }
.search-bar .input { min-height: 52px; font-size: 17px; }
.search-bar .btn { min-height: 52px; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.result-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 16px; }
.interpret { font-size: 14px; color: var(--muted); }
.interpret b { color: var(--ink); font-weight: 600; }
.filters-toggle { display: none; }
.empty { padding: 40px 24px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* ---------- profile ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-block: 32px 72px; }
.profile-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.profile-head { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.profile-head h1 { font-size: clamp(30px, 3.6vw, 42px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.facts div { padding: 14px 16px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--f-num); font-size: 18px; font-weight: 600; }
.facts dd.na { font-family: var(--f-ui); font-size: 14px; color: var(--muted); font-weight: 500; }
.side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.book-box { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.book-box .rate { font-family: var(--f-num); font-size: 30px; font-weight: 600; }
.book-box .rate small { font-family: var(--f-ui); font-size: 15px; color: var(--muted); font-weight: 400; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mini-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-table td:last-child { text-align: right; font-family: var(--f-num); }
.mini-table tr:last-child td { border-bottom: 0; }
.exp-list { list-style: none; display: grid; gap: 12px; }
.exp-list li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 15px; }
.exp-list .when { color: var(--muted); font-family: var(--f-num); font-size: 13.5px; padding-top: 2px; }
.ask-list { list-style: none; display: grid; gap: 10px; }
.ask-list li { padding: 12px 14px; border-radius: 10px; background: var(--sunken); font-size: 15px; }
.fit-list { list-style: none; display: grid; gap: 8px; }
.fit-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.fit-list svg { color: var(--verify); margin-top: 3px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.slot { text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); display: flex; flex-direction: column; gap: 2px; min-height: 64px; }
.slot b { font-size: 14.5px; }
.slot span { font-size: 12.5px; color: var(--muted); }
.slot[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.review:last-child { border-bottom: 0; }
.attr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
.attr { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-size: 14px; }
.bar { height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; grid-column: 1 / -1; }
.bar > i { display: block; height: 100%; background: var(--ink); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-top: 24px; list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }

/* ---------- booking ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-block: 32px 72px; }
.progress { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; }
.progress li { flex: 1 1 0; min-width: 90px; font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); }
.progress li.done { border-color: var(--verify); color: var(--ink-2); }
.progress li[aria-current="step"] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .progress { flex-wrap: nowrap; } .progress li { min-width: 0; font-size: 0; } .progress li[aria-current="step"] { font-size: 13px; flex: 3 1 0; white-space: nowrap; } }
.tz-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tz-pair div { padding: 12px 14px; border-radius: 10px; background: var(--sunken); }
.tz-pair dt { font-size: 12.5px; color: var(--muted); }
.tz-pair dd { margin: 2px 0 0; font-weight: 600; }
.summary { width: 100%; border-collapse: collapse; }
.summary th, .summary td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; font-weight: 400; }
.summary th { color: var(--muted); }
.summary td { text-align: right; font-family: var(--f-num); }
.summary tr.total th, .summary tr.total td { color: var(--ink); font-weight: 700; border-bottom: 0; font-size: 16px; }

/* ---------- call ---------- */
.call-wrap { min-height: calc(100vh - 64px); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; padding-block: 20px; align-items: start; }
.stage { position: relative; border-radius: var(--r-lg); background: #0e1422; color: #e9edf5; min-height: min(62vh, 560px); display: grid; place-items: center; overflow: hidden; }
.stage .who { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 20px; }
.stage .avatar { background: #1d2638; color: #e9edf5; border-color: #2a3550; }
.stage .self { position: absolute; right: 14px; bottom: 14px; width: clamp(110px, 18vw, 180px); aspect-ratio: 4 / 3; border-radius: 12px; background: #1b2335; border: 1px solid #2a3550; display: grid; place-items: center; font-size: 12.5px; color: #9aa6bd; }
.stage .conn { position: absolute; left: 14px; top: 14px; display: inline-flex; gap: 8px; align-items: center; font-size: 13px; background: rgba(0,0,0,.35); padding: 6px 10px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4cc488; }
.dot.wait { background: #f2b14c; }
.paused-banner { position: absolute; inset: auto 0 0 0; background: #f2b14c; color: #2b1d00; padding: 12px 16px; font-weight: 700; text-align: center; }
.controls { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding-top: 14px; }
.ctrl { min-width: 96px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 0 14px; }
.ctrl[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.ctrl.end { background: var(--danger); color: #fff; border-color: var(--danger); }
.billing { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bill-state { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; align-self: flex-start; }
.bill-free { background: var(--info-soft); color: var(--info); }
.bill-on { background: var(--verify-soft); color: var(--verify); }
.bill-paused { background: var(--warn-soft); color: var(--warn); }
.bill-num { font-family: var(--f-num); font-size: 32px; font-weight: 600; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 14.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--f-num); text-align: right; }

/* ---------- portals ---------- */
.portal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding-block: 28px 72px; align-items: start; }
.portal-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.portal-nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.portal-nav a:hover { background: var(--sunken); color: var(--ink); }
.portal-nav a[aria-current="page"] { background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.portal-nav h2 { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; font-weight: 600; }
.portal-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.portal-main > h1 { font-size: clamp(26px, 3vw, 34px); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { padding: 16px 18px; }
.tile dt { font-size: 13.5px; color: var(--muted); }
.tile dd { margin: 6px 0 0; font-family: var(--f-num); font-size: 24px; font-weight: 600; }
.tile .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; font-family: var(--f-ui); font-weight: 400; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; font-family: var(--f-num); }
.list { list-style: none; display: flex; flex-direction: column; }
.list > li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list > li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 180px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button, .tabs a { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; color: var(--muted); font-size: 15px; white-space: nowrap; text-decoration: none; margin-bottom: -1px; }
.tabs [aria-selected="true"], .tabs [aria-current="page"] { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.bars { display: grid; gap: 10px; }
.bars .bar-row { display: grid; grid-template-columns: 140px 1fr 48px; gap: 10px; align-items: center; font-size: 14px; }
.bars .track { height: 10px; background: var(--sunken); border-radius: 5px; overflow: hidden; }
.bars .track i { display: block; height: 100%; background: var(--ink); border-radius: 5px; }
.bars .track i.alt { background: var(--gold); }

/* ---------- article / content ---------- */
.article { max-width: 760px; padding-block: 40px 72px; }
.article h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.035em; }
.article h2 { font-size: 24px; margin-top: 40px; }
.article p, .article li { color: var(--ink-2); font-size: 17px; }
.article ul { padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; }
.prose > * + * { margin-top: 14px; }
.answer { padding: 22px; display: grid; gap: 12px; }
.note-card { padding: 20px; display: grid; gap: 10px; }
.note-card blockquote { margin: 0; font-size: 17px; color: var(--ink-2); }
.resource { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; }
.resource:last-child { border-bottom: 0; }
.resource:hover b { text-decoration: underline; }

/* ---------- dialog & toast ---------- */
dialog { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(10, 14, 24, .5); }
.dlg { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.dlg h2 { font-size: 22px; }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.toast-region { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--btn); color: var(--btn-ink); padding: 12px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow); }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-right: 0; }
  .metric:nth-child(n+4) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-main, .header-actions .hide-md { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .profile, .booking, .call-wrap, .portal, .find-layout { grid-template-columns: 1fr; }
  .preview-card { justify-self: start; }
  .side, .filters, .portal-nav { position: static; }
  .filters { display: none; }
  .filters.open { display: flex; }
  .filters-toggle { display: inline-flex; }
  .portal-nav { flex-direction: row; overflow-x: auto; gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .portal-nav h2 { display: none; }
  .portal-nav a { white-space: nowrap; }
  .g3, .layers, .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .g2, .g4, .steps, .tz-pair, .attr-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); }
  .metric:nth-child(-n+2) { border-top: 0; }
  .metric:nth-child(2n) { border-right: 0 !important; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .search-bar { flex-direction: column; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .exp-list li { grid-template-columns: 1fr; gap: 2px; }
  .bars .bar-row { grid-template-columns: 100px 1fr 40px; }
  .results { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ================= APP CHROME (mobile-first app behaviour) ================= */
.app-back, .app-title { display: none; }
.tabbar { display: none; }
.loading { display: grid; place-items: center; padding: 64px 0; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[aria-busy="true"].btn { opacity: .7; }
.sticky-cta { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  body.no-tabs { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .header-in { min-height: 56px; gap: 10px; }
  .site-header .brand { font-size: 21px; }
  body.has-back .site-header .brand { display: none; }
  body.has-back .app-back { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: 12px; color: var(--ink); }
  body.has-back .app-title { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
  .header-actions .hide-sm { display: none; }
  .menu-btn { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; font-size: 11.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
  .tabbar a .icon { width: 23px; height: 23px; }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar a[aria-current="page"] .icon { stroke-width: 2.3; }
  body.no-tabs .tabbar { display: none; }
  .site-footer { display: none; }
  .home-footer-mobile { display: block; }
  /* bottom sheets */
  dialog { width: 100vw; max-width: 100vw; margin: auto 0 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; max-height: 88vh; padding-bottom: env(safe-area-inset-bottom, 0px); animation: sheet .22s ease-out; }
  dialog::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 0; }
  .dlg-actions { flex-direction: column-reverse; }
  .dlg-actions .btn { width: 100%; }
  /* sticky booking bar above the tab bar */
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom, 0px)); z-index: 44; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px var(--gutter); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.2); }
  body.no-tabs .sticky-cta { bottom: env(safe-area-inset-bottom, 0px); padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .has-sticky { padding-bottom: 76px; }
  .sticky-cta .btn { min-height: 48px; flex: 1; max-width: 240px; }
  /* app-like content */
  .section { padding-block: 40px; }
  .hero { padding-block: 28px 36px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .card { border-radius: 16px; }
  .scroll-x { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .scroll-x::-webkit-scrollbar { display: none; }
  .scroll-x > * { flex: 0 0 82%; scroll-snap-align: start; }
  .chips.scroll-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips.scroll-chips::-webkit-scrollbar { display: none; }
  .chips.scroll-chips > * { flex: none; }
  .side .book-box.desktop-only { display: none; }
  .portal { padding-top: 12px; }
  .list-link { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
  .call-wrap { padding-top: 8px; }
  .stage { min-height: 52vh; }
  input, select, textarea { font-size: 16px !important; } /* stops iOS zoom */
}
@keyframes sheet { from { transform: translateY(40px); opacity: .5; } }
@media (display-mode: standalone) { .site-header { padding-top: env(safe-area-inset-top, 0px); } }
.list-link .grow { flex: 1; min-width: 0; }
.list-link .icon { color: var(--muted); }
.home-footer-mobile { display: none; }
