/* DV89 MARBLE RADIO · Glasshouse pricing. The page is dark by design (meta color-scheme dark); never reads the OS. */
:root {
  --bg: #151517;
  --ink: #f4f0ea;
  --ink-2: #ece8e2;
  --muted: #a7a29b;          /* 4.6:1 on the stage floor (#36363a) */
  --muted-2: #9d98a2;
  --accent: #8eb4ed;         /* the italic + the chosen plan */
  --accent-2: #a9c8f6;
  --eyebrow: #9aa3b5;
  --btn: #f1ede7;
  --btn-ink: #15161a;
  --ring: #8eb4ed;
  --gut: 52px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; position: relative; min-height: 100vh; min-height: 100svh; overflow-x: hidden;
  background: radial-gradient(70% 55% at 50% 52%, #3d3d42 0%, #2a2a2e 45%, #18181a 85%) var(--bg);
  color: var(--ink-2); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--btn); color: var(--btn-ink); padding: 15px 16px; min-height: 44px; border-radius: 10px; font: 600 14px/1 'Inter'; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }

/* the stage canvas spans the whole document; it is drawn once and then only where marbles move */
.fx { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; display: block; z-index: 0; }
.no-fx .fx { display: none; }

/* ---- header ---- */
.top { position: relative; z-index: 6; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); font: 500 13px/1 'Inter'; color: #9a958f; }
.logo { display: flex; align-items: center; gap: 11px; color: #f1ede7; font: 600 15px/1 'Inter'; letter-spacing: -.01em; min-height: 44px; }
.logo i { width: 18px; height: 18px; border-radius: 50%; display: block;
  background: radial-gradient(circle at 34% 28%, #fff 0 10%, #b8d3f3 22%, #4f84cf 52%, #1d4a8f 78%, #10274d);
  box-shadow: 0 2px 6px rgba(30, 50, 90, .45), inset 0 -2px 3px rgba(0, 0, 0, .25); }
.top nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.top nav a { padding: 0 12px; min-height: 44px; display: flex; align-items: center; border-radius: 22px; transition: color .2s, background .2s; }
.top nav a:hover { color: #f1ede7; background: rgba(255, 255, 255, .05); }
.top nav a[aria-current] { color: #f1ede7; }
.signin { color: #f1ede7; border: 1px solid rgba(255, 255, 255, .17); padding: 0 17px; min-height: 36px; display: flex; align-items: center; border-radius: 20px; transition: background .2s, border-color .2s; }
.signin::after { content: ''; position: absolute; inset: -4px; }
.signin { position: relative; }
.signin:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); }

/* ---- title ---- */
.hero { position: relative; z-index: 5; text-align: center; margin: 46px auto 0; padding: 0 20px; max-width: 980px; }
.hero .k { margin: 0; font: 600 11px/1 'Inter'; letter-spacing: .32em; text-transform: uppercase; color: var(--eyebrow); }
.hero h1 { font: 400 60px/1.02 'Newsreader', serif; letter-spacing: -.025em; margin: 16px 0 0; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .sub { font: 400 15px/1.5 'Inter'; color: var(--muted); margin: 12px 0 0; }

/* ---- the radio group: label columns under each marble; the marbles themselves are pointer aliases ---- */
.plans, .hits { position: absolute; inset: 0 0 auto 0; height: 0; z-index: 7; }
.opt {
  position: absolute; transform: translateX(-50%); min-width: 132px; min-height: 64px; padding: 9px 16px 11px; text-align: center;
  background: transparent; border: 0; border-radius: 14px; cursor: pointer; color: var(--muted); font: 500 13px/1.3 'Inter';
  transition: color .25s, background-color .25s, opacity .25s; -webkit-tap-highlight-color: transparent;
}
.opt b { display: block; font: 500 21px/1.15 'Newsreader', serif; color: #c9c3bb; letter-spacing: -.01em; transition: color .25s; }
.opt span { display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.opt::after { content: ''; display: block; width: 22px; height: 2px; border-radius: 2px; margin: 8px auto 0; background: currentColor; opacity: 0; transform: scaleX(.3); transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.opt:hover, .opt.is-hover { background: rgba(255, 255, 255, .055); }
.opt:active { opacity: .78; }
.opt[aria-checked="true"] { color: var(--ink-2); }
.opt[aria-checked="true"] b { color: var(--accent-2); }
.opt[aria-checked="true"]::after { opacity: .55; transform: none; }
.opt:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.opt[aria-disabled="true"] { cursor: not-allowed; opacity: .45; }
.opt[aria-disabled="true"]:hover { background: transparent; }
.plans[aria-disabled="true"] .opt { cursor: default; }
.plans[aria-disabled="true"] .opt:not([aria-checked="true"]) { opacity: .5; }
.hits i { position: absolute; display: block; border-radius: 50%; transform: translate(-50%, -50%); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hits i.off { cursor: not-allowed; }
.plans[aria-disabled="true"] ~ .hits i { cursor: default; }

/* ---- price + action ---- */
.foot { position: absolute; left: 50%; transform: translateX(-50%); z-index: 7; display: flex; gap: 22px; align-items: center; white-space: nowrap; }
.pr { margin: 0; font: 400 34px/1 'Newsreader', serif; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; }
.pr .num { display: inline-block; min-width: 2.1ch; text-align: right; }
.pr small { font: 500 13px/1 'Inter'; color: #a0927f; margin-left: 5px; letter-spacing: 0; }
.btn {
  position: relative; height: 50px; padding: 0 26px; border-radius: 25px; border: 0; background: var(--btn); color: var(--btn-ink);
  font: 600 14px/1 'Inter'; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 192px;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .8), inset 0 -1px 0 rgba(0, 0, 0, .08);
  transition: background-color .2s, transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s;
}
.btn:hover { background: #dbe7fa; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.btn .spin, .btn .tick { display: none; }
.btn .spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(21, 22, 26, .25); border-top-color: var(--btn-ink); animation: spin .8s linear infinite; }
.btn .tick { width: 18px; height: 18px; color: #1d5fd8; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .spin { display: block; }
.btn.is-done { background: #e6eefb; cursor: default; }
.btn.is-done .tick { display: block; }
.btn:disabled { cursor: not-allowed; }
.undo { height: 44px; padding: 0 14px; border: 0; background: none; color: var(--muted); font: 500 13px/1 'Inter'; cursor: pointer; border-radius: 22px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .25); }
.undo:hover { color: var(--ink); }
.status { position: absolute; left: 50%; transform: translateX(-50%); z-index: 7; margin: 0; font: 500 13px/1.4 'Inter'; color: var(--muted); text-align: center; white-space: nowrap; min-height: 1px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- caption ---- */
.cap { position: absolute; left: 48px; bottom: 40px; z-index: 6; font: 500 13px/1.45 'Inter'; letter-spacing: .02em; color: var(--ink-2); pointer-events: none; }
.cap b { display: block; font: 600 12px/1 'Inter'; letter-spacing: .22em; text-transform: uppercase; color: #a19c95; margin-bottom: 8px; }
.cap span { font-size: 17px; font-weight: 500; letter-spacing: -.005em; display: block; }
.cap i { display: block; font-style: normal; color: var(--muted); margin-top: 4px; font-size: 13px; }
.brandmark { position: absolute; right: 48px; bottom: 40px; z-index: 6; font: 600 11px/1 'Inter'; letter-spacing: .3em; text-transform: uppercase; color: #8a867f; pointer-events: none; }

/* ---- no-WebGL fallback: the same composition, frosted CSS stone and CSS glass marbles ---- */
.css-stage { display: none; position: absolute; left: 0; top: 0; width: 100%; z-index: 1; pointer-events: none; }
.no-fx .css-stage { display: block; }
.cs-slab, .cs-front { position: absolute; inset: 0; }
.cs-slab { background:
    radial-gradient(60% 80% at 30% 20%, rgba(255, 255, 255, .55), transparent 60%),
    repeating-linear-gradient(118deg, transparent 0 46px, rgba(110, 108, 112, .10) 47px, transparent 49px),
    linear-gradient(170deg, #e8e5df, #d2cec7 70%, #c7c2ba);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset; }
.cs-front { background: linear-gradient(#9b9893, #6f6c68); }
.cs-seat { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(150, 144, 136, .65), rgba(196, 191, 183, .2) 80%, transparent); }
.cs-marble { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); transition: filter .3s;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cs-marble::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; filter: blur(3px) saturate(1.1); mix-blend-mode: screen; }
.cs-marble::after { content: ''; position: absolute; left: 22%; top: 12%; width: 34%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)); }
.cs-marble.m0 { background: radial-gradient(circle at 40% 35%, rgba(255, 248, 235, .55), rgba(255, 196, 110, .35) 45%, rgba(214, 120, 20, .55) 80%, rgba(255, 220, 160, .7)); }
.cs-marble.m0::before { background: conic-gradient(from 20deg, #ff9b1e 0 18%, transparent 18% 33%, #ffb84a 33% 51%, transparent 51% 66%, #f07a10 66% 84%, transparent 84%); opacity: .62; }
.cs-marble.m1 { background: radial-gradient(circle at 40% 35%, rgba(240, 248, 255, .55), rgba(120, 175, 255, .35) 45%, rgba(20, 80, 210, .55) 80%, rgba(170, 210, 255, .7)); }
.cs-marble.m1::before { background: conic-gradient(from -30deg, #1f6dff 0 22%, transparent 22% 50%, #3d8cff 50% 72%, transparent 72%); opacity: .68; }
.cs-marble.m2 { background: radial-gradient(circle at 40% 35%, rgba(235, 255, 246, .55), rgba(110, 230, 180, .35) 45%, rgba(10, 150, 100, .55) 80%, rgba(160, 255, 215, .7)); }
.cs-marble.m2::before { background: conic-gradient(from 60deg, #12c48a 0 16%, transparent 16% 33%, #26d69c 33% 49%, transparent 49% 66%, #0aa673 66% 82%, transparent 82%); opacity: .62; }
.cs-marble.off { filter: grayscale(.8) brightness(.8); }

/* ---- tablet / small laptop ---- */
@media (min-width: 2200px) and (min-height: 1200px) {
  .top { height: 96px; font-size: 15px; } .logo { font-size: 18px; } .logo i { width: 22px; height: 22px; }
  .hero { margin-top: 64px; max-width: 1200px; } .hero .k { font-size: 13px; } .hero h1 { font-size: 80px; } .hero .sub { font-size: 18px; }
  .opt { min-width: 170px; font-size: 16px; } .opt b { font-size: 27px; }
  .pr { font-size: 42px; } .pr small { font-size: 15px; } .btn { height: 60px; border-radius: 30px; font-size: 16px; padding: 0 32px; }
  .cap span { font-size: 20px; } .cap b { font-size: 13px; } .cap i { font-size: 15px; }
}
@media (pointer: coarse) { .signin { min-height: 44px; border-radius: 22px; } }
@media (max-width: 1100px) { :root { --gut: 32px; } .hero h1 { font-size: 54px; } }
@media (max-width: 860px) { .top nav { display: none; } }
/* ---- phone ---- */
@media (max-width: 600px) {
  :root { --gut: 20px; }
  .top { height: 64px; } .signin { display: none; }
  .hero { margin-top: 18px; }
  .hero h1 { font-size: 38px; margin-top: 14px; } .hero .sub { font-size: 15px; max-width: 340px; margin: 12px auto 0; color: #9c978f; }
  .opt { min-width: 0; width: 30vw; max-width: 136px; padding: 6px 2px 8px; }
  .opt b { font-size: 18px; } .opt span { font-size: 12px; letter-spacing: -.01em; }
  .foot { flex-direction: column; gap: 18px; width: calc(100% - 2 * var(--gut)); max-width: 420px; }
  .pr { font-size: 36px; }
  .btn { width: 100%; height: 56px; border-radius: 28px; font-size: 15px; }
  .status { white-space: normal; width: calc(100% - 40px); }
  .cap { left: 22px; bottom: 26px; } .cap span { font-size: 15px; } .cap i { display: none; }
  .brandmark { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .top { height: 56px; } .hero { margin-top: 6px; } .hero h1 { font-size: 34px; margin-top: 10px; } .hero .sub { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .btn .spin { animation: none; border-top-color: rgba(21, 22, 26, .25); border-right-color: var(--btn-ink); }
}
