/* Tripelyx — site styles. Desktop proportions follow the reference homepage at a 1440px viewport;
   tablet and phone layouts are derived from it. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
}

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #12325a;
  --ink: #0c2340;
  --text: #2b3b52;
  --muted: #5b6b80;
  --line: #e2e8f0;
  --blue-600: #1668c7;
  --blue-500: #1a6fd0;
  --blue-400: #4a9af0;
  --blue-300: #7cbcf7;
  --blue-50: #eaf3fd;
  --sky-50: #f2f7fc;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --success: #12805c;
  --danger: #c0392b;
  --warning: #b26a00;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .06);
  --shadow: 0 6px 24px rgba(11, 37, 69, .10);
  --shadow-lg: 0 18px 48px rgba(11, 37, 69, .16);
  --container: 1288px;
  --gutter: clamp(20px, 5.5vw, 76px);
  --header-h: 76px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1em; height: 1em; flex: none; }

.env-banner { background: #fff4d6; color: #6b4a00; font-size: 13px; font-weight: 600; text-align: center; padding: 6px 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 46px; padding: 0 20px 0 21px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 39px; font-size: 17.5px; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); box-shadow: 0 8px 20px rgba(11, 37, 69, .22); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { background: var(--blue-50); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .9); background: transparent; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }
.btn-blue { background: var(--blue-500); color: #fff; }
.btn-blue:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-800); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-500); font-weight: 600; font-size: 18px; text-decoration: none; }
.text-link .icon { flex: none; }
.text-link .icon { width: 19px; height: 19px; transition: transform .2s var(--ease); }
.text-link:hover { color: var(--blue-600); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(11, 37, 69, .06); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(11, 37, 69, .08); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.header-logo { text-decoration: none; display: flex; align-items: center; }
.wordmark { font-weight: 800; font-size: 37px; letter-spacing: -0.035em; color: var(--ink); line-height: 1; font-stretch: 100%; }
.wordmark-x { color: var(--blue-500); }
.main-nav { flex: 1; display: flex; justify-content: center; padding-left: 118px; }
.main-nav ul { display: flex; gap: 37px; }
.main-nav a { position: relative; display: block; padding: 26px 0; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; border-radius: 2px; background: var(--navy-800); transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav a:hover { color: var(--blue-600); }
.main-nav a:hover::after { transform: scaleX(1); background: var(--blue-500); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--navy-800); }
.header-cta { margin-left: auto; }
.main-nav .nav-cta-mobile, .nav-toggle { display: none; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: 15px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.eyebrow-light { color: rgba(214, 231, 248, .86); }
.eyebrow-center { text-align: center; }
.section-title { font-size: 42px; font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; }
.section-title-center { text-align: center; }
.section-lead { font-size: 21px; line-height: 1.43; color: var(--text); }

/* ---------- Company pages: homepage components ----------
   The homepage follows the reference picture, which is drawn 1024px wide. Sizes are reference pixels
   times --u: 1px at a 1024px viewport, growing with the viewport to 1.40625px at 1440px and stopping
   there, so 1024 to 1440 is the same composition scaled and wider screens centre it. Below 1024px --u
   stays 1px and the tablet and phone rules further down rearrange the sections. */
.corp { --u: clamp(1px, 100vw / 1024, 1.40625px); }
.corp .container { width: min(calc(916 * var(--u)), 100% - 2 * var(--gutter)); }
/* Every page wears the homepage's header and footer (views/layout.js, audit UX-15): the same scale and width. */
.corp-chrome { --u: clamp(1px, 100vw / 1024, 1.40625px); }
.corp-chrome .container { width: min(calc(916 * var(--u)), 100% - 2 * var(--gutter)); }

/* Hero: the photograph carries its own navy fade on the left. */
.hero { position: relative; isolation: isolate; color: #fff; min-height: calc(384 * var(--u)); display: flex; overflow: hidden; background: #022e4b; }
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background-image: url(/img/home-hero.webp), linear-gradient(180deg, #063d63 0%, #022f4d 45%, #032d48 100%);
  background-image: image-set(url(/img/home-hero.webp) 1x, url(/img/home-hero-2x.webp) 2x), linear-gradient(180deg, #063d63 0%, #022f4d 45%, #032d48 100%);
  background-position: right center, 0 0; background-size: auto 100%, auto; background-repeat: no-repeat;
}
.hero-inner { position: relative; padding: calc(46 * var(--u)) 0 calc(34 * var(--u)); }
.hero .eyebrow { font-size: calc(10.5 * var(--u)); line-height: 1.2; letter-spacing: .3em; margin-bottom: calc(11 * var(--u)); color: rgba(206, 224, 242, .9); }
.hero-title { color: #fff; font-size: calc(43.5 * var(--u)); font-weight: 700; line-height: calc(46.5 * var(--u)); letter-spacing: -0.025em; margin-bottom: calc(15 * var(--u)); text-shadow: 0 1px 12px rgba(2, 30, 52, .25); }
.hero-title .accent { color: #6db6f5; }
.hero-lead { font-size: calc(16.1 * var(--u)); line-height: calc(22 * var(--u)); max-width: calc(440 * var(--u)); color: rgba(255, 255, 255, .96); margin-bottom: calc(15.5 * var(--u)); }
.hero-actions { display: flex; gap: calc(14 * var(--u)); flex-wrap: wrap; }
.hero .hero-actions .btn { min-height: calc(43 * var(--u)); padding: 0 calc(22 * var(--u)); font-size: calc(13.5 * var(--u)); gap: calc(8 * var(--u)); border-width: calc(1.5 * var(--u)); }
.hero .hero-actions .btn .icon { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.hero .hero-actions .btn-white { min-width: calc(146 * var(--u)); }
.hero .hero-actions .btn-outline-white { min-width: calc(150 * var(--u)); }

/* Section heading row, also used by the AI travel agent's pages */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head .eyebrow { margin-bottom: 9px; }
.section-head .text-link { margin-bottom: 8px; }

/* Our Brands */
.brands-section { padding: calc(21.5 * var(--u)) 0 calc(23 * var(--u)); background: #fff; }
.tech-copy .eyebrow, .why-section .eyebrow, .partner-band .eyebrow { font-size: calc(10.5 * var(--u)); line-height: 1.2; letter-spacing: .28em; margin-bottom: calc(7 * var(--u)); color: #2c3f55; }
.tech-copy .section-title, .why-section .section-title { font-size: calc(30 * var(--u)); line-height: calc(33 * var(--u)); letter-spacing: -0.02em; }
.tech-copy .section-title { font-size: calc(28.5 * var(--u)); }
.brand-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(253 * var(--u)); border-radius: calc(14 * var(--u)); border: 1px solid #e2e9f1;
  background: #f5f9fc; box-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(11, 37, 69, .05), 0 calc(3 * var(--u)) calc(10 * var(--u)) rgba(11, 37, 69, .05);
  display: grid; grid-template-columns: 1fr; align-items: center;
}
.brand-card-media { position: absolute; inset: 0; z-index: -1; }
.brand-card-body { padding: calc(18 * var(--u)) calc(35 * var(--u)) calc(24 * var(--u)) calc(33 * var(--u)); max-width: calc(460 * var(--u)); }
.brand-logo { margin-bottom: calc(25 * var(--u)); }
.brand-tagline { font-size: calc(18.4 * var(--u)); font-weight: 600; color: var(--ink); letter-spacing: -0.015em; line-height: 1.3; margin-bottom: calc(6 * var(--u)); }
.brand-text { font-size: calc(14.4 * var(--u)); line-height: calc(20 * var(--u)); color: var(--text); max-width: calc(360 * var(--u)); margin-bottom: calc(11 * var(--u)); }
.brand-card .btn-lg { min-height: calc(43 * var(--u)); padding: 0 calc(21.5 * var(--u)); font-size: calc(13.5 * var(--u)); gap: calc(8 * var(--u)); }
.brand-card .btn-lg .icon { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
/* the AI travel agent's card on Our Brands: a plain gradient beside the copy */
.brand-card-ai .brand-card-media {
  inset: 0 0 0 auto; width: 52%; display: grid; place-items: center; color: rgba(255, 255, 255, .22);
  background: linear-gradient(100deg, #f5f9fc 0%, #bcd9f5 10%, #3f8ee0 27%, #1a5fb8 52%, #0f3a70 100%);
}
.brand-card-ai .brand-card-media .icon { width: calc(120 * var(--u)); height: calc(120 * var(--u)); }
.ai-wordmark { display: inline-block; font-size: calc(26 * var(--u)); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; color: #071d33; text-transform: uppercase; }
.ai-wordmark span { color: var(--blue-500); }

/* Our Technology */
.tech-section { background: #edf7fd; overflow: hidden; }
.tech-inner { position: relative; min-height: calc(287 * var(--u)); }
.tech-copy { max-width: calc(470 * var(--u)); padding: calc(35.5 * var(--u)) 0 calc(30 * var(--u)); }
.tech-copy .eyebrow { margin-bottom: calc(8 * var(--u)); }
.tech-copy .section-title { margin-bottom: calc(10.5 * var(--u)); line-height: calc(32.5 * var(--u)); }
.tech-copy .section-lead { font-size: calc(14.5 * var(--u)); line-height: calc(21 * var(--u)); max-width: calc(435 * var(--u)); margin-bottom: calc(15 * var(--u)); }
.tech-copy .btn { min-height: calc(42 * var(--u)); padding: 0 calc(21 * var(--u)); font-size: calc(13.5 * var(--u)); gap: calc(8 * var(--u)); }
.tech-copy .btn .icon { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }

/* The laptop and phone: one composition, 471 x 258 reference pixels, laid out in its own width
   (--p is one reference pixel of it), so it keeps its proportions at every size. */
.devices { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 471 / 258; }
.tech-inner .devices { position: absolute; right: 0; top: calc(20 * var(--u)); width: calc(471 * var(--u)); }
.devices > * { --p: calc(100cqw / 471); }
.laptop { position: absolute; left: 0; top: 0; width: calc(361 * var(--p)); }
.laptop-lid { margin: 0 calc(7.5 * var(--p)) 0 calc(39.5 * var(--p)); background: #0d0f12; border-radius: calc(10 * var(--p)) calc(10 * var(--p)) 0 0; padding: calc(12.5 * var(--p)) calc(7 * var(--p)) calc(9.5 * var(--p)); box-shadow: 0 calc(10 * var(--p)) calc(30 * var(--p)) rgba(11, 37, 69, .18); }
.laptop-screen { position: relative; height: calc(217 * var(--p)); overflow: hidden; background: #1d6f9a; }
.laptop-base { position: relative; height: calc(10.5 * var(--p)); background: linear-gradient(180deg, #b9bcc1 0%, #8f9399 45%, #5e6268 100%); border-radius: calc(1 * var(--p)) calc(2 * var(--p)) calc(8 * var(--p)) calc(8 * var(--p)) / calc(1 * var(--p)) calc(2 * var(--p)) calc(5 * var(--p)) calc(5 * var(--p)); }
.laptop-base::before { content: ''; position: absolute; left: 46%; width: calc(61 * var(--p)); top: 0; height: calc(3.5 * var(--p)); background: #6f747b; border-radius: 0 0 calc(5 * var(--p)) calc(5 * var(--p)); transform: translateX(-50%); }
.mini-photo {
  position: absolute; inset: 0;
  background-image: url(/img/home-laptop.webp);
  background-image: image-set(url(/img/home-laptop.webp) 1x, url(/img/home-laptop-2x.webp) 2x);
  background-size: 100% 100%;
}
.mini-search {
  position: absolute; left: calc(5 * var(--p)); right: calc(6 * var(--p)); bottom: calc(1 * var(--p)); height: calc(145 * var(--p));
  background: #fff; border-radius: calc(5 * var(--p)); padding: calc(10 * var(--p)) calc(9 * var(--p)) 0; box-shadow: 0 calc(2 * var(--p)) calc(10 * var(--p)) rgba(0, 0, 0, .16);
  color: var(--ink); font-size: calc(6 * var(--p)); line-height: 1.25;
}
.mini-title { font-size: calc(13.4 * var(--p)); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 calc(6 * var(--p)) calc(2 * var(--p)); }
.mini-tabs { display: flex; gap: calc(3 * var(--p)); margin-bottom: calc(6 * var(--p)); border-bottom: 1px solid #edf1f6; padding-bottom: calc(3 * var(--p)); }
.mini-tabs span { display: flex; flex-direction: column; align-items: center; gap: calc(1 * var(--p)); padding: calc(3 * var(--p)) calc(7 * var(--p)); border-radius: calc(4 * var(--p)); color: var(--muted); font-size: calc(4.6 * var(--p)); }
.mini-tabs .icon { width: calc(6 * var(--p)); height: calc(6 * var(--p)); }
.mini-tabs .on { background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.mini-field { position: relative; border: 1px solid #e6ebf2; border-radius: calc(4 * var(--p)); padding: calc(3 * var(--p)) calc(7 * var(--p)); margin-bottom: calc(5 * var(--p)); }
.mini-field small { display: block; font-size: calc(5 * var(--p)); color: var(--muted); }
.mini-field b { display: block; font-size: calc(6.2 * var(--p)); font-weight: 500; }
.mini-where .icon { position: absolute; right: calc(8 * var(--p)); top: 50%; transform: translateY(-50%); width: calc(7 * var(--p)); height: calc(7 * var(--p)); color: var(--muted); }
.mini-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: calc(5 * var(--p)); }
.mini-btn { background: #1a6fd0; color: #fff; border-radius: 999px; text-align: center; padding: calc(6 * var(--p)) 0; margin: 0 calc(3 * var(--p)); font-size: calc(6.5 * var(--p)); font-weight: 500; }
.phone { position: absolute; left: calc(358.5 * var(--p)); top: calc(24 * var(--p)); width: calc(110 * var(--p)); height: calc(229 * var(--p)); background: #101216; border-radius: calc(17 * var(--p)); padding: calc(4.5 * var(--p)); box-shadow: 0 calc(10 * var(--p)) calc(26 * var(--p)) rgba(11, 37, 69, .22); }
.phone-screen { position: relative; height: 100%; background: #fff; border-radius: calc(13 * var(--p)); overflow: hidden; padding: calc(19 * var(--p)) calc(4 * var(--p)) calc(6 * var(--p)); color: var(--ink); }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: calc(55 * var(--p)); height: calc(10 * var(--p)); background: #101216; border-radius: 0 0 calc(7 * var(--p)) calc(7 * var(--p)); }
.phone-bar { display: flex; justify-content: space-between; align-items: center; margin: 0 calc(3 * var(--p)) calc(6 * var(--p)); color: #1d4f8c; }
.phone-bar .icon { width: calc(7 * var(--p)); height: calc(7 * var(--p)); }
.phone-bar i { width: calc(18 * var(--p)); height: calc(3 * var(--p)); border-radius: 2px; background: #dde3ea; }
.phone-photo {
  height: calc(77 * var(--p)); border-radius: calc(4 * var(--p)); margin-bottom: calc(10 * var(--p));
  background-image: url(/img/home-phone.webp);
  background-image: image-set(url(/img/home-phone.webp) 1x, url(/img/home-phone-2x.webp) 2x);
  background-size: cover; background-position: center;
}
.phone-title { font-size: calc(10.5 * var(--p)); font-weight: 600; line-height: 1.18; margin: 0 calc(2 * var(--p)) calc(4 * var(--p)); letter-spacing: -0.01em; }
.phone-place { display: flex; align-items: center; gap: calc(2 * var(--p)); font-size: calc(4.8 * var(--p)); color: var(--muted); margin: 0 calc(2 * var(--p)) calc(16 * var(--p)); }
.phone-place .icon { width: calc(6 * var(--p)); height: calc(6 * var(--p)); color: #f5a524; }
.phone-stay { font-size: calc(5.5 * var(--p)); color: var(--muted); margin: 0 calc(2 * var(--p)) calc(7 * var(--p)); }
.phone-stay b { font-size: calc(9 * var(--p)); color: var(--ink); }
.phone-btn { background: #1a6fd0; color: #fff; text-align: center; border-radius: 999px; padding: calc(5 * var(--p)) 0; margin: 0 calc(1 * var(--p)); font-size: calc(6.5 * var(--p)); font-weight: 500; }

/* Why work with Tripelyx */
.why-section { padding: calc(21 * var(--u)) 0 calc(34.5 * var(--u)); background: #fbfcfe; }
.why-section .eyebrow { font-size: calc(10 * var(--u)); letter-spacing: .27em; margin-bottom: calc(6.5 * var(--u)); }
.why-section .section-title { font-size: calc(27.7 * var(--u)); margin-bottom: calc(28 * var(--u)); }
.why-grid { display: grid; grid-template-columns: calc(245 * var(--u)) calc(229 * var(--u)) calc(237 * var(--u)) minmax(0, 1fr); margin-left: calc(-2 * var(--u)); }
.why-item { display: flex; align-items: center; gap: calc(11 * var(--u)); }
.why-icon { flex: none; width: calc(67 * var(--u)); height: calc(67 * var(--u)); border-radius: 50%; background: #e2f2fd; display: grid; place-items: center; color: #1a6fd0; transition: transform .25s var(--ease), background-color .25s; }
.why-icon .icon { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.why-item:hover .why-icon { transform: scale(1.05); background: #d3eafb; }
.why-item b { display: block; font-size: calc(12.5 * var(--u)); font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: calc(4 * var(--u)); letter-spacing: -0.005em; }
.why-item span > span { display: block; font-size: calc(11.1 * var(--u)); line-height: calc(17 * var(--u)); color: var(--muted); max-width: calc(124 * var(--u)); }

/* Partner with us: palms and the coast behind a navy veil, both in the photograph */
.partner-band {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background-color: #082641;
  background-image: url(/img/home-partner.webp), linear-gradient(180deg, #0a3150, #072642);
  background-image: image-set(url(/img/home-partner.webp) 1x, url(/img/home-partner-2x.webp) 2x), linear-gradient(180deg, #0a3150, #072642);
  background-position: right center, 0 0; background-size: auto 100%, auto; background-repeat: no-repeat;
}
.partner-inner { min-height: calc(158 * var(--u)); display: flex; align-items: center; justify-content: space-between; gap: calc(24 * var(--u)); padding: calc(22 * var(--u)) 0 calc(25 * var(--u)); }
.partner-band .eyebrow { font-size: calc(10.1 * var(--u)); color: rgba(226, 236, 246, .92); letter-spacing: .3em; margin-bottom: calc(7 * var(--u)); }
.partner-title { color: #fff; font-size: calc(29.1 * var(--u)); font-weight: 700; line-height: calc(36 * var(--u)); letter-spacing: -0.02em; margin-bottom: calc(8.5 * var(--u)); }
.partner-text { font-size: calc(14.5 * var(--u)); line-height: calc(21 * var(--u)); max-width: calc(500 * var(--u)); color: rgba(255, 255, 255, .92); }
.partner-band .btn { flex: none; min-height: calc(42 * var(--u)); min-width: calc(180 * var(--u)); padding: 0 calc(21 * var(--u)); font-size: calc(12.8 * var(--u)); gap: calc(8 * var(--u)); margin: calc(4 * var(--u)) calc(1 * var(--u)) 0 0; }
.partner-band .btn .icon { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid #edf1f6; }
.footer-inner { min-height: 107px; display: flex; align-items: center; gap: 24px; }
.footer-logo { text-decoration: none; margin-left: -4px; }
.footer-logo .wordmark { font-size: 34px; }
.footer-nav { margin-left: 76px; }
.footer-nav ul { display: flex; gap: 39px; }
.footer-nav a { white-space: nowrap; font-size: 18px; color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--blue-600); text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 16px; margin-left: auto; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); border-radius: 8px; transition: color .2s, background-color .2s; }
.social a:hover { color: var(--blue-500); background: var(--blue-50); }
.social .icon { width: 22px; height: 22px; }
.copyright { font-size: 14px; color: var(--muted); margin-left: 14px; white-space: nowrap; }

/* =========================================================================================
   Inner pages
   ========================================================================================= */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-800); overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 33, 64, .97) 0%, rgba(10, 40, 76, .9) 35%, rgba(12, 52, 96, .55) 65%, rgba(12, 52, 96, .25) 100%), url(/img/coast-hero.webp) center 60% / cover no-repeat;
}
.page-hero-inner { padding: 72px 0 64px; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: 52px; font-weight: 700; letter-spacing: -0.026em; line-height: 1.06; margin-bottom: 18px; }
.page-hero h1 .accent { color: var(--blue-300); }
.page-hero p.lead { font-size: 21px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.page-hero .hero-actions { margin-top: 30px; }
.section { padding: 72px 0; }
.section-soft { background: var(--sky-50); }
.section .section-title { margin-bottom: 14px; }
.section .section-lead { max-width: 760px; margin-bottom: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card h2, .card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 17px; }
.card-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-50); color: var(--blue-500); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon .icon { width: 26px; height: 26px; }
a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat b { display: block; font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.stat span { color: var(--muted); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 18px; }
.checklist .icon { width: 22px; height: 22px; color: var(--blue-500); margin-top: 3px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { border-radius: var(--radius-lg); min-height: 360px; background: url(/img/brand-coast.webp) center / cover no-repeat; box-shadow: var(--shadow); }
.split-tech { background: linear-gradient(180deg, #eef5fc, #e6f0fb); display: grid; place-items: center; padding: 30px; }
.split-tech .devices { width: 100%; max-width: 640px; align-self: center; margin: 0; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd8e3; border-radius: 10px; background: #fff;
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31, 120, 219, .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; margin-top: 6px; min-height: 0; }
.field-hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 16px; }
.alert .icon { width: 20px; height: 20px; margin-top: 2px; }
.alert-error { background: #fdecea; color: #8a1f14; }
.alert-success { background: #e6f6ef; color: #0c5e43; }
.alert-info { background: var(--blue-50); color: #0f4c8f; }
.alert-warning { background: #fff4d6; color: #6b4a00; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }

/* =========================================================================================
   Booking
   ========================================================================================= */
.demo-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.demo-note .icon { width: 16px; height: 16px; color: var(--blue-500); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--sky-50); color: var(--text); font-size: 13px; font-weight: 500; border: 1px solid #e6edf5; }
.chip .icon { width: 13px; height: 13px; }
.chip-good { background: #e6f6ef; color: #0c5e43; border-color: #c9ebdc; }
.empty-state { text-align: center; background: #fff; border: 1px dashed #cfd8e3; border-radius: var(--radius); padding: 48px 24px; }
.empty-state h3 { margin: 12px 0 6px; }
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto; color: var(--blue-500); }
.empty-state p { color: var(--muted); margin-bottom: 16px; }

/* Loading state */
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn-white .spinner, .btn-ghost .spinner { border-color: rgba(11, 37, 69, .25); border-top-color: var(--navy-800); }
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading > .btn-label { opacity: .85; }

/* Breadcrumbs, summary card, price lines */
.breadcrumbs { font-size: 14px; color: var(--muted); padding: 18px 0; }
.breadcrumbs a { color: var(--blue-600); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.summary-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.summary-card h2 { font-size: 20px; margin-bottom: 4px; }
.summary-meta { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.price-lines { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; display: grid; gap: 8px; font-size: 15px; }
.price-lines div { display: flex; justify-content: space-between; gap: 12px; }
.price-lines .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 19px; font-weight: 700; color: var(--ink); }
.policy { font-size: 14px; color: var(--muted); display: flex; gap: 8px; margin-top: 14px; }
.policy .icon { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 2px; }
.summary-card .btn { margin-top: 18px; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; padding: 8px 0 72px; }
.checkout-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.checkout-step h2 { font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: #fff; font-size: 15px; display: grid; place-items: center; flex: none; }
.test-cards { margin-top: 16px; font-size: 14px; }
.test-cards table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.test-cards td { padding: 6px 8px; border-top: 1px solid rgba(15, 76, 143, .12); }
.test-cards code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.copy-btn { border: 0; background: transparent; color: var(--blue-600); font-weight: 600; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.copy-btn:hover { background: rgba(31, 120, 219, .1); }
.timer { font-variant-numeric: tabular-nums; font-weight: 600; }
.secure-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.secure-note .icon { width: 15px; height: 15px; }

/* Confirmation */
.confirm-hero { text-align: center; padding: 48px 0 28px; }
.confirm-badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #e6f6ef; color: var(--success); }
.confirm-badge .icon { width: 38px; height: 38px; }
.confirm-badge.is-warn { background: #fff4d6; color: var(--warning); }
.confirm-badge.is-bad { background: #fdecea; color: var(--danger); }
.confirm-hero h1 { font-size: 38px; margin-bottom: 8px; }
.ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; font-weight: 700; letter-spacing: .06em; background: var(--sky-50); border: 1px dashed #b9c8da; padding: 6px 14px; border-radius: 10px; display: inline-block; color: var(--ink); }
.confirm-card { max-width: 760px; margin: 0 auto 72px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.status-confirmed { background: #e6f6ef; color: #0c5e43; }
.status-pending_payment, .status-confirming, .status-pending_supplier, .status-cancelling { background: #fff4d6; color: #6b4a00; }
.status-cancelled, .status-expired, .status-failed { background: #fdecea; color: #8a1f14; }

/* Not found */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: 64px; }

/* Reveal-on-scroll micro-interaction (progressive: content is visible without JS). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================================
   Responsive
   ========================================================================================= */
@media (max-width: 1360px) {
  .main-nav { padding-left: 24px; }
  .main-nav ul { gap: 28px; }
}

@media (max-width: 1320px) {
  .footer-inner { flex-wrap: wrap; padding: 28px 0; gap: 18px 24px; }
  .footer-nav { order: 3; width: 100%; margin-left: 0; }
  .footer-nav ul { flex-wrap: wrap; gap: 12px 28px; }
  .copyright { order: 4; width: 100%; margin-left: 0; white-space: normal; }
}


/* Tablet */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .wordmark { font-size: 32px; }
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
  .nav-toggle .icon { width: 26px; height: 26px; }
  .nav-toggle .icon-close { display: none; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; padding: 12px var(--gutter) 28px; background: #fff;
    flex-direction: column; justify-content: flex-start; gap: 18px; box-shadow: 0 18px 30px rgba(11, 37, 69, .12);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--blue-600); font-weight: 600; }
  .main-nav .nav-cta-mobile { display: inline-flex; align-self: flex-start; padding: 0 22px; border: 0; color: #fff; font-size: 16px; }


  .section-title { font-size: 36px; }



  .footer-inner { flex-wrap: wrap; padding: 28px 0; gap: 18px 24px; }
  .footer-nav { order: 3; width: 100%; margin-left: 0; }
  .footer-nav ul { flex-wrap: wrap; gap: 12px 28px; }
  .copyright { order: 4; width: 100%; }

  .grid-3, .grid-4, .stat-row { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .page-hero h1 { font-size: 44px; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 62px; }
  .wordmark { font-size: 28px; }
  .btn-lg { min-height: 54px; font-size: 16.5px; padding: 0 28px; }

  .eyebrow { font-size: 12.5px; }
  .section-title { font-size: 28px; }
  .section-lead { font-size: 17.5px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
  .section-head .text-link { font-size: 16px; margin-bottom: 0; }




  .footer-logo .wordmark { font-size: 28px; }
  .social { margin-left: auto; }

  .grid-3, .grid-4, .grid-2, .stat-row, .form-row { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .page-hero-inner { padding: 48px 0 44px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero p.lead { font-size: 17.5px; }
  .form-card { padding: 22px; }

  .checkout-step { padding: 20px; }
  .confirm-hero h1 { font-size: 28px; }
}

/* Utilities (CSP forbids inline style attributes) */
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }
.split-top { align-items: start; }
.notfound .section-lead { margin: 12px auto 28px; max-width: 560px; }
.error-ref { color: var(--muted); margin-bottom: 28px; }
.hidden { display: none !important; }
.mb-16 { margin-bottom: 16px; }
.center { text-align: center; }
.optional { font-weight: 400; color: var(--muted); }
.summary-img { width: calc(100% + 48px); max-width: none; margin: -24px -24px 18px; height: 170px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.summary-card .alert { margin-bottom: 12px; }
.test-widget .form-row { grid-template-columns: 1fr 1fr; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Checkout progress ---------- */
.progress-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 4px 0 24px; counter-reset: none; }
.progress-steps li { flex: 1 1 0; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 3px solid var(--line); font-size: 14.5px; color: var(--muted); font-weight: 500; min-width: 0; }
.progress-steps .step-dot { flex: 0 0 auto; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #cfd8e3; font-size: 13px; font-weight: 700; color: var(--muted); background: #fff; }
.progress-steps .is-done { border-top-color: var(--success); color: var(--ink); }
.progress-steps .is-done .step-dot { background: var(--success); border-color: var(--success); color: #fff; }
.progress-steps .is-current { border-top-color: var(--blue-600); color: var(--ink); font-weight: 600; }
.progress-steps .is-current .step-dot { border-color: var(--blue-600); color: var(--blue-600); }

@media (max-width: 640px) {
  .progress-steps li { font-size: 12.5px; flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* =========================================================================================
   Company pages: header and footer from 1024px, and the homepage below 1024px
   ========================================================================================= */
@media (min-width: 1024px) {
  .corp { --header-h: calc(54 * var(--u)); }
  .corp .container { width: calc(916 * var(--u)); margin-left: calc(50% - 456 * var(--u)); }
  body:has(> .site-header.corp-chrome) { --header-h: clamp(54px, 100vw * 54 / 1024, 75.9375px); }
  .corp-chrome .container { width: calc(916 * var(--u)); margin-left: calc(50% - 456 * var(--u)); }
  .site-header.corp-chrome { background: rgba(247, 251, 254, .97); }
  .corp-chrome .header-inner { gap: 0; }
  .corp-chrome .header-logo .wordmark { font-size: calc(29.6 * var(--u)); letter-spacing: -0.045em; }
  .corp-chrome .nav-toggle, .corp-chrome .main-nav .nav-cta-mobile { display: none; }
  .corp-chrome .main-nav {
    position: static; inset: auto; flex: 1; flex-direction: row; justify-content: center; gap: 0; padding: 0 calc(3 * var(--u)) 0 0;
    background: none; box-shadow: none; transform: none; opacity: 1; visibility: visible; transition: none; max-height: none; overflow: visible;
  }
  .corp-chrome .main-nav ul { flex-direction: row; gap: calc(26 * var(--u)); }
  .corp-chrome .main-nav a { padding: calc(18.5 * var(--u)) 0 calc(19.5 * var(--u)); font-size: calc(10.45 * var(--u)); line-height: calc(16 * var(--u)); font-weight: 500; color: #0c2340; border-bottom: 0; }
  .corp-chrome .main-nav a::after { display: block; bottom: calc(13 * var(--u)); height: calc(2 * var(--u)); }
  .corp-chrome .main-nav a[aria-current="page"] { color: #0c2340; font-weight: 500; }
  .corp-chrome .header-cta { display: inline-flex; margin-left: 0; min-height: calc(33 * var(--u)); padding: 0 calc(15 * var(--u)) 0 calc(13.5 * var(--u)); font-size: calc(10.5 * var(--u)); gap: calc(6 * var(--u)); border-width: 0; background: #082440; }
  .corp-chrome .header-cta .icon { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
  /* the account area of a signed-in traveler: its own buttons, on the header's scale */
  .corp-chrome .header-account.header-cta { min-height: 0; padding: 0; gap: calc(10 * var(--u)); background: none; }
  .corp-chrome .header-account .btn { min-height: calc(33 * var(--u)); padding: 0 calc(13.5 * var(--u)); font-size: calc(10.5 * var(--u)); gap: calc(6 * var(--u)); }
  .corp-chrome .header-account .icon { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
  .corp-chrome .header-admin { font-size: calc(10.5 * var(--u)); }

  .site-footer.corp-chrome { background: #f8fbfd; border-top: 0; }
  .corp-chrome .footer-inner { min-height: calc(75 * var(--u)); flex-wrap: nowrap; padding: 0; gap: 0; }
  .corp-chrome .footer-logo { margin: calc(4 * var(--u)) 0 0 calc(-3 * var(--u)); }
  .corp-chrome .footer-logo .wordmark { font-size: calc(26.2 * var(--u)); letter-spacing: -0.05em; }
  .corp-chrome .footer-nav { order: 0; width: auto; margin-left: calc(63 * var(--u)); }
  .corp-chrome .footer-nav ul { flex-wrap: nowrap; gap: calc(25.5 * var(--u)); }
  .corp-chrome .footer-nav a { font-size: calc(12.2 * var(--u)); }
  .corp-chrome .social { gap: calc(16 * var(--u)); margin-left: auto; margin-right: calc(1 * var(--u)); }
  .corp-chrome .social a { width: calc(17 * var(--u)); height: calc(17 * var(--u)); border-radius: calc(3 * var(--u)); }
  .corp-chrome .social .icon { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
  .corp-chrome .copyright { order: 0; width: auto; margin-left: calc(22 * var(--u)); padding-top: calc(3 * var(--u)); font-size: calc(9.4 * var(--u)); white-space: nowrap; }
}

/* The homepage below 1024px: the same sections in the same order, stacked. */
@media (max-width: 1023.98px) {
  .hero { min-height: 0; }
  .hero-media { background-position: 72% center, 0 0; background-size: cover, auto; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 40, 66, .92) 0%, rgba(2, 40, 66, .8) 45%, rgba(2, 40, 66, .3) 75%, rgba(2, 40, 66, 0) 100%); }
  .hero-inner { padding: 56px 0 60px; }

  .brands-section { padding: 40px 0 44px; }
  .brand-card { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .brand-card-media { position: relative; inset: auto; z-index: auto; order: 2; aspect-ratio: 452 / 150; }
  .brand-card-body { padding: 32px 32px 28px; max-width: none; background: linear-gradient(180deg, #f5f9fc, #f8fbfd); }
  .brand-card-ai .brand-card-media { width: auto; aspect-ratio: 452 / 120; background: linear-gradient(170deg, #3f8ee0 0%, #1a5fb8 45%, #0f3a70 100%); }

  .tech-inner .devices { position: relative; right: auto; top: auto; width: 100%; }
  .tech-copy { max-width: none; padding: 48px 0 8px; }
  .tech-copy .section-lead { max-width: 560px; }
  .devices { max-width: 560px; margin: 24px auto 40px; }

  .why-section { padding: 44px 0 52px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .why-item span > span { max-width: none; }

  .partner-inner { flex-direction: column; align-items: flex-start; padding: 44px 0 48px; }
  .partner-band { background-position: 70% center, 0 0; background-size: cover, auto; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 40px 0 48px; }
  /* two lines, always broken after "REAL PLACES." */
  .hero .eyebrow { font-size: 11px; line-height: 17px; letter-spacing: .18em; max-width: 26em; margin-bottom: 12px; }
  /* three lines at every phone width: 30px at 320, 33.5px at 390, 34px from 400 */
  .hero-title { font-size: clamp(30px, 8.6vw, 34px); line-height: 1.1; margin-bottom: 16px; }
  .hero-lead { font-size: 16px; line-height: 23px; margin-bottom: 24px; }
  .hero::before { background: linear-gradient(180deg, rgba(2, 40, 66, .88) 0%, rgba(2, 40, 66, .78) 60%, rgba(2, 40, 66, .55) 100%); }
  .hero .hero-actions .btn { flex: 1 1 140px; min-height: 48px; padding: 0 16px; font-size: 15px; }

  .brands-section { padding: 36px 0 40px; }
  .tech-copy .section-title, .why-section .section-title, .partner-title { font-size: 26px; line-height: 31px; }
  .brand-card-body { padding: 26px 20px 22px; }
  .ai-wordmark { font-size: 24px; }
  .brand-card-body .btn { width: 100%; }

  .tech-copy { padding-top: 40px; }
  .tech-copy .section-title br { display: none; }
  .tech-copy .section-lead, .partner-text { font-size: 16px; line-height: 23px; }
  .tech-copy .btn { width: 100%; }
  .devices { margin: 20px auto 32px; }

  .why-section { padding: 40px 0 44px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-item b { font-size: 16px; }
  .why-item span > span { font-size: 14.5px; line-height: 20px; }

  .partner-inner { padding: 40px 0 44px; gap: 22px; }
  .partner-band .btn { width: 100%; }

  /* The homepage only (Our Brands and the other company pages keep their cards and partner band as they are):
     one eyebrow and title size, 24px from copy to its button, and every main button 48px tall with a 15px label */
  .home .tech-copy .eyebrow, .home .why-section .eyebrow, .home .partner-band .eyebrow { font-size: 11px; letter-spacing: .24em; margin-bottom: 10px; }
  .home .tech-copy .section-title, .home .why-section .section-title, .home .partner-title { font-size: clamp(25px, 16.3px + 2.73vw, 28px); line-height: 1.18; text-wrap: balance; }
  .home .tech-copy .section-title, .home .partner-title { margin-bottom: 12px; }
  .home .hero-lead, .home .tech-copy .section-lead, .home .why-item span > span, .home .partner-text { text-wrap: pretty; }
  .home .tech-copy .btn, .home .partner-band .btn { min-height: 48px; font-size: 15px; }
  .home .tech-copy .section-lead { margin-bottom: 24px; }
  .home .why-grid { gap: 20px; margin-left: 0; }
  .home .why-item { gap: 16px; }
  .home .why-icon { width: 60px; height: 60px; }
  .home .why-icon .icon { width: 28px; height: 28px; }
  .home .partner-inner { gap: 24px; }
  .home .partner-band .btn { margin: 0; }

  /* The homepage footer: 15px links in 40px tap rows, three to a row, and the social icons beside the logo
     down to 320px */
  .home .footer-inner { column-gap: 12px; }
  .home .footer-logo { margin-left: 0; }
  .home .footer-nav { margin: -10px 0; }
  .home .footer-nav ul { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 24px; }
  .home .footer-nav a { display: block; padding: 10px 0; font-size: 15px; line-height: 20px; }
  .home .social { gap: 6px; margin: -5px -11px -5px auto; }
  .home .social a { width: 44px; height: 44px; }
}
/* wide enough for the hero eyebrow on one line and the five footer links in one row */
@media (min-width: 500px) and (max-width: 640px) {
  .home .hero .eyebrow { max-width: none; }
  .home .footer-nav ul { grid-template-columns: repeat(5, max-content); }
}
/* zoomed-in phones and folding-phone cover screens */
@media (max-width: 319.98px) {
  .home .hero-title { font-size: 27px; }
  .home .footer-nav ul { grid-template-columns: repeat(2, max-content); }
}

/* =========================================================================================
   The homepage with Tripelyx Business on (views/home.js, only when Business runs): the Business section
   (.biz-feature) right after the hero, on a light tint: a head (name badge, title, pitch, Explore and Sign in), then the goals. Every rule is scoped to .home and to its classes, so no other page
   and no other section changes. Sizes follow the homepage's --u scale (reference pixels at a 1024px viewport).
   ========================================================================================= */
.home .biz-feature { padding: calc(30 * var(--u)) 0 calc(34 * var(--u)); background: #f4f7fb; border-bottom: 1px solid #e6edf5; }
.home .biz-feature .section-head { align-items: flex-end; gap: calc(32 * var(--u)); margin-bottom: calc(22 * var(--u)); }
.home .biz-head-copy { min-width: 0; max-width: calc(560 * var(--u)); }
/* the name as a badge: the section's brand mark */
.home .biz-feature .eyebrow { display: inline-block; padding: calc(5 * var(--u)) calc(10 * var(--u)); border-radius: 999px; background: #dcebfa; font-size: calc(10 * var(--u)); line-height: 1.2; font-weight: 700; letter-spacing: .2em; margin-bottom: calc(11 * var(--u)); color: var(--navy-800); }
.home .biz-feature .section-title { font-size: calc(30 * var(--u)); line-height: calc(34 * var(--u)); letter-spacing: -0.02em; text-wrap: balance; }
.home .biz-lead { margin-top: calc(10 * var(--u)); font-size: calc(13.5 * var(--u)); line-height: calc(21 * var(--u)); color: var(--muted); text-wrap: pretty; }
.home .biz-head-actions { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: calc(10 * var(--u)); }
.home .biz-feature .biz-explore { white-space: nowrap; min-height: calc(43 * var(--u)); padding: 0 calc(22 * var(--u)); font-size: calc(13.5 * var(--u)); gap: calc(8 * var(--u)); }
.home .biz-feature .biz-explore .icon { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.home .biz-signin { font-size: calc(12 * var(--u)); line-height: calc(17 * var(--u)); color: var(--muted); }
.home .biz-signin a { color: var(--navy-800); font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue-500); text-underline-offset: 3px; }
.home .biz-signin a:hover { color: var(--blue-500); }

/* the five goals: one row of equal cards (icon and round check on top, then the name and its line) */
.home .biz-form { display: flex; flex-direction: column; align-items: flex-start; gap: calc(18 * var(--u)); }
.home .biz-goals { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.home .biz-legend { padding: 0; margin-bottom: calc(10 * var(--u)); font-size: calc(14.5 * var(--u)); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.home .biz-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(10 * var(--u)); }
.home .biz-option { position: relative; display: block; min-width: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* the radio stays in the page (keyboard, screen readers, the browser's "pick one" check) but is not drawn; it
   covers its card, so a card focused by the arrow keys scrolls clear of the sticky header (scroll-margin) */
.home .biz-radio { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; opacity: 0; pointer-events: none; scroll-margin: 110px 0 60px; }
.home .biz-option-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "icon check" "label label" "text text"; grid-template-rows: auto auto 1fr;
  align-items: start; gap: 0 calc(8 * var(--u));
  height: 100%; padding: calc(14 * var(--u)) calc(14 * var(--u)) calc(16 * var(--u));
  border: 1px solid #dbe4ee; border-radius: calc(12 * var(--u)); background: #fff;
  box-shadow: 0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(11, 37, 69, .04);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.home .biz-option:hover .biz-option-box { border-color: #9fbbd8; box-shadow: 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(11, 37, 69, .09); }
.home .biz-option-icon { grid-area: icon; display: grid; place-items: center; width: calc(34 * var(--u)); height: calc(34 * var(--u)); margin-bottom: calc(12 * var(--u)); border-radius: calc(9 * var(--u)); background: #e2f2fd; color: var(--blue-500); transition: background-color .2s var(--ease), color .2s var(--ease); }
.home .biz-option-icon .icon { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.home .biz-option-copy { display: contents; }
.home .biz-option-label { grid-area: label; display: block; font-size: calc(13.5 * var(--u)); line-height: calc(18 * var(--u)); font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.home .biz-option-text { grid-area: text; display: block; margin-top: calc(4 * var(--u)); font-size: max(12.5px, calc(11.2 * var(--u))); line-height: max(17px, calc(16 * var(--u))); color: var(--muted); text-wrap: pretty; }
/* the round check: an unpicked one's ring is at least 3:1 on white, like a radio button's */
.home .biz-option-check { grid-area: check; display: grid; place-items: center; width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; border: 1.5px solid #7d91a8; background: #fff; color: #fff; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.home .biz-option-check .icon { width: calc(12 * var(--u)); height: calc(12 * var(--u)); opacity: 0; }
.home .biz-radio:checked + .biz-option-box { border-color: var(--navy-800); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--navy-800); }
.home .biz-radio:checked + .biz-option-box .biz-option-icon { background: var(--navy-800); color: #fff; }
.home .biz-radio:checked + .biz-option-box .biz-option-check { border-color: var(--navy-800); background: var(--navy-800); }
.home .biz-radio:checked + .biz-option-box .biz-option-check .icon { opacity: 1; }
.home .biz-radio:focus-visible + .biz-option-box { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.home .biz-submit { min-height: calc(43 * var(--u)); padding: 0 calc(26 * var(--u)); font-size: calc(13.5 * var(--u)); gap: calc(8 * var(--u)); }
.home .biz-submit .icon { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }

/* under 1024px: the head stacks, and the goals become a list of rows (icon, name and line, round check) */
@media (max-width: 1023.98px) {
  .home .biz-feature { padding: 40px 0 44px; }
  .home .biz-feature .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
  .home .biz-head-copy { max-width: 40em; }
  .home .biz-feature .eyebrow { padding: 6px 12px; font-size: 11px; margin-bottom: 12px; }
  .home .biz-feature .section-title { font-size: 32px; line-height: 1.15; }
  .home .biz-lead { margin-top: 12px; font-size: 16px; line-height: 24px; }
  .home .biz-head-actions { align-items: flex-start; gap: 12px; }
  /* touch screens: the text link gets a 44px or taller tap area, its padding taken back by the margins; the
     Explore button is 48px tall like the other main buttons */
  .home .biz-feature .biz-explore { min-height: 48px; padding: 0 22px; font-size: 15px; gap: 10px; }
  .home .biz-feature .biz-explore .icon { width: 16px; height: 16px; }
  .home .biz-signin { font-size: 15px; line-height: 22px; }
  .home .biz-signin a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .home .biz-form { gap: 18px; }
  .home .biz-legend { font-size: 17px; margin-bottom: 12px; }
  .home .biz-options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home .biz-option-box { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon label check" "icon text check"; grid-template-rows: auto auto; align-items: center; gap: 0 14px; padding: 12px 16px 12px 12px; }
  .home .biz-option-icon { width: 40px; height: 40px; margin-bottom: 0; border-radius: 10px; }
  .home .biz-option-icon .icon { width: 20px; height: 20px; }
  .home .biz-option-label { align-self: end; font-size: 16px; line-height: 22px; }
  .home .biz-option-text { align-self: start; margin-top: 2px; font-size: 14px; line-height: 20px; }
  .home .biz-option-check { width: 22px; height: 22px; }
  .home .biz-option-check .icon { width: 13px; height: 13px; }
  .home .biz-submit { min-height: 52px; padding: 0 32px; font-size: 16px; gap: 10px; }
  .home .biz-submit .icon { width: 16px; height: 16px; }
}
@media (max-width: 640px) {
  .home .biz-feature { padding: 36px 0 40px; }
  .home .biz-feature .section-head { gap: 18px; margin-bottom: 22px; }
  .home .biz-feature .section-title { font-size: clamp(25px, 16.3px + 2.73vw, 28px); line-height: 1.18; }
  .home .biz-head-actions { align-self: stretch; }
  .home .biz-feature .biz-explore { width: 100%; }
  .home .biz-legend { font-size: 16px; }
  /* the round check sits in the name's row, so the line runs under it */
  .home .biz-option-box { grid-template-areas: "icon label check" "icon text text"; gap: 0 12px; min-height: 56px; padding: 12px 12px 12px 10px; }
  .home .biz-option-icon { width: 36px; height: 36px; }
  .home .biz-option-label { font-size: 15px; line-height: 20px; }
  .home .biz-option-text { font-size: 13.5px; line-height: 19px; }
  .home .biz-option-check { align-self: center; width: 20px; height: 20px; }
  .home .biz-option-check .icon { width: 12px; height: 12px; }
  .home .biz-submit { width: 100%; min-height: 48px; padding: 0 16px; font-size: 15px; }
}
/* the narrowest phones: a smaller icon and check give the label room */
@media (max-width: 389.98px) {
  .home .biz-option-box { gap: 0 11px; padding-right: 10px; }
  .home .biz-option-label { font-size: 14px; }
  .home .biz-option-icon { width: 32px; height: 32px; }
  .home .biz-option-icon .icon { width: 18px; height: 18px; }
  .home .biz-option-check { width: 18px; height: 18px; }
  .home .biz-option-check .icon { width: 11px; height: 11px; }
}
/* Forced colours (Windows High Contrast and the like) drop the tint and the inset ring: the picked card keeps a
   thick Highlight border (its margin takes the 2px back, so nothing moves) and a filled round check */
@media (forced-colors: active) {
  .home .biz-option-check { border-color: CanvasText; }
  .home .biz-radio:checked + .biz-option-box { margin: -2px; border: 3px solid Highlight; }
  .home .biz-radio:checked + .biz-option-box .biz-option-check { border-color: Highlight; background: Highlight; color: HighlightText; }
  .home .biz-radio:focus-visible + .biz-option-box { outline-color: Highlight; }
}

/* =========================================================================================
   The homepage hero with the search box (views/home.js, views/searchBox.js; 2026-10-21): the copy, the panel and the
   box. The box's and the hero's own rules are in search-box.css (the homepage only); these two are shared with it.
   ========================================================================================= */
.home .hero-copy { min-width: 0; }
@media (min-width: 1024px) {
  /* The hero with the search box is taller than its photograph, which is then scaled past the photograph's own navy
     fade (measured at 1440: white text on sand at 1.2 to 1.9:1), so a navy gradient lies over its left, as under
     1024px the hero's own rule does (audit 2026-10-20, UX-10). */
  .home .hero-with-budget::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 40, 66, .9) 0%, rgba(2, 40, 66, .82) 38%, rgba(2, 40, 66, .45) 62%, rgba(2, 40, 66, 0) 100%); }
}

/* =========================================================================================
   Sign in (views/layout.js): the corporate header's ghost button before Partner With Us, and its copy in the
   phone menu, wherever the AI Travel Agent or Tripelyx Business runs here.
   ========================================================================================= */
.header-signin + .header-cta { margin-left: 12px; }
@media (max-width: 1024px) {
  .main-nav .nav-signin-mobile { color: var(--navy-800); background: transparent; border: 1.5px solid #cfd8e3; }
}
@media (min-width: 1024px) {
  .corp-chrome .header-signin { background: transparent; color: var(--navy-800); border: calc(1.5 * var(--u)) solid #cfd8e3; margin-right: calc(10 * var(--u)); }
  .corp-chrome .header-signin:hover { border-color: var(--navy-800); }
  .corp-chrome .header-signin + .header-cta { margin-left: 0; }
}

/* =========================================================================================
   The company's contact line (views/layout.js contactLine) under the corporate footer's row.
   ========================================================================================= */
.footer-inner { flex-wrap: wrap; }
.footer-contact { flex: 1 1 100%; order: 5; margin: -10px 0 0; padding-bottom: 22px; font-size: 14px; line-height: 1.5; color: var(--muted); }
/* links inside the line are underlined, so they don't rely on colour alone */
.footer-contact a { color: var(--ink); text-decoration: underline; text-decoration-color: #9aabbe; text-underline-offset: 3px; white-space: nowrap; }
.footer-contact a:hover { color: var(--blue-600); text-decoration-color: currentColor; }
@media (min-width: 1024px) {
  .corp-chrome .footer-inner { flex-wrap: wrap; min-height: 0; padding: calc(21 * var(--u)) 0 calc(18 * var(--u)); row-gap: calc(8 * var(--u)); }
  .corp-chrome .footer-contact { order: 5; margin: 0; padding: 0; font-size: calc(10.5 * var(--u)); line-height: calc(16 * var(--u)); }
}
@media (max-width: 1023.98px) {
  .footer-contact { margin-top: -4px; padding-bottom: 0; }
}
@media (max-width: 640px) {
  .home .footer-contact { font-size: 14px; }
}

/* =========================================================================================
   The destinations strip (views/destinationsStrip.js, AI Travel Agent on): eight picture cards, four to a row
   from 1024px, two below. Every rule is scoped to .home.
   ========================================================================================= */
.home .dest-strip { padding: calc(24 * var(--u)) 0 calc(30 * var(--u)); background: #fbfcfe; border-top: 1px solid #edf1f6; }
.home .dest-strip .section-head { gap: calc(24 * var(--u)); margin-bottom: calc(18 * var(--u)); }
.home .dest-strip .eyebrow { font-size: calc(10.5 * var(--u)); line-height: 1.2; letter-spacing: .28em; margin-bottom: calc(9 * var(--u)); color: #2c3f55; }
.home .dest-strip .section-title { font-size: calc(30 * var(--u)); line-height: calc(33 * var(--u)); letter-spacing: -0.02em; }
.home .dest-lead { margin-top: calc(8 * var(--u)); font-size: calc(14.5 * var(--u)); line-height: calc(21 * var(--u)); max-width: calc(520 * var(--u)); color: var(--text); text-wrap: pretty; }
.home .dest-strip .text-link { flex: none; white-space: nowrap; font-size: calc(13 * var(--u)); gap: calc(7 * var(--u)); margin-bottom: calc(5.5 * var(--u)); }
.home .dest-strip .text-link .icon { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.home .dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(14 * var(--u)); }
.home .dest-card {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: calc(12 * var(--u)); background: var(--navy-800); color: #fff; text-decoration: none;
  box-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(11, 37, 69, .06), 0 calc(3 * var(--u)) calc(10 * var(--u)) rgba(11, 37, 69, .06);
}
.home .dest-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s var(--ease); }
.home .dest-card:hover img { transform: scale(1.04); }
.home .dest-card:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; }
.home .dest-caption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: calc(1 * var(--u));
  padding: calc(30 * var(--u)) calc(12 * var(--u)) calc(10 * var(--u));
  background: linear-gradient(180deg, rgba(7, 26, 51, 0) 0%, rgba(7, 26, 51, .55) 45%, rgba(7, 26, 51, .82) 100%);
}
.home .dest-caption b { font-size: calc(15 * var(--u)); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.home .dest-caption small { font-size: calc(11.5 * var(--u)); line-height: 1.3; color: rgba(226, 236, 246, .9); }
@media (max-width: 1023.98px) {
  .home .dest-strip { padding: 40px 0 44px; }
  .home .dest-strip .section-head { margin-bottom: 22px; }
  .home .dest-strip .section-title { text-wrap: balance; }
  .home .dest-lead { font-size: 16px; line-height: 23px; max-width: 36em; margin-top: 10px; }
  /* touch screens: the text link gets a 44px or taller tap area, its padding taken back by the margins */
  .home .dest-strip .text-link { padding: 12px 0; margin-top: -12px; margin-bottom: calc(5.5 * var(--u) - 12px); }
  .home .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .home .dest-card { border-radius: 12px; }
  .home .dest-caption { padding: 30px 12px 10px; gap: 1px; }
  .home .dest-caption b { font-size: 16px; }
  .home .dest-caption small { font-size: 12.5px; }
}
@media (max-width: 640px) {
  .home .dest-strip { padding: 40px 0; }
  .home .dest-strip .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .home .dest-strip .eyebrow { font-size: 11px; letter-spacing: .24em; margin-bottom: 10px; }
  .home .dest-strip .section-title { font-size: clamp(25px, 16.3px + 2.73vw, 28px); line-height: 1.18; }
  .home .dest-strip .text-link { font-size: 15px; margin: -12px 0; }
  .home .dest-strip .text-link .icon { width: 16px; height: 16px; }
  .home .dest-grid { gap: 10px; }
  .home .dest-caption { padding: 24px 10px 8px; }
  .home .dest-caption b { font-size: 15px; }
  .home .dest-caption small { font-size: 12px; }
}

/* =========================================================================================
   The founding-companies credit band (views/promo.js, ENABLE_BUSINESS_PROMO only): on the homepage above the
   Business section and on /business under its hero. Not scoped to .home: /business shows it too.
   ========================================================================================= */
.promo-band { color: #fff; background: linear-gradient(120deg, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-900) 100%); }
.corp .promo-inner { display: flex; align-items: center; justify-content: space-between; gap: calc(32 * var(--u)); padding: calc(26 * var(--u)) 0 calc(24 * var(--u)); }
.promo-band .eyebrow { font-size: calc(10.5 * var(--u)); line-height: 1.2; letter-spacing: .28em; margin-bottom: calc(8 * var(--u)); color: rgba(206, 224, 242, .9); }
.promo-title { color: #fff; font-size: calc(27 * var(--u)); line-height: calc(32 * var(--u)); letter-spacing: -0.02em; margin-bottom: calc(8 * var(--u)); text-wrap: balance; }
.promo-text { font-size: calc(14.5 * var(--u)); line-height: calc(21 * var(--u)); max-width: calc(560 * var(--u)); color: rgba(255, 255, 255, .92); text-wrap: pretty; }
.promo-action { flex: none; display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--u)); }
.corp .promo-action .btn { min-height: calc(43 * var(--u)); min-width: calc(200 * var(--u)); padding: 0 calc(22 * var(--u)); font-size: calc(13.5 * var(--u)); gap: calc(8 * var(--u)); }
.corp .promo-action .btn .icon { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.promo-footnote { font-size: calc(11 * var(--u)); line-height: 1.4; color: rgba(226, 236, 246, .82); text-align: center; }
@media (max-width: 1023.98px) {
  .corp .promo-inner { flex-direction: column; align-items: flex-start; gap: 22px; padding: 40px 0 44px; }
  .promo-band .eyebrow { font-size: 11px; letter-spacing: .24em; margin-bottom: 10px; }
  .promo-title { font-size: clamp(25px, 16.3px + 2.73vw, 30px); line-height: 1.18; }
  .promo-text { font-size: 16px; line-height: 23px; max-width: 36em; }
  .promo-action { align-items: flex-start; gap: 10px; }
  .corp .promo-action .btn { min-height: 48px; font-size: 15px; padding: 0 22px; gap: 10px; min-width: 0; }
  .corp .promo-action .btn .icon { width: 16px; height: 16px; }
  .promo-footnote { font-size: 13px; text-align: left; }
}
@media (max-width: 640px) {
  .promo-action { width: 100%; }
  .corp .promo-action .btn { width: 100%; }
}

/* =========================================================================================
   The Personal | Business chooser at the top of the sign-in and sign-up card (views/trips/account.js, Tripelyx
   Business on). The card itself is trips.css .tb-auth-card.
   ========================================================================================= */
.tb-auth-tabs { display: flex; gap: 4px; padding: 4px; margin: -4px 0 16px; background: var(--sky-50); border: 1px solid var(--line); border-radius: 12px; }
.tb-auth-tab { flex: 1 1 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .15s, background-color .15s; }
.tb-auth-tab:hover { color: var(--ink); }
.tb-auth-tab[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tb-auth-tab-note { margin: -8px 0 20px; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center; }

/* =========================================================================================
   The policy links and the privacy note (views/layout.js): the corporate footer's Policies row under the contact
   line, the "How we use this information" line beside a form's submit button, and footer links at least 24px tall.
   ========================================================================================= */
.footer-nav a { display: inline-block; }
.footer-nav + .copyright { margin-left: auto; }
.footer-contact { padding-bottom: 0; }
.footer-policies { flex: 1 1 100%; order: 6; margin: -18px 0 0; padding-bottom: 22px; }
.footer-policies ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-policies a { display: inline-block; padding: 2px 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-decoration: none; }
.footer-policies a:hover { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.form-privacy { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-privacy a:hover { color: var(--blue-600); }
@media (min-width: 1024px) {
  .corp-chrome .footer-nav a { padding: calc(3 * var(--u)) 0; }
  .corp-chrome .footer-policies { margin: 0; padding: 0; }
  .corp-chrome .footer-policies ul { gap: 0 calc(16 * var(--u)); }
  .corp-chrome .footer-policies a { padding: calc(4 * var(--u)) 0; margin: calc(-4 * var(--u)) 0; font-size: calc(10.5 * var(--u)); line-height: calc(16 * var(--u)); }
}
@media (max-width: 1320px) {
  .footer-policies { margin-top: -10px; padding-bottom: 0; }
}
/* At phone width (audit UX-14) the corporate footer's links reach 44px tall without moving. */
@media (max-width: 760px) {
  .footer-nav a, .footer-policies a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* =========================================================================================
   The security and activity alerts (views/alertParts.js, views/alerts.js): the header's bell and unread count,
   the "Confirm your email" banner, /account/alerts and /verify-email.
   ========================================================================================= */
.tx-alerts-link { position: relative; padding: 0 12px; }
.tx-alerts-link .icon, .tx-alerts-mobile .icon { width: 18px; height: 18px; }
.tx-alert-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--navy-800); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.tx-alert-count[hidden] { display: none; }
.tx-verify-banner { background: var(--blue-50); color: #0f4c8f; border-bottom: 1px solid #d6e6f8; }
.tx-verify-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 10px; padding-bottom: 10px; font-size: 15px; }
.tx-verify-inner .icon { width: 18px; height: 18px; flex: none; }
.tx-verify-inner p { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.tx-alerts-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.tx-alert-note { color: var(--muted); font-size: 15px; line-height: 1.5; }
.tx-alert-list { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.tx-alert-row { padding: 18px 20px; }
.tx-alert-row.is-unread { border-left: 4px solid var(--blue-500); }
.tx-alert-row.is-security.is-unread { border-left-color: var(--danger); }
.tx-alert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tx-chip-security { background: #fdecea; color: #8a1f14; border-color: #f6cfc9; }
.tx-alert-title { font-size: 18px; margin: 0 0 4px; }
.tx-alert-what { color: var(--text); overflow-wrap: anywhere; }
.tx-alert-meta { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.tx-alert-meta .icon { width: 14px; height: 14px; flex: none; margin-top: 3px; }
.tx-alert-row .text-link { font-size: 15px; margin-top: 8px; }
.tx-alert-more { margin: 0 0 24px; }
.tx-alert-prefs { max-width: 640px; }
.tx-alert-prefs h2 { font-size: 22px; margin-bottom: 8px; }
.tx-check { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; }
.tx-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.tx-verify { max-width: 640px; }
.tx-verify-title { font-size: 28px; margin-bottom: 12px; }
@media (max-width: 640px) {
  /* the phone menu has its own Alerts link, so the header keeps its room for the account button */
  .tx-alerts-link { display: none; }
  .tx-alert-row { padding: 16px; }
  .tx-alerts-head .btn { width: 100%; justify-content: center; }
}

/* =========================================================================================
   The account area in the header of a trip page for someone signed in (views/layout.js accountArea). Here, not
   in trips.css, so the hotel and flight pages (which wear it too) load site.css alone.
   ========================================================================================= */
.header-account { display: flex; align-items: center; gap: 14px; }
.header-admin { font-size: 15px; }
@media (max-width: 1024px) {
  .header-account .header-admin { display: none; }
}
/* Tripelyx Business on (.site-header-biz, only when Business runs): between 1025 and 1200px a long account name
   is cut with an ellipsis, so the menu and the account area fit. From 1200px the name shows in full. */
@media (min-width: 1025px) and (max-width: 1199.98px) {
  .site-header-biz .header-name { display: inline-block; max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
  /* as at 1024px and below: with a long name the Admin link would push the account button out of the header */
  .site-header-biz .header-account .header-admin { display: none; }
}

/* =========================================================================================
   The hero photo on a phone (views/layout.js): the coast photo behind a page's hero, at 800px wide (33 KB)
   instead of 1344px (108 KB) up to 800px of viewport; the layout preloads the one the viewport needs.
   ========================================================================================= */
@media (max-width: 800px) {
  .page-hero::before { background-image: linear-gradient(90deg, rgba(8, 33, 64, .97) 0%, rgba(10, 40, 76, .9) 35%, rgba(12, 52, 96, .55) 65%, rgba(12, 52, 96, .25) 100%), url(/img/coast-hero-800.webp); }
}

/* =========================================================================================
   The font fallback (public/fonts/inter-latin.woff2): when a page paints before the font has arrived (a slow
   connection; the preload stays, since without it the desktop's text moved when the font came), the text shows
   in the system's Arial drawn to Inter's metrics (the overrides below) and swaps to Inter with no change of
   line length or height.
   ========================================================================================= */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}
:root { --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }

/* =========================================================================================
   The site header since 2026-10-21 (the owner's target screenshot; views/layout.js header): the "Tripelyx"
   wordmark, the travel menu, then the currency, Business, Help, Sign in and Partner With Us. Below 1024px the
   menu button opens the menu, which ends with the currency, Business, Help and the two buttons.
   ========================================================================================= */
.wordmark { font-weight: 800; letter-spacing: -0.04em; color: var(--navy-800); }
.wordmark-x { color: var(--blue-600); }
.header-tools, .main-nav .nav-more-mobile { display: none; }
.header-currency { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.currency-flag { flex: none; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(11, 37, 69, .08); }
.header-link, .nav-link-mobile { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.header-link:hover, .nav-link-mobile:hover { color: var(--blue-600); }
.header-link .icon, .nav-link-mobile .icon { width: 18px; height: 18px; color: var(--navy-800); }
.header-link[aria-current="page"], .nav-link-mobile[aria-current="page"] { color: var(--blue-600); }
@media (max-width: 1023.98px) {
  .main-nav .nav-more-mobile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 0; padding: 4px 4px 0; font-size: 17px; }
  .main-nav .nav-more-mobile .nav-link-mobile { display: inline-flex; min-height: 44px; padding: 0; border: 0; font-size: 17px; }
  .main-nav .nav-more-mobile .header-currency { min-height: 44px; }
}
@media (min-width: 1024px) {
  /* As in the target at 1440: a 65px header on a row 65px from the window's edges, the menu 64px after the wordmark */
  body:has(> .site-header.corp-chrome) { --header-h: clamp(46px, 100vw * 46 / 1024, 64.6875px); }
  .site-header.corp-chrome .container { width: calc(944 * var(--u)); margin-left: calc(50% - 466 * var(--u)); }
  .site-header.corp-chrome { background: rgba(255, 255, 255, .98); }
  .corp-chrome .header-logo .wordmark { font-size: calc(27.6 * var(--u)); font-weight: 700; letter-spacing: -0.035em; }
  .corp-chrome .main-nav { justify-content: flex-start; padding: 0 0 0 calc(45.5 * var(--u)); }
  .corp-chrome .main-nav ul { gap: calc(21 * var(--u)); }
  .corp-chrome .main-nav a { padding: calc(15 * var(--u)) 0; font-size: calc(10.2 * var(--u)); white-space: nowrap; }
  .corp-chrome .main-nav a::after { bottom: calc(9 * var(--u)); }
  .corp-chrome .header-tools { display: flex; align-items: center; gap: calc(18 * var(--u)); margin-right: calc(10.7 * var(--u)); font-size: calc(10.2 * var(--u)); }
  .corp-chrome .header-currency { gap: calc(7 * var(--u)); height: calc(26.3 * var(--u)); padding: 0 calc(13 * var(--u)) 0 calc(12 * var(--u)); border: 1px solid #d9e0e8; border-radius: 999px; background: #fff; color: #0c2340; }
  .corp-chrome .currency-flag { width: calc(15 * var(--u)); height: calc(10.5 * var(--u)); }
  .corp-chrome .header-link { gap: calc(6.5 * var(--u)); padding: calc(6 * var(--u)) 0; color: #0c2340; }
  .corp-chrome .header-link:hover { color: var(--blue-600); }
  .corp-chrome .header-link .icon { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
  .corp-chrome .header-cta { min-height: calc(26.3 * var(--u)); padding: 0 calc(10 * var(--u)) 0 calc(11 * var(--u)); font-size: calc(9.8 * var(--u)); gap: calc(5.5 * var(--u)); }
  .corp-chrome .header-cta .icon { width: calc(10 * var(--u)); height: calc(10 * var(--u)); }
  .corp-chrome .header-account .btn { min-height: calc(26.3 * var(--u)); padding: 0 calc(10.5 * var(--u)); font-size: calc(9.8 * var(--u)); }
  .corp-chrome .header-signin { padding: 0 calc(10.5 * var(--u)) 0 calc(9.5 * var(--u)); margin-right: calc(7.8 * var(--u)); border: 1px solid #dfe5ec; border-radius: 999px; font-weight: 500; }
  .corp-chrome .header-cta:not(.header-signin):not(.header-account) { padding: 0 calc(8 * var(--u)) 0 calc(9 * var(--u)); border-radius: 999px; }
}
@media (forced-colors: active) {
  .header-currency { border: 1px solid CanvasText; }
}

/* =========================================================================================
   The redesign's shared tokens and status labels (2026-10-22, PR 1): the homepage's ivory, gold and serif for
   every page (the concierge's --txc-* and search-box.css --hero-serif, the same values), one label set (Live:
   works today for real; Demo: simulated, never shown as real; Planned: not built yet; Coming soon: not on sale
   yet), a dashed frame for a simulated screen, and the footer's mark for the company page the visitor is on.
   ========================================================================================= */
:root {
  --ivory: #fbf8f1;
  --ivory-2: #f3ecdd;
  --gold: #c2a265;
  --gold-deep: #85652f;
  --gold-line: #e6dbc4;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
}
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; border: 1px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: .03em; line-height: 1.35; white-space: nowrap; vertical-align: middle; }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.tag-live { background: #e6f6ef; color: #0c5e43; border-color: #c9ebdc; }
.tag-live::before { background: var(--success); box-shadow: 0 0 0 3px rgba(18, 128, 92, .18); }
.tag-demo { background: #fff4d6; color: #6b4a00; border-color: #f4e2b0; }
.tag-demo::before { width: 6px; height: 6px; border: 1.5px dashed #9a6c00; }
.tag-planned { background: var(--blue-50); color: #0f4c8f; border-color: #d6e6f8; }
.tag-planned::before { width: 5px; height: 5px; border: 1.5px solid #0f4c8f; }
.tag-soon { background: var(--navy-800); color: var(--gold); border-color: var(--navy-800); }
.tag-soon::before { width: 6px; height: 6px; border-radius: 1px; background: var(--gold); transform: rotate(45deg); }
.demo-frame { position: relative; outline: 1.5px dashed #d9bf86; outline-offset: 6px; border-radius: var(--radius); }
.demo-frame > .demo-flag { position: absolute; top: -18px; right: 14px; z-index: 3; }
.footer-nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* =========================================================================================
   The password fields and My Trips' bookings (2026-10-31, the account polish): the Show/Hide button on every password
   field, a new password's rules, strength meter and match line (public/js/site.js), My Trips' No bookings yet card and
   booking references kept on one line. By their own classes alone.
   ========================================================================================= */
.tb-ref { white-space: nowrap; }
.tb-mytrips-empty { background: #fff; border: 1px solid var(--line, #e3e9f0); border-radius: 14px; padding: 22px; margin: 0 0 28px; }
.tb-mytrips-empty h2 { margin: 0 0 6px; }
.tb-mytrips-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.tb-mytrips-empty-actions .btn { min-height: 44px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 84px; }
.pw-toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); min-width: 64px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--blue-600, #1659a8); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pw-toggle:hover { background: var(--blue-50, #eef5fd); }
.pw-toggle:focus-visible { outline: 3px solid var(--blue-500, #1f78db); outline-offset: 1px; }
.pw-check { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pw-rules { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.pw-rules li { padding-left: 22px; position: relative; }
.pw-rules li::before { content: ''; position: absolute; left: 2px; top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #9aa8b8; }
.pw-rules li.is-met { color: var(--success); }
.pw-rules li.is-met::before { border-color: var(--success); background: var(--success); }
.pw-meter { height: 6px; border-radius: 3px; background: #e3e9f0; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--danger); transition: width .2s, background-color .2s; }
.pw-check[data-level="1"] .pw-meter span { width: 25%; background: var(--danger); }
.pw-check[data-level="2"] .pw-meter span { width: 50%; background: #c77700; }
.pw-check[data-level="3"] .pw-meter span { width: 75%; background: #2f8f5b; }
.pw-check[data-level="4"] .pw-meter span { width: 100%; background: var(--success); }
.pw-level { margin: 6px 0 0; font-weight: 600; color: var(--ink); min-height: 1em; }
.pw-tip { margin: 4px 0 0; }
.pw-match { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.pw-match.is-met { color: var(--success); }
