/* muezzin.org — one stylesheet, no external requests. Values from web/src/styles/tokens.css. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Readex Pro";
  src: url("/fonts/ReadexPro-Variable.woff2") format("woff2");
  font-weight: 160 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+02BB-02BF;
}

:root {
  color-scheme: light;
  --night: #13202C;
  --linen: #FBF7F1;
  --brass: #B8893E;
  --brass-light: #C9A45C;
  --parchment: #EFE7D6;
  --sand: #F1E9DC;
  --surface: #FFFFFF;
  --text: #13202C;
  --text-2: #2B3540;
  --muted: #5B6470;
  --inverse-muted: #C9CFD6;
  --inverse-faint: #8A96A3;
  --inverse-line: #2A3946;
  --border: #E8DFD1;
  --border-input: #D9CDBB;
  --divider: #F1EAE0;
  --accent: #856022;
  --accent-hover: #6E4E1A;
  --success: #1F6B45;
  --success-bg: #E3F0E8;
  --danger: #A3361F;
  --danger-bg: #FBE7E2;
  --focus: 0 0 0 3px var(--linen), 0 0 0 5px var(--accent);
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--linen);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
[id] { scroll-margin-top: 16px; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--night); color: var(--linen); padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--linen); }

.inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .inner { padding: 0 16px; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-weight: 600; }
p { margin: 0; }
.lede { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.section { padding: 72px 0; }
@media (max-width: 600px) { .section { padding: 56px 0; } }
.stack { display: flex; flex-direction: column; }
.head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin-bottom: 32px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  border: 0; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--night); color: var(--linen); }
.btn-primary:hover { background: #22323F; color: var(--linen); }
.btn-brass { background: var(--brass-light); color: var(--night); }
.btn-brass:hover { background: #D4B272; color: var(--night); }
.btn-outline { border: 1px solid var(--border-input); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--text); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ── Wordmark ── */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.wm { font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.wm-i { position: relative; display: inline-block; line-height: 1; }
.wm-nuqta { position: absolute; left: 50%; top: 0.083em; width: 0.128em; height: 0.128em; transform: translateX(-50%) rotate(45deg); background: var(--brass); }

/* ── Header ── */
.site-header { border-bottom: 1px solid var(--border); background: var(--linen); }
.site-header .inner { display: flex; align-items: center; gap: 10px 26px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.site-header .wm { font-size: 23px; }
.nav { display: flex; gap: 0 22px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.nav a:hover { color: var(--accent); }
.menu-btn { display: none; }
.header-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }

@media (max-width: 767px) {
  .site-header .inner { gap: 10px; }
  .js .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; order: 3;
    width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--border-input);
    background: transparent; color: var(--text); cursor: pointer; padding: 0;
  }
  .header-cta { margin-left: auto; order: 2; }
  .nav { order: 4; flex-basis: 100%; flex-direction: column; margin: 0; }
  .nav a { border-top: 1px solid var(--divider); font-size: 17px; min-height: 52px; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
}
@media (max-width: 359px) { .header-cta { padding: 0 14px; font-size: 14px; } }

/* ── Hero ── */
.hero .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
.hero-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 62px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
.hero .intro { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 560px; }
.hero-alt { font-size: 15px; color: var(--text-2); }
.hero-alt a { font-weight: 600; }
@media (max-width: 600px) {
  .hero .inner { padding-top: 36px; padding-bottom: 48px; gap: 40px; }
  .hero .intro { font-size: 17px; }
}

.phone-wrap { flex: 1 1 340px; display: flex; justify-content: center; }
.phone { flex: none; background: var(--night); border-radius: 48px; padding: 10px; box-shadow: 0 24px 60px rgba(19, 32, 44, 0.18); }
.phone-screen { width: 293px; border-radius: 38px; overflow: hidden; background: var(--linen); }
.phone-screen img { width: 293px; height: auto; }
.phone-dark { background: #2A3946; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
@media (max-width: 340px) { .phone-screen, .phone-screen img { width: 260px; } }

/* ── Waitlist form ── */
.join { padding: 20px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.join-title { font-size: 15px; font-weight: 600; }
.join-row { display: flex; flex-wrap: wrap; gap: 10px; }
.join-field { flex: 1 1 220px; min-width: 0; }
.join input[type="email"] {
  width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--border-input);
  background: var(--linen); padding: 0 16px; font: inherit; font-size: 16px; color: var(--text);
}
.join input[type="email"]::placeholder { color: #8A8F96; }
.join input[type="email"]:focus-visible { border-color: var(--accent); border-radius: 14px; }
.join input[aria-invalid="true"] { border-color: var(--danger); }
.join .btn { flex: none; height: 52px; }
@media (max-width: 420px) { .join .btn { flex: 1 1 100%; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--night); cursor: pointer; }
.consent-wrap { display: flex; align-items: flex-start; min-height: 24px; }
.join-note { font-size: 13px; color: var(--muted); }
.join-msg { font-size: 14px; line-height: 1.45; border-radius: 12px; }
.join-msg:empty { display: none; }
.join-msg.error { color: var(--danger); background: var(--danger-bg); padding: 10px 12px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.join-done { display: flex; gap: 12px; align-items: flex-start; padding: 4px 2px; }
.join-done svg { flex: none; margin-top: 1px; }
.join-done strong { display: block; font-size: 17px; font-weight: 600; }
.join-done span { font-size: 14px; color: var(--muted); }
.join.is-done .join-form-body { display: none; }
.join:not(.is-done) .join-done { display: none; }

/* ── Works with ── */
.works { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.works ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 36px; padding-top: 22px; padding-bottom: 22px; }
.works li { font-size: 17px; font-weight: 600; }
.works li.label { font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
@media (max-width: 600px) { .works ul { gap: 8px 22px; } .works li { font-size: 16px; } .works li.label { flex-basis: 100%; } }

/* ── Steps ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-n { width: 36px; height: 36px; border-radius: 18px; background: var(--night); color: var(--parchment); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; }
.step h3 { font-size: 20px; }
.step p, .feature p { font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* ── Night band ── */
.night { background: var(--night); color: var(--parchment); }
.night .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.night-copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.night ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.night li { display: flex; gap: 14px; font-size: 16px; line-height: 1.55; color: var(--inverse-muted); }
.night li svg { flex: none; margin-top: 2px; }
.night li strong { color: var(--parchment); font-weight: 600; }

/* ── Ask ── */
.ask { background: var(--sand); }
.ask .inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.ask h2 { font-size: clamp(26px, 2.6vw, 34px); }
.room { display: flex; flex-direction: column; gap: 10px; }
.room-name { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.bubble { padding: 12px 16px; font-size: 15px; line-height: 1.5; margin: 0; max-width: 92%; }
.bubble-q { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 18px 18px 18px 4px; color: var(--text-2); }
.bubble-a { align-self: flex-end; background: var(--night); color: var(--parchment); border-radius: 18px 18px 4px 18px; }
.ask-note { font-size: 14px; color: var(--muted); }

/* ── Features ── */
.grid-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .grid-features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid-features { grid-template-columns: 1fr; gap: 14px; } }
.feature { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 17px; }
.feature p { font-size: 14px; }

/* ── Offers ── */
.offers { background: var(--surface); border-top: 1px solid var(--border); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
@media (max-width: 360px) { .grid-2 { grid-template-columns: 1fr; } }
.offer { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.offer h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.offer p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.offer .btn { margin-top: auto; }
.offer-dark { background: var(--night); color: var(--parchment); }
.offer-dark p { color: var(--inverse-muted); }
.offer.card { border-radius: 24px; }
.pill { padding: 5px 12px; border-radius: 13px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.pill-brass { background: var(--brass-light); color: var(--night); }
.pill-sand { background: var(--sand); color: var(--accent); }
.offer-url { font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .offer { padding: 22px; } .offer h3 { font-size: 23px; } }

/* ── FAQ ── */
.faq .inner { max-width: 808px; }
.faq-list { overflow: hidden; border-radius: 18px; }
.faq details { border-bottom: 1px solid var(--divider); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 20px;
  font-size: 17px; font-weight: 600; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq summary svg { flex: none; transition: transform 0.15s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq summary:focus-visible { border-radius: 0; box-shadow: inset 0 0 0 2px var(--accent); }
.faq details p { padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 640px; }

/* ── Footer ── */
.site-footer { background: var(--night); color: var(--parchment); }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 36px 64px; padding-top: 56px; padding-bottom: 28px; }
.foot-brand { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-brand .row { display: flex; align-items: center; gap: 12px; }
.foot-brand .wm { font-size: 26px; }
.foot-brand .wm-nuqta { background: var(--brass-light); }
.foot-brand .ar { font-family: "Readex Pro", var(--font); font-size: 22px; font-weight: 600; color: var(--brass-light); margin-left: 4px; }
.foot-brand p { font-size: 15px; color: var(--inverse-muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 36px; align-content: flex-start; }
.foot-nav a { color: var(--parchment); text-decoration: none; font-size: 15px; min-height: 40px; display: flex; align-items: center; }
.foot-nav a:hover { color: var(--brass-light); }
.site-footer .bottom { border-top: 1px solid var(--inverse-line); padding-top: 18px; padding-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--inverse-faint); }
.site-footer .bottom a { color: var(--inverse-muted); }
.site-footer :focus-visible { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--brass-light); }

/* ── Simple pages (privacy, confirmed, 404) ── */
.page { padding: 56px 0 80px; }
.page .inner { max-width: 760px; }
.page h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 12px; }
.page .updated { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.prose h2 { font-size: 22px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); color: var(--text-2); line-height: 1.5; }
.prose th { color: var(--text); font-weight: 600; }
@media (max-width: 560px) {
  .prose table, .prose tbody, .prose tr, .prose td, .prose th { display: block; }
  .prose thead { display: none; }
  .prose tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
  .prose td { border: 0; padding: 2px 0; }
  .prose td:first-child { font-weight: 600; color: var(--text); }
}
.notice { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.notice .icon { width: 56px; height: 56px; border-radius: 28px; background: var(--success-bg); display: flex; align-items: center; justify-content: center; }
.notice p { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 560px; }

/* small structural bits */
.join form > .stack { gap: 12px; }
ol.grid-3 { list-style: none; margin: 0; padding: 0; }
@media (max-width: 600px) { .br-wide { display: none; } }
@media (max-width: 560px) { .prose td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--text); } }

/* ── No speakers? Still Muezzin. ── */
.alone .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.alone-copy { flex: 999 1 420px; min-width: 0; }
.alone-copy .head { margin-bottom: 24px; }
.alone-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.alone-list li { display: flex; gap: 14px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.alone-list li svg { flex: none; margin-top: 2px; }
.alone-list strong { color: var(--text); font-weight: 600; }

/* ── Hero demo (real screens, drawn motion; see assets/demo.js) ── */
#demo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#demo.is-demo .phone-screen { height: 600px; }
@media (max-width: 340px) { #demo.is-demo .phone-screen { height: 532px; } }
#demo:not(.is-demo) .phone-screen img { height: auto; }
.demo-stage { width: 375px; height: 768px; transform: scale(0.7813); transform-origin: top left; position: relative; background: var(--linen); color: var(--text); font-family: var(--font); overflow: hidden; }
@media (max-width: 340px) { .demo-stage { transform: scale(0.6933); } }
.demo-step { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.demo-step.is-on { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.demo-bg { position: absolute; inset: 0; opacity: 0; }
.demo-bg img { display: block; width: 375px; height: 768px; }
.demo-step > .demo-bg:first-child, .demo-bg.is-on { opacity: 1; }
.demo-step > .demo-bg:first-child:not(.is-on) ~ .demo-bg.is-on { opacity: 1; }
.demo-type { position: absolute; background: #FFFFFF; display: none; align-items: center; padding-left: 15px; font-size: 17px; line-height: 1; color: var(--text); white-space: nowrap; overflow: hidden; }
.demo-type.is-on { display: flex; }
.demo-caret { display: inline-block; width: 2px; height: 20px; background: var(--text); margin-left: 1px; opacity: 0; }
.demo-caret.is-on { animation: demo-blink 1s steps(2) infinite; }
@keyframes demo-blink { to { opacity: 1; } }
.demo-press { position: absolute; border-radius: 24px; background: rgba(251, 247, 241, 0); transition: background 0.12s, transform 0.12s; }
.demo-press.is-on { background: rgba(251, 247, 241, 0.22); transform: scale(0.97); }
.demo-chip { position: absolute; box-sizing: border-box; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--border-input); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; color: var(--text); transition: opacity 0.18s, transform 0.18s; }
.demo-chip.is-hidden { opacity: 0; transform: scale(0.94); }
.demo-live { position: absolute; background: var(--linen); display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--success); font-weight: 600; opacity: 0; transition: opacity 0.3s; overflow: hidden; }
.demo-live.is-on { opacity: 1; }
.demo-live-icon { color: var(--brass-deep, #8A6424); display: inline-flex; }
.demo-live-text { white-space: nowrap; }
.demo-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.demo-bars i { display: block; width: 3px; height: 5px; border-radius: 2px; background: var(--brass); }
.demo-live.is-on .demo-bars i { animation: demo-bar 0.8s ease-in-out infinite alternate; }
.demo-live.is-on .demo-bars i:nth-child(2) { animation-delay: 0.2s; }
.demo-live.is-on .demo-bars i:nth-child(3) { animation-delay: 0.4s; }
.demo-live.is-on .demo-bars i:nth-child(4) { animation-delay: 0.1s; }
@keyframes demo-bar { from { height: 4px; } to { height: 16px; } }
.demo-caption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); min-height: 32px; }
.demo-caption-text { font-weight: 600; color: var(--text-2); min-width: 160px; }
.demo-dots { display: inline-flex; gap: 6px; }
.demo-dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--border-input); display: block; transition: background 0.2s; }
.demo-dots i.is-on { background: var(--accent); }
.demo-pause { font: inherit; font-size: 13px; color: var(--accent); background: transparent; border: 1px solid var(--border-input); border-radius: 999px; padding: 4px 12px; min-height: 32px; cursor: pointer; }
.demo-caption.is-static .demo-dots { display: none; }

/* ── Press page ── */
.press .inner { max-width: 860px; }
.press .prose .lede { font-size: 18px; }
.dl-list { list-style: none; padding: 0 !important; margin: 10px 0 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 20px; }
.dl-list li { margin: 0 !important; font-size: 15px; }
.dl-note { color: var(--muted); font-size: 13px; }
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 480px) { .logo-grid { grid-template-columns: 1fr; } }
.dl-list + p { margin-top: 16px; }
.logo-tile { border-radius: 16px; min-height: 150px; display: flex; align-items: center; justify-content: center; padding: 24px; border: 1px solid var(--border); }
.logo-tile img { max-width: 100%; height: auto; }
.tile-linen { background: #FFFFFF; }
.tile-night { background: var(--night); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; margin-top: 14px; }
.shot { margin: 0; }
.shot a { display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--linen); aspect-ratio: 375 / 768; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.shot figcaption strong { display: block; color: var(--text); font-weight: 600; }
.prose .btn { text-decoration: none; }

/* ── Self-host page ── */
.selfhost .inner { max-width: 820px; }
.selfhost .eyebrow { display: block; margin-bottom: 10px; }
.selfhost .lede { margin-bottom: 28px; }
.dl-box { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.dl-main { display: flex; flex-direction: column; gap: 2px; }
.dl-main strong { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.btn.is-soon { background: var(--border-input); color: var(--text-2); cursor: default; white-space: normal; text-align: center; }
.steps-list { padding-left: 22px; margin: 10px 0 0; }
.steps-list li { margin-bottom: 14px; }
.steps-list pre { margin: 8px 0 0; background: var(--night); color: var(--parchment); border-radius: 12px; padding: 12px 14px; overflow-x: auto; font-size: 13.5px; line-height: 1.5; }
.steps-list pre code { background: transparent; color: inherit; padding: 0; font-size: inherit; }
.prose td code { white-space: nowrap; }

/* ── Gallery ── */
.gallery { background: var(--sand); padding-bottom: 64px; }
.gallery .head { margin-bottom: 24px; }
.gal-strip { list-style: none; margin: 0; padding: 4px max(24px, calc((100% - 1120px) / 2 + 24px)) 12px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
@media (max-width: 480px) { .gal-strip { padding-left: 16px; padding-right: 16px; gap: 14px; } }
.gal-item { flex: 0 0 220px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; }
.gal-item strong { font-size: 15px; font-weight: 600; margin-top: 8px; padding: 0 6px; }
.gal-item span { font-size: 13px; color: var(--muted); line-height: 1.4; padding: 0 6px; }
.gal-phone { background: var(--night); border-radius: 30px; padding: 7px; box-shadow: 0 14px 36px rgba(19, 32, 44, 0.16); }
.gal-phone img { display: block; width: 100%; height: auto; border-radius: 23px; }

/* ── Terms ── */
.terms .prose h2 { font-size: 20px; }
.terms .prose ul { margin-top: 8px; }
.terms .prose td:first-child { white-space: nowrap; font-weight: 600; color: var(--text); width: 140px; }
