/* LongHall — shared styles. Self-contained, theme-aware, responsive. */
:root {
  --bg: #0f172a;
  --panel: #1e293b;
  --border: #334155;
  --text: #e2e8f0;
  --dim: #94a3b8;
  --accent: #818cf8;
  --accent2: #f59e0b;
  --maxw: 760px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --dim: #475569;
    --accent: #4f46e5;
    --accent2: #b45309;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 0 20px;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 56px 0 80px; }
.brand {
  display: inline-flex; align-items: baseline; gap: 11px;
  font-weight: 800; font-size: 24px; letter-spacing: .2px; text-decoration: none; color: var(--text);
}
.brand .mark { color: var(--accent); }
.brand-logo { height: 64px; width: auto; display: block; }
.brand .brandH { color: var(--accent); }
.back .brandH { color: var(--accent); }
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.app-icon { width: 64px; height: 64px; border-radius: 14px; flex: none; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.app-head .eyebrow { margin: 0; }
.app-head h3 { margin: 3px 0 0; }
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; margin: 16px 0 10px; }
.callout .badge { width: 100%; max-width: 380px; height: auto; border-radius: 10px; border: 1px solid var(--border); flex: 1 1 300px; }
.callout .calloutText { flex: 1 1 260px; }
.calloutTitle { font-size: 22px; margin: 4px 0 8px; letter-spacing: -.3px; }
.coin { width: 72px; height: 72px; border-radius: 12px; flex: none; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.nested { margin-left: 24px; border-left: 3px solid var(--accent); }

/* Division doorways — two full-bleed entry panels. */
.doorways { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0 10px; }
@media (max-width: 640px) { .doorways { grid-template-columns: 1fr; } }
.door {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; border-radius: 18px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--border); color: #fff; text-decoration: none;
}
.door-media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .6s ease; }
.door:hover .door-media { transform: scale(1.05); }
.door-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(2,6,23,.94) 0%, rgba(2,6,23,.6) 42%, rgba(2,6,23,.12) 100%); }
.door-body { padding: 24px; }
.door-body .eyebrow { color: #fff; opacity: .82; margin: 0; }
.door-body h3 { margin: 6px 0 6px; font-size: 24px; color: #fff; letter-spacing: -.3px; }
.door-tag { color: rgba(255,255,255,.85); margin: 0 0 14px; }
.door-cta { font-weight: 700; color: #fff; }
.door-cta .arrow { display: inline-block; transition: transform .2s ease; }
.door:hover .door-cta .arrow { transform: translateX(4px); }
.door--static { cursor: default; }

/* App Store / primary button */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 700; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.hero-app { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; }
.hero-app .app-icon { width: 84px; height: 84px; border-radius: 19px; }
/* App screenshot gallery (product page) */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--border); display: block; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.shots figcaption { color: var(--dim); font-size: 13px; text-align: center; margin-top: 8px; }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr 1fr; } }
.doc-shot { margin: 18px 0 8px; }
.doc-shot img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); display: block; box-shadow: 0 6px 20px rgba(0,0,0,.35); background: #fff; }
.doc-shot figcaption { color: var(--dim); font-size: 13px; text-align: center; margin-top: 8px; }
header.site { padding: 28px 0; border-bottom: 1px solid var(--border); }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -.5px; }
h2 { font-size: 20px; margin: 36px 0 10px; letter-spacing: -.2px; }
h3 { font-size: 16px; margin: 22px 0 6px; }
p, li { color: var(--text); }
.lede { font-size: 19px; color: var(--dim); }
/* Hero — indigo fade container for the studio intro */
.hero {
  background: linear-gradient(135deg, #4f46e5 0%, #0b1220 92%);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 40px 36px; margin: 24px 0 10px;
}
.hero .eyebrow { color: #fcd34d; }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,.88); margin-bottom: 0; }
@media (max-width: 640px) { .hero { padding: 30px 22px; } }
/* Three-panel shell — center content flanked by 25% rails for nav / future */
.wide { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.shell { display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 24px; align-items: start; padding: 36px 0 72px; }
.shell .center { min-width: 0; }
.rail { position: sticky; top: 24px; border: 1px dashed var(--border); border-radius: 16px; padding: 18px 16px; min-height: 220px; }
.rail-label { text-transform: uppercase; letter-spacing: 1.2px; font-size: 11px; color: var(--dim); margin: 0; }
.rail-logo { width: 100%; height: auto; display: block; margin-bottom: 14px; }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } .rail { display: none; } }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--dim); }
.eyebrow { color: var(--accent2); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; }
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 22px; margin: 16px 0;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.pill { display: inline-block; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--dim); }
.legal { max-width: 720px; }
.legal h1 { font-size: 30px; }
.legal .updated { color: var(--dim); font-size: 14px; margin-top: 4px; }
.legal h2 { border-top: 1px solid var(--border); padding-top: 22px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
footer.site { border-top: 1px solid var(--border); padding: 28px 0; color: var(--dim); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
footer.site a { color: var(--dim); }
.back { display: inline-block; margin-bottom: 18px; color: var(--dim); font-weight: 600; }
