/* The welcome, plan and privacy pages. */
main { max-width: 640px; margin: 0 auto; padding: 36px 16px 64px; display: flex; flex-direction: column; gap: 16px; }
h1 { font-size: 30px; }
h2 { font-size: 19px; margin-bottom: 6px; }
h3 { font-size: 16px; margin: 12px 0 4px; }
p { margin: 6px 0 0; }
.lead { font-size: 16px; color: var(--t2); margin-top: 8px; }
.fine { font-size: 12.5px; color: var(--t3); }
.stack { display: flex; flex-direction: column; gap: 10px; }
ul.plain { margin: 6px 0 0; padding-left: 18px; color: var(--t2); }
ul.plain li { margin-top: 4px; }
ul.ticks { margin: 8px 0 0; padding: 0; list-style: none; }
ul.ticks li { margin-top: 6px; padding-left: 22px; position: relative; color: var(--t2); }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }
.free { display: inline-block; background: rgba(94,233,181,.16); color: var(--mint); border-radius: 99px; padding: 1px 8px; font-size: 12px; font-weight: 800; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 14px; margin-top: 10px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--t2); font-weight: 700; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-weight: 700; }
.toggle input { width: 20px; height: 20px; flex: none; }
.toggle .muted { font-weight: 500; }
.btn.inline { display: inline-block; width: auto; padding: 10px 22px; margin-top: 12px; }
.btn[disabled] { opacity: .55; cursor: default; box-shadow: none; }
.status { margin-top: 10px; font-weight: 700; }
.status.ok { color: var(--mint); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; }
.plan { position: relative; text-align: left; background: var(--raised); color: var(--t1); border: 2px solid var(--edge); border-radius: 16px; padding: 12px 14px; }
.plan[aria-checked="true"] { border-color: var(--blue-l); background: #232A6E; }
.plan b { display: block; font: 600 22px var(--display); }
.plan span { color: var(--t2); font-size: 13px; }
.plan.founding .tag { background: var(--amber, #FFC94D); }
.plan .tag { position: absolute; top: -10px; right: 10px; background: var(--lilac); color: var(--ink); border-radius: 99px; padding: 1px 8px; font-size: 11.5px; font-weight: 800; }
.now { font: 600 18px var(--display); }
.warn { color: var(--amber); }
table.data { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 7px 8px 7px 0; border-top: 1px solid var(--edge); }
table.data th { color: var(--t1); width: 34%; font-weight: 700; }
table.data td { color: var(--t2); }
.danger { background: rgba(255,143,120,.16); color: #FFB3A8; border: 1.5px solid rgba(255,143,120,.4); }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } h1 { font-size: 26px; } }

/* ---- The fun layer, from the iPhone app ---- */
main { gap: 18px; }
.lead { font-size: 16.5px; }
.cardhead { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.cardhead h2 { margin: 0; }
.card h2 { font-size: 20px; }
/* Feature lists get a round coloured badge per line instead of a plain tick. */
ul.ticks.feats li { padding: 9px 12px 9px 46px; margin-top: 8px; background: rgba(255,255,255,.03); border: 1px solid #23275E; border-radius: 14px; color: var(--t1); }
ul.ticks.feats li::before { content: "✓"; left: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; color: #fff; background: linear-gradient(180deg, var(--blue-top), var(--blue)); box-shadow: 0 2px 0 var(--blue-edge); }
ul.ticks.feats li:nth-child(4n+2)::before { background: linear-gradient(180deg, #A066FF, var(--violet)); box-shadow: 0 2px 0 var(--violet-deep); }
ul.ticks.feats li:nth-child(4n+3)::before { background: linear-gradient(180deg, #7DF0C6, #3FCF98); color: var(--ink); box-shadow: 0 2px 0 #23966B; }
ul.ticks.feats li:nth-child(4n)::before { background: linear-gradient(180deg, #FFD978, var(--amber)); color: var(--ink); box-shadow: 0 2px 0 var(--amber-edge); }
.free { background: rgba(94,233,181,.16); padding: 2px 10px; }
/* The free week, on the blue card with the ticket sticker. */
.week { padding-right: 120px; }
.week .muted, .week b { color: #fff; }
.week .free { background: rgba(255,255,255,.2); color: #fff; }
.week-art { position: absolute; right: 14px; top: -22px; }
.week-art::before { background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); }
@media (max-width: 480px) { .week { padding-right: 18px; padding-top: 70px; } }
/* Plan tiles: chunky, with a pop when picked. */
.plan { border-radius: 20px; padding: 16px; box-shadow: 0 4px 0 var(--edge); transition: transform .2s var(--spring), border-color .15s, background .15s; }
.plan:hover { transform: translateY(-2px); }
.plan[aria-checked="true"] { border-color: var(--blue-l); background: linear-gradient(180deg, #2B3290, #232A6E); box-shadow: 0 4px 0 var(--blue-edge), 0 0 0 4px rgba(147,165,255,.2); }
.plan[aria-checked="true"]::after { content: "✓"; position: absolute; right: 12px; bottom: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-l); color: var(--ink); font-weight: 900; font-size: 13px; }
.plan b { font-size: 24px; }
.plan .tag { top: -11px; padding: 2px 10px; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
#nowbox .now { font-size: 22px; }
.toggle { background: rgba(255,255,255,.03); border: 1px solid #23275E; border-radius: 16px; padding: 10px 12px; }
.form label { color: var(--t1); }
table.data th { color: var(--lilac); }

/* The note card on Home: the app's purple record button, small. */
.micbadge { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #7C4DFF, #A066FF);
  box-shadow: 0 4px 0 #4B2BB0, 0 0 0 3px rgba(255,255,255,.9), 0 12px 24px -10px rgba(124,77,255,.8); animation: pop .55s var(--spring) both; }
.micbadge svg { width: 28px; height: 28px; fill: #fff; }

/* Your night's hours on Home. */
.nighthours .hours { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.nighthours label { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--t2); }
.nighthours select { padding: 6px 8px; }
