/* THE ABH LIVE DEMO (/discover/abh/live/) - the page's own pieces on top of THE ONE DESIGN SYSTEM (../../assets/discover.css):
   the ABH concept page's warm palette (black, cream, nude, rose and a touch of gold - OUR palette, no brand assets) for the
   hero's tint, the four-way picker, each way's words and doors beside its stage, and the little drawn previews on the
   posters (HTML and CSS - never a screenshot). The live embeds land in the stages (live.js). Light and dark follow the
   visitor's system, like the rest of the site. The hero picture is Unsplash (royalty-free), the same one the ABH page wears. */

body.al-page {
  --dc-brand: #9A6A5F;
  --dc-brand-ink: #ffffff;
  --dc-brand-glow: #F2C9BC;
  --dc-hero-pic: url("https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?w=1200&q=80");
  --al-black: #1A1614;
  --al-cream: #F7F2EC;
  --al-nude: #C9B09D;
  --al-rose: #9A6A5F;
  --al-band: #ffffff;
  --al-band-2: #F7F2EC;
  --al-head: #1A1614;
  --al-text: #3d332d;
  --al-muted: #6f5d51;
  --al-line: #e3d6ca;
  --al-gold: #8a6a35;
  --al-card: #ffffff;
  --al-stage: #1A1614;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.al-page {
    --al-band: #0f0c0a;
    --al-band-2: #17120f;
    --al-head: #f7f2ec;
    --al-text: #d8cdc3;
    --al-muted: #a8988b;
    --al-line: #3a302a;
    --al-gold: #d4ad6f;
    --al-card: #1e1814;
    --al-stage: #090706;
  }
}

:root[data-theme="dark"] body.al-page {
  --al-band: #0f0c0a;
  --al-band-2: #17120f;
  --al-head: #f7f2ec;
  --al-text: #d8cdc3;
  --al-muted: #a8988b;
  --al-line: #3a302a;
  --al-gold: #d4ad6f;
  --al-card: #1e1814;
  --al-stage: #090706;
}

/* ── The bar under the top bar ────────────────────────────────────────────────────────── */

.al-bar { position: relative; }

/* ── The hero: the ABH picture under the navy, then the four ways as a picker ─────────── */

.al-hero .dc-h1 { font-family: "Cormorant Garamond", var(--dc-display); font-weight: 600; letter-spacing: -0.01em; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1; }

.al-picker {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  max-width: 1040px;
}

@media (min-width: 640px) {
  .al-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .al-picker { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.al-picker a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  height: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(242, 201, 188, 0.28);
  background: rgba(14, 21, 35, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--dc-navy-text);
  transition: transform 160ms var(--dc-ease), border-color 160ms var(--dc-ease);
}

.al-picker a:hover { transform: translateY(-2px); border-color: var(--dc-brand-glow); }

.al-picker b { color: var(--dc-navy-head); font-size: 1.02rem; line-height: 1.25; }

.al-picker small { grid-column: 2; font-size: 0.86rem; line-height: 1.35; color: var(--dc-navy-muted); }

.al-n {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 1.1rem/1 var(--dc-font);
  color: var(--al-black);
  background: linear-gradient(140deg, #F2C9BC 0%, #d9b38a 100%);
}

.al-runs { margin: 14px 0 0; font-size: 0.92rem; color: var(--dc-navy-muted); max-width: 44rem; }

/* ── A way: its words and doors beside its stage ──────────────────────────────────────── */

.al-way {
  padding: 88px 0;
  background: var(--al-band);
  color: var(--al-text);
  scroll-margin-top: 72px;
}

.al-way-tint { background: var(--al-band-2); }

.al-way-in {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: start;
}

.al-way-in > * { min-width: 0; }

@media (min-width: 1000px) {
  .al-way-in { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; }
  .al-try { position: sticky; top: 88px; }
}

.al-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font: 0.76rem var(--dc-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--al-gold);
}

.al-step span {
  font: 600 2.4rem/1 var(--dc-display);
  letter-spacing: 0;
  color: var(--al-rose);
}

.al-h2 {
  margin: 0 0 16px;
  font: 600 clamp(2.3rem, 5vw, 3.4rem)/1.02 "Cormorant Garamond", var(--dc-display);
  color: var(--al-head);
}

.al-lede { margin: 0 0 26px; max-width: 38rem; font-size: clamp(1.04rem, 1.6vw, 1.18rem); line-height: 1.65; }

.al-facts {
  margin: 0 0 28px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--al-line);
  max-width: 38rem;
}

.al-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--al-line);
}

.al-facts dt { font: 0.72rem var(--dc-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--al-muted); padding-top: 3px; }

.al-facts dd { margin: 0; color: var(--al-head); font-weight: 600; }

.al-door {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 32px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--al-line);
  background: var(--al-card);
  box-shadow: 0 18px 44px rgba(42, 36, 32, 0.08);
  max-width: 38rem;
}

.al-door-copy { flex: 1 1 240px; min-width: 0; }

.al-door-label { margin: 0 0 12px; font: 0.74rem var(--dc-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--al-gold); }

.al-door-sub { margin: 12px 0 0; font-size: 0.9rem; color: var(--al-muted); overflow-wrap: anywhere; }

.al-door-sub code,
.al-codes code {
  font-family: var(--dc-mono);
  padding: 1px 7px;
  border-radius: 6px;
  border: 1px solid var(--al-line);
  background: var(--al-band-2);
  color: var(--al-head);
}

.al-qr { flex: 0 0 auto; }

.al-qr svg { width: 148px; height: 148px; }

.al-codes { margin: 16px 0 0; font-size: 0.86rem; color: var(--al-muted); }

/* ── The stage: a poster until the visitor taps, then the live embed ──────────────────── */

.al-stage {
  position: relative;
  min-height: 720px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(154, 106, 95, 0.55) 0%, transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(184, 146, 90, 0.28) 0%, transparent 60%),
    var(--al-stage);
  box-shadow: 0 30px 80px rgba(26, 22, 20, 0.28);
}

.al-stage-phone { min-height: 780px; }

.al-stage-bot { min-height: 640px; padding: 0; }

.al-stage-bot[data-live-on] { background: #ffffff; }

.al-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 28px 20px;
}

.al-poster[hidden] { display: none; }

.al-live {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.al-live-bot { align-self: stretch; background: #ffffff; }

.al-frame-rcs,
.al-frame-rcs-web,
.al-frame-bot {
  display: block;
  border: 0;
  background: #ffffff;
  max-width: 100%;
}

.al-frame-rcs { width: 420px; height: 680px; border-radius: 22px; }

.al-frame-rcs-web { width: 420px; height: 680px; border-radius: 22px; }

.al-frame-bot { width: 100%; height: 640px; }

.al-stage-msg { margin: 18px; color: var(--dc-navy-text); font-size: 0.92rem; text-align: center; }

.al-live-bot .al-stage-msg { color: #3d332d; }

.al-stage-msg a { color: var(--dc-mint); }

.al-live-bot .al-stage-msg a { color: #167772; }

.al-stage-note { margin: 12px 4px 0; font-size: 0.86rem; color: var(--al-muted); }

/* ── The drawn previews on the posters (decorative - aria-hidden) ─────────────────────── */

.al-mock {
  position: relative;
  width: 270px;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #2A2420;
  font: 500 0.82rem/1.4 var(--dc-font);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.al-mock-phone {
  height: 470px;
  border-radius: 40px;
  border: 9px solid #0b0908;
}

.al-mock-browser {
  width: 330px;
  height: 430px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.al-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 26px 14px 10px;
  border-bottom: 1px solid #efe5da;
  background: #fbf8f4;
}

.al-mock-head i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(140deg, #9A6A5F, #d9b38a); }

.al-mock-head span { font-weight: 800; color: #1A1614; }

.al-mock-head em {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: 999px;
  background: #e7f6ee;
  color: #0e7a4a;
  font: 600 0.66rem var(--dc-font);
  font-style: normal;
}

.al-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #eef1f5;
  border-bottom: 1px solid #dde2ea;
}

.al-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }

.al-mock-bar i:nth-child(2) { background: #febc2e; }

.al-mock-bar i:nth-child(3) { background: #28c840; }

.al-mock-bar span {
  margin-left: 6px;
  flex: 1;
  min-width: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dde2ea;
  color: #5f6675;
  font: 0.68rem var(--dc-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.al-mock-thread { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; background: #F7F2EC; height: 100%; }

.al-bub {
  margin: 0;
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff;
  border: 1px solid #ebe0d5;
}

.al-bub-me {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: #1A1614;
  border-color: #1A1614;
  color: #f7f2ec;
}

.al-chips { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }

.al-chips span {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #9A6A5F;
  color: #7a4f45;
  background: #ffffff;
  font-weight: 700;
  font-size: 0.76rem;
}

.al-round .al-bub { border-radius: 22px; }

.al-round .al-chips span { border-radius: 999px; padding: 7px 13px; background: #f3e7e1; border-color: transparent; }

.al-mock-over .al-mock-thread { opacity: 0.55; }

.al-mock-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px;
  border-radius: 22px 22px 0 0;
  background: #ffffff;
  box-shadow: 0 -18px 40px rgba(26, 22, 20, 0.22);
}

.al-mock-sheet::before {
  content: "";
  align-self: center;
  width: 38px;
  height: 4px;
  border-radius: 4px;
  background: #d9cdc1;
}

.al-mock-sheet b { font: 600 1.18rem/1.2 "Cormorant Garamond", var(--dc-display); color: #1A1614; }

.al-options { margin: 0; display: grid; gap: 7px; }

.al-options span {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #e3d6ca;
  background: #fbf8f4;
  font-weight: 600;
}

.al-options span:first-child { border-color: #9A6A5F; background: #f3e7e1; }

.al-mock-ai { background: #fbf8f4; gap: 12px; }

/* ── Themes, the at-a-glance table, call-outs and the desktop doors (2026-10-30, "help LT people see all the options") ─ */

.al-themes { margin: 22px 0 0; max-width: 44rem; font-size: 0.98rem; line-height: 1.55; color: var(--dc-navy-text); }

.al-themes b { color: var(--dc-navy-head); }

.al-glance {
  padding: 72px 0;
  background: var(--al-band-2);
  color: var(--al-text);
  scroll-margin-top: 72px;
}

.al-glance-lede { margin: 0 0 26px; max-width: 46rem; font-size: 1.04rem; line-height: 1.6; }

.al-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--al-line); background: var(--al-card); }

.al-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }

.al-table th,
.al-table td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--al-line); }

.al-table tbody tr:last-child th,
.al-table tbody tr:last-child td { border-bottom: 0; }

.al-table thead th { font: 0.72rem var(--dc-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--al-muted); }

.al-table tbody th { color: var(--al-head); font-weight: 700; white-space: nowrap; }

.al-table a { color: var(--al-rose); font-weight: 700; }

.al-table code { font-family: var(--dc-mono); }

.al-n-sm { display: inline-grid; width: 28px; height: 28px; margin-right: 10px; font-size: 0.85rem; vertical-align: middle; }

@media (max-width: 760px) {
  .al-table thead { display: none; }
  .al-table tr { display: grid; padding: 12px 4px; border-bottom: 1px solid var(--al-line); }
  .al-table tbody tr:last-child { border-bottom: 0; }
  .al-table th,
  .al-table td { border: 0; padding: 6px 12px; }
  .al-table td::before { content: attr(data-label); display: block; font: 0.68rem var(--dc-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--al-muted); }
}

.al-tagline { margin: -6px 0 16px; font: 600 1.3rem/1.3 "Cormorant Garamond", var(--dc-display); font-style: italic; color: var(--al-rose); }

.al-callout {
  margin: 0 0 26px;
  max-width: 38rem;
  padding: 16px 18px;
  border-radius: 16px;
  border-left: 4px solid var(--al-rose);
  background: var(--al-card);
  box-shadow: 0 10px 30px rgba(42, 36, 32, 0.06);
  line-height: 1.6;
}

.al-callout b { color: var(--al-head); }

.al-callout p { margin: 0 0 10px; }

.al-callout p:last-child { margin: 0; }

.al-callout code { font-family: var(--dc-mono); font-size: 0.88em; overflow-wrap: anywhere; }

.al-callout-sms { display: grid; gap: 18px; grid-template-columns: 1fr; }

@media (min-width: 760px) {
  .al-callout-sms { grid-template-columns: minmax(0, 1fr) 220px; align-items: center; }
}

.al-sms { margin: 0; padding: 12px; border-radius: 18px; background: #f2f2f5; color: #1c1c1e; }

.al-sms-from { display: block; margin: 0 0 6px; font: 600 0.7rem var(--dc-font); color: #6e6e73; text-align: center; }

.al-sms-bub { margin: 0; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: #e5e5ea; font-size: 0.84rem; line-height: 1.4; overflow-wrap: anywhere; }

.al-sms figcaption { margin: 8px 0 0; font-size: 0.72rem; color: #6e6e73; text-align: center; }

.al-door-desk { margin-top: 16px; }

.al-btn-desk {
  border: 1px solid var(--al-rose);
  background: transparent;
  color: var(--al-rose);
}

.al-btn-desk:hover { background: var(--al-rose); color: #ffffff; }

/* ── On any website: the anchor, the launcher and a window of its own ─────────────────── */

.al-embed {
  padding: 88px 0;
  background: var(--al-band-2);
  color: var(--al-text);
  scroll-margin-top: 72px;
}

.al-embed-lede { margin: 0 0 18px; max-width: 38rem; font-size: 1.06rem; line-height: 1.65; }

.al-embed-lede code { font-family: var(--dc-mono); font-size: 0.9em; color: var(--al-head); }

.al-embed-ways { margin: 0 0 26px; padding-left: 20px; display: grid; gap: 8px; max-width: 38rem; }

.al-embed-ways b { color: var(--al-head); }

.al-site-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.al-code-label { margin: 0 0 10px; font: 0.74rem var(--dc-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--al-gold); }

.al-code {
  margin: 0;
  padding: 20px;
  border-radius: 20px;
  overflow-x: auto;
  background: #1A1614;
  color: #f2e6dc;
  font: 0.8rem/1.6 var(--dc-mono);
  box-shadow: 0 30px 80px rgba(26, 22, 20, 0.28);
}

.al-code code { font: inherit; white-space: pre; }

/* ── Texting a code for the first time ────────────────────────────────────────────────── */

.al-setup {
  margin: 0;
  padding: 24px 24px 24px 46px;
  display: grid;
  gap: 12px;
  border-radius: var(--dc-radius);
  border: 1px solid var(--dc-line);
  background: var(--dc-card);
}

.al-setup b { color: var(--dc-head); }

/* ── On a phone: the four ways stack and every stage fits the screen ──────────────────── */

@media (max-width: 640px) {
  .al-way { padding: 60px 0; }
  .al-facts div { grid-template-columns: 96px 1fr; }
  .al-door { padding: 18px; }
  .al-stage { padding: 10px; border-radius: 22px; }
  .al-stage-phone { min-height: 740px; }
  .al-stage-web { min-height: 700px; }
  .al-mock-phone { height: 430px; }
  .al-mock-browser { height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  .al-picker a { transition: none; }
  .al-picker a:hover { transform: none; }
}
