/* DISPO owners app. One dark theme: a pinned photo under a veil (the HALO Creator Space treatment, Cam, Sep 2026),
   glass cards, SISO orange for the one thing to tap. */
:root {
  --bg: #0b0a0c;
  --ink: #ffffff;
  --body: rgba(255, 255, 255, 0.74);
  --muted: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(22, 18, 20, 0.46);
  --glass-hi: rgba(255, 255, 255, 0.08);
  --orange: #ffa724;
  --ember: #ff5a1f;
  --green: #3ddc84;
  --wa: #25d366;
  --radius: 22px;
  --display: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --text: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.5 var(--text); min-height: 100dvh; overflow-x: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

/* the photo, pinned; the veil darkens it to the foot */
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, rgba(11, 10, 12, 0.42) 0%, rgba(11, 10, 12, 0.66) 32%, rgba(11, 10, 12, 0.88) 62%, rgba(11, 10, 12, 0.97) 100%), url("/img/bg.jpg");
  filter: saturate(0.85);
  background-size: cover; background-position: center top;
}
.backdrop::after { /* a warm glow from the lion's corner */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255, 167, 36, 0.14), transparent 70%);
}

.app { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: calc(var(--safe-top) + 12px) 16px calc(var(--safe-bottom) + 96px); }

/* header */
.top { display: flex; align-items: center; gap: 10px; min-height: 52px; position: sticky; top: 0; z-index: 5; padding-top: var(--safe-top); margin-top: calc(-1 * var(--safe-top)); }
.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.top .lion { width: 34px; height: 34px; }
.top .word { font-family: var(--display); font-weight: 600; letter-spacing: 0.22em; font-size: 15px; }
.top .tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.top .spacer { flex: 1; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.pill-btn svg { width: 16px; height: 16px; }

/* type */
.eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 { font-weight: 300; font-size: clamp(32px, 9vw, 44px); line-height: 1.08; letter-spacing: 0.005em; }
h1 b { font-weight: 600; }
h2 { font-weight: 400; font-size: 24px; line-height: 1.2; }
h3 { font-weight: 600; font-size: 17px; }
p { margin: 0; color: var(--body); }
.lead { font-size: 17px; color: var(--body); }
.small { font-size: 13px; color: var(--muted); }

.stack > * + * { margin-top: 14px; }
.section { margin-top: 28px; }
.hero { padding: 36px 0 8px; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.5); }
.hero .card, .hero .result, .hero .btn { text-shadow: none; }
.hero .lead { margin-top: 12px; max-width: 30ch; }

/* glass card */
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25); }
.card + .card { margin-top: 12px; }
.card.tight { padding: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.row .grow { flex: 1; min-width: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 16px; border: 0; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.primary { background: linear-gradient(135deg, var(--orange), var(--ember)); color: #1a0d00; box-shadow: 0 8px 28px rgba(255, 120, 30, 0.28); }
.btn.wa { background: var(--wa); color: #062b14; }
.btn.ghost { background: var(--glass-hi); border: 1px solid var(--line); color: var(--ink); }
.btn[disabled], .btn.off { opacity: 0.45; pointer-events: none; }
.btns > * + * { margin-top: 10px; }
.btns.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btns.two > * + * { margin-top: 0; }

/* search */
.search { position: relative; margin-top: 22px; }
.search input { width: 100%; height: 58px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(16, 13, 15, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 0 18px 0 50px; font-size: 17px; outline: none; }
.search input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 167, 36, 0.16); }
.search input::placeholder { color: var(--muted); }
.search svg { position: absolute; left: 17px; top: 19px; width: 20px; height: 20px; color: var(--muted); }
.results { margin-top: 12px; }
.result { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; text-decoration: none; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.result + .result { margin-top: 8px; }
.result .mono { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 18px; background: linear-gradient(135deg, rgba(255, 167, 36, 0.24), rgba(255, 90, 31, 0.14)); border: 1px solid rgba(255, 167, 36, 0.3); color: var(--orange); flex: none; }
.result .name { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result .meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result .chev { width: 18px; height: 18px; color: var(--muted); flex: none; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.ready { color: var(--green); background: rgba(61, 220, 132, 0.12); }
.chip.new { color: var(--orange); background: rgba(255, 167, 36, 0.14); }
.chip.soon { color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }
.chip.claimed { color: #7cc4ff; background: rgba(124, 196, 255, 0.12); }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 46px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #1a0d00; background: linear-gradient(135deg, var(--orange), var(--ember)); }
.steps li::after { content: ""; position: absolute; left: 14.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; color: var(--ink); }

/* the shop's site */
.site-card { padding: 0; overflow: hidden; }
.site-shot { position: relative; aspect-ratio: 9 / 13; background: #000; overflow: hidden; }
.site-shot iframe { position: absolute; left: 0; top: 0; width: 390px; height: 563px; border: 0; transform-origin: 0 0; background: #111; }
.site-shot .cover { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(ellipse at 50% 30%, rgba(255, 167, 36, 0.18), transparent 60%), linear-gradient(180deg, #1a1416, #0b0a0c); cursor: pointer; }
.site-shot .cover .play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--line); margin: 0 auto 12px; }
.site-shot .cover .play svg { width: 26px; height: 26px; }
.url-row { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.url-row .url { flex: 1; min-width: 0; font: 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--glass-hi); cursor: pointer; text-decoration: none; flex: none; }
.icon-btn svg { width: 18px; height: 18px; }

/* price */
.price { display: flex; align-items: baseline; gap: 8px; }
.price .num { font-family: var(--display); font-weight: 300; font-size: 52px; line-height: 1; letter-spacing: -0.01em; }
.price .cur { font-weight: 700; color: var(--orange); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 6px 0 6px 30px; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: rgba(61, 220, 132, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc84' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sizes { display: grid; gap: 8px; }
.size { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: var(--glass-hi); }
.size b { min-width: 64px; }
.size span { color: var(--muted); font-size: 14px; }
.stat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat > div { padding: 14px; border-radius: 14px; background: var(--glass-hi); }
.stat .v { font-family: var(--display); font-size: 26px; font-weight: 400; }
.stat .k { font-size: 12px; color: var(--muted); }
.badge-off { display: inline-block; font-size: 12px; font-weight: 700; color: #1a0d00; background: var(--orange); border-radius: 8px; padding: 2px 8px; margin-left: 6px; }

/* videos */
.videos { display: grid; gap: 12px; }
.video { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.video .poster { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: radial-gradient(ellipse at 30% 20%, rgba(255, 167, 36, 0.3), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255, 90, 31, 0.22), transparent 60%), #141013; }
.video .poster img.lion { width: 64px; opacity: 0.18; position: absolute; right: 14px; bottom: 12px; }
.video .poster .play { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2); }
.video .poster .play svg { width: 22px; height: 22px; margin-left: 3px; }
.video .poster .soon { position: absolute; left: 12px; top: 12px; }
.video .body { padding: 14px 16px 16px; }

/* forms */
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field + .field { margin-top: 12px; }
.input, textarea.input { width: 100%; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(10, 8, 10, 0.5); padding: 14px; font-size: 16px; outline: none; }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--orange); }

/* assistant */
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-line; }
.msg.bot { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-left-radius: 6px; color: var(--ink); }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--orange), var(--ember)); color: #1a0d00; font-weight: 600; border-bottom-right-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.chips button:active { transform: scale(0.97); }
.ask-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 74px); z-index: 6; padding: 0 16px; }
.ask-bar form { max-width: 528px; margin: 0 auto; display: flex; gap: 8px; }
.ask-bar input { flex: 1; height: 50px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(16, 13, 15, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 0 16px; font-size: 16px; outline: none; }
.ask-bar button { width: 50px; height: 50px; border-radius: 16px; border: 0; background: linear-gradient(135deg, var(--orange), var(--ember)); color: #1a0d00; display: grid; place-items: center; cursor: pointer; }
.ask-bar button svg { width: 20px; height: 20px; }

/* tab bar */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; padding: 8px 10px calc(var(--safe-bottom) + 8px); background: rgba(11, 10, 12, 0.78); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); border-top: 1px solid var(--line); }
.tabs nav { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabs a svg { width: 23px; height: 23px; }
.tabs a[aria-current="page"] { color: var(--orange); }

/* sheet (install help) */
.sheet-wrap { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, 0.55); display: none; align-items: flex-end; }
.sheet-wrap.open { display: flex; }
.sheet { width: 100%; max-width: 560px; margin: 0 auto; background: #171315; border: 1px solid var(--line); border-radius: 24px 24px 0 0; padding: 22px 18px calc(var(--safe-bottom) + 22px); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); margin: -8px auto 16px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 92px); transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 30; background: #fff; color: #111; font-weight: 650; font-size: 14px; padding: 10px 16px; border-radius: 999px; transition: 0.2s; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.empty { text-align: center; padding: 22px 12px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt22 { margin-top: 22px; }
.center { text-align: center; }
.hide { display: none !important; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
