/* treatacross look (2026-10-30, same brief as uniacross spike.css): a reference work with the warmth of photos. Loaded after app.css and overrides it.
   Grotesque headings, paper background, thin rules instead of shadows, one accent used rarely, no gradients on text. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: block; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: block; }
:root {
  --bg: #f7f5f0; --surface: #fffdf9; --surface-2: #efece4; --fg: #15192a; --muted: #5f6577; --line: #d9d4c8;
  --brand: #1e3a7a; --brand-2: #14295a; --teal: #1e3a7a; --accent: #1d7356; --accent-2: #165c45;
  --brand-soft: #e9ecf3; --teal-soft: #e9ecf3; --accent-soft: #e2f2eb; --grad: #1e3a7a;
  --radius: 6px; --radius-sm: 4px; --shadow-sm: none; --shadow: none; --shadow-lg: none;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --accent-ink: #165c45; --accent-btn: #1d7356; --accent-btn-2: #165c45;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #14151a; --surface: #1b1d24; --surface-2: #23262f; --fg: #ecebe6; --muted: #a2a5ae; --line: #343843;
    --brand: #9db3e8; --brand-2: #c1cff0; --teal: #9db3e8; --accent: #5fcf9f; --accent-2: #8fe0bd; --brand-soft: #222a3c; --teal-soft: #222a3c; --accent-soft: #16302a; --grad: #9db3e8;
    --accent-ink: #8fe0bd; --accent-btn: #5fcf9f; --accent-btn-2: #8fe0bd; }
}
:root[data-theme="dark"] { --bg: #14151a; --surface: #1b1d24; --surface-2: #23262f; --fg: #ecebe6; --muted: #a2a5ae; --line: #343843;
  --brand: #9db3e8; --brand-2: #c1cff0; --teal: #9db3e8; --accent: #5fcf9f; --accent-2: #8fe0bd; --brand-soft: #222a3c; --teal-soft: #222a3c; --accent-soft: #16302a; --grad: #9db3e8;
  --accent-ink: #8fe0bd; --accent-btn: #5fcf9f; --accent-btn-2: #8fe0bd; }

body { font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h3 { font-size: 1.15rem; font-weight: 650; }
time, .num, .money, .tile-value, .stat-item strong { font-variant-numeric: tabular-nums; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.eyebrow { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-variant: small-caps; color: var(--muted); font-weight: 600; }
.eyebrow::before { content: none; }
.section { padding: 40px 20px; }

/* header: a masthead rule, no blur; the full menu still fits at 1280 px with Inter (app.js folds it below that) */
.site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--fg); box-shadow: none; }
.logo { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
.logo-text span { background: none; color: var(--accent); -webkit-text-fill-color: currentColor; }
.logo-mark { border-radius: 4px; background: var(--brand); box-shadow: none; }
.site-footer .logo-text span { color: #8fe3b8; }
.site-nav a { border-radius: 2px; font-weight: 500; font-size: .9rem; padding: 8px 6px; letter-spacing: -.005em; }
.site-nav a:hover { background: none; text-decoration: underline; }
.site-nav a[aria-current="page"], .site-nav a.nav-ref[aria-current="page"] { background: none; color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.site-nav a.btn { color: #fff; }
.beta-badge, .nav-toggle, .header-search, .theme-toggle { border-radius: 3px; }

/* buttons: flat, no lift */
.btn { border-radius: var(--radius-sm); box-shadow: none; font-weight: 600; padding: 10px 18px; }
.btn:hover { transform: none; box-shadow: none; }
.btn-accent { background: var(--accent-btn); border-color: transparent; color: #fff; }
.btn-accent:hover { background: var(--accent-btn-2); box-shadow: none; }
.btn-light { background: transparent; color: var(--brand); border-color: var(--line); backdrop-filter: none; }
.btn-light:hover { background: var(--surface-2); color: var(--brand-2); }

/* cards: a rule, not a shadow */
.card { border-radius: var(--radius); box-shadow: none; }
a.card:hover, .card:hover { transform: none; box-shadow: none; }
a.card:hover { border-color: var(--fg); }
.tool-icon, .feature-icon { display: none; }
.tool-card .ph, .treat-card .treat-ph, .dest-card .dest-ph { border-radius: var(--radius) var(--radius) 0 0; }
.badge, .risk-tag, .sr-chip, .ab-chip, .chip, .tab-n { border-radius: 3px; }
input, select, textarea { border-radius: var(--radius-sm); }
.flash, .warn-box, .notice-medical { border-radius: var(--radius-sm); box-shadow: none; }

/* page headers: the photo stays (darkened from the left); without a photo, ink on paper and a rule */
.page-hero:not(:has(.ph)) { background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--line); }
.page-hero:not(:has(.ph))::before { content: none; }
.page-hero:not(:has(.ph)) h1 { color: var(--fg); }
.page-hero:not(:has(.ph)) .lead { color: var(--muted); }
.page-hero:not(:has(.ph)) .crumbs, .page-hero:not(:has(.ph)) .crumbs a, .page-hero:not(:has(.ph)) .doc-meta { color: var(--muted); }
.page-hero:has(.ph)::before { background: linear-gradient(100deg, rgba(14, 18, 40, .9) 0%, rgba(14, 18, 40, .62) 55%, rgba(14, 18, 40, .25) 100%); }
.page-hero:has(.ph) .lead { color: rgba(255,255,255,.88); }
.page-hero-inner { padding-top: 30px; padding-bottom: 30px; }
.page-hero h1 { max-width: 30ch; }
.flagbg { display: none; }

/* documents: the contents as a rail, key facts as a row of thin rules */
.toc { background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 0 18px 0 0; box-shadow: none; }
.toc-title { color: var(--fg); }
.key-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--line); margin: 0 0 22px; background: transparent; padding: 0; box-shadow: none; border-radius: 0; }
.key-facts > div { padding: 12px 14px 12px 0; background: none; border: 0; border-radius: 0; }
.key-facts > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.key-facts .kf-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.key-facts .kf-label .icon { display: none; }
.key-facts p { margin: 4px 0 0; font-weight: 500; }
.doc h2 { border-top: 1px solid var(--fg); padding-top: 14px; }
.register-card, .country-next .card { border-radius: var(--radius); }

/* member area: tabs as a rule with an underline */
.tabs { background: var(--bg); border-bottom: 1px solid var(--line); gap: 0; }
.tabs a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; }
.tabs a[aria-current="page"], .tabs a.active { background: transparent; color: var(--fg); border-color: var(--fg); }
.tiles { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tile { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tile + .tile { border-left: 1px solid var(--line); }
.tile-value { font-family: var(--serif); }
.next-step { border-left-color: var(--fg); border-radius: 0; }
.app-next { margin: 6px 0 0; color: var(--muted); font-size: .92rem; } .app-next strong { color: var(--fg); }

/* home banner: one photo, a grotesque headline with one amber word, a panel exactly as tall as the text whose items roll */
.hero::before { background: linear-gradient(100deg, rgba(14, 18, 40, .88) 0%, rgba(14, 18, 40, .6) 40%, rgba(14, 18, 40, .18) 72%, rgba(14, 18, 40, .04) 100%); }
.hero .hero-inner { min-height: 0; align-items: stretch; padding-top: 34px; padding-bottom: 84px; row-gap: 18px; grid-template-rows: auto auto; }
.hero h1 { font-weight: 700; max-width: 17ch; }
.hero h1 span { background: none; -webkit-text-fill-color: #8fe3b8; color: #8fe3b8; }
.hero .eyebrow { color: #8fe3b8; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero-cta { margin-top: 18px; }
.hero-trust { margin-top: 16px; }
.hero-trust span::before { border-radius: 2px; background: rgba(143, 227, 184, .22); color: #8fe3b8; }
.hero .btn-light { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.hero .btn-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero-slides { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-search { margin-bottom: 0; }
.hero-search .search-box { border-radius: var(--radius); box-shadow: none; }
.glass { border-radius: var(--radius); padding: 14px 18px; box-shadow: none; display: flex; flex-direction: column; }
.glass h2 { font-family: var(--serif); }
.glass h2::before { background: #8fe3b8; box-shadow: none; border-radius: 2px; }
.glass .roll-list { list-style: none; margin: 0 0 10px; padding: 0; flex: 1 1 0; height: 0; min-height: 0; overflow: hidden; position: relative; }
.glass .roll-list li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: .9rem; line-height: 1.4; color: rgba(255,255,255,.92); }
.glass .roll-list li strong { display: block; color: #8fe3b8; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; }
.roll { list-style: none; margin: 0; padding: 0; animation: roll-up var(--roll, 40s) linear infinite; }
.glass:hover .roll, .glass:focus-within .roll { animation-play-state: paused; }
@keyframes roll-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .roll { animation: none; } }
@media (max-width: 920px) { .glass .roll-list { flex: none; height: 260px; } }
.hero .ph-credit { bottom: 44px; }

/* stats: a flat strip; numbers in the heading font */
.stats { margin-top: -30px; }
.stats-inner { border-radius: var(--radius); box-shadow: none; }
.stat-item strong { background: none; -webkit-text-fill-color: var(--fg); color: var(--fg); font-family: var(--serif); font-weight: 650; }

/* home sections: a rule over each, then the content */
.sp-section { border-top: 1px solid var(--fg); padding-top: 18px; margin-top: 44px; }
.sp-section .section-head { margin-bottom: 18px; }
.sp-section .section-head h2 { margin: 0; }
.sp-section .eyebrow { color: var(--accent-ink); }
.sp-sub { color: var(--muted); margin: 0 0 18px; max-width: 70ch; }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.treat-card { padding: 0; overflow: hidden; }
.treat-card .treat-ph { display: block; aspect-ratio: 16 / 10; margin: 0; }
.treat-card h3, .treat-card p, .treat-card .risk-tag, .treat-card .more { margin-left: 16px; margin-right: 16px; }
.treat-card h3 { margin-top: 12px; font-size: 1.05rem; }
.treat-card p { font-size: .9rem; color: var(--muted); }
.treat-card .more { margin-bottom: 14px; }
.sp-example { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 36px; }
.sp-profile { font-size: .95rem; }
.sp-profile dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.sp-profile dt { color: var(--muted); } .sp-profile dd { margin: 0; }
.sp-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.sp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sp-cols h3 { margin: 0 0 8px; border-bottom: 1px solid var(--fg); padding-bottom: 4px; font-size: 1rem; }
.sp-cols ul { list-style: none; padding: 0; margin: 0; }
.sp-cols li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.sp-cols li time { font-weight: 650; display: inline-block; min-width: 5.2em; }
.sp-cols .badge { font-size: .75rem; }
.dest-card.dest-facts { display: flex; flex-direction: column; padding: 0; }
.dest-facts .dest-ph { display: block; aspect-ratio: 16 / 9; margin: 0; width: 100%; }
.dest-facts .df-body { padding: 14px 16px 16px; }
.dest-facts h3 { margin: 0 0 8px; font-size: 1.1rem; }
.dest-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .9rem; }
.dest-facts dt { color: var(--muted); } .dest-facts dd { margin: 0; }
.sp-method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-size: .95rem; color: var(--muted); }
.sp-method p { margin: 0; }
.sp-method strong { color: var(--fg); display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.05rem; }
.cta-band { border-radius: var(--radius); }
.cta-band::before { background: linear-gradient(100deg, rgba(14, 18, 40, .88), rgba(14, 18, 40, .45)); }
.cta-band h2 { font-family: var(--serif); }

/* "?" explanations next to form labels (tip(), as on uniacross) */
.tip { border-radius: 50%; }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .sp-example, .sp-cols, .sp-method { grid-template-columns: 1fr; gap: 18px; }
  .key-facts { grid-template-columns: 1fr 1fr; } .key-facts > div + div { border-left: 0; padding-left: 0; }
  .key-facts > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 14px; } .key-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tile + .tile { border-left: 0; }
}
@media (max-width: 600px) { .grid-5 { grid-template-columns: 1fr 1fr; } }
/* "Which destination?": the fit as a word, no gradient text */
.pod-score, .result .score { font-family: var(--serif); font-size: 1.05rem; font-weight: 650; background: none; -webkit-text-fill-color: currentColor; color: var(--fg); }
.pod.low .pod-score { color: var(--muted); }
.pod, .pod-1 { background: var(--surface); box-shadow: none; border-radius: var(--radius); }
.pod-1 { border-color: var(--fg); }
.pod-1 { border: 2px solid var(--fg); }
.pod .pod-rank, .pod-1 .pod-rank { background: var(--fg); color: var(--bg); border-radius: 3px; }
.search-group .sr-note { margin: 0 18px 10px; }
.page-hero::before { background: linear-gradient(100deg, rgba(14, 18, 40, .86) 0%, rgba(14, 18, 40, .55) 42%, rgba(14, 18, 40, .22) 68%, rgba(14, 18, 40, .06) 100%); }   /* lighter fade (owner, 2026-10-30, as uniacross): dark on the text side, the photo shows on the right */
.tool-card .ph img, .dest-card .ph img, .treat-card .ph img { filter: saturate(1.12) contrast(1.03); }   /* livelier card photos (owner, 2026-10-30) */

/* home banners chosen in the dashboard (Content > Home hero banners, 2026-10-31, as uniacross): the slides share one grid cell, so the
   text block is as tall as the tallest slide and the search bar never moves; photos cross-fade, texts fade out then in */
.hero .hero-title { color: #fff; max-width: 17ch; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; margin: .2em 0 .35em; }
.hero .hero-title span { background: none; -webkit-text-fill-color: #8fe3b8; color: #8fe3b8; }
.hero-carousel .ph { opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-carousel .ph.is-active { opacity: 1; }
.hero-carousel .hero-slides { display: grid; min-width: 0; }
.hero-slide { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .35s ease-in, transform .35s ease-in, visibility 0s linear .35s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease-out .3s, transform .7s ease-out .3s, visibility 0s linear .3s; }
.hero:not(.hero-carousel) .hero-slide { opacity: 1; visibility: visible; transform: none; }
.hero-points { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; max-width: 58ch; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.9); font-size: .95rem; }
.hero-points .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #8fe3b8; }
.hero-nav { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: transparent; cursor: pointer; transition: width .35s ease, background .35s ease, border-color .35s ease; }
.hero-dot.is-active { width: 22px; border-radius: 5px; background: #8fe3b8; border-color: #8fe3b8; }
.hero-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 0; background: transparent; color: rgba(255,255,255,.85); cursor: pointer; }
.hero-arrow:first-child { margin-left: -6px; }
.hero-arrow:hover { color: #fff; background: rgba(255,255,255,.14); }
.hero-arrow svg { width: 15px; height: 15px; }
.hero-arrow[data-hero-prev] svg { transform: rotate(180deg); }
.hero-pause .hp-play, .hero-pause[aria-pressed="true"] .hp-pause { display: none; }
.hero-pause[aria-pressed="true"] .hp-play { display: block; }
.hero-dot:focus-visible, .hero-arrow:focus-visible { outline: 2px solid #8fe3b8; outline-offset: 2px; }
@media (max-width: 920px) { .hero-nav [data-hero-prev], .hero-nav [data-hero-next] { display: none; } }
@media (pointer: coarse) { .hero-nav { gap: 4px; } .hero-arrow { width: 36px; height: 36px; } .hero-dot { width: 12px; height: 12px; margin: 0 4px; } .hero-dot.is-active { width: 28px; } }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.is-active, .hero-carousel .ph { transition: none; } }

/* the full logo (owner 2026-11-02: the T with the plane, the name spelled by the logo itself, no separate text); the footer is always dark */
.logo-full { display: block; line-height: 0; }
.logo-full img { height: 38px; width: auto; display: block; }
.logo-full .lm-dark { display: none; }
:root[data-theme="dark"] .logo-full .lm-light { display: none; }
:root[data-theme="dark"] .logo-full .lm-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-full .lm-light { display: none; } :root:not([data-theme="light"]) .logo-full .lm-dark { display: block; } }
.site-footer .logo-full .lm-light { display: none; }
.site-footer .logo-full .lm-dark { display: block; }
@media (max-width: 480px) { .site-header .logo-full img { height: 29px; } }

/* Home carousels and the three example members (2026-11-07, copied from uniacross spike.css: .sp-ex-* and .hs-*) */
.sp-ex-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.sp-ex-head .sp-sub { margin-bottom: 0; }
.sp-ex-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-ex-chip { font: inherit; font-size: .9rem; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg); cursor: pointer; }
.sp-ex-chip[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.sp-ex-name { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 12px; }
.hs-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hs-btns { display: inline-flex; gap: 6px; }
.hs-btns[hidden] { display: none; }
.hs-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; transition: border-color .15s, background .15s, opacity .15s; }
.hs-btn .icon { width: 18px; height: 18px; }
.hs-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.hs-btn:disabled { opacity: .35; cursor: default; }
.hs-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 14px; margin: 0 -2px; scrollbar-width: none; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-track > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1000px) { .hs-track { grid-auto-columns: calc((100% - 2 * 16px) / 2.5); } }
@media (max-width: 600px) { .hs-track { grid-auto-columns: 82%; gap: 12px; } .hs-btns { display: none; } }
.hs-track .tool-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }   /* one long summary no longer stretches the whole row */
.hs-track.hs-wide { grid-auto-columns: calc((100% - 2 * 16px) / 3); }   /* destination cards: three on a wide screen */
@media (max-width: 1000px) { .hs-track.hs-wide { grid-auto-columns: calc((100% - 16px) / 1.6); } }
@media (max-width: 600px) { .hs-track.hs-wide { grid-auto-columns: 82%; } }
.ph-icon { display: grid; place-items: center; color: #fff; }   /* a guide without its photo yet: the brand colour and the guide's icon */
.ph-icon .icon { width: 46px; height: 46px; opacity: .9; }
