/* Melion Sky Atlas: the shared design system for every page of melionair.com, the member area and the installed app.
   The sky is the ground of every page (public/atlas/sky.js draws it, moving); content sits on cloud-white plates with
   hairline rules; deep navy carries text and controls; one warm sun gold marks the wordmark's sun and live status.
   Headings, figures, labels and controls use the shared screen typography. The wordmark is artwork. The original
   system type is the fallback and print default. Editable form values stay at least 16px. */


:root {
  /* colour */
  --atlas-zenith: #0b2f6b;      /* the deep blue overhead: primary controls, headings on plates */
  --atlas-cobalt: #15418f;
  --atlas-azure: #2a6bcb;       /* links, focus, the active mode */
  --atlas-sky: #9cc6f0;
  --atlas-haze: #e4eef9;        /* tinted fields and hovered rows */
  --atlas-cloud: #f6f9fd;       /* plates */
  --atlas-white: #ffffff;
  --atlas-ink: #0a1a33;         /* text on plates */
  --atlas-ink-2: #33425d;
  --atlas-ink-3: #52617b;       /* labels, captions: 5.6:1 on cloud */
  --atlas-rule: #d6e0ec;
  --atlas-rule-2: #b8c7da;
  --atlas-sun: #f2b94e;         /* the sun: altimeter marker, the wordmark, the live count's leader */
  --atlas-sun-ink: #7d5200;     /* gold as text on plates: 6.6:1 */
  --atlas-live: #0c6f46;        /* live dot */
  --atlas-alert: #b3261e;
  --atlas-night: #06142f;       /* the footer, after dark */
  --atlas-on-sky: #ffffff;
  --atlas-on-sky-2: rgba(255, 255, 255, 0.88);
  --atlas-on-sky-rule: rgba(255, 255, 255, 0.5);

  /* Screen roles are shared across web and app surfaces. Fallbacks retain print measurements. */
  --atlas-sans: var(--melion-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --atlas-display: var(--atlas-sans);
  --atlas-text: var(--atlas-sans);
  --atlas-num: var(--atlas-sans);
  --atlas-t-hero: clamp(2.875rem, 6.2vw + 0.25rem, 6rem);
  --atlas-t-h1: var(--melion-type-h1, clamp(2.375rem, 4vw + 0.75rem, 4.5rem));
  --atlas-t-h2: var(--melion-type-h2, clamp(1.875rem, 2.45vw + 0.8rem, 3.25rem));
  --atlas-t-h3: var(--melion-type-h3, clamp(1.25rem, 0.75vw + 1rem, 1.625rem));
  --atlas-t-figure: clamp(2.25rem, 3vw + 1rem, 4rem);
  --atlas-t-lede: var(--melion-type-lead, clamp(1.0625rem, 0.45vw + 0.95rem, 1.3125rem));
  --atlas-t-body: var(--melion-type-body, 1.0625rem);
  --atlas-t-small: var(--melion-type-ui, 0.9375rem);
  --atlas-t-caption: var(--melion-type-caption, 0.875rem);
  --atlas-t-label: var(--melion-type-label, 0.875rem);
  --atlas-weight-title: var(--melion-weight-title, 650);
  --atlas-leading-title: var(--melion-leading-title, 1.08);
  --atlas-leading-section: var(--melion-leading-section, 1.14);
  --atlas-leading-copy: var(--melion-leading-copy, 1.6);

  /* space and shape */
  --atlas-gutter: clamp(20px, 4.2vw, 64px);
  --atlas-max: 1320px;
  --atlas-section: clamp(72px, 9vw, 148px);
  --atlas-radius: 3px;
  --atlas-shadow: 0 30px 60px -28px rgba(7, 28, 66, 0.5), 0 2px 6px -2px rgba(7, 28, 66, 0.12);
  --atlas-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --atlas-bar-h: 76px;
  --atlas-tabs-h: 64px;
  --atlas-tabs-space: 0px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--atlas-bar-h) + 16px); }
body.atlas { margin: 0; min-height: 100vh; background: var(--atlas-zenith); color: var(--atlas-ink); font: 400 var(--atlas-t-body)/var(--atlas-leading-copy) var(--atlas-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; font-variant-numeric: lining-nums; }
.atlas img, .atlas svg { display: block; max-width: 100%; }
:where(.atlas) a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.atlas :focus-visible { outline: 2px solid var(--atlas-azure); outline-offset: 3px; border-radius: 1px; }
.atlas .on-sky :focus-visible, .atlas-bar[data-on="sky"] :focus-visible { outline-color: #fff; }
.atlas ::selection { background: var(--atlas-sky); color: var(--atlas-ink); }
:where(.atlas) :is(input, select, textarea, button) { font: inherit; color: inherit; }
:where(.atlas) :is(input, textarea)::placeholder { color: var(--atlas-ink-3); opacity: 1; }
html.atlas-doc { scrollbar-color: var(--atlas-rule-2) var(--atlas-cloud); scrollbar-width: thin; }
.atlas-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--atlas-white); color: var(--atlas-ink); padding: 10px 14px; border-radius: var(--atlas-radius); font-family: var(--atlas-text); }
.atlas-skip:focus { top: 12px; }
@media screen {
  .atlas-skip { top: 0; transform: translateY(-110%); }
  .atlas-skip:focus { top: 12px; transform: none; }
}
.atlas-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.atlas-hero-title, .atlas-h1, .atlas-h2, .atlas-h3 { font-family: var(--atlas-display); font-weight: var(--atlas-weight-title); margin: 0; text-wrap: balance; }
.atlas-hero-title { font-size: var(--atlas-t-hero); line-height: 1.04; letter-spacing: -0.03em; }
.atlas-h1 { font-size: var(--atlas-t-h1); line-height: var(--atlas-leading-title); letter-spacing: -0.028em; }
.atlas-h2 { font-size: var(--atlas-t-h2); line-height: var(--atlas-leading-section); letter-spacing: -0.02em; }
.atlas-h3 { font-size: var(--atlas-t-h3); line-height: 1.25; letter-spacing: -0.01em; font-weight: 620; }
.atlas-hero-title em, .atlas-h1 em, .atlas-h2 em { font-style: normal; font-weight: inherit; }
.atlas-lede { font-size: var(--atlas-t-lede); line-height: 1.55; max-width: 34em; margin: 0; text-wrap: pretty; }
.atlas-prose { max-width: 68ch; }
.atlas-prose p { margin: 0 0 1em; text-wrap: pretty; }
.atlas-label { font: 600 var(--atlas-t-label)/1.3 var(--atlas-text); letter-spacing: 0; color: var(--atlas-ink-3); }
.atlas-caption { font: 400 1rem/1.45 var(--atlas-text); color: var(--atlas-ink-2); }
.atlas-figure { font: 600 var(--atlas-t-figure)/1.05 var(--atlas-num); letter-spacing: -0.03em; font-variant-numeric: lining-nums proportional-nums; }
.atlas-fine { font-size: var(--atlas-t-caption); line-height: 1.55; color: var(--atlas-ink-3); max-width: 72ch; }

/* The comparison, destination and booking guides share the app shell in website mode. */
html.site .view > :is(h1, h2).display { font-weight: var(--atlas-weight-title); font-size: clamp(2rem, 2.5vw + 1rem, 3.25rem); line-height: var(--atlas-leading-title); }
html.site .view > .lead { max-width: 62ch; font-size: var(--atlas-t-lede); line-height: var(--atlas-leading-copy); }

/* ---------- buttons and links ---------- */
.atlas-btn { --bg: var(--atlas-zenith); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 24px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: 2px; cursor: pointer; text-decoration: none;
  font: 600 var(--melion-type-control, 1rem)/1.1 var(--atlas-text); letter-spacing: 0; white-space: nowrap;
  transition: background-color 240ms var(--atlas-ease), color 240ms var(--atlas-ease), border-color 240ms var(--atlas-ease), box-shadow 240ms var(--atlas-ease); }
.atlas-btn:hover { --bg: var(--atlas-cobalt); box-shadow: 0 10px 22px -12px rgba(7, 28, 66, 0.55); }
.atlas-btn:active { transform: translateY(1px); }
.atlas-btn[disabled], .atlas-btn[aria-disabled="true"] { --bg: var(--atlas-rule-2); --fg: var(--atlas-ink-2); cursor: not-allowed; box-shadow: none; }
/* a long label on a small phone wraps inside the button rather than pushing the page sideways (320px reflow) */
@media (max-width: 480px) { .atlas-btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; } .atlas-bar .atlas-btn { white-space: nowrap; padding-block: 0; } }
.atlas-btn-light { --bg: #fff; --fg: var(--atlas-ink); }
.atlas-btn-light:hover { --bg: var(--atlas-haze); }
.atlas-btn-line { --bg: transparent; --fg: var(--atlas-ink); border-color: var(--atlas-rule-2); }
.atlas-btn-line:hover { --bg: var(--atlas-haze); border-color: var(--atlas-ink-3); box-shadow: none; }
.on-sky .atlas-btn-line { --bg: rgba(8, 30, 72, 0.55); --fg: #fff; border-color: rgba(255, 255, 255, 0.6); }
.on-sky .atlas-btn-line:hover { --bg: rgba(255, 255, 255, 0.14); }
.atlas-btn-caps { letter-spacing: 0; }
.atlas-btn .atlas-arrow { width: 18px; height: 10px; flex: none; transition: transform 300ms var(--atlas-ease); }
.atlas-btn:hover .atlas-arrow, .atlas-link:hover .atlas-arrow { transform: translateX(4px); }
.atlas-link { display: inline-flex; align-items: center; gap: 10px; color: var(--atlas-azure); font-weight: 600; text-decoration: none; }
.atlas-link:hover { text-decoration: underline; }
.atlas-link .atlas-arrow { width: 16px; height: 9px; transition: transform 300ms var(--atlas-ease); }

/* ---------- plates, rules, fields ---------- */
.atlas-plate { background: var(--atlas-cloud); color: var(--atlas-ink); border-radius: var(--atlas-radius); box-shadow: var(--atlas-shadow); }
.atlas-plate[hidden] { display: none !important; }
.atlas-rule { border: 0; border-top: 1px solid var(--atlas-rule); margin: 0; }
.atlas-field { display: block; position: relative; padding: 14px 20px 16px; }
.atlas-field > span, .atlas-field > label { display: block; font: 600 var(--atlas-t-label)/1.3 var(--atlas-text); color: var(--atlas-ink-3); }
/* field values use the system sans like every other control; the 1.9rem floor keeps the plate the height it had */
.atlas-field input, .atlas-field select, .atlas-field textarea { display: block; width: 100%; margin-top: 6px; padding: 0; border: 0; background: transparent; outline: none; color: var(--atlas-ink);
  font: 400 var(--melion-type-input, 1.0625rem)/1.3 var(--atlas-text); min-height: 1.9rem; }
.atlas-field:focus-within { background: var(--atlas-white); box-shadow: inset 0 -2px 0 var(--atlas-azure); }
.atlas-field input:is([type="date"], [type="number"], [type="time"]) { font-family: var(--atlas-num); font-size: 1.0625rem; font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; min-height: 1.7rem; }
.atlas-field input[type="number"] { -moz-appearance: textfield; }
.atlas-field input::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
.atlas-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--atlas-rule-2); border-radius: 2px; background: #fff; color: var(--atlas-ink); font: 400 1rem/1.4 var(--atlas-text); }
.atlas-input:focus { outline: none; border-color: var(--atlas-azure); box-shadow: 0 0 0 3px rgba(42, 107, 203, 0.18); }
.atlas-input[aria-invalid="true"] { border-color: var(--atlas-alert); }

/* ---------- dropdown lists ----------
   A native select opens its list in the operating system's typeface. Where the browser lets the list be styled
   (customisable select: appearance: base-select on the control and on its ::picker), the list opens in the system sans on a
   plate, like the field it belongs to. Elsewhere the native list stays. The closed control keeps its size, its one
   line of text and its one arrow. */
@supports (appearance: base-select) {
  .atlas select:not([multiple]):not([size]) { -webkit-appearance: base-select !important; appearance: base-select !important; white-space: nowrap;
    overflow: clip; overflow-clip-margin: content-box; } /* long text stops at the padding, short of the arrow, as a native select's does */
  .atlas select:not([multiple]):not([size])::picker(select) { -webkit-appearance: base-select; appearance: base-select; margin: 4px 0; padding: 4px 0; border: 1px solid var(--atlas-rule-2); border-radius: var(--atlas-radius);
    background: var(--atlas-white); color: var(--atlas-ink); box-shadow: var(--atlas-shadow); max-block-size: min(24rem, 70vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    font: 400 1rem/1.3 var(--atlas-text); font-variation-settings: normal; letter-spacing: 0; text-transform: none; }
  .atlas select:not([multiple]):not([size]) :is(option, optgroup) { font: 400 1rem/1.3 var(--atlas-text) !important; font-variation-settings: normal !important; letter-spacing: 0; text-transform: none; color: var(--atlas-ink); }
  .atlas select:not([multiple]):not([size]) option { min-block-size: 40px; padding: 8px 16px; gap: 10px; white-space: normal; cursor: pointer; }
  .atlas select:not([multiple]):not([size]) option:is(:hover, :focus-visible) { background: var(--atlas-haze); outline: none; }
  .atlas select:not([multiple]):not([size]) option:checked { font-weight: 600 !important; }
  .atlas select:not([multiple]):not([size]) option:disabled { color: var(--atlas-ink-3); cursor: default; }
  .atlas select:not([multiple]):not([size]) option::checkmark { content: ""; order: 1; flex: none; width: 11px; height: 6px; margin-left: auto; border-left: 1.5px solid var(--atlas-azure); border-bottom: 1.5px solid var(--atlas-azure); transform: rotate(-45deg) translateY(-2px); }
  .atlas select:not([multiple]):not([size]) option:not(:checked)::checkmark { visibility: hidden; }
  /* the site's fields draw their own chevron (or none): the browser's picker icon would be a second arrow */
  .atlas select:not([multiple]):not([size])::picker-icon { display: none; }
  @media (pointer: coarse) { .atlas select:not([multiple]):not([size]) option { min-block-size: 48px; } }
}

/* ---------- live dot: a green dot with a thin ring that widens and fades, every few seconds ---------- */
.atlas-live { display: inline-flex; align-items: center; gap: 8px; position: relative; }
.atlas-live::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--atlas-live); }
.atlas-live::after { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 1px solid var(--atlas-live); opacity: 0; animation: atlas-ping 2.8s var(--atlas-ease) 3; }
@keyframes atlas-ping { 0% { transform: scale(1); opacity: 0.9; } 80%, 100% { transform: scale(3); opacity: 0; } }

/* leaders: a hairline from a point to a caption, drawn when it comes into view */
.atlas-leader { position: absolute; pointer-events: none; overflow: visible; }
.atlas-leader line, .atlas-leader path { stroke: currentColor; stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 0; }
.atlas-leader circle { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.js .atlas-leader:not(.in) line, .js .atlas-leader:not(.in) path { stroke-dashoffset: 400; }
.atlas-leader line, .atlas-leader path { transition: stroke-dashoffset 1400ms var(--atlas-ease) 200ms; }

/* ---------- the sky ---------- */
.atlas-sky { --atlas-sky-focus-y: 30%; position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--atlas-zenith); }
.atlas-sky picture, .atlas-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--atlas-sky-focus-y); }
/* A wide crop removes the lower part of the scene. Keep the cloud horizon in the opening. */
@media (min-width: 1024px) and (min-aspect-ratio: 7/3) and (not (display-mode: standalone)) {
  :root:not([data-app="installed"]) .atlas-sky { --atlas-sky-focus-y: 48%; }
}
@media (min-width: 1024px) and (min-aspect-ratio: 3/1) and (not (display-mode: standalone)) {
  :root:not([data-app="installed"]) .atlas-sky { --atlas-sky-focus-y: 64%; }
}
.atlas-sky canvas { opacity: 0; transition: opacity 900ms ease; }
.atlas-sky.gl canvas { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .atlas-sky.gl canvas { opacity: 0; } }
.atlas-sky .atlas-sky-layer { position: absolute; inset: 0; transition: opacity 1200ms ease; }
.atlas-sky .atlas-sky-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(5, 26, 66, 0.5) 0%, rgba(5, 26, 66, 0.16) 44%, rgba(5, 26, 66, 0) 64%), linear-gradient(180deg, rgba(5, 26, 66, 0.28) 0, rgba(5, 26, 66, 0) 22%); }
@media (max-aspect-ratio: 3/4) { .atlas-sky .atlas-sky-shade { background: linear-gradient(180deg, rgba(5, 26, 66, 0.46) 0%, rgba(5, 26, 66, 0.14) 46%, rgba(5, 26, 66, 0) 62%); } }

/* The fixed sky must paint above the body background in every wide viewport,
   including short touch windows and public pages opened from the app. */
@media (min-width: 740px) {
  body.atlas:has(.atlas-sky) { isolation: isolate; }
}
@media (min-width: 740px) and (prefers-reduced-motion: no-preference) {
  .atlas-sky:not(.gl) .atlas-sky-layer { animation: atlas-sky-drift 16s ease-in-out infinite alternate; }
}
@keyframes atlas-sky-drift {
  from { transform: translate3d(-0.55%, -0.35%, 0) scale(1.03); }
  to { transform: translate3d(0.55%, 0.35%, 0) scale(1.045); }
}

/* ---------- the altimeter (right edge) ---------- */
.atlas-alt { position: fixed; z-index: 20; right: clamp(16px, 2.2vw, 36px); top: calc(var(--atlas-bar-h) + 28px); bottom: 36px; width: 120px; pointer-events: none; color: var(--atlas-on-sky); }
.atlas-alt-scale { position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--atlas-on-sky-rule), var(--atlas-on-sky-rule)) right / 1px 100% no-repeat; }
.atlas-alt-tick { position: absolute; right: 0; height: 1px; width: 8px; background: var(--atlas-on-sky-rule); }
.atlas-alt-tick.major { width: 16px; }
.atlas-alt-tick.near span, .atlas-alt-tick.tucked span { opacity: 0; }
.atlas-alt-tick span { transition: opacity 200ms ease; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font: 500 11px/1 var(--atlas-text); letter-spacing: 0.1em; color: var(--atlas-on-sky-2); white-space: nowrap; }
.atlas-alt-now { position: absolute; right: 0; display: flex; align-items: center; gap: 10px; transform: translateY(-50%); transition: top 120ms linear; }
.atlas-alt-now i { width: 30px; height: 2px; background: var(--atlas-sun); order: 3; }
.atlas-alt-now b { font: 600 1.375rem/1 var(--atlas-display); font-variant-numeric: lining-nums proportional-nums; letter-spacing: -0.01em; }
.atlas-alt-now small { font: 600 11px/1 var(--atlas-text); letter-spacing: 0; order: -1; color: var(--atlas-on-sky-2); }
.atlas-alt-now :is(b, small) { transition: opacity 260ms var(--atlas-ease); }
.atlas-alt-now.tucked :is(b, small) { opacity: 0; }
.atlas-alt.over-plate { color: var(--atlas-ink); }
.atlas-alt.over-plate .atlas-alt-tick, .atlas-alt.over-plate .atlas-alt-scale { --atlas-on-sky-rule: var(--atlas-rule-2); }
.atlas-alt.over-plate .atlas-alt-tick span, .atlas-alt.over-plate small { color: var(--atlas-ink-3); }
/* the scale is tall and crosses sky, plates and night bands at once: every label carries its own small backing, so it
   stays legible (4.5:1 or more) whatever is behind that part of the scale */
.atlas-alt-tick span, .atlas-alt-now :is(small, b) { padding: 3px 6px; border-radius: 3px; background: rgba(6, 20, 47, 0.72); }
.atlas-alt.over-plate .atlas-alt-tick span, .atlas-alt.over-plate .atlas-alt-now :is(small, b) { background: rgba(246, 249, 253, 0.92); }
.atlas-alt.over-plate .atlas-alt-now small { color: var(--atlas-ink); }
@media (max-width: 1099px) { .atlas-alt { display: none; } }

/* ---------- header ---------- */
.atlas-bar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--atlas-bar-h); display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); padding: 0 var(--atlas-gutter);
  color: var(--atlas-ink); background: rgba(246, 249, 253, 0.94); border-bottom: 1px solid var(--atlas-rule);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  transition: background-color 400ms var(--atlas-ease), color 400ms var(--atlas-ease), border-color 400ms var(--atlas-ease); }
/* On pages set in the content column, the mark and the member button sit on that column's edges, not the window's.
   The homepage and Live sky are full-bleed and keep the window margin. */
body:has(.atlas-wrap, .atlas-page-head, .mfa-top):not(.home):not(.live-page) .atlas-bar { padding-inline: max(var(--atlas-gutter), calc((100% - var(--atlas-max)) / 2)); }
.atlas-bar[data-on="sky"] { color: var(--atlas-on-sky); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* white links over the sun need a little sky behind them: a soft deepening at the top of the window, never a bar */
.atlas-bar::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(var(--atlas-bar-h) * 1.7); pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(5, 26, 66, 0.6) 0%, rgba(5, 26, 66, 0.5) 50%, rgba(5, 26, 66, 0) 100%); transition: opacity 400ms var(--atlas-ease); }
.atlas-bar[data-on="sky"]::before { opacity: 1; }
/* when the bar runs short (320px, large text) the wordmark gives way first; the menu button never does */
.atlas-mark { display: flex; align-items: center; min-height: 44px; width: clamp(128px, 11vw, 156px); min-width: 92px; color: inherit; flex: 0 1 auto; }
.atlas-mark svg { width: 100%; height: auto; }
.atlas-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); margin-left: auto; }
.atlas-nav a { position: relative; text-decoration: none; font: 550 1rem/1 var(--atlas-text); padding: 14px 0; white-space: nowrap; }
.atlas-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--atlas-ease); }
.atlas-nav a:hover::after, .atlas-nav a[aria-current="page"]::after { transform: scaleX(1); }
.atlas-bar .atlas-btn { min-height: 42px; padding: 0 18px; }
.atlas-bar[data-on="sky"] .atlas-btn { --bg: #fff; --fg: var(--atlas-ink); }
.atlas-bar[data-on="sky"] .atlas-btn:hover { --bg: var(--atlas-haze); }
.atlas-menu { display: none; flex: none; margin-left: 4px; margin-right: -10px; width: 44px; height: 44px; min-width: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.atlas-menu i, .atlas-menu i::before { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; content: ""; transition: transform 300ms var(--atlas-ease), top 300ms var(--atlas-ease); }
.atlas-menu i { top: 18px; } .atlas-menu i::before { left: 0; right: 0; top: 7px; }
.atlas-menu[aria-expanded="true"] i { top: 21px; transform: rotate(45deg); } .atlas-menu[aria-expanded="true"] i::before { top: 0; transform: rotate(-90deg); }
@media (max-width: 1180px) { .atlas-nav { gap: 16px; } .atlas-nav a { font-size: var(--atlas-t-small); } }
@media (max-width: 1060px) { .atlas-nav a[data-wide] { display: none; } }
@media (max-width: 899px) {
  :root { --atlas-bar-h: 64px; }
  .atlas-nav { display: none; }
  .atlas-bar { gap: 12px; }
  .atlas-bar .atlas-btn { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 0.9375rem; flex: none; }
  .atlas-menu { display: block; }
}
/* small phones and large text: a slimmer member button so the bar fits at 320px without sideways scroll */
@media (max-width: 420px) {
  .atlas-bar { gap: 8px; }
  .atlas-bar .atlas-btn-caps { padding: 0 10px; letter-spacing: 0; }
  .atlas-menu { margin-left: 0; }
}

/* compact navigation drawer */
.atlas-drawer { position: fixed; z-index: 39; inset: 0; padding: calc(var(--atlas-bar-h) + 12px) var(--atlas-gutter) calc(var(--atlas-tabs-h) + 24px); background: var(--atlas-cloud); color: var(--atlas-ink);
  display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 320ms var(--atlas-ease), transform 320ms var(--atlas-ease), visibility 0s 320ms; overflow-y: auto; }
.atlas-drawer[data-open] { opacity: 1; visibility: visible; transform: none; transition: opacity 320ms var(--atlas-ease), transform 320ms var(--atlas-ease); }
/* phone menu links are navigation: 20px, semibold, at least a 44px tap height (type standard, rule 8; same values in melion-charter and melion-market) */
.atlas-drawer a { display: flex; justify-content: space-between; align-items: baseline; min-height: 48px; padding: 14px 0; border-bottom: 1px solid var(--atlas-rule); text-decoration: none; font: 600 1.25rem/1.3 var(--atlas-text); }
.atlas-drawer .atlas-drawer-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding: 2px 0 8px 14px; border-bottom: 1px solid var(--atlas-rule); }
.atlas-drawer .atlas-drawer-sub a { min-height: 44px; padding: 11px 0; border-bottom: 0; font: 500 1.0625rem/1.3 var(--atlas-text); color: var(--atlas-ink-2); }
.atlas-drawer a small { font: 500 0.9375rem var(--atlas-text); color: var(--atlas-ink-3); }
.atlas-bar.menu-open { color: var(--atlas-ink); background: var(--atlas-cloud); border-bottom-color: var(--atlas-rule); }
.atlas-bar[data-on].menu-open .atlas-btn { --bg: var(--atlas-zenith); --fg: #fff; }

/* ---------- tab bar (phones and the installed app) ---------- */
.atlas-tabs { display: none; }
@media (max-width: 899px) {
  :root { --atlas-tabs-space: calc(var(--atlas-tabs-h) + env(safe-area-inset-bottom)); }
  .atlas-tabs { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: var(--atlas-tabs-space);
    padding: 0 6px env(safe-area-inset-bottom); background: rgba(246, 249, 253, 0.96); border-top: 1px solid var(--atlas-rule); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
  .atlas-tabs a { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 0 10px; text-decoration: none; color: var(--atlas-ink-3); font: 600 12px/1.1 var(--atlas-text); letter-spacing: 0; min-height: 52px; justify-content: flex-end; }
  .atlas-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .atlas-tabs a[aria-current="page"] { color: var(--atlas-zenith); }
  .atlas-tabs a[aria-current="page"] svg { stroke-width: 1.9; }
  /* the centre Search tab: a raised navy disc with the aircraft, and the word Search under it like every other tab */
  .atlas-tabs .atlas-tab-fly, .atlas-tabs .atlas-tab-fly[aria-current="page"] { color: var(--atlas-zenith); }
  .atlas-tabs .atlas-tab-fly span { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -22px; border-radius: 50%; background: var(--atlas-zenith); color: #fff; box-shadow: 0 10px 22px -10px rgba(7, 28, 66, 0.6); }
  .atlas-tabs .atlas-tab-fly svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
  /* the whole page, footer included, scrolls clear of the tab bar and its raised centre button (14px above it) */
  body.atlas { padding-bottom: calc(var(--atlas-tabs-space) + 24px); }
  /* a focused link or field never ends up under the tab bar (WCAG 2.4.11) */
  html { scroll-padding-bottom: calc(var(--atlas-tabs-space) + 16px); }
  /* owner, 20 Nov 2026: the tab bar's Trips, Inbox and Account are member places, so a visitor who is not signed in, in a
     browser, gets the header and its menu only. atlas.js sets data-member="in" for a signed-in visitor. */
  :root:not([data-app="installed"]):not([data-member="in"]) { --atlas-tabs-space: 0px; }
  :root:not([data-app="installed"]):not([data-member="in"]) .atlas-tabs { display: none; }
}

/* ---------- motion ---------- */
/* entrances: a short rise from a visible resting state (no fade: hidden plates showed as blank navy in print, link previews and fast scrolls; no blur: filtering whole plates is costly) */
.js .atlas-rise { transform: translateY(12px); }
.js .atlas-rise.in { transform: none; transition: transform 640ms var(--atlas-ease) var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .js .atlas-rise { opacity: 1; transform: none; }
  .atlas *, .atlas *::before, .atlas *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  /* The default transition property includes inherited visibility. Drawer links
     must be focusable immediately when a keyboard user opens the menu. */
  .atlas-drawer, .atlas-drawer[data-open], .atlas-drawer * { transition-property: none; }
}

/* ======================================================================================================================
   Inner pages: the page opens on the sky (title, lede, actions), content follows on plates, the footer lands at night.
   ====================================================================================================================== */
.atlas-sky-veil { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(6, 28, 72, 0.7), rgba(6, 28, 72, 0.48) 55%, rgba(6, 28, 72, 0.6)); }
.atlas-main { position: relative; }
.atlas-wrap { width: 100%; max-width: var(--atlas-max); margin: 0 auto; }
.atlas-page-head { min-height: min(72svh, 760px); display: grid; align-content: end; gap: clamp(18px, 2.4vw, 28px); padding: calc(var(--atlas-bar-h) + clamp(40px, 12vh, 140px)) var(--atlas-gutter) clamp(40px, 7vh, 88px); color: var(--atlas-on-sky); }
.atlas-page-head > * { width: 100%; max-width: var(--atlas-max); margin-left: auto; margin-right: auto; }
/* white type over the sun and the cloud line: a soft deepening of the sky behind the title and lede, never a box */
.atlas-page-head, .mfa-head { position: relative; isolation: isolate; }
.atlas-page-head::before, .mfa-head::before { content: ""; position: absolute; z-index: -1; inset: 8% 0 -6% 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 26, 66, 0.66) 0%, rgba(5, 26, 66, 0.6) 46%, rgba(5, 26, 66, 0.5) 72%, rgba(5, 26, 66, 0.24) 90%, rgba(5, 26, 66, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
@media (max-width: 899px) {
  .atlas-page-head::before, .mfa-head::before { inset: 4% 0 -8% 0; -webkit-mask-image: none; mask-image: none;
    background: linear-gradient(180deg, rgba(5, 26, 66, 0) 0%, rgba(5, 26, 66, 0.66) 7%, rgba(5, 26, 66, 0.66) 90%, rgba(5, 26, 66, 0) 100%); }
}
.atlas-page-head .atlas-h1 { text-wrap: balance; }
.atlas-page-head .atlas-h1 > span { display: block; max-width: 13em; }
.atlas-page-head .atlas-lede { color: #fff; max-width: var(--atlas-max); }
.atlas-page-head .atlas-lede > span { display: block; max-width: 36em; }
@media screen {
  .atlas-page-head { grid-template-columns: minmax(0, 1fr); }
  .atlas-page-head :is(.atlas-h1, .atlas-lede) { overflow-wrap: anywhere; }
}
.atlas-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.atlas-crumbs { font: 500 0.9375rem/1.3 var(--atlas-text); letter-spacing: 0; text-transform: none; color: var(--atlas-on-sky); }
/* a way back to the parent page, read as a link rather than a label above the title */
.atlas-crumbs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.atlas-crumbs a::before { content: ""; width: 16px; height: 9px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M18 5H2M6 1L2 5l4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M18 5H2M6 1L2 5l4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; }
.atlas-crumbs a { text-decoration: none; } .atlas-crumbs a:hover { text-decoration: underline; }
.atlas-section { padding: var(--atlas-section) var(--atlas-gutter) 0; }
.atlas-section:first-of-type { padding-top: 0; }
.atlas-sheet { padding: clamp(28px, 4vw, 60px); }
.atlas-sheet + .atlas-sheet { margin-top: clamp(20px, 2.4vw, 32px); }
.atlas-split { display: grid; grid-template-columns: minmax(240px, 0.75fr) 2fr; gap: clamp(28px, 4.4vw, 72px); align-items: start; }
.atlas-split > :first-child { position: sticky; top: calc(var(--atlas-bar-h) + 32px); display: grid; gap: 16px; }
.atlas-split > :first-child p { margin: 0; color: var(--atlas-ink-2); }
.atlas-split > :first-child .atlas-h2 { font-size: clamp(2rem, 1.6vw + 1.2rem, 3rem); }
/* a heading and explanation set over the sky: on a solid night-blue surface, never straight on the clouds */
.atlas-on-sky-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(24px, 4vw, 64px); align-items: end; color: var(--atlas-on-sky); margin-bottom: clamp(24px, 3vw, 40px); padding: clamp(20px, 2.6vw, 36px); background: rgba(6, 22, 56, 0.9); border-radius: var(--atlas-radius); }
.atlas-on-sky-head p { margin: 0; color: #fff; max-width: 46ch; }
@media (max-width: 899px) { .atlas-split, .atlas-on-sky-head { grid-template-columns: 1fr; } .atlas-split > :first-child { position: static; } }
@media screen {
  .atlas-split > *, .atlas-on-sky-head > * { min-inline-size: 0; overflow-wrap: anywhere; }
  .atlas-ruled .atlas-link { white-space: normal; }
}

/* ruled lists, checks, tables, questions */
.atlas-ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--atlas-rule); }
.atlas-ruled > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--atlas-rule); }
.atlas-ruled h3 { margin: 0; font: 620 var(--atlas-t-h3)/1.25 var(--atlas-display); }
.atlas-ruled p { margin: 0; grid-column: 1 / -1; color: var(--atlas-ink-2); }
.atlas-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.atlas-checks li { position: relative; padding-left: 26px; color: var(--atlas-ink-2); font-size: var(--atlas-t-small); }
.atlas-checks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 11px; height: 6px; border-left: 1.5px solid var(--atlas-azure); border-bottom: 1.5px solid var(--atlas-azure); transform: rotate(-45deg); }
.atlas-table { width: 100%; border-collapse: collapse; font-size: var(--atlas-t-small); }
.atlas-table th, .atlas-table td { padding: 15px 16px; border-bottom: 1px solid var(--atlas-rule); text-align: left; vertical-align: top; }
.atlas-table thead th { font: 600 var(--atlas-t-label)/1.2 var(--atlas-text); letter-spacing: 0; color: var(--atlas-ink-3); border-bottom-color: var(--atlas-rule-2); }
.atlas-table tbody th { font-weight: 500; color: var(--atlas-ink); }
.atlas-table td { color: var(--atlas-ink-2); }
.atlas-table .yes, .atlas-table .no { width: 9.5em; text-align: center; }
.atlas-table .yes::before { content: ""; display: inline-block; width: 12px; height: 7px; border-left: 1.6px solid var(--atlas-azure); border-bottom: 1.6px solid var(--atlas-azure); transform: rotate(-45deg) translate(1px, -2px); }
.atlas-table .no::before { content: ""; display: inline-block; width: 12px; height: 1.5px; background: var(--atlas-rule-2); vertical-align: middle; }
.atlas-table-wrap { overflow-x: auto; }
/* On phones a long table is a scroll region that fits between the header and the tab bar, so keyboard focus on it is
   never partly hidden under the tab bar (WCAG 2.4.11); it scrolls within itself instead. */
@media (max-width: 899px) {
  .atlas-table-wrap { max-height: calc(100dvh - var(--atlas-bar-h) - var(--atlas-tabs-space) - 40px); overflow-y: auto; }
}
@media (max-width: 599px) { .atlas-table th, .atlas-table td { padding: 13px 8px; } .atlas-table .yes, .atlas-table .no { width: 4.6em; } .atlas-table thead th { font-size: 0.8125rem; letter-spacing: 0; } }
.atlas-faq { border-top: 1px solid var(--atlas-rule); }
.atlas-faq details { border-bottom: 1px solid var(--atlas-rule); }
/* FAQ questions are controls: 18px, medium weight */
.atlas-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font: 500 1.125rem/1.4 var(--atlas-text); }
.atlas-faq summary::-webkit-details-marker { display: none; }
.atlas-faq summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(var(--atlas-ink), var(--atlas-ink)) center / 13px 1.5px no-repeat, linear-gradient(var(--atlas-ink), var(--atlas-ink)) center / 1.5px 13px no-repeat; transition: transform 360ms var(--atlas-ease); }
.atlas-faq details[open] summary::after { transform: rotate(45deg); }
.atlas-faq summary:hover { color: var(--atlas-azure); }
.atlas-faq details > div { padding: 0 0 22px; color: var(--atlas-ink-2); max-width: 68ch; }
.atlas-faq details > div p { margin: 0 0 0.8em; }

/* the closing band on the sky */
.atlas-close { padding: clamp(120px, 15vw, 220px) var(--atlas-gutter) 0; text-align: center; color: var(--atlas-on-sky); display: grid; justify-items: center; gap: 22px; }
/* the closing line sits on a solid surface, never straight on the clouds */
.atlas-close p { margin: 0; color: #fff; max-width: 46ch; padding: 12px 18px; background: rgba(6, 22, 56, 0.86); border-radius: var(--atlas-radius); }
.atlas-close .atlas-actions { justify-content: center; }

/* plans (membership page and homepage share the look) */
.atlas-plans { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.atlas-plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 40px); border-right: 1px solid var(--atlas-rule); }
/* each plan's rows (name, price, line, sentence, advantage, list, button) line up across the row of plans */
@supports (grid-template-rows: subgrid) { .atlas-plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 14px; align-content: start; } }
.atlas-plan:last-child { border-right: 0; }
/* plan names are card titles, as on the member area plan picker */
.atlas-plan h3 { margin: 0; font: 620 1.375rem/1.15 var(--atlas-display); letter-spacing: normal; text-transform: none; color: var(--atlas-ink); }
.atlas-plan h3 b { font-weight: inherit; }
/* the price reads "USD 900", as on the member area's plan picker (owner, 16 Nov 2026: "Match them USD 900") */
.atlas-plan .atlas-figure { font: 620 1.75rem/1 var(--atlas-display); letter-spacing: -0.01em; font-variant-numeric: lining-nums; color: var(--atlas-ink); margin-right: 4px; }
.atlas-plan-price { margin: 4px 0 0; color: var(--atlas-ink-3); font-size: var(--atlas-t-small); white-space: nowrap; }
.atlas-plan-tag { margin: 0; color: var(--atlas-ink); }
.atlas-plan-users, .atlas-plan-adv { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--atlas-rule); font: 600 0.9375rem/1.35 var(--atlas-text); letter-spacing: 0; color: var(--atlas-sun-ink); }
.atlas-plan-adv { padding-top: 14px; border-top: 1px solid var(--atlas-rule); align-self: start; }
.atlas-plan-adv b { font-weight: 700; font-size: 1.125rem; letter-spacing: 0; }
.atlas-plan-for { margin: 0; color: var(--atlas-ink-2); }
.atlas-plan .atlas-checks { flex: 1; margin-top: 4px; align-content: start; }
.atlas-plan .atlas-btn { margin-top: 10px; width: 100%; text-align: center; }
/* the notes under the plans sit on a solid night-blue surface, never straight on the clouds (contrast at least 4.5:1) */
.atlas-plans-terms, .atlas-plans-note { padding: 12px 16px; background: rgba(6, 22, 56, 0.94); border-radius: var(--atlas-radius); }
.atlas-plans-terms { margin: 14px 0 0; color: #fff; max-width: none; }
.atlas-plans-terms a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.atlas-plans-terms a:hover { color: #fff; }
.atlas-plans-note { margin: 8px 0 0; color: #fff; font-style: normal; max-width: none; }
.atlas-plans-note span { display: block; max-width: 96ch; }
@media (max-width: 1099px) { .atlas-plans { grid-template-columns: repeat(2, 1fr); } .atlas-plan:nth-of-type(2n) { border-right: 0; } .atlas-plan:nth-of-type(-n + 2) { border-bottom: 1px solid var(--atlas-rule); } }
@media (max-width: 599px) { .atlas-plans { grid-template-columns: 1fr; } .atlas-plan { border-right: 0; border-bottom: 1px solid var(--atlas-rule); } .atlas-plan:last-child { border-bottom: 0; } }

/* the value scenario (homepage and membership page; public/atlas/value.js) */
.value { display: grid; grid-template-columns: 1fr 1.15fr; width: 100%; overflow: hidden; }
.value-figure { padding: clamp(28px, 3.4vw, 52px); background: linear-gradient(160deg, var(--atlas-zenith), #12407f); color: #fff; display: grid; align-content: start; gap: 10px; }
.value-figure h3 { color: #fff; max-width: 15em; }
.value-net { margin: 18px 0 0; font-size: clamp(3rem, 5vw, 5.25rem); color: #fff; }
.value-net-label { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 30ch; }
.value-out { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.value-out div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.value-out dt { color: rgba(255, 255, 255, 0.86); font-size: var(--atlas-t-small); }
.value-out dd { margin: 0; font: 500 1.125rem/1.2 var(--atlas-num); font-variant-numeric: lining-nums proportional-nums; }
.value-tool { padding: clamp(28px, 3.4vw, 52px); display: grid; gap: 26px; align-content: start; }
.value-range { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; }
.value-help { margin: -4px 0 0; color: var(--atlas-ink-2); }
.value-range output { font: 500 1.25rem/1 var(--atlas-num); font-variant-numeric: lining-nums tabular-nums; color: var(--atlas-ink); }
.value-range input { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --fill: 50%; }
.value-range input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--atlas-zenith) var(--fill), var(--atlas-rule-2) var(--fill)); }
.value-range input::-moz-range-track { height: 2px; background: var(--atlas-rule-2); }
.value-range input::-moz-range-progress { height: 2px; background: var(--atlas-zenith); }
.value-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--atlas-zenith); box-shadow: 0 4px 10px -4px rgba(7, 28, 66, 0.5); transition: transform 200ms var(--atlas-ease); }
.value-range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--atlas-zenith); }
.value-range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.value-select { display: grid; gap: 10px; }
.value-hint { margin: 0; color: var(--atlas-ink-2); }
.value-select select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a1a33' stroke-width='1.4'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat; }
@media (max-width: 899px) { .value { grid-template-columns: 1fr; } }
@media screen {
  .value > * { min-inline-size: 0; overflow-wrap: anywhere; }
  .value-out div { flex-wrap: wrap; }
  .value-range { grid-template-columns: minmax(0, 1fr) minmax(0, max-content); }
  .value-select select { min-inline-size: 0; }
}
.atlas-cookie { width: min(460px, calc(100vw - 32px)); padding: clamp(22px, 4vw, 32px); border: 0; border-radius: var(--atlas-radius); background: var(--atlas-cloud); color: var(--atlas-ink); box-shadow: var(--atlas-shadow); font: 400 1rem/1.55 var(--atlas-text); }
.atlas-cookie::backdrop { background: rgba(4, 14, 34, 0.6); }
.atlas-cookie-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.atlas-cookie h2 { margin: 0; font: 620 1.875rem/1.1 var(--atlas-display); font-optical-sizing: auto; letter-spacing: -0.015em; }
.atlas-cookie h2 em { font-weight: 400; }
.atlas-cookie-close { width: 44px; height: 44px; margin: -10px -10px 0 0; display: grid; place-items: center; border: 0; background: none; color: var(--atlas-ink-2); cursor: pointer; }
.atlas-cookie-close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.atlas-cookie p { margin: 14px 0 0; color: var(--atlas-ink-2); }
.atlas-cookie dl { margin: 18px 0; border-top: 1px solid var(--atlas-rule); }
.atlas-cookie dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--atlas-rule); }
.atlas-cookie dt { font-weight: 600; } .atlas-cookie dd { margin: 0; color: var(--atlas-ink-3); }
.atlas-cookie .atlas-btn { width: 100%; }
.atlas-cookie-status:empty { display: none; }

/* Reading floor on phones: nothing a visitor or member needs to read is set below 12px (map credits excepted). */
@media (max-width: 640px) { small { font-size: max(0.75rem, 0.83em); } }

/* ---------- footer (owner brief, 17 Nov 2026) ----------
   One quiet night-blue band at its natural height: a compact logo beside the Fly and Melion groups, then a utility row
   and the carrier disclosure with the company line. Phones: Contact and the telephone stay visible, Fly and Melion become
   two expandable groups (<details>, kept in step with the width by public/atlas/atlas.js). Markup: lib/site-footer.mjs.
   Compact variants (sign-in, member area): one row of help and policy links, then the disclosure. White and 76% white
   on #06142f: at least 9.6:1. */
.mfoot { position: relative; z-index: 2; background: var(--atlas-night); color: #fff; border-top: 1px solid rgba(242, 185, 78, 0.45);
  font: 400 1rem/1.5 var(--atlas-text); }
.mfoot-inner { max-width: var(--atlas-max); margin: 0 auto; padding: 40px var(--atlas-gutter) 28px; display: grid; gap: 20px; }
.mfoot a, .mfoot button { color: #fff; text-decoration: none; }
.mfoot a:hover, .mfoot button:hover { text-decoration: underline; text-decoration-color: var(--atlas-sun); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.mfoot :focus-visible { outline: 2px solid var(--atlas-sun); outline-offset: 3px; border-radius: 2px; }
.mfoot ul { list-style: none; margin: 0; padding: 0; }
.mfoot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; align-items: start; }
.mfoot-mark { display: inline-flex; align-items: center; width: 132px; min-height: 44px; color: #fff; }
.mfoot-mark svg { display: block; width: 100%; height: auto; }
.mfoot-quick { display: none; }
.mfoot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.mfoot-group summary { display: block; list-style: none; cursor: default; }
.mfoot-group summary::-webkit-details-marker { display: none; }
.mfoot-group summary h2 { margin: 0 0 2px; font: 600 0.875rem/1.4 var(--atlas-text); color: rgba(255, 255, 255, 0.76); }
.mfoot-group li > a, .mfoot-tel { display: inline-flex; align-items: center; min-height: 34px; }
.mfoot-contact { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; }
.mfoot .mfoot-tel { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.82); white-space: nowrap; }
.mfoot-utility ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.mfoot-utility li > a, .mfoot-cookie { display: inline-flex; align-items: center; min-height: 34px; font-size: 0.9375rem; }
.mfoot-cookie { padding: 0; border: 0; background: none; font-family: inherit; line-height: 1.3; cursor: pointer; }
.mfoot-legal { display: grid; gap: 4px; }
.mfoot-legal p { margin: 0; max-width: 96ch; font-size: 0.8125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.76); }
body.atlas .mfoot-legal p { font-size: var(--atlas-t-caption); }
@media (pointer: coarse) { .mfoot-group li > a, .mfoot-tel, .mfoot-utility li > a, .mfoot-cookie { min-height: 44px; } }
/* tablets: the logo above, the two groups side by side */
@media (max-width: 1023px) { .mfoot-top { grid-template-columns: 1fr; gap: 8px; } }
/* phones: Contact and the telephone stay visible; Fly and Melion are two expandable groups */
@media (max-width: 639px) {
  .mfoot-inner { padding: 28px var(--atlas-gutter) 24px; gap: 14px; }
  .mfoot-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin: 0; }
  .mfoot-quick a { display: inline-flex; align-items: center; min-height: 44px; }
  .mfoot-nav { grid-template-columns: 1fr; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .mfoot-group { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .mfoot-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; }
  .mfoot-group summary h2 { margin: 0; font-size: 1rem; color: #fff; }
  .mfoot-group summary::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--atlas-ease); }
  .mfoot-group[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .mfoot-group ul { padding: 0 0 8px; }
  .mfoot-group li > a { min-height: 44px; }
  .mfoot[data-variant="public"] .mfoot-contact { display: none; }   /* Contact and the telephone are in the visible line above */
  .mfoot-utility ul { gap: 0 18px; border-top: 0; padding-top: 0; }
}
/* compact variants: one row of help and policy links, then the disclosure */
.mfoot-compact .mfoot-inner { padding-top: 22px; padding-bottom: 20px; gap: 10px; }
.mfoot-compact .mfoot-utility ul { padding-top: 0; border-top: 0; }
/* inside the installed app the website footer is help and policies only: no logo, no marketing groups */
/* the installed app only: a browser window in full screen also reports display-mode: fullscreen, and kept its footer empty */
:root[data-app="installed"] .mfoot[data-variant="public"] :is(.mfoot-mark, .mfoot-nav, .mfoot-quick) { display: none; }
/* phones: the footer runs to the bottom of the screen and its last line clears the tab bar; the page ends in night blue */
html:has(.mfoot), body.atlas:has(.mfoot) { background-color: var(--atlas-night); }
@media (max-width: 899px) {
  body.atlas:has(.mfoot) { padding-bottom: 0; }
  .mfoot .mfoot-inner { padding-bottom: calc(24px + var(--atlas-tabs-space)); }
}

/* The public site uses its top navigation on tablets with room for it. Short
   touch viewports keep the compact controls used by landscape phones. */
@media (min-width: 740px) and (not (display-mode: standalone)) and (not ((max-height: 500px) and (pointer: coarse))) {
  :where(:root:not([data-app="installed"])) .atlas-page-head::before { inset-block-end: 0; }

  @media (max-width: 1199px) {
    :where(:root:not([data-app="installed"])) .atlas-page-head:where(:not(.find-head, .lx-head)) {
      min-height: min(56svh, 560px);
      padding-block: calc(var(--atlas-bar-h) + clamp(28px, 6vh, 64px)) clamp(28px, 4.5vh, 48px);
    }
  }

  @media (max-width: 899px) {
    :root:not([data-app="installed"]) { --atlas-tabs-space: 0px; }
    :where(:root:not([data-app="installed"])) .atlas-bar { gap: clamp(16px, 2.4vw, 22px); }
    :where(:root:not([data-app="installed"])) .atlas-nav { display: flex; }
    :where(:root:not([data-app="installed"])) .atlas-nav a { display: inline-flex; align-items: center; min-height: 44px; }
    :where(:root:not([data-app="installed"])) .atlas-bar .atlas-btn { margin-left: 0; }
    :where(:root:not([data-app="installed"])) :is(.atlas-menu, .atlas-tabs) { display: none; }
    :where(:root:not([data-app="installed"])) body.atlas { padding-bottom: 0; }
    :where(:root:not([data-app="installed"])) .mfoot .mfoot-inner { padding-bottom: 28px; }
    :where(:root:not([data-app="installed"])) body.atlas #melion-assistant { bottom: 26px; }
  }
}

/* Let larger browser text bring back the menu before the top navigation runs out of room. */
@media (min-width: 740px) and (not (display-mode: standalone)) {
  :where(:root:not([data-app="installed"])) .atlas-bar { container: atlas-navigation / inline-size; }
  @container atlas-navigation (max-width: 27em) {
    .atlas-bar .atlas-nav { display: none; }
    .atlas-bar .atlas-btn { margin-inline-start: auto; min-height: 44px; }
    .atlas-bar .atlas-menu { display: block; }
  }
}

/* the altimeter steps aside while the footer is on screen (public/atlas/atlas.js) */
.atlas-alt.is-hidden { opacity: 0; visibility: hidden; transition: opacity 240ms var(--atlas-ease), visibility 0s 240ms; }
