:root {
  --paper: #FFFFFF;
  --mist: #F1F4F1;
  --ink: #13201B;
  --ink-2: #4A5852;
  --ink-3: #7C8983;
  --line: #DDE3DE;
  --bottle: #0E5A47;
  --bottle-2: #E2EEE9;
  --bottle-3: #2E8A6F;
  --brass: #B9862A;
  --brass-2: #F7EEDB;
  --slate: #8A94A3;
  --slate-2: #E6E9EE;
  --warn: #B5523C;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, blockquote { margin: 0; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
.num { font-variant-numeric: lining-nums; }
:focus-visible { outline: 2px solid var(--bottle); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--bottle-2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section.block { padding: clamp(80px, 12vw, 140px) 0; border-top: 1px solid var(--line); }
.kicker { color: var(--bottle); font-weight: 600; font-size: 15px; margin-bottom: 18px; display: block; }
.h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 22ch;
  text-wrap: balance;
}
.lede { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 60ch; margin-top: 20px; text-wrap: pretty; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { transition: transform .5s var(--ease-spring); transform-origin: 50% 12%; }
.brand:hover svg { transform: rotate(-12deg); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative; text-decoration: none; font-size: 14.5px; color: var(--ink-2);
  padding: 7px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--mist); }
.nav-links a.active { color: var(--bottle); background: var(--bottle-2); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--bottle); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 132px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-meta { color: var(--ink-3); font-size: 15px; margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bottle-3); box-shadow: 0 0 0 0 rgba(46,138,111,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,138,111,.45); } 70% { box-shadow: 0 0 0 9px rgba(46,138,111,0); } 100% { box-shadow: 0 0 0 0 rgba(46,138,111,0); } }
.h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.loaded .h1 .w > span { transform: none; }
.hero-sub { margin-top: 26px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 46ch; text-wrap: pretty; opacity: 0; transform: translateY(8px); transition: opacity .8s .5s var(--ease), transform .8s .5s var(--ease); }
.loaded .hero-sub { opacity: 1; transform: none; }

.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); text-decoration: none; font-weight: 500; font-size: 15.5px;
  cursor: pointer; transition: transform .25s var(--ease-spring), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); border-color: #C6CFC9; box-shadow: 0 6px 18px -10px rgba(19,32,27,.35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: var(--bottle); color: #fff; border-color: var(--bottle); }
.btn.primary:hover { background: #0B4A3A; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateY(2px); }

/* Hero flow strip: synced with the engine animation */
.flow { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; max-width: 560px; }
.flow::before { content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 2px; background: var(--line); }
.flow-fill { position: absolute; left: 14px; top: 13px; height: 2px; background: var(--bottle); width: 0; transition: width .8s var(--ease); max-width: calc(100% - 28px); }
.flow li { position: relative; padding-right: 14px; font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.flow li b { display: block; color: var(--ink-2); font-weight: 600; font-size: 15px; margin-bottom: 2px; transition: color .3s; }
.flow .fd { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; position: relative; transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease-spring); }
.flow li.done .fd { border-color: var(--bottle); color: var(--bottle); }
.flow li.now .fd { background: var(--bottle); border-color: var(--bottle); color: #fff; transform: scale(1.12); }
.flow li.now b, .flow li.done b { color: var(--ink); }

/* Engine panel */
.engine {
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper);
  box-shadow: 0 1px 0 rgba(19,32,27,.03), 0 24px 60px -32px rgba(14,90,71,.35);
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.985);
  transition: opacity .9s .25s var(--ease), transform .9s .25s var(--ease);
}
.loaded .engine { opacity: 1; transform: none; }
.eng-head, .eng-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; font-size: 14px; }
.eng-head { border-bottom: 1px solid var(--line); background: var(--mist); }
.eng-foot { border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.nego-title { font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13.5px; white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); transition: background .3s; }
.status.live i { animation: blink 1s infinite; }
.status.done i { background: var(--bottle-3); }
@keyframes blink { 50% { opacity: .3; } }
.eng-body { padding: 18px; display: grid; gap: 12px; min-height: 520px; align-content: start; }
.step-in { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.step-in.show { opacity: 1; transform: none; }
.req { justify-self: start; max-width: 88%; padding: 10px 14px; border-radius: 14px; border-bottom-left-radius: 4px; background: var(--mist); font-size: 14.5px; line-height: 1.45; }
.req .who { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 3px; }
.core { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--bottle); color: #fff; font-size: 14px; }
.core b { font-weight: 600; white-space: nowrap; }
.core span:last-child { color: #CFE8DF; }
.core-dot { width: 10px; height: 10px; border-radius: 50%; background: #A9D6C6; flex: none; }
.core.busy .core-dot { animation: pulse-w 1.2s infinite; }
@keyframes pulse-w { 0% { box-shadow: 0 0 0 0 rgba(169,214,198,.7); } 100% { box-shadow: 0 0 0 10px rgba(169,214,198,0); } }
.hotels { list-style: none; margin: 0 0 0 18px; padding: 0 0 0 16px; display: grid; gap: 8px; border-left: 2px solid var(--bottle-2); }
.hotels li {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px;
  padding: 10px 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px;
  transition: opacity .45s var(--ease), border-color .35s, box-shadow .35s, transform .45s var(--ease-spring), background .35s;
}
.hotels li::before { content: ""; position: absolute; left: -17px; top: 50%; width: 15px; height: 2px; background: var(--bottle-2); }
.h-name { font-weight: 600; color: var(--ink); line-height: 1.25; }
.h-name small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.h-status { text-align: right; color: var(--ink-2); font-size: 13.5px; max-width: 230px; line-height: 1.3; }
.h-status.offer { color: var(--ink); font-weight: 600; }
.h-status.nope { color: var(--ink-3); }
.h-track { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.h-track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--bottle-3); border-radius: 3px; }
.hotels li.fail .h-track i { background: #C9D0CC; }
.hotels li.dim { opacity: .45; }
.hotels li.best { border-color: var(--bottle); background: var(--bottle-2); box-shadow: 0 0 0 3px rgba(14,90,71,.1); transform: translateX(4px); }
.badge { display: none; justify-self: start; grid-column: 1 / -1; margin-top: 2px; padding: 2px 8px; border-radius: 999px; background: var(--bottle); color: #fff; font-size: 12px; font-weight: 600; }
.hotels li.best .badge { display: inline-block; animation: rise .4s var(--ease) both; }
.deal { border: 1px dashed #C6CFC9; border-radius: var(--r-m); padding: 14px; font-size: 14.5px; }
.deal p { color: var(--ink-2); }
.deal p b { color: var(--ink); }
.deal-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gain { background: var(--brass-2); color: #7A5714; font-weight: 600; padding: 5px 10px; border-radius: 999px; font-size: 13px; }
.gain.green { background: var(--bottle-2); color: var(--bottle); }
.replay { border: 0; background: none; cursor: pointer; color: var(--ink-2); font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 6px; flex: none; }
.replay:hover { color: var(--bottle); }
.replay:hover svg { transform: rotate(-180deg); }
.replay svg { transition: transform .5s var(--ease); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .eng-body { min-height: 0; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow::before, .flow-fill { display: none; }
  .flow li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
  .flow .fd { grid-row: span 2; margin: 0; }
  .hotels li { grid-template-columns: 1fr; }
  .h-status { text-align: left; max-width: none; }
}

/* ---------- Lexique terms ---------- */
.term {
  border: 0; background: none; padding: 0; cursor: help; font: inherit; color: inherit;
  text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--bottle-3);
  text-underline-offset: 4px; text-decoration-thickness: 1.5px;
  transition: color .2s;
}
.term:hover, .term[aria-expanded="true"] { color: var(--bottle); }
.pop {
  position: absolute; z-index: 60; max-width: 320px; padding: 14px 16px; border-radius: var(--r-m);
  background: var(--ink); color: #E8EEEA; font-size: 14px; line-height: 1.5;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(6px) scale(.98); pointer-events: none;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.pop.show { opacity: 1; transform: none; pointer-events: auto; }
.pop b { color: #fff; display: block; margin-bottom: 4px; }

/* ---------- Context ---------- */
.split { margin-top: 64px; }
.split-row { display: flex; height: 72px; border-radius: var(--r-m); overflow: hidden; gap: 3px; }
.seg { position: relative; display: flex; align-items: flex-end; padding: 12px 14px; color: #fff; font-size: 14.5px; font-weight: 500; flex-basis: 0; transition: flex-grow 1.4s var(--ease); flex-grow: 0.0001; overflow: hidden; white-space: nowrap; }
.seg strong { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-right: 10px; line-height: 1; }
.seg.ota { background: var(--slate); }
.seg.direct { background: var(--bottle); }
.seg.manual { background: var(--bottle-2); color: var(--bottle); }
.seg.online { background: var(--bottle-3); }
.split-zoom svg { width: 100%; height: 40px; display: block; }
.split-zoom svg path { fill: var(--bottle-2); opacity: 0; transition: opacity .8s 1.2s var(--ease); }
.in .split-zoom svg path { opacity: .55; }
.split-sub { display: flex; height: 64px; border-radius: var(--r-m); overflow: hidden; gap: 3px; }
.split-legend { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; color: var(--ink-2); font-size: 15px; flex-wrap: wrap; }
.split-legend p { max-width: 42ch; }
.split-legend b { color: var(--ink); font-weight: 600; }
.in .seg.ota, .in .seg.direct { flex-grow: 50; }
.in .seg.manual { flex-grow: 90; transition-delay: 1.1s; }
.in .seg.online { flex-grow: 10; transition-delay: 1.1s; }
.split-sub .seg { padding: 10px 14px; }
.split-sub .seg strong { font-size: 22px; }
@media (max-width: 600px) {
  .seg { padding: 10px; font-size: 13px; }
  .seg strong { font-size: 20px; }
  .split-sub .seg { white-space: normal; line-height: 1.2; padding: 8px; align-items: center; }
  .split-sub .seg strong { font-size: 15px; margin-right: 6px; }
}

/* ---------- JTBD ladder ---------- */
.ladder { margin-top: 64px; }
.ladder-head, .rung { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 0; }
.ladder-head { color: var(--ink-3); font-size: 14px; padding-bottom: 12px; }
.ladder-head span { padding: 0 20px; }
.ladder-head span:first-child { padding-left: 0; }
.rung { border-top: 1px solid var(--line); position: relative; }
.rung:last-child { border-bottom: 1px solid var(--line); }
.rung > div { padding: 22px 20px; position: relative; opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease), background .3s; }
.rung > div:first-child { padding-left: 0; font-weight: 600; }
.rung > div:last-child { color: var(--bottle); font-weight: 600; }
.rung > div:not(:first-child)::before {
  content: ""; position: absolute; left: -7px; top: 30px; width: 10px; height: 10px;
  border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg);
}
.in .rung > div { opacity: 1; transform: none; }
.rung:hover > div:not(:first-child) { background: linear-gradient(var(--mist), var(--mist)) no-repeat; }
.rung:hover > div:last-child { background: var(--bottle-2); }
.jtbd { margin-top: 72px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-l); background: var(--bottle); color: #fff; position: relative; overflow: hidden; }
.jtbd .kicker { color: #A9D6C6; }
.jtbd blockquote { font-size: clamp(22px, 2.8vw, 34px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; max-width: 34ch; text-wrap: balance; }
.jtbd blockquote mark { background: none; color: inherit; background-image: linear-gradient(var(--brass), var(--brass)); background-repeat: no-repeat; background-size: 0% 3px; background-position: 0 92%; transition: background-size 1.2s .4s var(--ease); }
.in .jtbd blockquote mark, .jtbd.in blockquote mark { background-size: 100% 3px; }
.jtbd-key { position: absolute; right: -30px; bottom: -40px; width: 220px; opacity: .1; }
@media (max-width: 820px) {
  .ladder-head { display: none; }
  .rung { grid-template-columns: 1fr; padding: 14px 0; }
  .rung > div { padding: 6px 0 6px 22px; }
  .rung > div:first-child { padding-left: 0; }
  .rung > div:not(:first-child)::before { left: 4px; top: 12px; transform: rotate(135deg); width: 8px; height: 8px; }
}

/* ---------- Alternatives ---------- */
.alts { margin-top: 64px; display: grid; gap: 0; }
.alt { display: grid; grid-template-columns: 1fr 2fr 1.1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.alt:last-child { border-bottom: 1px solid var(--line); }
.alt h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.alt p { color: var(--ink-2); }
.alt .pain { font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }
.alt .pain::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--warn); transform: translateY(-2px); }
.cost { margin-top: 72px; }
.cost h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.cost > p { color: var(--ink-2); max-width: 60ch; }
.cost-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 13.5px; color: var(--ink-2); }
.cost-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.cost-rows { margin-top: 20px; display: grid; gap: 14px; }
.cost-row { display: grid; grid-template-columns: 230px 1fr 92px; gap: 6px 20px; align-items: center; }
.cost-row .lbl { font-weight: 600; line-height: 1.25; }
.cost-row .lbl small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.cost-row .val { text-align: right; font-weight: 600; font-size: 17px; white-space: nowrap; }
.cost-row.bq .val { color: var(--bottle); }
.cost-row.real .val { color: var(--warn); }
.cost-bar { display: flex; gap: 2px; height: 28px; }
.cost-bar > i { display: block; height: 100%; width: 0; transition: width 1s var(--ease); }
.cost-bar > i:first-child { border-radius: 6px 0 0 6px; }
.cost-bar > i:last-child { border-radius: 0 6px 6px 0; }
.cost-bar > i:only-child { border-radius: 6px; }
.cost-bar .c-bq { background: var(--bottle); }
.cost-bar .c-com { background: var(--slate); }
.cost-bar .c-rng { background: repeating-linear-gradient(135deg, #B7BEC8 0 4px, #CDD2D9 4px 8px); }
.cost-bar .c-hid { background: var(--warn); }
.cost.in .cost-bar > i { width: calc(var(--w) * .97); }
.cost-row:nth-child(2) .cost-bar > i { transition-delay: .25s; } .cost-row:nth-child(3) .cost-bar > i { transition-delay: .5s; } .cost-row:nth-child(4) .cost-bar > i { transition-delay: .75s; }
.cost-def { margin-top: 24px; font-size: 14.5px; color: var(--ink-2); max-width: 70ch; }
.cost-def b { color: var(--ink); }
@media (max-width: 700px) { .cost-row { grid-template-columns: 1fr auto; } .cost-row .cost-bar { grid-column: 1 / -1; grid-row: 2; } }
/* ---------- Segment toggle (hotel / traveller) ---------- */
html[data-who="voyageur"] [data-seg="hotel"], html:not([data-who="voyageur"]) [data-seg="voyageur"] { display: none !important; }
.seg-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.seg-head .kicker { margin-bottom: 0; }
.seg-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.seg-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 7px 18px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .3s var(--ease); }
.seg-toggle button[aria-pressed="true"] { color: #fff; }
.seg-toggle button:focus-visible { outline: 2px solid var(--bottle-3); outline-offset: 2px; }
.seg-toggle-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--bottle); transition: transform .45s var(--ease-spring); }
html[data-who="voyageur"] .seg-toggle-thumb { transform: translateX(100%); }
.trip { margin-top: 72px; }
.trip h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.trip > p { color: var(--ink-2); max-width: 60ch; }
.trip-rows { margin-top: 32px; display: grid; gap: 18px; }
.trip-row { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; align-items: center; }
.trip-row > span { font-weight: 600; }
.trip-bar { height: 40px; border-radius: 10px; background: var(--slate); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 14px; width: 0; overflow: hidden; white-space: nowrap; transition: width 1.2s var(--ease); }
.trip-bar b { font-weight: 600; font-size: 16px; }
.trip-row.bq .trip-bar { background: var(--bottle); transition-delay: .3s; }
.trip.in .trip-row .trip-bar { width: var(--w); }
@media (max-width: 700px) { .trip-row { grid-template-columns: 1fr; } .trip-bar { font-size: 12.5px; } }
.lex { margin-top: 40px; padding: 18px 20px; border-left: 3px solid var(--brass); background: var(--brass-2); border-radius: 0 var(--r-m) var(--r-m) 0; max-width: 62ch; color: #4E3E1C; }
@media (max-width: 820px) {
  .alt { grid-template-columns: 1fr; gap: 8px; }
  .mark { font-size: 12px; }
  .mark strong { font-size: 15px; }
}

/* ---------- Architecture ---------- */
.arch { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.steps { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: stretch; }
.step-list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: s; }
.step-list button {
  text-align: left; border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  padding: 7px 14px 7px 40px; border-radius: 999px; position: relative; color: var(--ink-2); font-size: 14.5px; line-height: 1.35;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-spring);
}
.step-list button:active { transform: scale(.97); }
.step-list button::before {
  counter-increment: s; content: counter(s); position: absolute; left: 8px; top: 50%; margin-top: -11px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--mist); display: grid; place-items: center;
  font-size: 12px; transition: background .3s, color .3s;
}
.step-list li:first-child button::before { content: "∗"; counter-increment: none; }
.step-list button:hover { background: var(--mist); color: var(--ink); }
.step-list button[aria-current="step"] { background: var(--bottle-2); border-color: var(--bottle-2); color: var(--ink); font-weight: 600; }
.step-list button[aria-current="step"]::before { background: var(--bottle); color: #fff; }
.step-detail { padding: 16px 18px; border-radius: var(--r-m); background: var(--mist); min-height: 84px; display: flex; align-items: center; }
.step-detail p { font-size: 16px; color: var(--ink-2); max-width: 78ch; }
.step-detail p.swap { animation: rise .45s var(--ease) both; }
.step-nav { display: flex; gap: 8px; align-items: center; }
.step-nav button { justify-content: center; padding: 10px 16px; font-size: 14.5px; }
.step-nav button:disabled { opacity: .4; pointer-events: none; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step-nav button { flex: 1; } }

.stage { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.stage-inner { position: relative; }
.canvas { position: absolute; left: 0; top: 0; width: 1260px; height: 590px; transform-origin: 0 0; }
.zone { position: absolute; border-radius: var(--r-l); }
.zone-name { position: absolute; left: 18px; top: 13px; font-size: 13px; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.zone.demand { background: var(--mist); }
.zone.core { background: var(--bottle-2); }
.zone.core .zone-name { color: var(--bottle); font-weight: 600; }
.zone.hotel { border: 1.5px dashed #C6CFC9; }
.node {
  position: absolute; z-index: 2; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 11px 13px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2);
  transition: opacity .45s var(--ease), border-color .35s, box-shadow .35s, transform .45s var(--ease-spring);
}
.node b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }
.node.key { border-color: var(--bottle); }
.node.key b { color: var(--bottle); }
.canvas.focus .node { opacity: .32; }
.canvas.focus .node.on { opacity: 1; border-color: var(--bottle); box-shadow: 0 0 0 3px rgba(14,90,71,.12), 0 10px 24px -14px rgba(14,90,71,.5); transform: translateY(-2px); }
.edges { position: absolute; inset: 0; width: 1260px; height: 590px; z-index: 1; pointer-events: none; overflow: visible; }
.edge { fill: none; stroke: #B3BDB7; stroke-width: 1.5; transition: stroke .35s, opacity .35s; marker-end: url(#arr); }
.edge.both { marker-start: url(#arr-s); }
.edge.dash { stroke-dasharray: 4 4; }
.canvas.focus .edge { opacity: .18; }
.canvas.focus .edge.on { opacity: 1; stroke: var(--bottle); stroke-width: 2; stroke-dasharray: 6 6; animation: flow .9s linear infinite; marker-end: url(#arr-on); }
.canvas.focus .edge.both.on { marker-start: url(#arr-on-s); }
@keyframes flow { to { stroke-dashoffset: -12; } }
.lbl { transition: opacity .35s; }
.elabel { font-size: 12px; fill: var(--ink-2); font-family: inherit; }
.elabel-bg { fill: var(--paper); stroke: var(--line); }
.canvas.focus .lbl { opacity: .2; }
.canvas.focus .lbl.on { opacity: 1; }
.canvas.focus .lbl.on .elabel { fill: var(--bottle); font-weight: 600; }
.canvas.focus .lbl.on .elabel-bg { stroke: var(--bottle); }
.counter-chip { display: inline-flex; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: var(--brass-2); color: #7A5714; font-weight: 600; font-size: 12.5px; }
.stage-hint { display: none; margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 760px) { .stage-hint { display: block; } }

/* ---------- No brainer ---------- */
.nb { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.nb-item { padding: 28px 24px 8px 0; }
.nb-item + .nb-item { padding-left: 24px; border-left: 1px solid var(--line); }
.nb-item svg { width: 34px; height: 34px; margin-bottom: 18px; }
.nb-item svg circle { fill: var(--bottle-2); transform-origin: center; transform: scale(.4); transition: transform .6s var(--ease-spring); }
.nb-item svg path { fill: none; stroke: var(--bottle); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .6s .25s var(--ease); }
.in .nb-item svg circle { transform: none; }
.in .nb-item svg path { stroke-dashoffset: 0; }
.in .nb-item:nth-child(2) svg * { transition-delay: .2s; } .in .nb-item:nth-child(2) svg path { transition-delay: .45s; }
.in .nb-item:nth-child(3) svg * { transition-delay: .4s; } .in .nb-item:nth-child(3) svg path { transition-delay: .65s; }
.in .nb-item:nth-child(4) svg * { transition-delay: .6s; } .in .nb-item:nth-child(4) svg path { transition-delay: .85s; }
.nb-item h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.nb-item p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) {
  .nb { grid-template-columns: 1fr 1fr; }
  .nb-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .nb-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .nb { grid-template-columns: 1fr; }
  .nb-item, .nb-item + .nb-item { padding-left: 0; border-left: 0; }
  .nb-item + .nb-item { border-top: 1px solid var(--line); }
}

/* ---------- Go-to-market ---------- */
.gtm { margin-top: 48px; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.phases::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--line); }
.phase-fill { position: absolute; left: 0; top: 19px; height: 2px; background: var(--bottle); width: 0; transition: width .7s var(--ease); }
.phases button { position: relative; width: 100%; text-align: left; border: 0; background: none; cursor: pointer; padding: 0 18px 0 0; color: var(--ink-2); }
.phases .dot2 {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line);
  font-weight: 600; font-size: 15px; margin-bottom: 14px; transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease-spring);
}
.phases button:hover .dot2 { border-color: var(--bottle-3); transform: scale(1.06); }
.phases button.done .dot2 { border-color: var(--bottle); color: var(--bottle); }
.phases button[aria-current="step"] .dot2 { background: var(--bottle); border-color: var(--bottle); color: #fff; transform: scale(1.08); }
.phases .ph-t { display: block; font-weight: 600; color: var(--ink); font-size: 16.5px; line-height: 1.3; }
.phases .ph-w { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }

.gtm-board { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.gtm-stage { position: relative; overflow-x: auto; overflow-y: hidden; background: linear-gradient(var(--paper), var(--mist)); scrollbar-width: thin; }
.gtm-inner { position: relative; }
.gtm-svg { position: absolute; left: 0; top: 0; width: 1080px; height: 380px; transform-origin: 0 0; overflow: visible; }
.g-node rect { fill: var(--paper); stroke: var(--line); stroke-width: 1.2; transition: stroke .35s, fill .35s, opacity .35s; }
.g-node text { font-family: inherit; transition: fill .35s, opacity .35s; }
.g-node .t1 { font-size: 16px; font-weight: 600; fill: var(--ink); }
.g-node .t2 { font-size: 13px; fill: var(--ink-3); }
.g-node { opacity: .4; transition: opacity .45s var(--ease); }
.g-node.on { opacity: 1; }
.g-node.on rect { stroke: var(--bottle); stroke-width: 1.8; }
.g-node.engine rect { fill: var(--bottle); stroke: var(--bottle); }
.g-node.engine .t1 { fill: #fff; }
.g-node.engine .t2 { fill: #CFE8DF; }
.g-node.slate.on rect { stroke: var(--slate); }
.g-node.brass.on rect { stroke: var(--brass); fill: var(--brass-2); }
.g-flow { fill: none; stroke: #CFD6D2; stroke-width: 2; transition: stroke .35s, opacity .35s, stroke-width .35s; }
.g-flow.on { stroke-dasharray: 7 7; animation: flow .9s linear infinite; stroke-width: 2.5; }
.g-flow.on.c-green { stroke: var(--bottle); }
.g-flow.on.c-slate { stroke: var(--slate); }
.g-flow.on.c-brass { stroke: var(--brass); }
.g-flow.faint { opacity: .35; stroke-dasharray: 3 6; }
.g-lbl { opacity: 0; transition: opacity .4s var(--ease); }
.g-lbl.on { opacity: 1; }
.g-lbl rect { fill: var(--paper); stroke: var(--line); }
.g-lbl text { font-family: inherit; font-size: 12.5px; font-weight: 600; fill: var(--ink-2); }
.h-ic rect.body { fill: #E3E7E5; transition: fill .5s var(--ease); }
.h-ic rect.win { fill: var(--paper); opacity: .9; }
.h-ic { transition: transform .5s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
.h-ic.ota rect.body { fill: var(--slate); }
.h-ic.spot rect.body { fill: var(--brass); }
.h-ic.direct rect.body { fill: var(--bottle); }
.h-ic.spot, .h-ic.direct { transform: scale(1.08); }
.g-cap { font-family: inherit; font-size: 13px; fill: var(--ink-3); }

.gtm-foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 40px; padding: 20px 22px 22px; border-top: 1px solid var(--line); align-items: end; }
.gtm-cap { font-size: 17px; font-weight: 500; color: var(--ink); max-width: 46ch; }
.gtm-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { display: inline-flex; flex-direction: column; padding: 9px 13px; border-radius: var(--r-m); background: var(--mist); font-size: 13px; color: var(--ink-2); }
.chip b { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.chip.green { background: var(--bottle-2); }
.chip.green b { color: var(--bottle); }
.chip.brass { background: var(--brass-2); }
.chip.brass b { color: #7A5714; }
.swapin { animation: rise .5s var(--ease) both; }
.mix-title { font-size: 13.5px; color: var(--ink-3); margin-bottom: 8px; }
.mix-bar { display: flex; height: 34px; border-radius: 9px; overflow: hidden; gap: 2px; }
.mix-bar > div { flex-basis: 0; display: flex; align-items: center; padding: 0 10px; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; transition: flex-grow .9s var(--ease); }
.mix-ota { background: var(--slate); }
.mix-direct { background: var(--bottle); }
.mix-legend { display: flex; gap: 16px; margin-top: 8px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.mix-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }
@media (max-width: 860px) {
  .phases { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .phases::before, .phase-fill { display: none; }
  .gtm-foot { grid-template-columns: 1fr; }
}

/* ---------- Unit economics ---------- */
.ue-toolbar { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 12px 12px 18px; border-radius: 999px; background: var(--mist); }
.ue-tag { font-size: 14.5px; color: var(--ink-2); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.ue-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); transition: background .3s; }
.ue-tag.changed::before { background: var(--brass); }
.ue-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ue-actions .btn { padding: 9px 14px; font-size: 14px; }
.ue-block { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 48px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ue-in h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.ue-in > p { color: var(--ink-2); font-size: 15.5px; margin: 8px 0 18px; max-width: 42ch; }
.ue-out { display: grid; gap: 20px; min-width: 0; }
.ue-in .field .unit { width: auto; min-width: 38px; padding-right: 2px; }
.ue-in .field input { width: 76px; }
.ue-block .ue-in .tbl td.lab { width: 100%; }
.split-c { padding: 18px; border-top: 1px solid var(--line); }
.sbar { display: flex; height: 30px; border-radius: 8px; overflow: hidden; gap: 2px; }
.sbar > div { flex-basis: 0; min-width: 0; transition: flex-grow .7s var(--ease), background .2s; cursor: default; }
.sbar .s-cogs { background: #C9D2CD; }
.sbar .s-cogs:nth-child(even) { background: #B7C2BC; }
.sbar .s-margin { background: var(--bottle); }
.sbar > div.hov { background: var(--brass) !important; }
.slist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.slist li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 52px; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; transition: background .2s; }
.slist li.hov { background: var(--brass-2); }
.slist i { width: 10px; height: 10px; border-radius: 3px; }
.slist span { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slist b { font-weight: 600; text-align: right; white-space: nowrap; }
.slist em { font-style: normal; color: var(--ink-3); text-align: right; font-size: 13px; }
.slist li.m span, .slist li.m b { color: var(--bottle); font-weight: 600; }
.panel { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--paper); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: var(--mist); border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 16px; font-weight: 600; }
.panel-head small { color: var(--ink-3); font-size: 13px; text-align: right; }
.panel-body { padding: 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl td, .tbl th { padding: 10px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tr:first-child td { border-top: 0; }
.tbl .grp td { color: var(--ink-3); font-size: 13px; padding-top: 18px; padding-bottom: 6px; border-top: 0; }
.tbl td.lab { color: var(--ink-2); }
.tbl td.lab small { display: block; color: var(--ink-3); font-size: 12.5px; }
.tbl td.val { text-align: right; white-space: nowrap; }
.field {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field:hover { border-color: #C2CBC5; }
.field:focus-within { border-color: var(--bottle); box-shadow: 0 0 0 3px rgba(14,90,71,.14); }
.field input {
  width: 84px; border: 0; background: none; text-align: right; padding: 8px 4px 8px 8px; font-weight: 600;
  -moz-appearance: textfield; appearance: textfield; min-width: 0;
}
.field input:focus { outline: none; }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field .unit { color: var(--ink-3); font-size: 13px; padding-left: 4px; width: 62px; text-align: left; }
.field .st { border: 0; background: none; width: 28px; height: 34px; cursor: pointer; color: var(--ink-3); display: grid; place-items: center; border-radius: 8px; transition: color .15s, background .15s, transform .15s; flex: none; }
.field .st:hover { color: var(--bottle); background: var(--bottle-2); }
.field .st:active { transform: scale(.88); }
.field.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.04); } }
.panel-foot { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.panel-foot .btn { padding: 9px 14px; font-size: 14px; }

/* COGS editor */
.cogs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cogs td { padding: 10px 14px 10px 12px; border-top: 1px solid var(--line); }
.cogs-name { margin-bottom: 4px; }
.cogs-amt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-left: 6px; }
.cogs-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 0 6px; }
.cogs tr.enter td { animation: rowin .45s var(--ease) both; }
.cogs tr.leave td { animation: rowout .3s var(--ease) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); background: var(--brass-2); } to { opacity: 1; transform: none; } }
@keyframes rowout { to { opacity: 0; transform: translateX(16px); } }
.cogs .name { width: 100%; border: 1px solid transparent; border-radius: 8px; padding: 7px 8px; background: none; transition: border-color .2s, background .2s; min-width: 0; }
.cogs .name:hover { background: var(--mist); }
.cogs .name:focus { outline: none; border-color: var(--bottle); background: var(--paper); box-shadow: 0 0 0 3px rgba(14,90,71,.14); }
.cogs .field input { width: 70px; }
.cogs .field .unit { width: auto; padding-right: 2px; }
.cogs select {
  border: 0; background: none; color: var(--ink-3); font-size: 12.5px; padding: 8px 4px; cursor: pointer; border-left: 1px solid var(--line);
  border-radius: 0 10px 10px 0;
}
.cogs select:focus { outline: none; color: var(--bottle); }
.del { border: 0; background: none; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; color: var(--ink-3); display: grid; place-items: center; transition: color .15s, background .15s, transform .2s var(--ease-spring); }
.del:hover { color: var(--warn); background: #F7E6E1; transform: rotate(90deg); }
.cogs tfoot td { background: var(--mist); font-weight: 600; padding-top: 12px; padding-bottom: 12px; }

.add-line { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; border-top: 1px dashed var(--line); background: none; padding: 12px 18px; cursor: pointer; color: var(--bottle); font-weight: 500; font-size: 14.5px; transition: background .2s; }
.add-line:hover { background: var(--bottle-2); }
.add-line svg { transition: transform .3s var(--ease-spring); }
.add-line:hover svg { transform: rotate(90deg); }

/* outputs */
.out { font-weight: 600; display: inline-block; transition: color .3s; border-radius: 4px; }
.out.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { background: var(--brass-2); } 100% { background: transparent; } }
.pos { color: var(--bottle); }
.warn { color: var(--brass); }
.bad { color: var(--warn); }
.vs { width: 100%; border-collapse: collapse; font-size: 15px; }
.vs th { text-align: right; font-weight: 600; font-size: 13.5px; padding: 12px 18px 10px; color: var(--ink-2); }
.vs th:first-child { text-align: left; font-weight: 500; color: var(--ink-3); }
.vs th.bqh { color: var(--bottle); }
.vs td { padding: 9px 18px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
.vs td:first-child { text-align: left; color: var(--ink-2); white-space: normal; }
.vs td:first-child small { display: block; color: var(--ink-3); font-size: 12.5px; }
.vs td.na { color: var(--ink-3); }
.vs tr.sum td { font-weight: 600; background: var(--mist); }
.vs tr.sum td:first-child { color: var(--ink); }
.vs tr.gain td { background: var(--brass-2); font-weight: 600; }
.vs tr.gain td:first-child { color: #6B4C10; }
.vs col.bqc { background: rgba(226,238,233,.35); }
.floor-warn { display: none; margin: 0 18px 14px; padding: 10px 12px; border-radius: var(--r-m); background: #F7E6E1; color: #7A2F1F; font-size: 14px; }
.floor-warn.show { display: block; animation: rise .4s var(--ease) both; }
.basket { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.basket-title { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.brow { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; font-size: 13.5px; margin-top: 8px; }
.brow > span { color: var(--ink-2); }
.bbar { display: flex; height: 26px; border-radius: 7px; overflow: hidden; gap: 2px; }
.bbar > div { transition: flex-grow .7s var(--ease); flex-basis: 0; min-width: 0; display: flex; align-items: center; padding: 0 8px; color: #fff; font-size: 12px; white-space: nowrap; overflow: hidden; }
.b-net { background: #C9D2CD; color: var(--ink) !important; }
.b-ota { background: var(--slate); }
.b-bq { background: var(--bottle); }
.b-save { background: var(--brass); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); }
.tile { background: var(--paper); padding: 16px 18px; }
.tile span { display: block; font-size: 13px; color: var(--ink-3); }
.tile .out { font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; color: var(--ink); }
.tile .out.pos { color: var(--bottle); }
.tile.hero-t { background: var(--bottle); }
.tile.hero-t span { color: #A9D6C6; }
.tile.hero-t .out { color: #fff; }
.chart { position: relative; padding: 8px 18px 16px; }
.chart-title { font-size: 14px; color: var(--ink-2); margin: 10px 0 4px; }
.chart-title b { color: var(--ink); font-weight: 600; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { font-size: 11.5px; fill: var(--ink-3); font-family: inherit; }
.chart .line { fill: none; stroke: var(--bottle-3); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--bottle-2); opacity: .7; }
.chart .ref { stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .ref-t { font-size: 12px; fill: #7A5714; font-weight: 600; font-family: inherit; }
.chart .bar { fill: var(--bottle-3); transition: fill .15s; }
.chart .bar.hov { fill: var(--bottle); }
.chart .pay { fill: var(--paper); stroke: var(--bottle); stroke-width: 2; }
.chart .pay-t { font-size: 12px; fill: var(--ink); font-weight: 600; font-family: inherit; }
.chart .cross { stroke: var(--ink-3); stroke-width: 1; }
.chart .hit { fill: transparent; cursor: crosshair; }
.tip {
  position: fixed; z-index: 80; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; padding: 8px 10px; border-radius: 8px;
  opacity: 0; transform: translate(-50%, calc(-100% - 10px)); transition: opacity .15s; white-space: nowrap;
}
.tip.show { opacity: 1; }
.tip small { display: block; color: #A9B6B0; font-size: 12px; }
.funnel { padding: 6px 18px 18px; display: grid; gap: 6px; }
.fstep { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; position: relative; padding: 10px 12px 14px; border-radius: 10px; overflow: hidden; background: var(--mist); }
.fstep .fbar { position: absolute; left: 12px; bottom: 6px; height: 4px; background: var(--bottle-3); border-radius: 4px; transition: width .8s var(--ease); z-index: 0; max-width: calc(100% - 24px); }
.fstep.key { background: var(--bottle); }
.fstep.key .fbar { background: #A9D6C6; }
.fstep > span, .fstep > .out { position: relative; z-index: 1; }
.fstep > span { color: var(--ink-2); font-size: 14.5px; }
.fstep > span small { display: block; color: var(--ink-3); font-size: 12.5px; }
.fstep.key > span, .fstep.key > span small, .fstep.key > .out { color: #fff; }
.ue-note { margin-top: 20px; font-size: 14px; color: var(--ink-3); max-width: 70ch; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px;
  transition: opacity .3s var(--ease), transform .35s var(--ease-spring); pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .ue-block { grid-template-columns: 1fr; padding: 36px 0; }
  .ue-toolbar { border-radius: var(--r-l); }
}
@media (max-width: 520px) {
  .tbl td, .vs td, .vs th { padding: 9px 12px; }
  .field input { width: 60px; }
  .field .st { width: 24px; }
  .field .unit { width: 52px; }
  
}

/* ---------- Closing ---------- */
.close { padding: clamp(80px, 12vw, 140px) 0 60px; border-top: 1px solid var(--line); }
.close .h2 { max-width: 24ch; }
footer { padding: 28px 0 40px; color: var(--ink-3); font-size: 14px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 72px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Link between the hotel and traveller proposals ---------- */
.nav-links a.nav-alt { border: 1px solid var(--line); margin-left: 6px; color: var(--bottle); }
.nav-links a.nav-alt:hover { border-color: var(--bottle-3); background: var(--bottle-2); }
