/* Lobby Bell: the front desk after hours.
   A night-blue frame (header, opening, closing call, footer) around calm white pages.
   Brass appears only where something rings: the bell, the new-lead card, the main call on night.
   One moment of motion: the opening conversation plays once and ends with the bell. */

/* Fonts are served from the site itself (Hebrew + basic Latin subsets), so no request goes to a third party. */
@font-face {
  font-family: "Rubik";
  src: url("fonts/rubik-500-700.v1.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  src: url("fonts/plex-hebrew-400.v1.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  src: url("fonts/plex-hebrew-500.v1.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  src: url("fonts/plex-hebrew-600.v1.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0B1433;
  --night-2: #131E48;
  --night-3: #1C2A5C;
  --night-line: rgb(255 255 255 / 0.11);
  --night-ink: #EEF1FA;
  --night-soft: #AAB4D4;

  --brass: #E7B04A;
  --brass-ink: #0B1433;
  --brass-text: #82560E;
  --brass-wash: #FBF1DC;

  --paper: #FFFFFF;
  --marble: #F3F5FA;
  --surface: #FFFFFF;
  --ink: #0F1A3D;
  --ink-soft: #4B567A;
  --line: #DFE4F0;
  --desk: #3354DB;
  --desk-hover: #2843B6;
  --on-desk: #FFFFFF;
  --link: #3354DB;
  --focus: #3354DB;

  --font-display: "Rubik", "Arial Hebrew", "Segoe UI", "DejaVu Sans", Arial, sans-serif;
  --font-body: "IBM Plex Sans Hebrew", "Segoe UI", "Arial Hebrew", "DejaVu Sans", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.7rem);
  --step-3: clamp(1.85rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.45rem, 1.5rem + 3.8vw, 4.25rem);

  --r-panel: 1.4rem;
  --r-card: 1.1rem;
  --r-btn: 0.8rem;
  --shadow-panel: 0 2.5rem 4.5rem -2rem rgb(3 6 22 / 0.7);
  --shadow-card: 0 1px 0 rgb(15 26 61 / 0.04), 0 1rem 2.25rem -1.5rem rgb(15 26 61 / 0.3);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1532;
    --marble: #0A1129;
    --surface: #131C40;
    --ink: #EDF0FA;
    --ink-soft: #AEB7D6;
    --line: #27325E;
    --link: #A3B5FF;
    --focus: #E7B04A;
    --brass-text: #EBC172;
    --brass-wash: #2B2615;
    --shadow-card: 0 1rem 2.25rem -1.5rem rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1532;
  --marble: #0A1129;
  --surface: #131C40;
  --ink: #EDF0FA;
  --ink-soft: #AEB7D6;
  --line: #27325E;
  --link: #A3B5FF;
  --focus: #E7B04A;
  --brass-text: #EBC172;
  --brass-wash: #2B2615;
  --shadow-card: 0 1rem 2.25rem -1.5rem rgb(0 0 0 / 0.6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--night);
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.2em; }
p { margin: 0 0 1rem; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; font-family: var(--font-display); }
h1 { font-weight: 700; font-size: var(--step-4); line-height: 1.08; margin: 0 0 1.1rem; }
h2 { font-weight: 700; font-size: var(--step-3); line-height: 1.16; margin: 0 0 1rem; }
h3 { font-weight: 600; font-size: var(--step-1); line-height: 1.3; margin: 0 0 0.4rem; }
h2.h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.3; margin: 0 0 0.4rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  max-width: 74rem;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.measure { max-width: 40rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.band { background: var(--marble); }
.section-lead { color: var(--ink-soft); max-width: 40rem; font-size: var(--step-1); line-height: 1.55; }
.fine { font-size: var(--step--1); color: var(--ink-soft); }
.more { font-weight: 600; }
.mt { margin-top: 1.5rem; }
.mt-s { margin-top: 1rem; }

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -10rem;
  z-index: 100;
  background: var(--brass);
  color: var(--brass-ink);
  padding: 0.6rem 1rem;
  border-radius: var(--r-btn);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: calc(0.5rem + env(safe-area-inset-top, 0px)); }

/* ---------- line icons ---------- */
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- bell mark ---------- */
.bell .dome { fill: var(--brass); }
.bell .hi { fill: none; stroke: #FFFFFF; stroke-opacity: 0.55; stroke-width: 2; stroke-linecap: round; }
.bell .metal { fill: currentColor; }

/* ---------- header (always night) ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--night);
  color: var(--night-ink);
  border-bottom: 1px solid var(--night-line);
}
.header-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--night-ink);
  text-decoration: none;
}
.brand .bell { width: 2.15rem; height: 2.15rem; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.38rem; line-height: 1; letter-spacing: 0.01em; }

.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--night-soft); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: #FFFFFF; }
.site-nav a[aria-current="page"]:not(.btn) {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.55em;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-inline-start: auto;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--night-line);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--night-ink);
  font: 600 1rem/1 var(--font-body);
  cursor: pointer;
}
.menu-toggle svg { width: 1.2rem; height: 1.2rem; }
.site-header :focus-visible { outline-color: var(--brass); }

@media (max-width: 62rem) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: var(--night);
    border-bottom: 1px solid var(--night-line);
    padding-block: 0.25rem 1.25rem;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .site-nav[data-open] { display: flex; box-shadow: 0 1.5rem 2rem -1.25rem rgb(0 0 0 / 0.55); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding-block: 0.85rem; border-bottom: 1px solid var(--night-line); }
  html.no-js .menu-toggle { display: none; }
  html.no-js .site-nav { display: flex; position: static; border: 0; padding-inline: 0; }
  html.no-js .header-row { flex-wrap: wrap; }
}

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.75rem 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.05rem;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font: 600 1rem/1.25 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.btn-primary { background: var(--desk); color: var(--on-desk); }
.btn-primary:hover { background: var(--desk-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }
/* on night, the main call is brass and the second one is a light outline */
.site-header .btn-primary,
.on-night .btn-primary { background: var(--brass); color: var(--brass-ink); }
.site-header .btn-primary:hover,
.on-night .btn-primary:hover { background: #F2C266; }
.on-night .btn-ghost { color: var(--night-ink); border-color: rgb(255 255 255 / 0.3); }
.on-night .btn-ghost:hover { border-color: rgb(255 255 255 / 0.6); }
.on-night :focus-visible { outline-color: var(--brass); }

/* ---------- opening (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
/* screen light in a dark lobby: a soft halo centred behind the conversation */
.hero-grid::before {
  content: "";
  position: absolute;
  inset-inline-end: -12.5rem;
  top: 50%;
  width: 54rem;
  height: 54rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(51 84 219 / 0.45), rgb(51 84 219 / 0.16) 55%, rgb(51 84 219 / 0));
  pointer-events: none;
}
.hero-grid > * { position: relative; }
.hero h1 { color: #FFFFFF; max-width: 13ch; }
.hero .lead { color: var(--night-soft); }
.hero .fine { color: var(--night-soft); }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-soft); max-width: 34rem; }
@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid::before { top: auto; bottom: -5rem; left: 50%; right: auto; width: 34rem; height: 34rem; transform: translateX(-50%); }
  .hero h1 { max-width: none; }
}

/* the conversation panel */
.convo {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 29rem;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-panel);
  color: var(--night-ink);
  overflow: hidden;
}
@media (max-width: 56rem) { .convo { justify-self: stretch; max-width: none; } }
.convo-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--night-line);
  background: var(--night-3);
}
.convo-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--night);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--night-ink);
}
.convo-avatar .bell { width: 1.6rem; height: 1.6rem; }
.convo-name { margin: 0; font-weight: 600; line-height: 1.3; }
.convo-status { margin: 0; font-size: 0.82rem; color: var(--night-soft); line-height: 1.3; display: flex; align-items: center; gap: 0.35rem; }
.convo-status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4BD08B; flex: none; }

.convo-log { list-style: none; margin: 0; padding: 1.15rem; display: flex; flex-direction: column; gap: 0.7rem; }
.bubble { max-width: 88%; }
.bubble p { margin: 0; padding: 0.7rem 0.95rem; border-radius: 1.1rem; line-height: 1.55; font-size: 0.98rem; }
.bubble time { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--night-soft); font-variant-numeric: tabular-nums; }
.bubble-user { align-self: flex-start; }
.bubble-user p { background: var(--night-ink); color: var(--night); border-start-start-radius: 0.35rem; }
.bubble-bot { align-self: flex-end; }
.bubble-bot time { text-align: end; }
.bubble-bot p { background: var(--desk); color: #FFFFFF; border-start-end-radius: 0.35rem; }
.bubble-bot strong { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; justify-content: flex-end; }
.chips span {
  border: 1px solid rgb(255 255 255 / 0.32);
  color: var(--night-ink);
  border-radius: 999px;
  padding: 0.22rem 0.8rem;
  font-size: 0.85rem;
}
.typing {
  align-self: flex-end;
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1.1rem;
  background: var(--night-3);
}
.typing span { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--night-soft); }

.ping {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 1.15rem 1.15rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: var(--night);
  border: 1px solid rgb(231 176 74 / 0.45);
}
.ping .bell { width: 1.75rem; height: 1.75rem; color: var(--night-ink); flex: none; transform-origin: 50% 25%; }
.ping-body { min-width: 0; flex: 1; }
.ping-title { margin: 0 0 0.45rem; font-size: 0.88rem; font-weight: 600; color: var(--brass); display: flex; justify-content: space-between; gap: 0.5rem; }
.ping-title time { color: var(--night-soft); font-weight: 400; font-variant-numeric: tabular-nums; }
.ping-fields { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; padding: 0; list-style: none; }
.ping-fields li {
  font-size: 0.84rem;
  padding: 0.12rem 0.55rem;
  border-radius: 0.4rem;
  background: var(--night-3);
}
.convo-try {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: calc(100% - 2.3rem);
  margin: 0 1.15rem 1.15rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  background: var(--night-3);
  color: var(--night-ink);
  font: 500 0.98rem/1.3 var(--font-body);
  text-align: start;
  cursor: pointer;
}
.convo-try:hover { border-color: rgb(255 255 255 / 0.35); }
.convo-try svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--brass); transform: scaleX(-1); }
.convo-try:focus-visible { outline-color: var(--brass); }
.convo figcaption { padding: 0 1.15rem 1rem; font-size: 0.8rem; color: var(--night-soft); }

/* the one orchestrated moment: plays once, then holds still */
@media (prefers-reduced-motion: no-preference) {
  .convo .bubble-user { animation: arrive 0.45s ease-out 0.4s both; }
  .convo .typing { animation: typing 1.25s ease 1.05s both; }
  .convo .typing span { animation: dot 0.9s ease-in-out 1.05s 2; }
  .convo .typing span:nth-child(2) { animation-delay: 1.2s; }
  .convo .typing span:nth-child(3) { animation-delay: 1.35s; }
  .convo .bubble-bot { animation: arrive 0.45s ease-out 2.3s both; }
  .convo .ping { animation: arrive 0.5s ease-out 3.15s both, glow 1.8s ease-out 3.5s 1; }
  .convo .ping .bell { animation: ring 0.9s ease-in-out 3.45s 2; }
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(0.6rem); }
  to { opacity: 1; transform: none; }
}
@keyframes typing {
  0% { opacity: 0; max-height: 0; padding-block: 0; margin-block: -0.35rem; }
  12%, 85% { opacity: 1; max-height: 3rem; padding-block: 0.75rem; margin-block: 0; }
  100% { opacity: 0; max-height: 0; padding-block: 0; margin-block: -0.35rem; }
}
@keyframes dot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-0.2rem); opacity: 1; }
}
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(16deg); }
  45% { transform: rotate(-12deg); }
  70% { transform: rotate(6deg); }
}
@keyframes glow {
  0% { box-shadow: 0 0 0 0 rgb(231 176 74 / 0.5); }
  100% { box-shadow: 0 0 0 1.1rem rgb(231 176 74 / 0); }
}
/* without motion the typing dots never show */
@media (prefers-reduced-motion: reduce) {
  .convo .typing { display: none; }
}

/* ---------- what it does (text + the owner's email) ---------- */
.does {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 56rem) { .does { grid-template-columns: minmax(0, 1fr); } }
.does-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.does-list li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.does-list h3 { margin-bottom: 0.2rem; }
.does-list p { margin: 0; color: var(--ink-soft); }
.icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: var(--marble);
  color: var(--desk);
}
.band .icon { background: var(--surface); }
.icon svg { width: 1.45rem; height: 1.45rem; }

.mail {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-card);
  padding: 1.35rem;
}
.mail-head { display: flex; align-items: center; gap: 0.7rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.mail-head .bell { width: 2.2rem; height: 2.2rem; flex: none; color: var(--ink); background: var(--night); border-radius: 50%; padding: 0.35rem; }
.mail-head .bell .metal { fill: var(--night-ink); }
.mail-from { margin: 0; font-weight: 600; line-height: 1.3; }
.mail-to { margin: 0; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.3; }
.mail-time { margin-inline-start: auto; font-size: 0.85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; align-self: flex-start; }
.mail-subject { margin: 1rem 0 0.75rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.mail-fields { margin: 0; display: grid; gap: 0.55rem; }
.mail-fields div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; padding-bottom: 0.55rem; border-bottom: 1px dashed var(--line); }
.mail-fields dt { color: var(--ink-soft); }
.mail-fields dd { margin: 0; font-weight: 500; }
.mail-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #15803D;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
}
.mail-wa svg { width: 1.15rem; height: 1.15rem; stroke-width: 2; }
.mail figcaption { margin-top: 0.9rem; font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- steps (a real sequence, so numbered) ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 2rem 0 1.5rem;
  padding: 0;
  position: relative;
}
.steps > li { counter-increment: step; position: relative; padding-top: 3.75rem; min-width: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--brass);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  z-index: 1;
}
.steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.35rem;
  inset-inline-start: 3.5rem;
  inset-inline-end: -1.25rem;
  height: 2px;
  background: repeating-linear-gradient(to left, var(--line) 0 0.5rem, transparent 0.5rem 0.9rem);
}
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 50rem) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .steps > li:not(:last-child)::after { display: none; }
}

/* the longer timeline on "how it works" */
.timeline { list-style: none; counter-reset: step; margin: 2.25rem 0 0; padding: 0; max-width: 46rem; }
.timeline > li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 4rem;
  padding-bottom: 2rem;
}
.timeline > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--brass);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}
.timeline > li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 1.33rem;
  top: 3rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--line);
}
.timeline p { color: var(--ink-soft); margin: 0; }

/* ---------- cards (two distinct things side by side) ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 46rem) { .cards-2 { grid-template-columns: minmax(0, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.band .card { box-shadow: var(--shadow-card); border-color: transparent; }
.card p { margin: 0; color: var(--ink-soft); }
.card .btn { margin-top: auto; }
.tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brass-text);
  background: var(--brass-wash);
  border-radius: 999px;
  padding: 0.18rem 0.8rem;
}
/* small previews at the top of the demo cards */
.peek {
  width: 100%;
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.9rem;
  background: var(--night);
  padding: 1rem;
  margin-bottom: 0.4rem;
  color: var(--night-ink);
}
.peek .peek-label { margin: 0 0 0.6rem; font-size: 0.82rem; color: var(--night-soft); }
.peek-slots { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.peek-slots li {
  padding: 0.35rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid var(--night-line);
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}
.peek-slots li.is-picked { background: var(--brass); color: var(--brass-ink); border-color: var(--brass); font-weight: 600; }
.peek .peek-bubble {
  margin: 0;
  width: fit-content;
  max-width: 85%;
  margin-inline-start: auto;
  padding: 0.6rem 0.85rem;
  border-radius: 1rem;
  border-start-end-radius: 0.35rem;
  background: var(--desk);
  color: #FFFFFF;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- prices ---------- */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.45rem; margin: 0.2rem 0 0.6rem; color: inherit; }
.price .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 2rem + 2.2vw, 3.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price .unit { color: var(--ink-soft); font-weight: 500; }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; align-items: stretch; }
@media (max-width: 50rem) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  box-shadow: var(--shadow-card);
}
.tier-name { font-weight: 700; font-size: var(--step-2); margin: 0; }
.tier-for { color: var(--ink-soft); margin: 0; }
.tier .btn { align-self: flex-start; margin-top: auto; }
.tier .checks { margin-bottom: 0.5rem; }
/* the booking tier sits on night, so the two read as different products */
.tier.is-night { background: var(--night); border-color: var(--night); color: var(--night-ink); }
.tier.is-night .tier-name { color: #FFFFFF; }
.tier.is-night .tier-for,
.tier.is-night .price .unit { color: var(--night-soft); }
.tier.is-night .checks li::before { background: var(--brass); }
.tier.is-night .btn-primary { background: var(--brass); color: var(--brass-ink); }
.tier.is-night .btn-primary:hover { background: #F2C266; }
.tier.is-night .tag { background: rgb(231 176 74 / 0.16); color: var(--brass); }
.tier.is-night .btn-ghost { color: var(--night-ink); border-color: rgb(255 255 255 / 0.3); }
.tier.is-night .btn-ghost:hover { border-color: rgb(255 255 255 / 0.6); }
.tier.is-night :focus-visible { outline-color: var(--brass); }
.tier-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }

.price-notes {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  max-width: 50rem;
}

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.checks li { position: relative; padding-inline-start: 1.85rem; }
.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.36em;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--desk);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.2 3.7 10.3l1.4-1.4 2.5 2.5 7.3-7.3 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.2 3.7 10.3l1.4-1.4 2.5 2.5 7.3-7.3 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.nots li { position: relative; padding-inline-start: 1.85rem; color: var(--ink-soft); }
.nots li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.3rem;
  top: 0.8em;
  width: 0.65rem;
  height: 2px;
  background: var(--ink-soft);
}

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); margin-top: 1.5rem; }
.split > div { min-width: 0; }
@media (max-width: 46rem) { .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

.aside-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 44rem;
}
.aside-box h2 { font-size: var(--step-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin-top: 1.25rem; }
.faq h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.1rem;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--marble);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
}
.band .faq summary::after { background: var(--surface); }
.faq details[open] summary::after { content: "\2212"; background: var(--night); color: var(--brass); }
.faq details > div { padding-bottom: 1.15rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- sample spreadsheet ---------- */
.sheet-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.sheet { border-collapse: collapse; width: 100%; min-width: 38rem; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td {
  text-align: start;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
  white-space: nowrap;
}
.sheet th:first-child, .sheet td:first-child { border-inline-start: 0; }
.sheet .letters th { font-weight: 400; font-size: 0.75rem; color: var(--ink-soft); background: var(--marble); text-align: center; padding-block: 0.25rem; }
.sheet thead tr:last-child th { font-weight: 600; background: var(--marble); }
.sheet tbody tr:last-child td { border-bottom: 0; }
.sheet-note { margin-top: 0.7rem; }

/* ---------- placeholders for details still to come ---------- */
.fill {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: var(--brass-wash);
  color: var(--brass-text);
  border: 1px dashed var(--brass-text);
  border-radius: 0.3rem;
  padding: 0 0.3em;
  font-weight: 600;
}
.draft-note {
  border: 1px dashed var(--brass-text);
  background: var(--brass-wash);
  color: var(--ink);
  border-radius: 0.6rem;
  padding: 0.8rem 1rem;
  margin-block: 0.5rem 2rem;
  max-width: 44rem;
}
.draft-note p { margin: 0; }

/* ---------- long text pages ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose ul { padding-inline-start: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.35rem; }
.updated { color: var(--ink-soft); font-size: var(--step--1); }

/* ---------- contact ---------- */
.contact-lines { list-style: none; margin: 1.75rem 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-lines li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.contact-label { min-width: 4.5rem; color: var(--ink-soft); }
.contact-value { font-weight: 600; font-size: var(--step-1); }
.copy-btn {
  min-height: 2.4rem;
  padding: 0.3rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--ink);
  font: 600 0.9rem/1 var(--font-body);
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink-soft); }

/* ---------- demo page ---------- */
.demo-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.demo-hero h1 { margin: 0; }
.try-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.try-list li {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.97rem;
}

/* ---------- closing call (night) ---------- */
.closing { background: var(--night); color: var(--night-ink); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.closing-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.closing .bell { width: clamp(5rem, 9vw, 7.5rem); height: clamp(5rem, 9vw, 7.5rem); color: var(--night-ink); }
.closing h2 { color: #FFFFFF; }
.closing p { color: var(--night-soft); max-width: 36rem; }
.closing .actions { margin-bottom: 0.5rem; }
.closing .fine { color: var(--night-soft); }
@media (max-width: 40rem) { .closing-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer (night) ---------- */
.site-footer { background: var(--night); color: var(--night-soft); border-top: 1px solid var(--night-line); padding-block: 3rem 1.5rem; }
.site-footer a { color: var(--night-ink); }
.site-footer .brand { color: var(--night-ink); }
.site-footer :focus-visible { outline-color: var(--brass); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 50rem) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; } }
.footer-brand p { max-width: 22rem; margin-top: 0.8rem; }
.footer-title { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 0.6rem; color: #FFFFFF; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--night-line);
  font-size: 0.88rem;
}
.footer-legal p { margin: 0; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 0.8rem 1.15rem;
  border-radius: 0.8rem;
  background: var(--night);
  color: var(--night-ink);
  border: 1px solid var(--night-line);
  font-weight: 600;
  box-shadow: 0 1rem 2rem -1rem rgb(0 0 0 / 0.55);
}

/* ---------- 404 ---------- */
.lost { padding-block: clamp(3rem, 10vw, 7rem); }
.lost .bell { width: 4.5rem; height: 4.5rem; color: var(--ink); margin-bottom: 1rem; }
