/* ============================================================
   HostPulse — MyTripHost brand tokens
   Mystery Info Solutions

   Colour has one rule here: amber means money.
   It appears in exactly two places — the commission being taken
   out of an OTA booking, and the button that stops it.
   Teal means direct/owned. Navy is structure.
   ============================================================ */
:root {
  /* brand */
  --navy:       #0f2d42;
  --navy-mid:   #1b4860;
  --teal:       #2a7a9b;
  --teal-light: #5ba8c8;
  --amber:      #c8820a;
  --amber-hi:   #e89c1a;

  /* surfaces — the cool alt background is the page ground;
     the warm cream is reserved for the rack's register bars */
  --ground:  #eaf2f7;
  --surface: #ffffff;
  --sand:    #f4f1eb;
  --deep:    #07141e;
  --deep-2:  #0a1e2d;

  /* text + line */
  --ink:   #0a1e2d;
  --muted: #4a6d80;
  --line:  #d4e0e8;
  --line-soft: #e3edf3;

  --on-amber: #07141e;          /* 6.0:1 — never white on amber */
  --nav-bg: rgba(234, 242, 247, .84);   /* explicit alpha, not color-mix */

  --shadow-sm: 0 1px 2px rgba(10, 30, 45, .07);
  --shadow:    0 18px 40px -24px rgba(10, 30, 45, .4);
  --shadow-lg: 0 40px 80px -40px rgba(10, 30, 45, .5);

  --display: "DM Serif Display", Georgia, serif;
  --body:    "DM Sans", system-ui, sans-serif;
  --mono:    "DM Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
  --ground:  #07141e;
  --surface: #0d2231;
  --sand:    #102a3a;
  --deep:    #050f17;
  --deep-2:  #0a1e2d;

  --ink:   #e6eff4;
  --muted: #8aa8b8;
  --nav-bg: rgba(7, 20, 30, .86);
  --line:  #1c3547;
  --line-soft: #16293a;

  --teal:       #5ba8c8;
  --teal-light: #8ecbe3;
  --amber:      #e89c1a;
  --amber-hi:   #f5b53f;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);
  --shadow:    0 18px 40px -24px rgba(0, 0, 0, .85);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, .95);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* Seven faint columns under the page — the same seven nights the
     rack is divided into. Painted as a fixed body background rather
     than an overlay, so it costs no extra compositing layer. */
  background-color: var(--ground);
  background-image: repeating-linear-gradient(
    to right,
    var(--line-soft) 0 1px,
    transparent 1px calc(100% / 7)
  );
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* DM Serif Display has one weight. Hierarchy comes from size and
   tracking only — never reach for a weight here. */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0;
}

::selection { background: var(--teal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font: 500 13px/1 var(--body);
  z-index: 200;
}
.skip:focus { left: 16px; }

/* ---- type utilities ----------------------------------------- */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-mid);          /* 8.7:1 on the ground */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--teal);
}

.lede { color: var(--muted); font-size: 17px; max-width: 56ch; }

/* ---- buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font: 700 14px/1 var(--body);
  letter-spacing: -.005em;
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* amber = money. Dark navy label, never white. */
.btn-primary {
  background: var(--amber);
  color: var(--on-amber);
  box-shadow: 0 8px 22px -12px rgba(200, 130, 10, .9);
}
.btn-primary:hover {
  background: var(--amber-hi);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(200, 130, 10, .9);
}

.btn-line {
  border-color: var(--line);
  color: var(--navy);
  background: transparent;
}
[data-theme="dark"] .btn-line { color: var(--ink); }
.btn-line:hover { border-color: var(--navy-mid); transform: translateY(-2px); }

.btn-ghost-invert {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.btn-ghost-invert:hover { border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: height .35s var(--ease);
}
.nav.is-stuck .nav-inner { height: 58px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 38px; width: auto; display: block; }
.logo-on-dark { display: none; }
[data-theme="dark"] .logo-on-light { display: none; }
[data-theme="dark"] .logo-on-dark { display: block; }
.logo-by {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  line-height: 1.2;
}

.navlinks { display: flex; gap: 4px; margin-left: auto; }
.navlinks a {
  position: relative;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--navy-mid);
  transition: color .2s;
}
[data-theme="dark"] .navlinks a { color: var(--muted); }
.navlinks a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.navlinks a:hover { color: var(--navy); }
[data-theme="dark"] .navlinks a:hover { color: var(--ink); }
.navlinks a:hover::after,
.navlinks a[aria-current="true"]::after { transform: scaleX(1); }
.navlinks a[aria-current="true"] { color: var(--navy); }
[data-theme="dark"] .navlinks a[aria-current="true"] { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { padding: 10px 16px; font-size: 13px; }

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
[data-theme="dark"] .icon-btn { color: var(--ink); }
.icon-btn:hover { border-color: var(--navy-mid); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .moon { display: none; }
[data-theme="dark"] .icon-btn .moon { display: block; }
[data-theme="dark"] .icon-btn .sun { display: none; }

.menu-btn { display: none; }

.drawer {
  position: fixed;
  inset: 68px 0 auto;
  z-index: 99;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px 22px;
  display: none;
  flex-direction: column;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity .25s, transform .3s var(--ease);
}
.drawer.is-open { opacity: 1; transform: none; }
.drawer a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
.drawer .btn { margin-top: 16px; justify-content: center; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 112px 0; position: relative; z-index: 1; }
.section-tight { padding: 84px 0; }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 56px); margin: 20px 0 16px; }
.section-head .lede { font-size: 16px; }

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}
.section-head-split > div { max-width: 680px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -260px;
  width: 940px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(42, 122, 155, .13), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 5.8vw, 80px);
  letter-spacing: -.028em;
  margin: 22px 0 24px;
}
/* The rule draws itself once the headline lands. Painted as a
   background so it follows the phrase across a line wrap. */
.hero h1 em {
  font-style: normal;
  color: var(--teal);
  background-image: linear-gradient(var(--teal), var(--teal));
  background-repeat: no-repeat;
  background-position: 0 94%;
  background-size: 0 4px;
  transition: background-size .9s var(--ease) 1.1s;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
[data-theme="dark"] .hero h1 em {
  color: var(--teal-light);
  background-image: linear-gradient(var(--teal-light), var(--teal-light));
}
.is-ready .hero h1 em { background-size: 100% 4px; }

.hero .lede { font-size: 18px; }

.hero-actions { display: flex; gap: 12px; margin: 34px 0 28px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  gap: 10px 26px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--muted);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }

.rise { opacity: 0; transform: translateY(18px); }
.is-ready .rise {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ============================================================
   THE RACK — the signature element
   Rooms down the side, seven nights across, reservations as bars.
   Every OTA bar carries an amber slice: the commission removed.
   ============================================================ */
.rack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* cream, used only here — the register-paper bars top and bottom */
.rack-bar-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}
.rack-bar-top .dot-row { display: flex; gap: 5px; }
.rack-bar-top .dot-row i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
}
.rack-title { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--muted); }
.rack-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}
.rack-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(42, 122, 155, .55); }
  60%      { opacity: .7; box-shadow: 0 0 0 7px rgba(42, 122, 155, 0); }
}

.rack-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.rack-row:last-child { border-bottom: 0; }

.rack-row-head {
  padding: 0 12px 0 16px;
  border-right: 1px solid var(--line-soft);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rack-row-head b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
}
[data-theme="dark"] .rack-row-head b { color: var(--ink); }
.rack-row-head span { font-size: 10.5px; color: var(--muted); }

.rack-head-row { background: var(--sand); border-bottom: 1px solid var(--line); }
.rack-head-row .rack-row-head { padding-block: 9px; }
.rack-head-row .rack-row-head b { color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

.rack-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.rack-days span {
  padding: 8px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .03em;
  color: var(--muted);
  border-left: 1px solid var(--line-soft);
}
.rack-days span:first-child { border-left: 0; }
.rack-days .is-weekend { color: var(--navy); }
[data-theme="dark"] .rack-days .is-weekend { color: var(--ink); }

.lane {
  position: relative;
  height: 46px;
  background: repeating-linear-gradient(
    to right,
    transparent 0 calc(100% / 7 - 1px),
    var(--line-soft) calc(100% / 7 - 1px) calc(100% / 7)
  );
}

.bar {
  position: absolute;
  top: 9px;
  height: 28px;
  left: calc(var(--s) / 7 * 100%);
  width: calc(var(--n) / 7 * 100% - 6px);
  margin-left: 3px;
  border: 0;
  border-radius: 3px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  font: 500 11.5px/1 var(--body);
  transform-origin: left;
  transition: transform .55s var(--ease), filter .25s, box-shadow .25s, background-color .25s;
}
.js .bar { transform: scaleX(0); }
.rack.is-live .bar { transform: scaleX(1); transition-delay: calc(var(--d, 0) * 1ms); }
.js .bar > * { opacity: 0; transition: opacity .3s ease calc(var(--d, 0) * 1ms + 300ms); }
.rack.is-live .bar > * { opacity: 1; }

.bar-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-amt {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  opacity: .9;
}

/* teal = direct, owned */
.bar-direct {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 12px -8px rgba(42, 122, 155, .9);
}
.bar-direct:hover { background: var(--navy-mid); }

/* a drained navy = booked through somebody else's marketplace */
.bar-ota {
  background: rgba(74, 109, 128, .18);
  color: var(--navy-mid);
  border: 1px solid rgba(74, 109, 128, .42);
}
[data-theme="dark"] .bar-ota { color: var(--muted); background: rgba(138, 168, 184, .14); }
.bar-ota:hover { background: rgba(74, 109, 128, .27); }

/* amber = your money. Here it is, leaving.
   Laid out as a real slice of the bar — 18%, the same 18% the
   commission actually is — so the rate never sits underneath it. */
.bar-ota { padding-right: 0; }
.bar-ota .bar-amt { margin-right: 8px; }
.bar-cut {
  flex: 0 0 18%;
  min-width: 13px;
  align-self: stretch;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 2px,
    transparent 2px 5px
  );
  border-left: 1px dashed var(--amber);
  opacity: 1 !important;
}

.rack-foot {
  border-top: 1px solid var(--line);
  background: var(--sand);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.rack-foot div { padding: 14px 16px; border-left: 1px solid var(--line); }
.rack-foot div:first-child { border-left: 0; }
.rack-foot b {
  display: block;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.rack-foot div > span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rack-foot .val-direct { color: var(--teal); }
.rack-foot .val-ota    { color: var(--navy-mid); }
[data-theme="dark"] .rack-foot .val-ota { color: var(--muted); }
.rack-foot .val-cut    { color: var(--amber); }

.rack-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .03em;
  color: var(--muted);
}
.rack-legend li { display: flex; align-items: center; gap: 8px; }
.rack-legend i { width: 15px; height: 9px; border-radius: 2px; flex: none; }
.rack-legend .k-direct { background: var(--teal); }
.rack-legend .k-ota { background: rgba(74, 109, 128, .2); border: 1px solid rgba(74, 109, 128, .5); }
.rack-legend .k-cut {
  background-image: repeating-linear-gradient(-45deg, var(--amber) 0 2px, transparent 2px 5px);
  border: 1px dashed var(--amber);
}

/* ============================================================
   Stats strip
   ============================================================ */
.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
  margin-top: 72px;
  position: relative;
  z-index: 1;
}
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-cell { padding: 30px 0 30px 26px; border-left: 1px solid var(--line); }
.strip-cell:first-child { border-left: 0; padding-left: 0; }
.strip-cell b {
  display: block;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--navy);
}
[data-theme="dark"] .strip-cell b { color: var(--ink); }
/* direct child only — the counter <span> lives inside the <b> and
   must keep the display face */
.strip-cell > span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   Features, grouped by the part of the operation they serve
   ============================================================ */
.groups { display: grid; gap: 4px; }

.group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.group:last-child { border-bottom: 1px solid var(--line); }

.group-label { position: sticky; top: 96px; align-self: start; }
.group-label h3 { font-size: 26px; margin-bottom: 10px; }
.group-label p { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 24ch; }

.group-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }

.item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.item:hover {
  transform: translateY(-3px);
  border-color: var(--teal-light);
  box-shadow: var(--shadow);
}
.item:hover::before { transform: scaleY(1); }

.item .mono { color: var(--muted); font-size: 10px; letter-spacing: .1em; margin: 0; }
.item h4 { font-size: 20px; margin: 12px 0 8px; }
.item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ============================================================
   WhatsApp concierge (navy panel)
   ============================================================ */
.invert { background: var(--deep); color: #fff; position: relative; z-index: 1; }
.invert .lede,
.invert .group-label p { color: #a7c1cf; }
.invert .eyebrow { color: var(--teal-light); }
.invert .eyebrow::before { background: var(--teal-light); }

.concierge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 64px;
  align-items: center;
}
.concierge h2 { font-size: clamp(34px, 4.4vw, 54px); margin: 20px 0 16px; }

.checks { margin: 30px 0 0; display: grid; gap: 13px; }
.checks li {
  display: flex;
  gap: 13px;
  align-items: baseline;
  font-size: 14.5px;
  color: #cfe0e9;
}
.checks li::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-light);
  transform: translateY(-2px);
}

.phone {
  background: var(--deep-2);
  border: 1px solid rgba(91, 168, 200, .22);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.phone-avatar {
  width: 32px; height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  font: 500 12px/1 var(--mono);
  color: #fff;
}
.phone-head b { display: block; font-family: var(--body); font-size: 13.5px; font-weight: 700; color: #fff; }
.phone-head > span > span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.thread {
  padding: 14px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 340px;
}
.msg {
  max-width: 84%;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  transform-origin: left bottom;
}
.js .msg { opacity: 0; transform: translateY(8px) scale(.97); }
.msg.is-shown {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .45s var(--ease);
}
/* the property's side is teal-tinted, the guest's is neutral slate,
   so the two speakers separate at a glance */
.msg-in { background: #123c50; color: #dff0f7; border-bottom-left-radius: 2px; }
.msg-out {
  background: #1c2c39;
  color: #c9d8e2;
  margin-left: auto;
  border-bottom-right-radius: 2px;
  transform-origin: right bottom;
}
.msg time {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  opacity: .55;
  margin-top: 4px;
  text-align: right;
}

.typing { display: flex; gap: 4px; padding: 13px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal-light); animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.concierge-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 56px; }
.note {
  padding: 24px;
  border: 1px solid rgba(91, 168, 200, .24);
  border-radius: 6px;
  transition: background-color .3s, border-color .3s;
}
.note:hover { background: rgba(42, 122, 155, .12); border-color: var(--teal); }
.note b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  color: var(--teal-light);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.note span { font-size: 13px; color: #a7c1cf; }

/* ============================================================
   Setup — a real sequence, marked by how long each leg takes
   ============================================================ */
.track { height: 2px; background: var(--line); margin-bottom: 4px; position: relative; overflow: hidden; }
.track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease);
}
.track.is-in::after { transform: scaleX(1); }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.leg {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px 30px;
}
.leg-when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
[data-theme="dark"] .leg-when { color: var(--teal-light); }
.leg h3 { font-size: 28px; margin: 14px 0 10px; }
.leg p { font-size: 14px; color: var(--muted); margin: 0; }

/* ============================================================
   Integrations
   ============================================================ */
.integrations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.plug {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 16px;
  text-align: center;
  transition: transform .35s var(--ease), border-color .3s;
}
.plug:hover { transform: translateY(-3px); border-color: var(--teal); }
.plug b { display: block; font-family: var(--display); font-size: 18px; font-weight: 400; }
.plug span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   Pricing
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-items: start; }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.plan-featured { border-color: var(--teal); box-shadow: 0 24px 60px -34px rgba(42, 122, 155, .8); }
.plan-tag {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--teal);
  color: #fff;
  padding: 6px 12px;
  border-radius: 0 0 3px 3px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.plan h3 { font-size: 30px; }
.plan-for { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.plan-price {
  font-family: var(--display);
  font-size: 44px;
  letter-spacing: -.025em;
  margin: 22px 0 4px;
  color: var(--navy);
}
[data-theme="dark"] .plan-price { color: var(--ink); }
.plan-price small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--muted);
}
.plan-rooms {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.plan-list { margin: 20px 0 26px; display: grid; gap: 11px; }
.plan-list li {
  font-size: 13.5px;
  color: var(--navy-mid);
  display: flex;
  gap: 11px;
  align-items: baseline;
}
[data-theme="dark"] .plan-list li { color: var(--muted); }
.plan-list li::before {
  content: "";
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-2px);
}
.plan .btn { width: 100%; justify-content: center; }

.plan-note {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--muted);
}

/* ============================================================
   Testimonials
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.34;
  letter-spacing: -.01em;
  color: var(--navy);
}
[data-theme="dark"] .quote blockquote { color: var(--ink); }
.quote figcaption { margin-top: auto; }
.quote figcaption b { display: block; font-size: 14px; }
.quote figcaption span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.quote-metric {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
[data-theme="dark"] .quote-metric { color: var(--teal-light); }

/* ============================================================
   Closing CTA
   ============================================================ */
.close-cta {
  background: var(--navy);
  color: #fff;
  padding: 86px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.close-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, .055) 0 1px, transparent 1px calc(100% / 7));
}
.close-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.close-inner h2 { font-size: clamp(34px, 4.6vw, 54px); max-width: 16ch; }
.close-inner p { color: #b3cad6; margin: 14px 0 0; max-width: 46ch; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--deep);
  color: #fff;
  padding: 66px 0 26px;
  position: relative;
  z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 40px; }
.footer .logo-by { color: #9db6c4; border-color: rgba(255, 255, 255, .18); }
.footer-about p { font-size: 13.5px; color: #9db6c4; margin: 18px 0 0; max-width: 34ch; }
.footer-about a { color: var(--teal-light); }
.footer h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: #9db6c4;
  padding: 5px 0;
  transition: color .2s, transform .25s var(--ease);
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 48px;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #7f9aa8;
}

/* ============================================================
   About / legal pages
   ============================================================ */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(38px, 4.8vw, 56px); margin: 20px 0 18px; }
.prose h2 { font-size: 27px; margin: 40px 0 12px; }
.prose p { color: var(--navy-mid); font-size: 15.5px; }
[data-theme="dark"] .prose p { color: var(--muted); }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .prose a { color: var(--teal-light); }
.prose a.btn { text-decoration: none; color: var(--on-amber); }
.prose .updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  margin-top: 36px;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 56px; }
  .concierge { grid-template-columns: 1fr; gap: 44px; }
  .phone { max-width: 372px; margin-inline: auto; width: 100%; }
  .group { grid-template-columns: 1fr; gap: 22px; }
  .group-label { position: static; }
  .group-label p { max-width: none; }
  .integrations { grid-template-columns: repeat(3, 1fr); }
  .concierge-notes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .navlinks { display: none; }
  .nav-actions .btn-primary { display: none; }
  .menu-btn { display: grid; }
  .drawer { display: flex; }
  .section { padding: 80px 0; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-cell { padding: 22px 0 22px 22px; }
  .strip-cell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .group-items { grid-template-columns: repeat(2, 1fr); }
  .timeline, .plans, .quotes { grid-template-columns: 1fr; }
  .close-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .section-head-split { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 620px) {
  .logo-by { display: none; }
  .wrap { width: min(100% - 32px, 1220px); }
  body { background-size: 200% 100%; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .strip { margin-top: 64px; }
  .group-items, .integrations, .concierge-notes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }

  /* the rack has to stay readable: drop a room, drop the guest names */
  .rack-row { grid-template-columns: 74px minmax(0, 1fr); }
  .rack-row-head { padding-left: 10px; }
  .rack-row-head span { display: none; }
  .lane { height: 40px; }
  .bar { height: 24px; top: 8px; font-size: 10px; padding: 0 6px; }
  .bar-name { display: none; }
  .bar-amt { margin-left: 0; }
  .rack-hide-sm { display: none; }
  .rack-foot { grid-template-columns: 1fr; }
  .rack-foot div { border-left: 0; border-top: 1px solid var(--line); }
  .rack-foot div:first-child { border-top: 0; }
}

/* ============================================================
   Reduced motion — everything lands, nothing moves
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .rise, [data-reveal], .msg { opacity: 1 !important; transform: none !important; }
  .bar { transform: scaleX(1) !important; }
  .bar > * { opacity: 1 !important; }
  .hero h1 em::after { transform: scaleX(1) !important; }
  .track::after { transform: scaleX(1) !important; }
}

/* ============================================================
   Pricing — plans, discount, add-ons, info panels
   ============================================================ */
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.period { display: none; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.js .period { display: inline-flex; }
.period-btn {
  font: 600 13px/1 var(--body);
  padding: 10px 14px; border: 0; border-radius: 4px; background: transparent;
  color: var(--navy-mid); cursor: pointer;
  transition: background-color .25s, color .25s;
}
[data-theme="dark"] .period-btn { color: var(--muted); }
.period-btn em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; margin-left: 6px; opacity: .85; }
.period-btn.is-on { background: var(--navy); color: #fff; }
[data-theme="dark"] .period-btn.is-on { background: var(--teal); }

#plans[data-period="month"] .p-year,
#plans[data-period="year"] .p-month { display: none; }

.plan-pricing { position: relative; margin: 22px 0 6px; padding-top: 4px; }
.off-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--navy); color: #fff; padding: 4px 8px; border-radius: 3px; margin-bottom: 10px;
}
[data-theme="dark"] .off-badge { background: var(--teal); }
.plan-was { margin: 0; font-family: var(--mono); font-size: 15px; color: var(--muted); }
.plan-was s { text-decoration-thickness: 1.5px; text-decoration-color: var(--muted); }
.plan-pricing .plan-price { margin: 0; line-height: 1.05; }
.plan-save { margin: 8px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); }
[data-theme="dark"] .plan-save { color: var(--teal-light); }
.plan-lead { margin: 18px 0 0; font-size: 13.5px; font-weight: 700; color: var(--navy); }
[data-theme="dark"] .plan-lead { color: var(--ink); }
.plan-rooms { margin-top: 14px; }
.plan-lead + .plan-list { margin-top: 14px; }
.plan-list li.is-off { color: var(--muted); opacity: .8; }
.plan-list li.is-off::before { background: var(--line); border-radius: 0; height: 2px; width: 8px; transform: translateY(-3px); }
.plan-for { max-width: 30ch; }

.sub-head { font-size: 28px; margin: 64px 0 20px; }

.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.addon, .info {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 24px;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.addon:hover, .info:hover { transform: translateY(-3px); border-color: var(--teal-light); box-shadow: var(--shadow); }
.addon h4, .info h4 { font-size: 21px; margin-bottom: 8px; }
.addon p { font-size: 13.5px; color: var(--muted); margin: 0; }
.addon .addon-price, .info .addon-price {
  margin-top: 16px; font-family: var(--mono); font-size: 16px; font-weight: 500; color: var(--navy);
}
[data-theme="dark"] .addon .addon-price, [data-theme="dark"] .info .addon-price { color: var(--ink); }
.addon-price small { font-size: 11px; color: var(--muted); }

.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.info .plan-list { margin: 14px 0 0; }
.info-line { margin: 12px 0 0; font-size: 14px; color: var(--navy-mid); }
[data-theme="dark"] .info-line { color: var(--muted); }
.info-line b { font-family: var(--mono); font-weight: 500; font-size: 20px; color: var(--navy); margin-left: 4px; }
[data-theme="dark"] .info-line b { color: var(--ink); }
.info-foot { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }

.close-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.checks li b { color: #fff; font-weight: 700; }

@media (max-width: 1080px) {
  .addons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .infos { grid-template-columns: 1fr; }
  .period { align-self: flex-start; }
}
@media (max-width: 620px) {
  .addons { grid-template-columns: 1fr; }
  .period-btn em { display: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: 96px; }
.faq-aside h2 { font-size: clamp(34px, 4vw, 48px); margin: 20px 0 16px; }
.faq-aside .lede { font-size: 16px; }
.faq-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; align-items: flex-start; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--navy);
  transition: color .25s;
}
[data-theme="dark"] .faq-item summary { color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal); }
[data-theme="dark"] .faq-item summary:hover { color: var(--teal-light); }

/* plus that turns into a minus */
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--teal);
  transition: transform .35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }

.faq-a { padding: 0 44px 26px 4px; }
.faq-a p { margin: 0; font-size: 15.5px; color: var(--navy-mid); max-width: 62ch; }
[data-theme="dark"] .faq-a p { color: var(--muted); }
.faq-a a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .faq-a a { color: var(--teal-light); }
.faq-item[open] .faq-a { animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
}
@media (max-width: 620px) {
  .faq-item summary { font-size: 19px; padding: 18px 0; }
  .faq-a { padding: 0 0 22px; }
  .faq-contact .btn { width: 100%; justify-content: center; }
}
