/* ========================================================================
   Guest Journey — product website
   Single-stylesheet, no framework. Designed against the same palette as
   the Next.js dashboard (deep blues, accent teal, plenty of whitespace).
   ====================================================================== */

:root {
  --ink:           #0d1220;
  --ink-2:         #1f2740;
  --muted:         #5a6379;
  --line:          #e6e9f1;
  --bg:            #ffffff;
  --bg-soft:       #f7f8fc;
  --bg-deep:       #0a0e1d;
  --primary:       #2754ff;
  --primary-2:     #1f3fe0;
  --accent:        #00b894;
  --accent-2:      #00a37f;
  --warn:          #f6a623;
  --staff:         #1c8a73;
  --guest:         #2754ff;
  --web:           #6047ec;
  --book:          #d9694f;
  --admin:         #b8478f;
  --android:       #3ddc84;
  /* Persona accents — used as --accent in chapter sections */
  --p-guest:       #2754ff;
  --p-staff:       #1c8a73;
  --p-owner:       #b8478f;
  --p-builder:     #f6a623;
  --serif:         'Fraunces', Georgia, ui-serif, serif;
  --shadow-sm:     0 1px 3px rgba(13,18,32,.06), 0 1px 2px rgba(13,18,32,.04);
  --shadow-md:     0 8px 24px rgba(13,18,32,.08), 0 2px 6px rgba(13,18,32,.04);
  --shadow-lg:     0 32px 80px rgba(13,18,32,.12), 0 8px 16px rgba(13,18,32,.06);
  --radius:        14px;
  --radius-lg:     22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-2); }
img { max-width: 100%; display: block; }
code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--bg-soft);
  border-radius: 6px;
  border: 1px solid var(--line);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ────────────────────────────────────────── */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn:hover { color: #fff; background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--ink); background: var(--bg-soft); }
.btn-lg, .btn-ghost.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}
.btn-link:hover { text-decoration: underline; }

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.84);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; gap: 32px;
  padding-top: 16px; padding-bottom: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--ink); font-size: 17px; letter-spacing: -0.02em;
}
.brand-mark {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(39,84,255,.25);
}
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }

/* ── Hero ────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary);
  background: rgba(39,84,255,.08);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 20px;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
}
h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin: 0 0 6px; font-weight: 700; }
.lede, .section-lede {
  font-size: 18px; color: var(--muted); max-width: 56ch; margin: 0 0 28px;
}
.section-lede { margin: 0 auto 36px; max-width: 64ch; }

.hero {
  padding: 56px 0 80px;
  background:
    radial-gradient(ellipse at top right, rgba(39,84,255,.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(0,184,148,.06), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.hero-stats span { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── Hero "device" mockups ──────────────────────────── */
.hero-art { position: relative; aspect-ratio: 1 / 0.95; }
.device {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.device-desktop { left: 0; top: 4%; width: 80%; aspect-ratio: 16 / 10; }
.device-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f0f1f6; border-bottom: 1px solid var(--line); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d8e1; display: block; }
.device-bar i:nth-child(1) { background: #ff5f57; }
.device-bar i:nth-child(2) { background: #ffbd2e; }
.device-bar i:nth-child(3) { background: #28c940; }
.device-desktop img { width: 100%; height: calc(100% - 36px); object-fit: cover; object-position: top left; }

.device-phone {
  width: 30%; aspect-ratio: 9 / 19;
  border-radius: 28px;
  border: 8px solid #1a1d2e;
  background: #1a1d2e;
}
.device-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 18px; }
.device-phone-1 { right: 18%; bottom: 6%; transform: rotate(-3deg); }
.device-phone-2 { right: 0; bottom: 0; transform: rotate(4deg); }

/* ── Trust strip ────────────────────────────────────── */
.trust { padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.trust-label { color: var(--muted); font-size: 14px; font-weight: 500; margin: 0; }
.trust-list {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  list-style: none; padding: 0; margin: 0;
}
.trust-list li { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.trust-list li:not(:last-child)::after {
  content: '·'; margin-left: 22px; color: var(--line);
}

/* ── Apps section ───────────────────────────────────── */
.apps { padding: 96px 0; }
.apps h2 { text-align: center; }
.apps .eyebrow { display: block; text-align: center; }
.app-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 8px 0 64px;
}
@media (max-width: 980px) { .app-cards { grid-template-columns: 1fr; } }

.app-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.app-card header h3 { margin-top: 12px; }
.app-card .muted { font-size: 14px; color: var(--muted); margin: 4px 0 18px; }
.app-card img {
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}
.app-card ul {
  margin: 0 0 8px; padding: 0; list-style: none;
  font-size: 14px; color: var(--ink-2);
}
.app-card li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.app-card li:first-child { border-top: 0; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-web    { background: rgba(96,71,236,.12);  color: var(--web); }
.badge-staff  { background: rgba(28,138,115,.12); color: var(--staff); }
.badge-guest  { background: rgba(39,84,255,.12);  color: var(--guest); }
.badge-book   { background: rgba(217,105,79,.12); color: var(--book); }
.badge-admin  { background: rgba(184,71,143,.12); color: var(--admin); }
.badge-android{ background: rgba(61,220,132,.16); color: #1ca25c; }

/* Gallery */
.gallery { margin-top: 40px; }
.gallery-title {
  text-align: center; font-size: 1.1rem; color: var(--muted);
  font-weight: 600; letter-spacing: -0.01em; margin-bottom: 22px;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery figure {
  margin: 0; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: var(--bg);
}
.gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}
.gallery figcaption {
  padding: 9px 12px; font-size: 12px; color: var(--muted);
}

/* ── Features ────────────────────────────────────────── */
.features { padding: 96px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features h2, .features .eyebrow { text-align: center; }
.features .eyebrow { display: block; }
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 40px;
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.feat h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feat p { margin: 0; font-size: 14px; color: var(--muted); }
.feat-ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feat-ic-1 { background: rgba(246,166,35,.14); }
.feat-ic-2 { background: rgba(39,84,255,.12); }
.feat-ic-3 { background: rgba(0,184,148,.14); }
.feat-ic-4 { background: rgba(28,138,115,.14); }
.feat-ic-5 { background: rgba(96,71,236,.14); }
.feat-ic-6 { background: rgba(255,89,89,.12); }
.feat-ic-7 { background: rgba(39,84,255,.12); }
.feat-ic-8 { background: rgba(246,166,35,.14); }

/* ── Architecture ────────────────────────────────────── */
.arch { padding: 96px 0; }
.arch h2, .arch .eyebrow { text-align: center; }
.arch .eyebrow { display: block; }

.arch-diagram {
  background: var(--bg-deep);
  color: #d8def0;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 36px 0 56px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
}
.arch-row { display: grid; gap: 12px; }
.arch-clients  { grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; }
.arch-services { grid-template-columns: repeat(4, 1fr); margin: 14px 0; }
.arch-data     { grid-template-columns: repeat(3, 1fr); }
.arch-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 14px 16px;
  display: flex; flex-direction: column;
  font-weight: 600;
}
.arch-box span { font-weight: 400; opacity: .65; font-size: 11px; margin-top: 4px; }
.arch-c1 { border-left: 3px solid var(--web); }
.arch-c2 { border-left: 3px solid var(--staff); }
.arch-c3 { border-left: 3px solid var(--guest); }
.arch-bff {
  text-align: center; padding: 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(39,84,255,.18), rgba(0,184,148,.18));
  border: 1px solid rgba(255,255,255,.14);
  display: flex; flex-direction: column; gap: 4px;
}
.arch-bff strong { font-weight: 700; }
.arch-bff span { opacity: .75; font-size: 12px; }
.arch-arrow {
  text-align: center; opacity: .5; font-size: 14px; padding: 8px 0;
}
.arch-svc {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; flex-direction: column;
  font-weight: 600;
}
.arch-svc span { opacity: .55; font-size: 11px; font-weight: 400; margin-top: 2px; }
.arch-data-box {
  background: rgba(0,184,148,.08);
  border: 1px solid rgba(0,184,148,.22);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; flex-direction: column;
  font-weight: 600;
}
.arch-data-box span { opacity: .7; font-size: 11px; font-weight: 400; margin-top: 4px; }

@media (max-width: 760px) {
  .arch-clients, .arch-services, .arch-data { grid-template-columns: 1fr; }
  .arch-diagram { font-size: 12px; padding: 22px; }
}

.stack-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 980px) { .stack-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stack-row { grid-template-columns: 1fr; } }
.stack-col h4 {
  margin: 0 0 12px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.stack-list { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-2); }
.stack-list li { padding: 7px 0; border-top: 1px solid var(--line); }
.stack-list li:first-child { border-top: 0; }

/* ── Modules grid ────────────────────────────────────── */
.modules { padding: 96px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modules h2, .modules .eyebrow { text-align: center; }
.modules .eyebrow { display: block; }
.mod-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  margin-top: 36px;
}
@media (max-width: 900px) { .mod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
.mod {
  background: var(--bg); border: 1px solid var(--line);
  padding: 18px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  font-size: 22px; transition: border-color .15s;
}
.mod:hover { border-color: var(--primary); }
.mod span { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ── Pricing ────────────────────────────────────────── */
.pricing { padding: 96px 0; }
.pricing h2, .pricing .eyebrow { text-align: center; }
.pricing .eyebrow { display: block; }
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 36px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.price-card-featured {
  border-color: var(--primary);
  box-shadow: 0 24px 48px rgba(39,84,255,.16);
}
.featured-tag {
  position: absolute; top: -11px; left: 28px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.price {
  font-size: 36px; font-weight: 800; letter-spacing: -0.03em;
  margin: 18px 0 8px;
}
.price span { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price-card ul { list-style: none; padding: 0; margin: 12px 0 24px; }
.price-card li {
  padding: 8px 0; font-size: 14px;
  border-top: 1px solid var(--line); color: var(--ink-2);
}
.price-card li:first-child { border-top: 0; }
.price-card a { margin-top: auto; }

/* ── Contact ────────────────────────────────────────── */
.contact {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg-deep), #0d1428);
  color: #fff;
  text-align: center;
}
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.78); max-width: 56ch; margin: 0 auto 28px; }
.contact .btn { background: #fff; color: var(--ink); }
.contact .btn:hover { background: rgba(255,255,255,.92); color: var(--ink); }
.contact .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.contact .btn-ghost:hover { background: rgba(255,255,255,.06); color: #fff; }
.contact-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-note { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); }
.contact-note code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.92); }

/* ── Footer ─────────────────────────────────────────── */
.footer {
  padding: 56px 0 32px;
  background: var(--ink);
  color: rgba(255,255,255,.7);
}
.foot-grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 700px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
.footer .brand { color: #fff; }
.footer .muted { font-size: 14px; margin-top: 8px; opacity: .6; }
.footer h5 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin: 0 0 12px;
}
.footer a { display: block; padding: 4px 0; color: rgba(255,255,255,.78); font-size: 14px; }
.footer a:hover { color: #fff; }
.copy { margin-top: 24px; font-size: 13px; opacity: .55; text-align: center; }

/* ── Hero gradient headline ─────────────────────────── */
.hero-gradient {
  background: linear-gradient(95deg, var(--primary) 0%, var(--accent) 60%, var(--book) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-creds {
  font-size: 12px;
  color: var(--muted);
  margin: -18px 0 28px;
}
.hero-creds code { font-size: 11px; padding: 2px 6px; }

/* ── Live-demos strip ───────────────────────────────── */
.try { padding: 80px 0 96px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.try h2, .try .eyebrow { text-align: center; }
.try .eyebrow { display: block; }
.try-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 36px;
}
@media (max-width: 1100px) { .try-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .try-grid { grid-template-columns: 1fr; } }
.try-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: var(--shadow-sm);
}
.try-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  color: var(--ink);
}
.try-shot {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.try-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.try-shot-dark {
  background: linear-gradient(135deg, #0b0f1c 0%, #1a2342 100%);
  display: flex; align-items: center; justify-content: center;
}
.apk-stack { display: flex; flex-direction: column; gap: 8px; }
.apk-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.95);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: -0.01em;
}
.try-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.try-body h3 { margin: 10px 0 6px; font-size: 1rem; }
.try-body p { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.try-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 600;
  color: var(--primary);
}

/* ── Per-property booking site ──────────────────────── */
.booking-site { padding: 96px 0; }
.bs-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) { .bs-grid { grid-template-columns: 1fr; gap: 36px; } }
.bs-copy p { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.bs-list { list-style: none; padding: 0; margin: 0 0 26px; }
.bs-list li {
  padding: 10px 0; font-size: 14px; color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.bs-list li:first-child { border-top: 0; }
.bs-list strong { color: var(--ink); font-weight: 700; }
.bs-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.bs-note { margin-top: 16px; font-size: 12px; color: var(--muted); }
.bs-art {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.bs-art figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-md);
}
.bs-art figure:nth-child(2) {
  transform: translateX(-20px);
}
@media (max-width: 980px) { .bs-art figure:nth-child(2) { transform: none; } }
.bs-art img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.bs-art figcaption { padding: 9px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }

/* ── Downloads section ──────────────────────────────── */
.downloads { padding: 96px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.downloads h2, .downloads .eyebrow { text-align: center; }
.downloads .eyebrow { display: block; }
.downloads .section-lede { text-align: center; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.dl-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .dl-grid, .dl-grid-2 { grid-template-columns: 1fr; } }
.dl-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  color: var(--ink);
}
.dl-icon { font-size: 32px; margin-bottom: 10px; }
.dl-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.dl-card .muted { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.dl-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; color: var(--muted);
  padding: 6px 10px;
  background: var(--bg-soft);
  border-radius: 6px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.dl-btn { margin-top: auto; }
.dl-note {
  text-align: center; margin-top: 28px;
  font-size: 13px; color: var(--muted);
}

/* ── Contact creds grid ─────────────────────────────── */
.contact-creds {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 14px 28px;
  justify-content: center;
  margin-top: 32px;
}
@media (max-width: 720px) { .contact-creds { grid-template-columns: 1fr; } }
.contact-creds > div {
  display: flex; flex-direction: column; gap: 4px;
  text-align: left;
  font-size: 13px; color: rgba(255,255,255,.6);
}
.contact-creds strong {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.contact-creds code {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-size: 12px;
}

/* ====================================================== */
/*  JOURNEY MODE — persona chapters, rail, convergence    */
/* ====================================================== */

.serif { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; }
.muted-h {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
  font-size: 0.62em;        /* sub-heading: ~62% of the parent h1/h2 */
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-top: 6px;
}

/* ── Journey hero override ─────────────────────────── */
.hero-journey {
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse at top right, rgba(39,84,255,.10), transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(184,71,143,.07), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(246,166,35,.08), transparent 50%),
    var(--bg);
  text-align: left;
  overflow: hidden;
}
.hero-grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 1000px) { .hero-grid-2 { grid-template-columns: 1fr; gap: 56px; } }
.hero-journey h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.hero-fade {
  background: linear-gradient(95deg, var(--p-guest) 0%, var(--p-staff) 35%, var(--p-owner) 70%, var(--p-builder) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-journey .lede { max-width: 52ch; font-size: 17px; }
.hero-journey .hero-ctas { margin-bottom: 18px; }
.hero-hint {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 0 0;
}

/* ── Hub-and-spokes diagram (v2 — photo personas + rich platform card) ─ */
.hub {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1.05 / 1;
  margin: 0 auto;
}
.hub-arrows {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Persona cards ─────────────────────────────────── */
.hub-persona {
  position: absolute;
  z-index: 2;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(13,18,32,.08), 0 2px 6px rgba(13,18,32,.04);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  width: 34%;
  min-width: 168px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hub-persona:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 24px 48px rgba(13,18,32,.14), 0 4px 10px rgba(13,18,32,.06);
  color: var(--ink);
  z-index: 5;
}
.hub-photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(13,18,32,.12);
}
.hub-photo-pair {
  position: relative;
  width: 56px; height: 44px;
  display: inline-block;
  flex-shrink: 0;
}
.hub-photo-pair img {
  position: absolute;
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(13,18,32,.12);
  top: 6px;
}
.hub-photo-pair img:nth-child(1) { left: 0; z-index: 2; }
.hub-photo-pair img:nth-child(2) { left: 22px; z-index: 1; }

.hub-persona-text { min-width: 0; }
.hub-persona strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
}
.hub-persona span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.hub-persona em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 5px;
  line-height: 1.3;
}

/* Persona positions */
.hub-persona-top    { top: 0;       left: 50%;  transform: translateX(-50%); }
.hub-persona-right  { top: 50%;     right: 0;   transform: translateY(-50%); }
.hub-persona-bottom { bottom: 0;    left: 50%;  transform: translateX(-50%); }
.hub-persona-left   { top: 50%;     left: 0;    transform: translateY(-50%); }
.hub-persona-top:hover    { transform: translateX(-50%) translateY(-2px) scale(1.02); }
.hub-persona-bottom:hover { transform: translateX(-50%) translateY(-2px) scale(1.02); }
.hub-persona-right:hover  { transform: translateY(-50%) translateY(-2px) scale(1.02); }
.hub-persona-left:hover   { transform: translateY(-50%) translateY(-2px) scale(1.02); }

/* ── Central platform card ─────────────────────────── */
.hub-platform {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 46%;
  min-width: 260px;
  padding: 20px 22px 18px;
  background: linear-gradient(160deg, #0e1530 0%, #182051 55%, #1b2659 100%);
  color: #fff;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 32px 70px rgba(13,18,32,.30),
    0 8px 18px rgba(13,18,32,.16),
    0 0 0 6px rgba(255,255,255,.85);
}
.hub-platform-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.hub-brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, #2754ff 0%, #00b894 100%);
  box-shadow: 0 4px 12px rgba(39,84,255,.4);
}
.hub-platform-head strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
}
.hub-platform-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.55);
  padding: 8px 0 12px;
  margin-bottom: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.hub-platform-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.hub-tile {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 6px;
  padding: 4px 2px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.hub-tile:last-child { border-right: none; }
.hub-tile svg {
  width: 22px; height: 22px;
  color: #8ea4ff;
  opacity: .9;
}
.hub-tile span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.hub-platform-sync {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  margin: 0 auto;
  display: flex;
  width: fit-content;
}
.sync-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 8px rgba(61,220,132,.7), 0 0 0 3px rgba(61,220,132,.18);
  animation: sync-pulse 2.2s ease-in-out infinite;
}
@keyframes sync-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(61,220,132,.7), 0 0 0 3px rgba(61,220,132,.18); }
  50%      { box-shadow: 0 0 14px rgba(61,220,132,.9), 0 0 0 6px rgba(61,220,132,.08); }
}

/* Mobile: stack vertically — platform on top, personas below */
@media (max-width: 720px) {
  .hub { aspect-ratio: auto; max-width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
  .hub-arrows { display: none; }
  .hub-persona, .hub-platform {
    position: static;
    width: 100%;
    min-width: 0;
    transform: none !important;
  }
  .hub-platform { order: -1; }
  .hub-platform-tiles { gap: 4px; }
  .hub-tile span { font-size: 9.5px; }
}

/* ── Persona row in hero ───────────────────────────── */
.persona-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 8px;
}
@media (max-width: 900px) { .persona-row { grid-template-columns: repeat(2, 1fr); } }
.persona-card {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.persona-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.persona-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 8px;
}
.persona-avatar::before { content: attr(data-emoji); }
.persona-card strong { font-size: 15px; color: var(--ink); }
.persona-card span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* ── Sticky persona rail ───────────────────────────── */
.rail {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  z-index: 30;
}
@media (max-width: 1100px) { .rail { display: none; } }
.rail-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(13,18,32,.18);
  position: relative;
  transition: background .2s ease, transform .2s ease;
}
.rail-dot:hover, .rail-dot.is-active { background: var(--accent); transform: scale(1.4); }
.rail-dot::after {
  content: attr(data-label);
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity .15s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.rail-dot:hover::after, .rail-dot.is-active::after { opacity: 1; }

/* ── Chapter container ─────────────────────────────── */
.chapter {
  padding: 110px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.chapter-guest   { background: linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%); }
.chapter-staff   { background: linear-gradient(180deg, #f5fbf8 0%, var(--bg) 100%); }
.chapter-owner   { background: linear-gradient(180deg, #fdf6fa 0%, var(--bg) 100%); }
.chapter-builder { background: linear-gradient(180deg, #fffaf0 0%, var(--bg) 100%); }

.chapter::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
}

.chapter-head { margin-bottom: 56px; max-width: 64ch; }
.chapter-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 16px 0 18px;
}
.chapter-lede {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 60ch;
}
/* Editorial numbered benefits — replaces .benefit-pills */
.benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: benefit;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 0;
}
@media (max-width: 720px) { .benefits { grid-template-columns: 1fr; column-gap: 0; } }

.benefits li {
  counter-increment: benefit;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "num  title"
    "desc desc";
  column-gap: 18px;
  row-gap: 8px;
  padding: 18px 0;
  align-items: center;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
}
/* Strip the bottom rule from the bottom row in 2-col layout */
.benefits li:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 720px) {
  .benefits li:nth-last-child(-n+2) { border-bottom: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line)); }
  .benefits li:last-child { border-bottom: 0; }
}

/* Big italic serif numeral — only row 1 */
.benefits li::before {
  grid-area: num;
  content: counter(benefit, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  line-height: 0.85;
  letter-spacing: -0.04em;
  padding-right: 18px;
  border-right: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
}

.benefits strong {
  grid-area: title;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.benefits span {
  grid-area: desc;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  font-weight: 400;
}

/* Tiny hover lift on the numeral */
.benefits li:hover::before {
  transform: translateX(-2px);
  transition: transform .2s ease;
}
.story-intro {
  margin: 0 0 48px;
  padding-top: 24px;
  border-top: 1px dashed color-mix(in srgb, var(--accent) 30%, var(--line));
}
.story-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-label strong {
  color: var(--accent);
  font-weight: 700;
}
.persona-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: -0.005em;
}
.persona-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.persona-chip strong { font-weight: 800; }

/* ── Beats (chapter scenes) ────────────────────────── */
.beats { display: flex; flex-direction: column; gap: 96px; }
.beat {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: 56px; align-items: center;
}
.beat-reverse { grid-template-columns: 1.05fr 0.95fr; }
.beat-reverse .beat-copy { order: 2; }
.beat-reverse .beat-scene { order: 1; }
@media (max-width: 900px) {
  .beat, .beat-reverse { grid-template-columns: 1fr; gap: 32px; }
  .beat-reverse .beat-copy, .beat-reverse .beat-scene { order: initial; }
}

.beat-copy .time {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 5px 11px; border-radius: 999px;
  margin-bottom: 14px;
}
.beat-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.beat-copy p {
  font-size: 16px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.65;
}
.beat-copy p em { font-style: italic; color: var(--ink); font-weight: 500; }
.beat-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 600; color: var(--accent);
}
.beat-link:hover { text-decoration: underline; color: var(--accent); }

/* Beat scenes */
.beat-scene { display: flex; align-items: center; justify-content: center; }
.beat-scene .device { box-shadow: var(--shadow-lg); }
.scene-desktop .device-desktop {
  position: relative; width: 100%; max-width: 580px;
  aspect-ratio: 16 / 10;
}
.scene-desktop .device-desktop img {
  width: 100%; height: calc(100% - 36px);
  object-fit: cover; object-position: top left;
}
.scene-phone-pair {
  display: flex; gap: 18px; justify-content: center;
  perspective: 1200px;
}
.scene-phone-pair .device-phone {
  position: relative; width: 200px;
  border-radius: 28px;
  border: 8px solid #1a1d2e;
  background: #1a1d2e;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.scene-phone-pair .device-phone img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 18px;
}
.scene-phone-pair .device-phone-tilt { transform: rotate(4deg) translateY(12px); }

.scene-code {
  background: #0a0e1d;
  color: #d8def0;
  border-radius: var(--radius);
  padding: 22px 24px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.06);
}
.scene-code pre { margin: 0; white-space: pre-wrap; }
.scene-code code { background: transparent; border: 0; padding: 0; color: inherit; font-size: 13px; }

/* Plain-English health-status card (replaces terminal scene in Builder ch.) */
.health-card {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px 18px;
  position: relative;
}
.health-card-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.health-card-head strong {
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.health-now {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1ca25c;
}
.health-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61,220,132,.18);
  animation: sync-pulse 2.2s ease-in-out infinite;
}
.health-card-rows { display: flex; flex-direction: column; }
.health-row {
  display: flex; align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.health-row:last-child { border-bottom: 0; }
.health-name { color: var(--ink-2); }
.health-state { font-weight: 600; color: var(--ink); text-align: right; }
.health-state.ok    { color: #1ca25c; }
.health-state.count { color: var(--ink); }

.scene-stack { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; max-width: 520px; }
.stack-chip {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

/* Mini-architecture diagram (Builder chapter) */
.beat-arch { align-items: stretch; }
.arch-mini {
  background: #0a0e1d; color: #d8def0;
  border-radius: var(--radius-lg);
  padding: 22px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.arch-mini-row { display: grid; gap: 8px; }
.arch-mini-clients { grid-template-columns: repeat(3, 1fr); }
.arch-mini-svcs    { grid-template-columns: repeat(3, 1fr); }
.arch-mini-data    { grid-template-columns: repeat(3, 1fr); }
.arch-mini-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 12px 14px;
  border-radius: 10px;
  display: flex; flex-direction: column;
  font-weight: 600;
}
.arch-mini-box span { font-weight: 400; opacity: .6; font-size: 10px; margin-top: 4px; }
.arch-mini-c1 { border-left: 3px solid var(--p-guest); }
.arch-mini-c2 { border-left: 3px solid var(--p-staff); }
.arch-mini-c3 { border-left: 3px solid var(--web); }
.arch-mini-svc {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11px; font-weight: 600;
  text-align: center;
}
.arch-mini-data-box {
  background: rgba(0,184,148,.08);
  border: 1px solid rgba(0,184,148,.22);
  padding: 12px 14px;
  border-radius: 10px;
  display: flex; flex-direction: column;
  font-weight: 600;
}
.arch-mini-data-box span { font-weight: 400; opacity: .7; font-size: 10px; margin-top: 4px; }
.arch-mini-arrow { text-align: center; opacity: .5; padding: 10px 0; font-size: 11px; }
@media (max-width: 600px) {
  .arch-mini-clients, .arch-mini-svcs, .arch-mini-data { grid-template-columns: 1fr; }
}

/* ── Pull quote ────────────────────────────────────── */
.pull-quote {
  margin: 80px auto 0;
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  color: var(--ink);
  padding: 38px 28px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  position: relative;
}
.pull-quote::before {
  content: '"';
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--bg);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-style: normal;
}
.pull-quote footer {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-style: normal;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.005em;
}

/* ── Handoff line ─────────────────────────────────── */
.chapter-handoff {
  text-align: center;
  margin: 56px auto 0;
  max-width: 56ch;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  letter-spacing: -0.005em;
}

/* ── Convergence ──────────────────────────────────── */
.convergence {
  padding: 110px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.convergence h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.convergence .eyebrow { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }
.conv-lede {
  max-width: 68ch; margin: 0 auto 48px;
  font-size: 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
}
/* Convergence — event-ledger style (replaces .conv-strip) */
.cascade {
  position: relative;
  max-width: 760px;
  margin: 40px auto 0;
  padding: 8px 0 0 0;
  text-align: left;
}
/* The vertical timeline rail behind every step */
.cascade-rail {
  position: absolute;
  left: 11px;
  top: 18px;
  bottom: 90px;
  width: 2px;
  background:
    linear-gradient(180deg,
      var(--p-guest) 0%, var(--p-guest) 20%,
      var(--p-staff) 22%, var(--p-staff) 60%,
      var(--p-owner) 62%, var(--p-owner) 100%);
  opacity: .55;
  border-radius: 999px;
}
.cascade-step {
  position: relative;
  display: grid;
  grid-template-columns: 24px 110px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,.07);
}
.cascade-step:last-of-type { border-bottom: 0; }
.cascade-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent),
    0 0 16px color-mix(in srgb, var(--accent) 70%, transparent);
  margin-left: 5px;
  animation: cascade-pulse 2.2s ease-in-out infinite;
}
@keyframes cascade-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent),
      0 0 14px color-mix(in srgb, var(--accent) 60%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 7px color-mix(in srgb, var(--accent) 10%, transparent),
      0 0 22px color-mix(in srgb, var(--accent) 95%, transparent);
  }
}
/* Stagger dot pulses so it reads as a wave */
.cascade-step:nth-of-type(1) .cascade-dot { animation-delay: 0s; }
.cascade-step:nth-of-type(2) .cascade-dot { animation-delay: .15s; }
.cascade-step:nth-of-type(3) .cascade-dot { animation-delay: .3s; }
.cascade-step:nth-of-type(4) .cascade-dot { animation-delay: .45s; }

.cascade-time {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: -0.01em;
  font-weight: 500;
}
.cascade-body { min-width: 0; }
.cascade-body strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
  line-height: 1.3;
}
.cascade-body span {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: -0.005em;
}
.cascade-delta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Total summary row */
.cascade-totals {
  display: grid;
  grid-template-columns: 24px 110px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 18px 0 0;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cascade-totals::before {
  content: '';
  width: 12px; height: 12px;
  margin-left: 5px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--p-guest), var(--p-owner));
}
.cascade-totals-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.cascade-totals strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.cascade-totals-foot {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-style: italic;
  line-height: 1.4;
}

/* Mobile — keep the same layout, just tighter */
@media (max-width: 720px) {
  .cascade-step,
  .cascade-totals {
    grid-template-columns: 24px 1fr;
    grid-template-areas:
      "dot time"
      "dot body"
      ".   delta";
    row-gap: 4px;
    column-gap: 12px;
  }
  .cascade-dot { grid-area: dot; align-self: start; margin-top: 6px; }
  .cascade-time { grid-area: time; }
  .cascade-body { grid-area: body; }
  .cascade-delta { grid-area: delta; justify-self: start; margin-top: 4px; }
  .cascade-totals::before { grid-area: dot; }
  .cascade-totals-label { grid-area: time; }
  .cascade-totals strong { grid-area: body; }
  .cascade-totals-foot { grid-area: delta; justify-self: start; }
  .cascade-rail { left: 10px; }
}

/* ── Try-it credentials line ──────────────────────── */
.try-creds {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.try-creds code { font-size: 11px; }
.try-creds strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 6px;
}

/* ── Responsive niceties ────────────────────────────── */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero-journey { padding: 64px 0 56px; }
  .chapter { padding: 72px 0; }
  .beats { gap: 64px; }
  .chapter-head { margin-bottom: 40px; }
}
