/* Bedside by Tuesday. Tuesday Clinics colours: navy #091835, teal #317D87 / #2DD4BF, cream #F9F1E2. */
:root {
  --navy: #091835;
  --navy-2: #102036;
  --cream: #f9f1e2;
  --teal: #2dd4bf;
  --teal-deep: #0f766e;
  --bg: #f3f5f7;
  --surface: #ffffff;
  --band: #eaf0f4;
  --ink: #0a1220;
  --muted: #4d5a69;
  --line: #dde3e9;
  --link: #0f766e;
  --wrap: 1120px;
  --m: clamp(16px, 4vw, 40px);
  --gap: clamp(56px, 7vw, 96px);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1220;
    --surface: #102036;
    --band: #0d1a2d;
    --ink: #f3f6fb;
    --muted: #a9b8cf;
    --line: #22344f;
    --link: #5eead4;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
img { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--m); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 9; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.draft { background: #fff3c4; color: #4a3500; font-size: 14px; padding: 8px 0; }
.todo { background: #ffe58a; color: #3d2c00; font-size: 0.82em; font-weight: 600; padding: 1px 6px; border-radius: 4px; }

.top { background: var(--navy); color: var(--cream); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 1.1rem; }
.brand b { font-weight: 700; }
.top nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.top nav a { color: #c7d2e0; text-decoration: none; font-size: 15px; }
.top nav a:hover { color: #fff; }

.hero { background: var(--navy); color: var(--cream); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.hero h1 { color: #fff; }
.lede { font-size: 1.2rem; margin-top: 20px; color: #dbe3ee; max-width: 36ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.note { margin-top: 16px; color: #a9b8cf; font-size: 15px; }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--teal); color: var(--navy); font-weight: 700; text-decoration: none; }
.btn[aria-disabled="true"] { cursor: default; }
.btn-quiet { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }

.phone { justify-self: center; width: min(320px, 100%); }
.phone-screen { background: var(--bg); color: var(--ink); border: 10px solid #000; border-radius: 44px; overflow: hidden; box-shadow: 0 30px 60px rgb(0 0 0 / 35%); }
.p-bar { display: flex; align-items: center; gap: 8px; background: var(--navy-2); color: #fff; padding: 34px 16px 14px; font-size: 15px; }
.p-bar span { margin-left: auto; color: #c7d2e0; font-size: 13px; }
.p-list { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; }
.p-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.p-list b { display: block; font-size: 13.5px; }
.p-list small { color: var(--muted); }
.p-foot { margin: 4px 10px 16px; padding: 12px; border-radius: 999px; background: var(--teal); color: var(--navy); font-weight: 700; font-size: 13px; text-align: center; }
.phone-cap { color: #a9b8cf; font-size: 13px; text-align: center; margin-top: 12px; }
.pill { flex: none; border-radius: 999px; padding: 3px 9px; font-size: 11.5px; font-weight: 600; }
.pill.green { background: #dcf2e4; color: #145732; }
.pill.amber { background: #fbeed3; color: #6e4300; }
.pill.blue { background: #e0eafa; color: #1c4a8a; }
.pill.teal { background: #d8f1ec; color: #0a4d42; }

.section { padding: var(--gap) 0; }
.band { background: var(--band); }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lede-sm { margin-top: 14px; color: var(--muted); }

.steps { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--teal); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal-deep); border-radius: 12px; padding: 16px 18px; }
.facts b { display: block; margin-bottom: 4px; }

.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); }
.price { font-size: 1.1rem; }
.price b { font-size: 3rem; letter-spacing: -0.02em; }
.plans { display: grid; gap: 4px; }
.save { display: inline-block; vertical-align: middle; margin-left: 6px; background: #e0eafa; color: #1c4a8a; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.trial { display: inline-block; margin-top: 6px; background: #d8f1ec; color: #0a4d42; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 14px; }
.price-card ul { margin: 20px 0 24px; padding-left: 20px; display: grid; gap: 6px; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 16px; }

.spec { margin: 0; display: grid; gap: 0; }
.spec div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }

.story { background: var(--navy); color: #dbe3ee; }
.story h2 { color: #fff; }
.story .lede-sm { color: #a9b8cf; }
.story-body { display: grid; gap: 16px; font-size: 1.05rem; }
.story-close { color: var(--cream); font-weight: 600; border-left: 3px solid var(--teal); padding-left: 16px; }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; color: var(--muted); }
.narrow h2 { margin-bottom: 20px; }

.foot { background: var(--navy); color: #a9b8cf; padding: 40px 0; font-size: 14px; }
.foot .brand { color: var(--cream); margin-bottom: 16px; }
.foot p + p { margin-top: 8px; }

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
}
.foot a { color: var(--cream); }
.pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 32px; }
.pages article { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 16px; padding: 22px; }
.pages p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 40px; margin-top: 28px; }
.extras p { color: var(--muted); }
.extras b { color: var(--ink); }
