/* Hallora homepage: "Swiss grand hotel".
   Editorial serif (Instrument Serif) for display, Schibsted Grotesk for interface and text.
   Dark cinematic sections (pine, charcoal) alternate with warm light ones (ivory, stone).
   No gradients as decoration: the only gradients are scrims behind text on photographs. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/static/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/static/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* palette */
  --forest: #1F5C4A;  --pine: #142A23;  --pine-2: #1A342C;
  --ivory: #F5F3EC;   --stone: #E7E2D9; --white: #FFFFFF;
  --champagne: #D6C3A5; --charcoal: #24211E;
  /* derived ink */
  --ink: #24211E;             /* text on light */
  --ink-soft: #5E574E;        /* secondary text on light, 6.4:1 on ivory */
  --on-dark: #F5F3EC;         /* text on dark */
  --on-dark-soft: #CFC8BB;    /* secondary text on dark */
  --line-light: #D3CCBF;      --line-dark: rgba(245, 243, 236, .16);
  --error: #9B2C1F;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* fluid type scale */
  --t-meta: .8125rem;
  --t-sm: .9375rem;
  --t-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --t-lead: clamp(1.0625rem, .98rem + .4vw, 1.3125rem);
  --t-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --t-h2: clamp(2.25rem, 1.5rem + 3vw, 4.25rem);
  --t-display: clamp(3rem, 1.6rem + 5.4vw, 6.75rem);

  --gutter: clamp(1rem, .4rem + 3vw, 3.5rem);
  --maxw: 84rem;
  --section: clamp(5.5rem, 3rem + 9vw, 11rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.lux { margin: 0; background: var(--ivory); color: var(--ink); font: 400 var(--t-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; }
:where(body:not(.lux--inner)) img { display: block; }
a { color: inherit; }
:where(body:not(.lux--inner)) p { margin: 0; }
:where(body:not(.lux--inner)) :is(h1, h2, h3) { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 2px; }
.lx-light :focus-visible, .lx-swiss :focus-visible, .lx-pilot :focus-visible, .lx-faq :focus-visible, .lx-strip :focus-visible, .lx-steps :focus-visible { outline-color: var(--forest); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ivory); color: var(--ink);
  padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

:where(body:not(.lux--inner)) .ico { width: 1.15em; height: 1.15em; flex: none; }
.lx-bar .ico, .lx-footer .ico { width: 1.15em; height: 1.15em; }
.lx-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.lx-display { font-family: var(--serif); font-size: var(--t-display); line-height: .98; letter-spacing: -.02em; }
.lx-display .lx-line { display: block; white-space: nowrap; }
.lx-h2 { font-family: var(--serif); font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.lx-lead { font-size: var(--t-lead); line-height: 1.55; max-width: 34rem; }
.lx-body { font-size: var(--t-body); line-height: 1.65; max-width: 36rem; }
.lx-note { font-size: var(--t-meta); line-height: 1.5; color: var(--ink-soft); max-width: 34rem; }
.lx-kicker { display: inline-flex; align-items: center; gap: .7rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; }
.lx-flag { width: .85rem; height: .85rem; background: #D52B1E; position: relative; flex: none; }
.lx-flag::before, .lx-flag::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.lx-flag::before { width: 58%; height: 18%; } .lx-flag::after { width: 18%; height: 58%; }

/* ---------- buttons ---------- */
.lx-btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; padding: .8rem 1.5rem;
  border-radius: 999px; font: 600 var(--t-sm)/1 var(--sans); letter-spacing: -.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.lx-btn:hover { transform: translateY(-1px); }
.lx-btn--light { background: var(--ivory); color: var(--charcoal); }
.lx-btn--light:hover { background: var(--white); }
.lx-btn--ghost { color: var(--on-dark); border-color: rgba(245, 243, 236, .45); }
.lx-btn--ghost:hover { border-color: var(--on-dark); background: rgba(245, 243, 236, .08); }
.lx-btn--dark { background: var(--forest); color: var(--ivory); }
.lx-btn--dark:hover { background: var(--pine); }
.lx-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.lx-link span { display: inline-block; transition: transform .35s var(--ease); }
.lx-link:hover span { transform: translateX(3px); }

/* ---------- header ---------- */
.lx-bar { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease); }
.lx-bar__in { max-width: calc(var(--maxw) + 4rem); margin: 0 auto; padding: 1.1rem var(--gutter);
  display: flex; align-items: center; gap: 2rem; }
.lx-bar.is-solid { background: rgba(20, 42, 35, .94); box-shadow: 0 1px 0 var(--line-dark); }
@supports (backdrop-filter: blur(1px)) { .lx-bar.is-solid { background: rgba(20, 42, 35, .92); backdrop-filter: blur(14px) saturate(1.1); } }
.lx-brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; margin: 0; }
.lx-brand .mark { width: 2.1rem; height: auto; color: var(--champagne); }
.lx-brand span { font: 800 1.35rem/1 var(--sans); letter-spacing: -.03em; }
.lx-nav { display: flex; gap: 2.2rem; margin: 0 auto; }
.lx-nav a { font-size: var(--t-sm); text-decoration: none; opacity: .88; position: relative; padding: .4rem 0; }
.lx-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.lx-nav a:hover { opacity: 1; } .lx-nav a:hover::after { transform: scaleX(1); }
.lx-bar__cta { min-height: 2.75rem; padding: .7rem 1.35rem; }
.lx-mnav { display: none; position: relative; margin-left: auto; }
.lx-mnav summary { list-style: none; cursor: pointer; width: 2.9rem; height: 2.9rem; display: grid; place-items: center;
  border: 1px solid rgba(245, 243, 236, .4); border-radius: 50%; }
.lx-mnav summary::-webkit-details-marker { display: none; }
.lx-mnav summary span { display: grid; gap: 6px; } .lx-mnav summary i { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.lx-mnav[open] summary i:first-child { transform: translateY(3.75px) rotate(45deg); }
.lx-mnav[open] summary i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.lx-mnav__panel { position: absolute; right: 0; top: calc(100% + .75rem); width: min(19rem, calc(100vw - 2rem));
  background: var(--pine); border: 1px solid var(--line-dark); border-radius: 6px; padding: .75rem; display: grid; gap: .1rem;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .5); }
.lx-mnav__panel a { padding: .9rem .85rem; text-decoration: none; font-size: 1.0625rem; border-radius: 4px; }
.lx-mnav__panel a:not(.lx-btn):hover { background: rgba(245, 243, 236, .06); }
.lx-mnav__panel .lx-btn { justify-content: center; margin-top: .5rem; }
@media (max-width: 960px) { .lx-nav, .lx-bar__cta { display: none; } .lx-mnav { display: block; } }

/* ---------- hero ---------- */
.lx-hero { position: relative; min-height: max(40rem, 100svh); color: var(--on-dark); background: var(--pine);
  display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.lx-hero__img { position: absolute; inset: -4% 0 -4%; z-index: -2; will-change: transform; }
.lx-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.lx-hero__shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 24, 20, .86) 0%, rgba(14, 24, 20, .62) 34%, rgba(14, 24, 20, .12) 62%, rgba(14, 24, 20, 0) 80%),
    linear-gradient(180deg, rgba(14, 24, 20, .55) 0%, rgba(14, 24, 20, 0) 22%, rgba(14, 24, 20, 0) 70%, rgba(14, 24, 20, .5) 100%); }
.lx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 2rem;
  padding-top: 7.5rem; padding-bottom: 5.5rem; }
.lx-hero__copy { max-width: 48rem; }
.lx-hero .lx-kicker { color: var(--on-dark); margin-bottom: 1.6rem; }
.lx-hero .lx-display { margin-bottom: 1.6rem; }
.lx-hero .lx-lead { color: var(--on-dark-soft); }
.lx-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.2rem 0 0; }
.lx-facts { list-style: none; margin: 3rem 0 0; padding: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .9rem 2.2rem;
  border-top: 1px solid var(--line-dark); font-size: var(--t-sm); color: var(--on-dark-soft); }
.lx-facts li { display: inline-flex; align-items: center; gap: .55rem; }
.lx-facts .ico { color: var(--champagne); }

/* floating call card: a demonstration, labelled as such */
.lx-callcard { justify-self: end; align-self: start; margin: 4rem 0 0; width: min(24rem, 100%); padding: 1.2rem 1.35rem 1.1rem;
  border-radius: 14px; border: 1px solid rgba(245, 243, 236, .22);
  background: rgba(28, 34, 30, .46); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
@supports (backdrop-filter: blur(1px)) { .lx-callcard { background: rgba(40, 46, 42, .34); backdrop-filter: blur(18px) saturate(1.2); } }
.lx-callcard__top { display: flex; align-items: center; gap: .8rem; }
.lx-callcard__icon { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(245, 243, 236, .14); color: var(--on-dark); }
.lx-callcard__name { font-size: var(--t-sm); font-weight: 500; }
.lx-callcard__tag { margin-left: auto; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--charcoal); background: var(--champagne); padding: .3rem .55rem; border-radius: 999px; }
.lx-callcard figcaption { margin-top: .9rem; font-size: .75rem; color: var(--on-dark-soft); }

.lx-wave { display: flex; align-items: center; gap: 3px; height: 3.25rem; margin-top: 1rem; }
.lx-wave i { flex: 1; min-width: 2px; max-width: 4px; height: 22%; border-radius: 2px; background: rgba(245, 243, 236, .9);
  transform-origin: center; animation: lx-wave 1.6s var(--ease) infinite alternate; }
.lx-wave i:nth-child(3n) { height: 48%; animation-duration: 1.9s; }
.lx-wave i:nth-child(5n) { height: 70%; animation-duration: 1.3s; }
.lx-wave i:nth-child(7n) { height: 92%; animation-duration: 2.2s; }
.lx-wave i:nth-child(4n+1) { animation-delay: -.4s; } .lx-wave i:nth-child(6n+2) { animation-delay: -.9s; }
.lx-wave i:nth-child(-n+5), .lx-wave i:nth-last-child(-n+5) { opacity: .45; height: 14%; }
@keyframes lx-wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.lx-wave--small { height: 2rem; margin: .6rem 0; }
.lx-wave--small i { background: var(--forest); }

/* hero entrance */
.lx-js .lx-hero .lx-kicker, .lx-js .lx-hero .lx-line, .lx-js .lx-hero .lx-lead, .lx-js .lx-hero .lx-actions,
.lx-js .lx-hero .lx-facts, .lx-js .lx-callcard { opacity: 0; transform: translateY(18px); }
.lx-ready .lx-hero .lx-kicker, .lx-ready .lx-hero .lx-line, .lx-ready .lx-hero .lx-lead, .lx-ready .lx-hero .lx-actions,
.lx-ready .lx-hero .lx-facts, .lx-ready .lx-callcard { opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.lx-ready .lx-hero .lx-line:nth-child(2) { transition-delay: .12s; }
.lx-ready .lx-hero .lx-lead { transition-delay: .28s; }
.lx-ready .lx-hero .lx-actions { transition-delay: .4s; }
.lx-ready .lx-hero .lx-facts { transition-delay: .52s; }
.lx-ready .lx-callcard { transition-delay: .7s; transition-duration: 1.4s; }

/* ---------- pilot strip (instead of logos) ---------- */
.lx-strip { background: var(--stone); }
.lx-strip__in { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 1rem 3rem; align-items: center; padding-top: 2.3rem; padding-bottom: 2.3rem; }
.lx-strip__lead { font: 400 clamp(1.25rem, 1rem + .9vw, 1.75rem)/1.2 var(--serif); }
.lx-strip__meta { font-size: var(--t-sm); color: var(--ink-soft); }
.lx-strip .lx-link { justify-self: start; }

/* ---------- reveal ---------- */
.lx-js [data-lx-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.lx-js [data-lx-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 1 problem (dark charcoal) ---------- */
.lx-problem { background: var(--charcoal); color: var(--on-dark); padding: var(--section) 0; }
.lx-problem__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem var(--gutter); align-items: end; }
.lx-problem__text { grid-column: 1 / span 5; align-self: start; }
.lx-problem__text .lx-h2 { margin-bottom: 1.8rem; }
.lx-problem__text .lx-body { color: var(--on-dark-soft); }
.lx-problem__fig { grid-column: 6 / -1; margin: 0; overflow: hidden; border-radius: var(--radius); }
.lx-problem__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 50%; }
.lx-evening { grid-column: 1 / -1; list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark); }
.lx-evening li { padding: 1.8rem 2rem 0 0; }
.lx-evening li + li { padding-left: 2rem; border-left: 1px solid var(--line-dark); }
.lx-evening time { display: block; font: 400 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--serif); color: var(--champagne); margin-bottom: .8rem; font-variant-numeric: lining-nums; }
.lx-evening p { color: var(--on-dark-soft); font-size: var(--t-sm); max-width: 22rem; }
.lx-evening li:last-child time { color: var(--on-dark); }

/* ---------- 2 action (blurred lounge) ---------- */
.lx-action { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); background: var(--pine); padding: var(--section) 0; }
.lx-action__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lx-action::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 24, 20, .86) 0%, rgba(14, 24, 20, .6) 45%, rgba(14, 24, 20, .45) 100%); }
.lx-action__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.lx-action__text .lx-h2 { margin-bottom: 1.6rem; }
.lx-action__text .lx-body { color: var(--on-dark-soft); }
.lx-action__text .lx-note { color: var(--on-dark-soft); margin-top: 1.6rem; }
.lx-chip { display: inline-block; vertical-align: .1em; margin-right: .45rem; padding: .28rem .6rem; border-radius: 999px;
  font: 600 .6875rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--champagne); color: var(--charcoal); }
.lx-chip--dark { background: rgba(245, 243, 236, .12); color: var(--on-dark); }
.lx-audio { margin-top: 1.8rem; }
.lx-audio__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--champagne); margin-bottom: .7rem; }

/* audio and video players on dark sections (only rendered when real recordings are configured; logic in /static/media.js) */
.lux .player { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.1rem;
  border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(245, 243, 236, .06); --progress: 0%; }
.lux .player-btn { display: grid; place-items: center; border: 0; cursor: pointer; border-radius: 50%; }
.lux .player-btn[disabled] { cursor: not-allowed; opacity: .45; }
.lux .player-play { width: 3.25rem; height: 3.25rem; background: var(--ivory); color: var(--charcoal); }
.lux .player-play .i-pause, .lux .player.is-playing .player-play .i-play { display: none; }
.lux .player.is-playing .player-play .i-pause { display: block; }
.lux .player-replay { width: 2.6rem; height: 2.6rem; background: transparent; color: var(--on-dark); border: 1px solid var(--line-dark); }
.lux .player-main { min-width: 0; }
.lux .player-wave { display: flex; align-items: center; gap: 3px; height: 1.8rem; }
.lux .player-wave i { flex: 1; height: 30%; border-radius: 2px; background: rgba(245, 243, 236, .35); }
.lux .player-wave i:nth-child(3n) { height: 70%; } .lux .player-wave i:nth-child(5n) { height: 90%; }
.lux .player.is-playing .player-wave i { background: var(--champagne); }
.lux .player-seek { width: 100%; margin: .4rem 0 .2rem; accent-color: var(--champagne); min-height: 24px; }
.lux .player-row { display: flex; gap: .8rem; flex-wrap: wrap; font-size: var(--t-meta); color: var(--on-dark-soft); }
.lux .player-status { margin: 0; flex: 1; }
.lux .player.is-error .player-status { color: #F2B8AE; }
.lx-video { margin-top: 1.6rem; }
.lux .video { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #0d1a16; }
.lux .video video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* the demo: phone and the e-mail it produces */
.lx-demo { position: relative; display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 19rem); gap: 2rem; align-items: end; justify-content: center; }
.lx-phone { width: 100%; padding: .6rem; border-radius: 2.9rem;
  background: linear-gradient(150deg, #47423b 0%, #1b1916 40%, #0d0c0b 100%);
  box-shadow: 0 60px 90px -50px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lx-phone__screen { border-radius: 2.35rem; background: #0E1412; padding: .9rem 1rem 1.3rem; overflow: hidden; }
.lx-phone__status { display: flex; align-items: center; justify-content: space-between; font: 600 .6875rem/1 var(--sans); color: var(--on-dark-soft);
  padding: .2rem .6rem 0; letter-spacing: .02em; }
.lx-phone__island { width: 5.5rem; height: 1.45rem; border-radius: 999px; background: #000; }
.lx-phone__call { text-align: center; padding: 1.4rem 0 1.1rem; border-bottom: 1px solid rgba(245, 243, 236, .08); margin-bottom: 1rem; }
.lx-phone__avatar { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--forest); }
.lx-phone__avatar .mark { width: 2rem; height: auto; color: var(--ivory); }
.lx-phone__who { font: 400 1.75rem/1.1 var(--serif); margin-top: .7rem; }
.lx-phone__sub { font-size: .75rem; color: var(--on-dark-soft); margin-top: .25rem; }
.lx-wave--phone { height: 1.4rem; max-width: 9rem; margin: .8rem auto 0; gap: 2px; }
.lx-wave--phone i { background: var(--champagne); }
.lx-chat { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .8125rem; line-height: 1.45; }
.lx-chat li { padding: .6rem .8rem .65rem; border-radius: 16px 16px 16px 5px; background: rgba(245, 243, 236, .08); max-width: 88%; }
.lx-chat li b { display: block; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--champagne); margin-bottom: .2rem; font-weight: 600; }
.lx-chat li.g { justify-self: end; border-radius: 16px 16px 5px 16px; background: rgba(214, 195, 165, .18); }
.lx-chat li.g b { color: var(--on-dark-soft); }
.lx-js [data-lx-chat] .lx-chat li { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.lx-js [data-lx-chat] .lx-chat li.is-on { opacity: 1; transform: none; }

.lx-mail { margin: 0 0 2.5rem; background: var(--ivory); color: var(--ink); border-radius: 10px; overflow: hidden;
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .8); }
.lx-mail__bar { display: flex; gap: 6px; padding: .7rem .9rem; background: var(--stone); }
.lx-mail__bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFC7B8; }
.lx-mail__meta { padding: 1rem 1.3rem .9rem; border-bottom: 1px solid var(--line-light); }
.lx-mail__meta p { font-size: .75rem; color: var(--ink-soft); line-height: 1.7; }
.lx-mail__meta span { display: inline-block; width: 2.6rem; color: #8A8276; }
.lx-mail__subject { font: 400 1.3rem/1.25 var(--serif) !important; color: var(--ink) !important; margin-top: .45rem; }
.lx-mail dl { margin: 0; padding: .3rem 1.3rem 0; }
.lx-mail dl div { display: grid; grid-template-columns: 5.6rem 1fr; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line-light); }
.lx-mail dl div:last-child { border-bottom: 0; }
.lx-mail dt { font-size: .75rem; color: var(--ink-soft); padding-top: .1rem; }
.lx-mail dd { margin: 0; font-size: .875rem; font-weight: 500; }
.lx-mail dd em { display: block; font-style: normal; font-weight: 400; font-size: .75rem; color: var(--forest); margin-top: .1rem; }
.lx-mail figcaption { padding: .8rem 1.3rem 1.1rem; font-size: .75rem; color: var(--ink-soft); background: #EFECE4; }

/* ---------- 3 steps (ivory): compact, every step fully legible ---------- */
.lx-steps { background: var(--ivory); padding: var(--section) 0; }
.lx-steps__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.lx-steps__head .lx-h2 { max-width: 15ch; }
.lx-steps__head .lx-body { color: var(--ink-soft); }
.lx-steps__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: stretch; }
.lx-steps__visual { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 28rem; }
.lx-steps__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.lx-panel { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; max-width: 22rem; padding: 1.1rem 1.25rem; border-radius: 10px;
  background: rgba(245, 243, 236, .94); color: var(--ink); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .lx-panel { background: rgba(245, 243, 236, .86); backdrop-filter: blur(16px); } }
.lx-panel.is-on { opacity: 1; transform: none; }
html:not(.lx-js) .lx-panel[data-step-panel="2"] { opacity: 1; transform: none; }
.lx-panel__k { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.lx-panel__v { font: 400 1.45rem/1.2 var(--serif); margin-top: .4rem; }
.lx-panel__s { font-size: .8125rem; color: var(--ink-soft); margin-top: .35rem; }
.lx-steps__list { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; }
.lx-steps__list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.7rem 0 1.7rem 1.2rem; border-top: 1px solid var(--line-light);
  position: relative; cursor: default; outline-offset: -2px; transition: background-color .4s var(--ease); }
.lx-steps__list li:last-child { border-bottom: 1px solid var(--line-light); }
.lx-steps__list li::before { content: ""; position: absolute; left: 0; top: 1.7rem; bottom: 1.7rem; width: 2px; background: var(--forest);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.lx-steps__list li.is-on::before { transform: scaleY(1); }
.lx-steps__n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line-light);
  font: 600 .8125rem/1 var(--sans); color: var(--forest); transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.lx-steps__list li.is-on .lx-steps__n { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.lx-steps__list h3 { font: 400 clamp(1.45rem, 1.2rem + .9vw, 1.95rem)/1.15 var(--serif); margin-bottom: .55rem; }
.lx-steps__list p { color: var(--ink-soft); max-width: 31rem; font-size: var(--t-sm); line-height: 1.6; }

/* ---------- 4 languages (pine) ---------- */
.lx-lang { background: var(--pine); color: var(--on-dark); padding: var(--section) 0; }
.lx-lang__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.lx-lang .lx-h2 { margin-bottom: 1.6rem; }
.lx-lang .lx-body, .lx-lang .lx-note { color: var(--on-dark-soft); }
.lx-lang .lx-body + .lx-note { margin-top: 1.2rem; }
.lx-greet__tabs { display: flex; gap: .2rem; border-bottom: 1px solid var(--line-dark); margin-bottom: 2rem; }
.lx-greet__tabs button { font: 500 var(--t-sm)/1 var(--sans); color: var(--on-dark-soft); background: none; border: 0; cursor: pointer;
  padding: 1rem 1.1rem; min-height: 2.9rem; position: relative; transition: color .3s var(--ease); }
.lx-greet__tabs button::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: -1px; height: 2px; background: var(--champagne);
  transform: scaleX(0); transition: transform .45s var(--ease); }
.lx-greet__tabs button[aria-selected="true"] { color: var(--on-dark); }
.lx-greet__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.lx-greet__tabs button:hover { color: var(--on-dark); }
.lx-greet__panel { outline-offset: 6px; }
.lx-greet__panel[hidden] { display: none; }
.lx-greet__panel.is-in { animation: lx-fade .6s var(--ease) both; }
html:not(.lx-js) .lx-greet__panel + .lx-greet__panel { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.lx-greet__q { margin: 0 0 1.3rem; font: 400 clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem)/1.2 var(--serif); min-height: 2.4em; }
.lx-greet__panel .player { margin: 0 0 1rem; }
@keyframes lx-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html:not(.lx-js) .lx-greet__tabs { display: none; }

/* ---------- 5 swiss (stone): short rows, headline left ---------- */
.lx-swiss { background: var(--stone); padding: var(--section) 0; }
.lx-swiss__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.lx-swiss__head .lx-h2 { margin-bottom: 1.2rem; }
.lx-swiss__head .lx-body { color: var(--ink-soft); }
.lx-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); counter-reset: lx-i; }
.lx-index li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .4rem 2rem; padding: 1.55rem 0; border-bottom: 1px solid var(--line-light); }
.lx-index h3 { font: 400 var(--t-h3)/1.2 var(--serif); }
.lx-index p { color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.6; padding-top: .2rem; }
.lx-index a { color: var(--forest); font-weight: 600; white-space: nowrap; }

/* ---------- 6 pilot + form (ivory) ---------- */
.lx-pilot { background: var(--ivory); padding: var(--section) 0; }
.lx-pilot__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.lx-pilot .lx-h2 { margin-bottom: 1.6rem; }
.lx-pilot .lx-body { color: var(--ink-soft); }
.lx-checks { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: .8rem; }
.lx-checks li { display: flex; gap: .7rem; align-items: center; }
.lx-checks .ico { color: var(--forest); }
.lx-pilot .lx-note a { color: var(--forest); }
.lx-form { background: var(--white); border: 1px solid var(--line-light); border-radius: 8px; padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); }
.lx-form__title { font: 400 clamp(1.6rem, 1.3rem + 1vw, 2rem)/1.1 var(--serif); }
.lx-form__sub { font-size: var(--t-sm); color: var(--ink-soft); margin: .4rem 0 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-light); }
.lx-checks b { font-weight: 600; color: var(--ink); }
.lx-checks li { align-items: flex-start; } .lx-checks .ico { margin-top: .25rem; }

/* the shared trial form (_trial_form.html) */
.lx-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.lx-form .field { margin-bottom: 1.2rem; }
.lx-form label { display: block; font-size: var(--t-sm); font-weight: 600; margin-bottom: .4rem; }
.lx-form .optional { font-weight: 400; color: var(--ink-soft); }
.lx-form .hint { font-size: var(--t-meta); color: var(--ink-soft); margin: -.15rem 0 .45rem; }
.lx-form input[type="text"], .lx-form input[type="email"], .lx-form input[type="tel"], .lx-form textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--ivory); border: 1px solid var(--line-light);
  border-radius: 4px; padding: .85rem .9rem; min-height: 3rem; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.lx-form input:hover, .lx-form textarea:hover { border-color: #b9b1a2; }
.lx-form input:focus, .lx-form textarea:focus { outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 3px rgba(31, 92, 74, .16); }
.lx-form textarea { resize: vertical; min-height: 7rem; }
.lx-form .has-error input, .lx-form .has-error textarea { border-color: var(--error); }
.lx-form .error { color: var(--error); font-size: var(--t-meta); margin-top: .35rem; }
.lx-form .field-check { display: grid; grid-template-columns: 1.6rem 1fr; gap: .2rem .6rem; align-items: start; }
.lx-form .field-check input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--forest); }
.lx-form .field-check label { font-weight: 400; margin: 0; font-size: var(--t-sm); }
.lx-form .field-check .error { grid-column: 2; }
.lx-form .fineprint { font-size: var(--t-meta); color: var(--ink-soft); margin: 0 0 1.4rem; }
.lx-form .fineprint a { color: var(--forest); }
.lx-form .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 3.25rem; border: 0; border-radius: 999px;
  background: var(--forest); color: var(--ivory); font: 600 1rem/1 var(--sans); cursor: pointer; transition: background-color .35s var(--ease); }
.lx-form .btn:hover { background: var(--pine); }
.lx-form .btn[aria-busy="true"] { cursor: progress; background: var(--pine); }
.lx-form .btn[aria-busy="true"]::before { content: ""; width: 1rem; height: 1rem; margin-right: .7rem; border-radius: 50%;
  border: 2px solid rgba(245, 243, 236, .35); border-top-color: var(--ivory); animation: lx-spin .8s linear infinite; }
@keyframes lx-spin { to { transform: rotate(360deg); } }
.lx-form .alert:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.lx-form .alert { border-radius: 4px; padding: 1rem 1.1rem; margin-bottom: 1.4rem; background: #F6E3DF; color: var(--error); font-size: var(--t-sm); }
.lx-form .alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ (stone) ---------- */
.lx-faq { background: var(--stone); padding: var(--section) 0; }
.lx-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.lx-faq .faq { border-top: 1px solid var(--line-light); }
.lx-faq details { border-bottom: 1px solid var(--line-light); }
.lx-faq summary { list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative; font: 400 var(--t-h3)/1.3 var(--serif); }
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq summary::before, .lx-faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 1.5px; background: var(--forest);
  transition: transform .4s var(--ease); }
.lx-faq summary::after { transform: rotate(90deg); }
.lx-faq details[open] summary::after { transform: rotate(0); }
.lx-faq details p { color: var(--ink-soft); padding: 0 3rem 1.6rem 0; max-width: 44rem; }

/* ---------- 7 final: the terrace at dusk ---------- */
.lx-final { position: relative; min-height: max(38rem, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  color: var(--on-dark); background: var(--pine); }
.lx-final__img { position: absolute; inset: 0; z-index: -2; }
.lx-final__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.lx-final__shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(14, 24, 20, .9) 0%, rgba(14, 24, 20, .62) 30%, rgba(14, 24, 20, .12) 58%, rgba(14, 24, 20, 0) 72%),
              linear-gradient(90deg, rgba(14, 24, 20, .45) 0%, rgba(14, 24, 20, 0) 55%); }
.lx-final__copy { padding-bottom: clamp(4rem, 2rem + 6vw, 8rem); }
.lx-display--final { margin-bottom: 1.4rem; max-width: 12ch; }
.lx-final .lx-lead { color: var(--on-dark-soft); }
.lx-final .lx-actions { margin-top: 2rem; }

/* ---------- inner pages in the lux frame (trial form, thank you) ---------- */
.lux--page main { background: var(--ivory); }
.lx-pilot--page { padding-top: calc(var(--section) * .55 + 5rem); }
.lx-kicker--dark { color: var(--forest); margin-bottom: 1.4rem; }
.lx-thanks { background: var(--ivory); padding: calc(var(--section) * .55 + 5rem) 0 var(--section); }
.lx-thanks__in { max-width: 46rem; }
.lx-thanks .lx-h2 { margin-bottom: 1.2rem; }
.lx-thanks .lx-lead { color: var(--ink-soft); }
.lx-next { list-style: none; margin: 2.6rem 0 2.4rem; padding: 0; border-top: 1px solid var(--line-light); }
.lx-next li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-light); }
.lx-next span { font-weight: 600; color: var(--forest); font-size: var(--t-sm); }
.lx-next p { color: var(--ink-soft); }

/* ---------- footer ---------- */
.lx-footer { background: var(--pine); color: var(--on-dark-soft); padding: 4.5rem 0 2.5rem; font-size: var(--t-sm); }
.lx-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 3rem; }
.lx-brand--footer { color: var(--on-dark); margin-bottom: .9rem; }
.lx-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 2rem; }
.lx-footer__cols nav { display: grid; gap: .55rem; align-content: start; }
.lx-footer__h { color: var(--on-dark); font-weight: 600; margin-bottom: .3rem; }
.lx-footer a { text-decoration: none; overflow-wrap: anywhere; }
.lx-footer a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.lx-footer__copy { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid var(--line-dark); font-size: var(--t-meta); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .lx-action__grid { grid-template-columns: 1fr; }
  .lx-action__text { max-width: 42rem; }
  .lx-demo { justify-content: start; }
}
@media (max-width: 960px) {
  .lx-hero__grid { grid-template-columns: 1fr; }
  .lx-hero__shade { background: linear-gradient(90deg, rgba(14, 24, 20, .86) 0%, rgba(14, 24, 20, .66) 55%, rgba(14, 24, 20, .3) 100%),
    linear-gradient(180deg, rgba(14, 24, 20, .5) 0%, rgba(14, 24, 20, 0) 22%, rgba(14, 24, 20, .35) 100%); }
  .lx-callcard { justify-self: start; margin-top: 0; }
  .lx-problem__text, .lx-problem__fig { grid-column: 1 / -1; }
  .lx-strip__in { grid-template-columns: 1fr; gap: .8rem; }
  .lx-steps__head { grid-template-columns: 1fr; }
  .lx-steps__grid { grid-template-columns: 1fr; }
  .lx-steps__visual { min-height: 0; aspect-ratio: 16 / 10; }
  .lx-lang__grid, .lx-swiss__grid, .lx-pilot__grid, .lx-faq__grid { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  .lx-hero { display: block; min-height: 0; }
  .lx-hero__img { inset: 0 0 auto; height: 78svh; }
  .lx-hero__img img { object-position: 50% 40%; }
  .lx-hero__shade { bottom: auto; height: 78.5svh;
    background: linear-gradient(180deg, rgba(14, 24, 20, .5) 0%, rgba(14, 24, 20, 0) 16%, rgba(14, 24, 20, 0) 40%, rgba(20, 42, 35, .85) 70%, #142A23 100%); }
  .lx-hero__grid { padding-top: 47svh; padding-bottom: 3.5rem; gap: 2.4rem; }
  .lx-callcard { width: 100%; max-width: 21rem; padding: .9rem 1rem; }
  .lx-callcard .lx-wave { height: 2.2rem; margin-top: .7rem; }
  .lx-callcard figcaption { margin-top: .6rem; }
  .lx-actions { margin-top: 1.6rem; }
  .lx-actions .lx-btn { flex: 1 1 100%; justify-content: center; }
  .lx-facts { margin-top: 2rem; flex-direction: column; gap: .7rem; }
  .lx-evening { grid-template-columns: 1fr; }
  .lx-evening li, .lx-evening li + li { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .lx-demo { grid-template-columns: 1fr; gap: 0; }
  .lx-phone { max-width: 21rem; justify-self: center; }
  .lx-mail { margin: 1.4rem 0 0; }
  .lx-steps__visual { aspect-ratio: 4 / 3.4; }
  .lx-panel { left: .9rem; right: .9rem; bottom: .9rem; }
  .lx-steps__list li { grid-template-columns: 2.8rem 1fr; padding-left: .9rem; }
  .lx-index li { grid-template-columns: 1fr; }
  .lx-greet__tabs { gap: 0; }
  .lx-greet__tabs button { padding: 1rem .55rem; flex: 1 1 auto; font-size: .875rem; }
  .lx-greet__tabs button::after { left: .55rem; right: .55rem; }
  .lx-form .form-grid { grid-template-columns: 1fr; }
  .lx-faq summary { padding-right: 2.4rem; }
  .lx-faq details p { padding-right: 0; }
  .lx-footer__grid { grid-template-columns: 1fr; }
  .lx-final { min-height: 100svh; }
  .lx-final__img img { object-position: 50% 50%; }
  .lx-final .lx-actions .lx-btn--ghost { font-size: .875rem; }
}

/* ---------- reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lx-js [data-lx-reveal], .lx-js .lx-hero .lx-kicker, .lx-js .lx-hero .lx-line, .lx-js .lx-hero .lx-lead, .lx-js .lx-hero .lx-actions,
  .lx-js .lx-hero .lx-facts, .lx-js .lx-callcard, .lx-js [data-lx-chat] .lx-chat li { opacity: 1; transform: none; }
  .lx-form .btn[aria-busy="true"]::before { display: none; }
  .lx-wave i { transform: scaleY(.8); }
}
.lx-greet__tabs button:first-child { padding-left: 0; }
.lx-greet__tabs button:first-child::after { left: 0; }
