/* Colours from App/Support/Theme.swift (docs/BRAND.md). Dark first, like the app. */
:root {
  --bg: #0b1015; --surface: #131b22; --surface-2: #1b252e; --fg: #f1f0e9; --muted: #a1adb5;
  --rule: #29333b; --sun: #ffb944; --sun-light: #ffd57a; --sun-deep: #f48030; --shade: #88adfe;
  --terrain: #3c4758; --link: #ffc966;
  --radius: 16px; --wrap: 1160px; --narrow: 720px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f6f2; --surface: #fffefa; --surface-2: #eeece4; --fg: #1b282d; --muted: #5f6d72;
    --rule: #deded4; --sun: #956316; --sun-light: #f4c35b; --sun-deep: #bd641c; --shade: #426baf;
    --terrain: #778492; --link: #875318;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
    --bg: #f7f6f2; --surface: #fffefa; --surface-2: #eeece4; --fg: #1b282d; --muted: #5f6d72;
    --rule: #deded4; --sun: #956316; --sun-light: #f4c35b; --sun-deep: #bd641c; --shade: #426baf;
    --terrain: #778492; --link: #875318;
    color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
a { color: var(--link); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5vw, 44px); margin: 8px 0 14px; }
h2 { font-size: 25px; margin: 44px 0 10px; }
h3 { font-size: 19px; margin: 26px 0 6px; }
p, li { margin: 0 0 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: var(--narrow); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* header / footer */
.top { border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--fg); text-decoration: none; margin: 0; }
.brand img { border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top nav a:not(.store) { color: var(--fg); text-decoration: none; }
.store { display: inline-block; background: var(--fg); color: var(--bg); border-radius: 999px; padding: 10px 18px;
  font-weight: 600; text-decoration: none; font-size: 15px; white-space: nowrap; }
.store.small { padding: 6px 12px; font-size: 13px; }
.store.soon { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--terrain); }
@media (max-width: 560px) { .top nav a[href="/attributions/"], .top nav .store { display: none; } }
.card > a { text-decoration: none; }
.bottom { border-top: 1px solid var(--rule); margin-top: 72px; padding: 32px 0 24px; font-size: 14px; color: var(--muted); }
.bottom .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.bottom h2 { font-size: 14px; margin: 0 0 8px; color: var(--fg); }
.bottom ul { list-style: none; padding: 0; margin: 0; }
.bottom .brand { font-size: 16px; margin-bottom: 8px; }
.attrib { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 16px; font-size: 13px; }
@media (max-width: 720px) { .bottom .cols { grid-template-columns: 1fr; } }

/* posts */
.crumbs { font-size: 13px; color: var(--muted); margin: 20px 0 0; }
.crumbs a { color: var(--muted); }
.cat { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 18px 0 0; }
.cat a { color: var(--sun); text-decoration: none; font-weight: 600; }
.lede { font-size: 20px; line-height: 1.5; color: var(--fg); }
.answer { font-weight: 500; }
section > p.answer { border-left: 3px solid var(--sun); padding-left: 14px; }
.post table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 18px; font-variant-numeric: tabular-nums; }
.post th, .post td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.post th { color: var(--muted); font-weight: 600; font-size: 13px; }
.post tr.hl td { color: var(--fg); font-weight: 600; } .post tr.hl td:first-child { box-shadow: inset 3px 0 0 var(--sun); padding-left: 8px; } .post tr.hl td:first-child, .post tr.hl td:nth-child(2) { white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.yes { color: var(--sun); font-weight: 600; } .no { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 20px 0; }
.facts div { background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.note { background: var(--surface); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.inline-cta { background: var(--surface); border-radius: 12px; padding: 12px 16px; font-size: 15px; margin: 28px 0; }
.ph { background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--surface-2) 12px 24px);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-size: 13px; aspect-ratio: 16 / 9; padding: 12px; }
.ph.hero { margin: 20px 0; }
.ph.phone { aspect-ratio: 9 / 19; width: 160px; flex: none; border-radius: 28px; }
.avatar { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.hero-img { display: block; width: 100%; height: auto; border-radius: var(--radius); margin: 18px 0; background: var(--surface); }
.thumb { display: block; width: 100%; height: auto; border-radius: 12px; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--surface-2); }
.shot { width: 160px; height: auto; flex: none; border-radius: 26px; box-shadow: 0 8px 30px rgb(0 0 0 / 0.35); background: var(--surface-2); }
@media (max-width: 560px) { .shot { width: 140px; align-self: center; } }
.chart { margin: 20px 0; }
.chart svg { width: 100%; height: auto; display: block; background: var(--surface); border-radius: 12px; }
.chart figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.chart .flat { fill: var(--terrain); opacity: 0.45; }
.chart .bars { shape-rendering: crispEdges; }
.chart .sun { fill: var(--sun); }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 11px; }
.chart .label { fill: var(--fg); font-size: 12px; font-weight: 600; }
.chart .ridge { fill: var(--terrain); }
.chart .path { fill: none; stroke: var(--muted); stroke-width: 1; opacity: 0.6; }
.chart .on { fill: var(--sun); } .chart .off { fill: var(--shade); }
.cta { display: flex; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border-radius: 20px; padding: 24px; margin: 48px 0 8px; }
.cta h2 { margin: 0 0 8px; font-size: 24px; }
@media (max-width: 560px) { .cta { flex-direction: column; align-items: stretch; } .ph.phone { width: 100%; aspect-ratio: 16 / 10; } }
.faq h3 { margin-top: 20px; }
.sources { font-size: 14px; color: var(--muted); }
.sources a { word-break: break-word; }
.ask { font-size: 14px; color: var(--muted); margin-top: 28px; }
.author { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 16px; margin: 20px 0; font-size: 15px; }
.author .name { font-weight: 700; margin-bottom: 4px; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; margin: 24px 0; }
.prevnext a:last-child { text-align: right; }

/* blog index */
.list-head { margin: 8px 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { background: var(--surface); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--fg); font-size: 14px; }
.chips a[aria-current] { background: var(--sun); color: #07090d; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 12px 12px 18px; display: flex; flex-direction: column; }
.card .ph { border-radius: 12px; }
.card h3 { margin: 6px 0 8px; font-size: 19px; }
.card h3 a { color: var(--fg); text-decoration: none; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }

/* home */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 48px 0 24px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); }
.hero .ph.phone { width: min(260px, 100%); margin: 0 auto; }
.answer-card { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.answer-card .big { font-size: 28px; font-weight: 700; color: var(--sun); font-variant-numeric: tabular-nums; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.features div { background: var(--surface); border-radius: var(--radius); padding: 18px; }
.features h3 { margin: 0 0 6px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding-top: 24px; } }
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0 24px; }
.audiences section { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.audiences h3 { margin: 0; font-size: 22px; }
.audiences .sub { color: var(--sun); font-weight: 600; margin: 4px 0 10px; }
.audiences ul { padding-left: 18px; }
@media (max-width: 760px) { .audiences { grid-template-columns: 1fr; } }
.hero-shot { width: min(260px, 100%); margin: 0 auto; border-radius: 34px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin: 20px 0 8px; align-items: start; }
.shots figure { margin: 0; text-align: center; }
.shots .shot { width: 100%; max-width: 200px; margin: 0 auto 10px; display: block; border-radius: 22px; }
.shots figcaption { font-size: 13px; color: var(--muted); }
.shots figcaption strong { display: block; color: var(--fg); font-size: 14px; }
.audiences .shot { width: 140px; margin: 14px auto 0; display: block; }
.photo { margin: 18px 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--surface); }
.photo.portrait { max-width: 380px; margin-left: auto; margin-right: auto; }
.photo figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.photo .credit { display: block; font-size: 12px; opacity: 0.9; }
.credit a { color: inherit; }
.credit-thumb { width: 120px; height: auto; border-radius: 8px; display: block; }
.credits td { vertical-align: top; }
.muted { color: var(--muted); font-size: 13px; }

/* Product story: the explanation remains readable without the 3D enhancement. */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 85px; }
.product-intro { padding: 64px 0 36px; max-width: 820px; }
.product-intro h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.045em; margin: 14px 0 22px; }
.product-intro .lede { max-width: 740px; }
.detail-links, .guide-contents { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 28px 0; font-size: 15px; }
.planning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 30px 0; }
.planning-grid h3 { margin-top: 10px; }
.planning-grid p { color: var(--muted); }
.step-number { font-size: 13px; letter-spacing: .12em; color: var(--sun); }
.how-it-works { border-top: 1px solid var(--rule); padding-top: 8px; }
.yosemite-answer { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 34px; margin: 55px 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.yosemite-answer h2 { margin-top: 12px; font-size: 34px; }
.light-comparison { margin: 24px 0; }
.light-comparison div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.light-comparison dt { color: var(--muted); font-size: 14px; }
.light-comparison dd { margin: 4px 0 0; font-size: clamp(26px, 3vw, 38px); font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.light-comparison div:last-child dd { color: var(--sun); }
.coverage-card { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 0; margin: 65px 0; }
.coverage-card h2 { margin-top: 12px; }
.guide-definitions div { border-left: 2px solid var(--sun); padding: 0 0 0 20px; margin: 24px 0; }
.guide-definitions dt { font-weight: 700; }
.guide-definitions dd { margin: 6px 0 0; }
.planning-steps li { padding-left: 8px; margin-bottom: 18px; }
.guide caption { text-align: left; margin: 18px 0 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) {
  .planning-grid, .yosemite-answer { grid-template-columns: 1fr; gap: 16px; }
  .yosemite-answer { padding: 24px; }
  .product-intro { padding-top: 36px; }
  .top nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.coverage-places{display:grid;grid-template-columns:1fr 1fr;gap:16px 30px;margin:30px 0 20px}.coverage-places p{font-size:14px;color:var(--muted)}.coverage-places strong{display:block;color:var(--fg);margin-bottom:4px}@media(max-width:560px){.coverage-places{grid-template-columns:1fr}}

/* Explain the practical value before the detailed tools. */
.product-plain{max-width:760px;font-size:17px;line-height:1.8;color:var(--muted)}.benefits{margin:65px 0 45px}.benefits>h2{font-size:clamp(29px,4vw,42px);font-weight:500;letter-spacing:-1.3px;line-height:1.15;margin-top:14px}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px 35px;margin:34px 0 22px}.benefit-grid h3{font-size:19px;margin:0 0 12px}.benefit-grid p{font-size:14px;line-height:1.8;color:var(--muted)}.benefit-note{font-size:11px;color:var(--muted);max-width:760px;line-height:1.8}.demo-invite{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 35px;background:var(--surface-2);border-radius:12px;margin:45px 0 60px;scroll-margin-top:85px}.demo-invite h2{font-size:26px;font-weight:500;margin:10px 0}.demo-invite p:not(.cat){font-size:14px;color:var(--muted);margin:0}.demo-invite>a{font-size:14px;white-space:nowrap}.demo-invite small{display:block;font-size:10px;color:var(--muted);text-decoration:none;margin-top:7px}.roadmap-preview{margin:65px 0}.roadmap-preview>h2{font-size:clamp(28px,3.5vw,38px);font-weight:500;letter-spacing:-1px;margin-top:15px}.roadmap-intro{max-width:650px;color:var(--muted);font-size:15px}.roadmap-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 40px;margin:32px 0}.roadmap-grid>div,.roadmap-grid>section{padding-top:20px;border-top:1px solid var(--rule)}.roadmap-grid h3,.roadmap-grid h2{font-size:20px;margin:13px 0 10px}.roadmap-grid p{font-size:14px;line-height:1.8;color:var(--muted)}.planned-tag{font-size:9px;letter-spacing:1px;text-transform:uppercase;display:inline-block;border:1px solid var(--rule);border-radius:999px;padding:3px 9px;color:var(--muted)}.roadmap-page{padding-top:25px}.roadmap-page>.lede{max-width:730px}.roadmap-current{max-width:760px;margin-top:50px}.roadmap-current p{font-size:15px;line-height:1.8;color:var(--muted)}
@media(max-width:850px){.benefit-grid{grid-template-columns:1fr 1fr}.top nav{gap:12px}.top nav .store{display:none}}
@media(max-width:560px){.benefits{margin-top:45px}.benefit-grid,.roadmap-grid{grid-template-columns:1fr;gap:20px}.demo-invite{display:block;padding:25px}.demo-invite>a{display:inline-block;margin-top:22px}.benefits>h2{font-size:31px}.product-plain{font-size:15px}.top nav{gap:10px;font-size:12px}.top nav a[href="/3d-sun-path-planner/"]{display:none}}

.product-status{font-size:11px;line-height:1.8;color:var(--muted);margin:18px 0 25px;max-width:700px}

#benefits,#roadmap{scroll-margin-top:85px}

/* Screen recording of the app, beside its explanation. */
.app-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 40px; align-items: center; padding: 28px 0 44px; }
.app-video h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; margin: 12px 0 16px; }
.app-video .video-note { color: var(--muted); font-size: 13px; }
.phone-video { width: 100%; max-width: 300px; height: auto; aspect-ratio: 720 / 1450; justify-self: center; border-radius: 34px; background: var(--surface-2); box-shadow: 0 14px 44px rgb(0 0 0 / .4); display: block; }
@media (max-width: 760px) { .app-video { grid-template-columns: 1fr; gap: 24px; } .phone-video { max-width: 260px; } }

/* Shared shell: quiet navigation and an editorial reading scale across every page. */
h1, h2, h3 { font-weight: 550; letter-spacing: -.035em; }
h1 { line-height: 1.09; text-wrap: balance; }
a { text-underline-offset: 4px; }
:where(a, button, summary, input):focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
.skip:focus { z-index: 30; }
.top { z-index: 20; }
.top .wrap { max-width: 1440px; height: 60px; }
.brand { font-size: 20px; font-weight: 650; letter-spacing: -.045em; }
.top nav { gap: 30px; font-size: 13px; }
.top nav a:not(.store) { color: var(--muted); transition: color .2s; }
.top nav a:hover, .top nav a[aria-current] { color: var(--fg); }
.top nav .nav-demo { border: 1px solid var(--rule); padding: 8px 16px; border-radius: 8px; color: var(--fg); display: inline-flex; align-items: center; gap: 26px; }
.nav-demo span { color: var(--link); }
.mobile-menu { display: none; }
.bottom { margin-top: 90px; padding: 55px 0 24px; }
.bottom .cols { grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px; }
.bottom h2 { font-weight: 600; font-size: 12px; margin-bottom: 18px; }
.bottom li { margin-bottom: 10px; }
.bottom li a { color: var(--muted); text-decoration: none; font-size: 12px; }
.bottom li a:hover { color: var(--fg); }
.bottom .brand { font-size: 21px; margin-bottom: 16px; }
.footer-brand > p { font-size: 17px; line-height: 1.6; color: var(--fg); letter-spacing: -.02em; }
.footer-brand .release-note { font-size: 11px; color: var(--muted); }
.attrib { margin-top: 35px; padding-top: 24px; }
.attrib > p { font-size: 10px; line-height: 1.8; max-width: 1000px; }
.attrib a { color: inherit; }
.footer-colophon { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; margin-top: 20px; border-top: 1px solid var(--rule); font-size: 10px; }
.content-page .list-head { padding: 46px 0 20px; }
.content-page .list-head h1 { font-size: clamp(40px, 6vw, 66px); margin: 18px 0; }
.content-page .narrow { max-width: 800px; }
.content-page .post > h1 { font-size: clamp(36px, 5vw, 55px); margin: 18px 0 24px; }
.content-page .post > .lede { color: var(--muted); font-size: 21px; line-height: 1.65; }
.post section h2 { font-size: 29px; margin-top: 48px; }
.post .cat { font-size: 11px; margin-top: 35px; }
.card { padding: 14px 14px 24px; border-radius: 16px; }
.card .cat { font-size: 10px; letter-spacing: .04em; }
.card h3 { line-height: 1.3; font-size: 21px; }
.card .more { font-size: 13px; }
.cards { gap: 26px; }
.chips { margin: 24px 0 8px; }
.chips a { padding: 9px 16px; font-size: 13px; }
.chips a[aria-current] { background: var(--fg); color: var(--bg); }
.store.soon { border: 0; background: var(--surface-2); border-radius: 8px; font-size: 12px; padding: 11px 14px; }
.cta { padding: 30px; gap: 32px; border-radius: 18px; }
@media (max-width: 760px) {
  .top nav { gap: 20px; }
  .wrap { padding-left: 22px; padding-right: 22px; }
  .bottom .cols { grid-template-columns: 1fr 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 10px; }
}
@media (max-width: 600px) {
  .top .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; font-size: 13px; padding: 10px 0 10px 18px; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > summary span { font-size: 20px; font-weight: 300; }
  .mobile-menu[open] > summary span { transform: rotate(45deg); }
  .mobile-menu nav { position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); padding: 18px 24px 24px; display: flex; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--rule); box-shadow: 0 16px 24px #0003; }
  .top .mobile-menu nav a[href] { display: flex; padding: 15px 0; font-size: 16px; }
  .mobile-menu nav .nav-demo { display: flex; margin-top: 12px; padding: 12px 16px; }
  .mobile-menu nav p { color: var(--muted); font-size: 11px; margin: 20px 0 0; }
  .footer-colophon { flex-direction: column; gap: 7px; }
  .content-page .post > h1 { font-size: 37px; }
  .content-page .post > .lede { font-size: 19px; }
  .content-page .list-head { padding-top: 28px; }
}

/* Appearance is shared by the homepage, articles and demo controls. */
.top-actions { display: flex; align-items: center; gap: 26px; }
.theme-picker { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.theme-picker svg { width: 15px; height: 15px; flex: none; }
.theme-picker select { font: inherit; font-size: 12px; color: var(--fg); background: transparent; border: 0; border-radius: 6px; padding: 9px 2px; cursor: pointer; max-width: 82px; }
.theme-picker option { background: var(--surface); color: var(--fg); }
:root[data-theme="light"] .day-card { box-shadow: 0 12px 40px #23332b09; }
:root[data-theme="light"] .screen-stage .shot { box-shadow: 0 14px 32px #23332b21; }
:root[data-theme="light"] .phone-video { box-shadow: 0 18px 42px #23332b25; }
@media (max-width: 950px) { .top-actions { gap: 18px; } .top nav { gap: 20px; } }
@media (max-width: 600px) {
  .top .wrap { gap: 8px; }
  .top .brand { font-size: 18px; gap: 8px; }
  .top-actions { gap: 10px; }
  .theme-picker svg { display: none; }
  .theme-picker select { font-size: 11px; max-width: 68px; }
  .mobile-menu > summary { padding-left: 6px; gap: 10px; }
}

/* Press kit (/press/) */
.press-page section { margin-top: 36px; }
.press-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 16px 0; }
.press-facts div { background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.press-facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.press-facts dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.press-brand { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.press-brand figure { margin: 0; }
.press-brand img { display: block; max-width: 100%; height: auto; border-radius: 20px; }
.press-brand figcaption, .press-shots figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.press-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; margin: 16px 0; }
.press-shots figure { margin: 0; }
.press-shots .shot { width: 100%; max-width: 220px; display: block; border-radius: 22px; }

/* Tools (/tools/ and /tools/<tool>/): what each part of the app does, with real screenshots. */
.tool-groups { margin: 8px 0 0; }
.tool-groups h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin: 44px 0 16px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.tool-card { position: relative; display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 20px; color: var(--fg); text-decoration: none; transition: background .2s; }
.tool-card:hover { background: var(--surface-2); }
.tool-card h3 { margin: 0 0 6px; font-size: 19px; }
.tool-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.tool-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--sun); background: color-mix(in srgb, var(--sun) 12%, transparent); }
.tool-icon svg { width: 24px; height: 24px; }
.pro-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); border: 1px solid color-mix(in srgb, var(--sun) 50%, transparent); border-radius: 6px; padding: 1px 6px; margin-left: 8px; vertical-align: 3px; }
.tool-page .tool-head { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; }
.tool-page .tool-head .tool-icon { margin-top: 30px; }
.tool-page .tool-head h1 { font-size: clamp(36px, 5vw, 52px); margin: 14px 0 18px; }
.tool-page .tool-head .lede { color: var(--muted); }
.tool-hero { margin: 30px 0 0; }
.tool-hero img { width: 100%; max-width: 260px; height: auto; border-radius: 30px; box-shadow: 0 14px 40px #0004; display: block; margin: 0 auto; background: var(--surface-2); }
.tool-hero figcaption { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 260px; margin: 12px auto 0; }
.tool-hero figcaption strong, .tool-shots figcaption strong { display: block; color: var(--fg); margin-bottom: 2px; }
.tool-plan { font-size: 15px; color: var(--fg); background: var(--surface); border-radius: 10px; padding: 10px 14px; margin: 18px 0 0; }
:root[data-theme="light"] .tool-hero img, :root[data-theme="light"] .tool-shots img { box-shadow: 0 14px 32px #23332b21; }
.tool-page section h2 { font-size: 29px; margin-top: 52px; }
.tool-steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0; }
.tool-steps li { counter-increment: step; position: relative; padding: 0 0 0 48px; margin: 0 0 18px; }
.tool-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--sun); font-weight: 700; font-size: 14px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.tool-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 26px 20px; margin: 24px 0 8px; align-items: start; }
.tool-shots figure { margin: 0; }
.tool-shots img { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto 12px; border-radius: 26px; box-shadow: 0 10px 30px #0004; background: var(--surface-2); }
.tool-shots figcaption { font-size: 14px; color: var(--muted); line-height: 1.5; }
.tool-tips { padding-left: 20px; }
.tool-tips li { margin-bottom: 10px; }
.tool-limits { background: var(--surface); border-radius: 12px; padding: 16px 18px; font-size: 15px; margin: 18px 0; }
.tool-limits h3 { margin: 0 0 6px; font-size: 15px; }
.tool-limits ul { margin: 0; padding-left: 18px; }
.tool-limits li { margin-bottom: 6px; }
.tool-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 16px 0; }
.tool-related a { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 12px; padding: 12px 14px; color: var(--fg); text-decoration: none; font-size: 15px; font-weight: 600; }
.tool-related a:hover { background: var(--surface-2); }
.tool-related .tool-icon { width: 34px; height: 34px; border-radius: 10px; }
.tool-related .tool-icon svg { width: 19px; height: 19px; }
.tool-reading { padding-left: 20px; }
.tool-pager { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; margin: 40px 0 0; border-top: 1px solid var(--rule); padding-top: 20px; }
.tool-pager a:last-child { text-align: right; }
@media (max-width: 720px) {
  .tool-page .tool-head { grid-template-columns: 1fr; gap: 0; }
  .tool-hero img { max-width: 220px; }
  .tool-page section h2 { font-size: 25px; }
}

/* Waitlist form (lib/layout.mjs waitlistForm): email field and button on one row, the note under it. */
.waitlist { max-width: 440px; margin: 18px 0 0; }
.waitlist-row { display: flex; gap: 8px; }
.waitlist input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--fg); background: var(--surface-2); border: 1px solid transparent; border-radius: 10px; padding: 12px 14px; }
.waitlist input::placeholder { color: var(--muted); }
.waitlist input:focus { outline: none; border-color: var(--sun); }
.waitlist button { font: inherit; font-size: 14px; font-weight: 650; color: #172027; background: var(--sun-light); border: 0; border-radius: 10px; padding: 12px 18px; cursor: pointer; white-space: nowrap; transition: background .2s; }
.waitlist button:hover { background: #ffe0a4; }
.waitlist-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.waitlist-note a { color: inherit; }
.waitlist.centered { margin: 18px auto 0; }
.closing-invite .waitlist { margin-top: 26px; }
#waitlist { scroll-margin-top: 140px; }
@media (max-width: 420px) { .waitlist-row { flex-direction: column; } }
