/* Shared design system. Static CSS only: no inline styles (CSP style-src 'self'). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; background: var(--bg); color: var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
strong { color: var(--text); font-weight: 650; }
h1, h2, h3, h4 { color: var(--text); font-weight: 700; letter-spacing: -.022em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 68px); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; }
h3 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -.015em; line-height: 1.3; }
h4 { font-size: 20px; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0 0 16px; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

/* Buttons */
.btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 650; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; max-width: 100%; }
.btn-primary, .button { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover, .button:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { color: var(--text); border-color: var(--muted); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; border-radius: 10px; }
.btn svg { flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 700; letter-spacing: -.02em; text-decoration: none; font-size: 17px; margin-right: auto; }
.brand:hover { color: var(--text); }
.mono { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 800; letter-spacing: 0; }
.nav-desktop { display: none; gap: 4px; }
.nav-desktop a, .nav-mobile nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--body); font-size: 15px; font-weight: 550; text-decoration: none; }
.nav-desktop a:hover, .nav-mobile nav a:hover { color: var(--text); background: var(--surface-2); }
.nav-desktop a[aria-current="page"], .nav-mobile nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: var(--border-strong); }
.theme-icon { grid-area: 1 / 1; pointer-events: none; width: 20px; height: 20px; }
.theme-sun { opacity: 0; transform: rotate(-45deg) scale(.8); }
.theme-toggle[aria-pressed="true"] .theme-moon { opacity: 0; transform: rotate(45deg) scale(.8); }
.theme-toggle[aria-pressed="true"] .theme-sun { opacity: 1; transform: rotate(0) scale(1); }
.nav-mobile { position: relative; }
.nav-mobile summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; list-style: none; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::marker { content: ""; }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); }
.nav-mobile[open] summary { border-color: var(--border-strong); }
.header-cta { white-space: nowrap; }
@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
  .brand { margin-right: 24px; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 859px) { .brand-name { font-size: 16px; } }
@media (max-width: 479px) { .site-header .brand-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--accent-text); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-pill { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--body); letter-spacing: .02em; text-transform: none; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--body); margin-top: 20px; }
.subhead { margin: 56px 0 20px; font-size: 20px; }

/* Cards and grids */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .card { padding: 28px; } }
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
  .card:has(a):hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
}
.grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.icon svg { width: 22px; height: 22px; }
.feature p { margin: 0; font-size: 16px; }
.feature p strong { display: block; margin-bottom: 6px; font-size: 18px; letter-spacing: -.01em; }
.job p { margin: 0; font-size: 16px; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin: 32px 0 0; padding: 18px 20px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--surface); color: var(--text); font-weight: 600; }
.callout svg { flex: none; margin-top: 3px; color: var(--accent-text); }

/* Home hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, var(--border) 1px, transparent 0); background-size: 28px 28px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 88px 0 104px; } .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }
.hero-name { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.hero-name img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); box-shadow: var(--shadow); }
.hero h1.name { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.015em; line-height: 1.2; }
.headline { margin: 20px 0 0; max-width: 13em; color: var(--text); font-size: clamp(40px, 6.2vw, 68px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.hero-sub { margin: 24px 0 0; max-width: 34em; font-size: clamp(18px, 1.8vw, 21px); color: var(--body); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin: 16px 0 0; font-size: 15px; color: var(--muted); max-width: 34em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual { animation: rise 600ms cubic-bezier(.2, .7, .2, 1) 120ms both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Example morning brief card */
.brief { position: relative; max-width: 480px; margin: 0 auto; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lg); }
.brief::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border-radius: 20px; border: 1px solid var(--border); background: var(--surface-2); }
.brief-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.brief-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--on-accent); }
.brief-title { margin: 0; color: var(--text); font-weight: 700; font-size: 16px; line-height: 1.2; }
.brief-sub { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.2; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--body); font-size: 12px; font-weight: 650; letter-spacing: .02em; line-height: 1.4; white-space: nowrap; }
.badge-accent { border-color: transparent; background: var(--accent-soft); color: var(--accent-text); }
.brief-head .badge { margin-left: auto; }
.brief-label { margin: 18px 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brief-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.brief-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); font-size: 15px; font-weight: 550; line-height: 1.35; }
.brief-num { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); color: var(--body); font-size: 12px; font-weight: 700; }
.brief-draft { margin-top: 14px; padding: 14px; border-radius: 12px; border: 1px dashed var(--border-strong); background: var(--surface); }
.brief-draft p { margin: 0 0 12px; color: var(--body); font-size: 14px; line-height: 1.45; }
.brief-draft strong { color: var(--text); }
.brief-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fake-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 650; }
.fake-primary { background: var(--accent); color: var(--on-accent); }
.fake-secondary { border: 1px solid var(--border-strong); color: var(--text); }
.brief-foot { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.brief-foot svg { color: var(--accent-text); flex: none; }

/* Trust strip */
.trust { padding: 28px 0; border-block: 1px solid var(--border); background: var(--surface); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; }
.trust-label { margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 0; padding: 0; list-style: none; }
.trust-logos li { color: var(--muted); font-size: clamp(18px, 2vw, 22px); font-weight: 750; letter-spacing: -.02em; }

/* Proof */
.proof-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 980px) { .proof-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.proof-copy p { font-size: clamp(18px, 1.7vw, 21px); color: var(--text); font-weight: 500; line-height: 1.55; }
.testimonial { position: relative; margin: 0; padding: 32px; border-radius: 20px; background: var(--band); color: var(--band-text); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .testimonial { padding: 44px; } }
.testimonial blockquote::before { content: "\201C" / ""; display: block; height: 40px; margin-bottom: 4px; color: #FB923C; font-size: 72px; font-weight: 800; line-height: 1; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--band-text); }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: var(--band-muted); font-size: 15px; font-weight: 600; }
.testimonial figcaption::before { content: "SF" / ""; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--band-text); font-size: 14px; font-weight: 700; }

/* Steps */
.steps { display: grid; gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 860px) { .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.step { counter-increment: step; position: relative; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 750; font-size: 16px; }
.step p { margin: 0; font-size: 16px; }
.step strong { display: block; margin-bottom: 4px; font-size: 18px; }

/* Promo and lessons */
.promo { display: grid; gap: 24px; align-items: center; padding: 32px; border-radius: 24px; border: 1px solid var(--border); background: radial-gradient(120% 140% at 100% 0%, var(--accent-soft), transparent 55%), var(--surface); box-shadow: var(--shadow); }
@media (min-width: 860px) { .promo { grid-template-columns: 1fr auto; padding: 48px; } }
.promo h2 { font-size: clamp(26px, 3.2vw, 36px); }
.promo h2 strong { font-weight: inherit; }
.promo p { margin: 12px 0 0; max-width: 36em; }
.picker { margin: 40px 0 0; padding: 0; border: 0; min-width: 0; }
.pick-tab { display: inline-flex; align-items: center; min-height: 48px; margin: 0 8px 16px 0; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--body); font-weight: 650; cursor: pointer; }
.picker input:checked + .pick-tab { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.picker input:focus-visible + .pick-tab { outline: 2px solid var(--accent); outline-offset: 3px; }
.pick-panel { display: none; gap: 12px; }
#pick-business:checked ~ .pick-business, #pick-life:checked ~ .pick-life { display: grid; }
details.area { border: 1px solid var(--border); border-radius: 16px; background: var(--bg); padding: 0 20px; }
details.area summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; color: var(--text); font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
details.area summary::-webkit-details-marker { display: none; }
details.area summary::marker { content: ""; }
details.area summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
details.area[open] summary::after { transform: rotate(225deg); }
.area-body { display: grid; gap: 20px; padding: 4px 0 20px; }
.win { padding-top: 16px; border-top: 1px solid var(--border); }
.win h3 { margin: 0 0 8px; font-size: clamp(17px, 1.8vw, 19px); }
.win p { margin: 0 0 10px; font-size: 16px; }
.win .win-tag { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 700; }
.win .prompt, .lesson-card .prompt, .page-agents .prompt, .page-cos .prompt { margin: 0 0 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); color: var(--text); font: 15px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.win .prompt code, .lesson-card .prompt code, .page-agents .prompt code, .page-cos .prompt code { font: inherit; }
.lesson-list { display: grid; gap: 20px; }
.lesson-card h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; }
.lesson-card h3 { margin: 20px 0 8px; font-size: 16px; }
.lesson-card p { margin: 0 0 10px; }
.lesson-card .lesson-num { margin: 0 0 6px; color: var(--muted); font-size: 14px; font-weight: 650; }
.lesson-card .takeaway { font-size: 18px; font-weight: 600; color: var(--text); }
.lesson-steps { margin: 0 0 10px; padding-left: 22px; }
.lesson-steps li { margin: 0 0 6px; }
.lesson-card .lesson-note { font-style: italic; }
.lesson-card .rx, .picker-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (max-width: 479px) { .pick-tab { width: calc(50% - 4px); justify-content: center; padding: 10px 12px; text-align: center; } .pick-tab[for="pick-life"] { margin-right: 0; } .win .prompt, .lesson-card .prompt, .page-agents .prompt, .page-cos .prompt { padding: 10px 10px; font-size: 14px; } }
.win-result strong { color: var(--text); }
.pick-panel .rx { margin-top: 8px; }
.picker-foot { margin-top: 24px; font-size: 16px; color: var(--muted); }
.picker-foot a { color: var(--accent-text); font-weight: 650; }
.story-sub { margin-top: 16px; font-size: clamp(18px, 1.6vw, 20px); }
.rx { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; text-decoration: none; }
.rx:hover { text-decoration: underline; }
details.more { margin-top: 8px; border-top: 1px solid var(--border); }
details.more summary, .content-page main details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; color: var(--text); font-weight: 650; cursor: pointer; list-style: none; }
details.more summary::-webkit-details-marker, .content-page main details summary::-webkit-details-marker { display: none; }
details.more summary::marker, .content-page main details summary::marker { content: ""; }
details.more summary::after, .content-page main details summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
details.more[open] summary::after, .content-page main details[open] summary::after { transform: rotate(225deg); }

/* CTA band */
.cta-band { padding: 72px 0; }
@media (min-width: 900px) { .cta-band { padding: 104px 0; } }
.cta-inner { position: relative; overflow: hidden; padding: 40px 28px; border-radius: 28px; background: var(--band); color: var(--band-muted); border: 1px solid var(--border); text-align: center; }
@media (min-width: 768px) { .cta-inner { padding: 72px 64px; } }
.cta-inner::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(251, 146, 60, .22), transparent); pointer-events: none; }
.cta-inner > * { position: relative; }
.cta-inner h2 { color: var(--band-text); max-width: 18em; margin: 0 auto; }
.cta-inner p { max-width: 36em; margin: 18px auto 0; color: var(--band-muted); }
.cta-inner a:not(.btn) { color: #FDBA74; }
.cta-inner .btn-primary { background: #FB923C; color: #0A0A0B; }
.cta-inner .btn-primary:hover { background: #FDBA74; color: #0A0A0B; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.email-fallback { font-size: 15px; }
.email-fallback a { display: inline-flex; align-items: center; min-height: 44px; }
.location-line { font-size: 15px; }

/* Contact form (hidden until launch) */
.contact-form { max-width: 40em; margin: 32px auto 0; text-align: left; }
.field { margin-bottom: 20px; }
.field label { display: block; color: var(--band-text); font-weight: 650; margin-bottom: 8px; }
.field input, .contact-form textarea { display: block; width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 12px; background: rgba(255,255,255,.04); color: var(--band-text); font: inherit; }
.contact-form textarea { resize: vertical; }
.form-action p { margin: 16px 0 0; font-size: 14px; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, var(--border) 1px, transparent 0); background-size: 28px 28px; mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 20%, transparent 70%); }
@media (min-width: 900px) { .page-hero { padding: 96px 0 72px; } }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { max-width: 36em; }
.page-hero .hero-ctas { margin-top: 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
.pills a:hover { border-color: var(--border-strong); }
.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font-weight: 550; }
.checklist svg { flex: none; margin-top: 2px; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); }
.pricing { margin: 48px 0 0; padding: 24px 28px; border-radius: 16px; border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface-2); color: var(--text); font-weight: 600; }
.after-grid { margin-top: 24px; }

/* Templates */
.bot-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .bot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bot-card { display: flex; flex-direction: column; }
.bot-card h3 { margin-bottom: 12px; }
.bot-card p { font-size: 16px; }
.bot-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.bot-meta p { margin: 0; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: auto; }
.card-actions a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; }
.bot-card.soon { background: var(--surface-2); box-shadow: none; border-style: dashed; justify-content: center; }
.bot-card.soon:hover { transform: none; box-shadow: none; }
.suite + .suite { margin-top: 72px; }
.suite-head { margin-bottom: 28px; }
.suite-head p { margin: 8px 0 0; color: var(--muted); }
.trademark { margin: 56px 0 0; font-size: 14px; color: var(--muted); }
.template-terms { margin: 24px 0 0; padding: 28px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); font-size: 15px; }
.template-terms h3 { margin-bottom: 12px; }
.template-terms ul { padding-left: 20px; margin: 0; }
.template-terms li + li { margin-top: 8px; }

/* About */
.about-hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 72px; } }
.photo-card { margin: 0; padding: 10px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); max-width: 360px; }
.photo-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.timeline { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 22px 24px 22px 28px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 14px; background: var(--surface); font-size: 16px; }
.timeline strong { display: block; margin-bottom: 4px; font-size: 18px; }
.muted-row { margin-top: 24px; color: var(--muted); font-size: 16px; }
.prose-narrow { max-width: 760px; }
.prose-narrow h2 { margin-bottom: 20px; }
.about-section + .about-section { margin-top: 80px; }

/* Content and legal pages keep their markup; style it here. */
body.legal main { max-width: 760px; padding-top: 56px; padding-bottom: 96px; overflow-wrap: anywhere; }
body.legal main h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 28px; }
body.legal main h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 14px; }
body.legal main h3 { font-size: 20px; margin: 32px 0 10px; }
body.legal main ul, body.legal main ol { padding-left: 1.4em; margin: 0 0 16px; }
body.legal main li + li { margin-top: 8px; }
body.legal main a { display: inline; }
body.contact-result main a { display: inline-flex; align-items: center; min-height: 44px; }

/* Chief of Staff template page */
.page-cos main { max-width: 820px; padding-top: 64px; padding-bottom: 96px; }
.page-cos main > h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 32px; }
.page-cos main > section { margin-top: 24px; }
.page-cos main > section:first-of-type { padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.page-cos main > section:first-of-type h2 { margin-top: 0; }
.page-cos main > section:first-of-type p { margin: 0 0 6px; color: var(--text); font-weight: 550; }
.page-cos #safety { padding: 28px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 16px; background: var(--surface-2); }
.page-cos #safety > h2 { margin-top: 0; }
.page-cos #safety .template-terms { background: var(--surface); }
.page-cos main h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 14px; }
.page-cos main h3 { font-size: 18px; margin: 24px 0 8px; }
.page-cos main ul, .page-cos main ol { padding-left: 1.3em; }
.page-cos main li + li { margin-top: 6px; }
.page-cos main details { margin-top: 12px; padding: 4px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.page-cos main details[open] { padding-bottom: 16px; }
.page-cos main details .cant-match { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); }
.page-cos .build-note { margin-top: 16px; color: var(--muted); font-size: 15px; }
.page-cos main > p:last-child { margin-top: 40px; padding: 20px 24px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }

/* Footer */
.site-footer { margin-top: 0; padding: 64px 0 40px; border-top: 1px solid var(--border); background: var(--surface); font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.footer-brand p { margin: 16px 0 8px; max-width: 26em; color: var(--muted); }
.social, .site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer nav { flex-direction: column; }
.footer-title { margin: 0 0 8px; color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; color: var(--body); text-decoration: none; }
.site-footer a:not(.brand):hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.copyright { margin: 0; color: var(--muted); font-size: 14px; }

/* Motion preferences and narrow screens */
@media (prefers-reduced-motion: no-preference) {
  .btn, .button, .nav-desktop a, .theme-toggle, .pills a { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease; }
  .btn:active, .button:active { transform: translateY(1px); }
  .theme-icon { transition: opacity 180ms ease, transform 180ms ease; }
  body { transition: color 180ms ease, background-color 180ms ease; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .brief::before { display: none; }
  .brief { padding: 16px; }
  /* Longer card labels (the /audit sample report) drop to their own line instead of overflowing. */
  .brief-head { flex-wrap: wrap; }
  .brief-head .badge { white-space: normal; }
}
@media (max-width: 319px) {
  .wrap { padding: 0 12px; }
  h1, h2, h3, h4, p, li, a, .pick-tab, details.area summary { overflow-wrap: anywhere; }
  .nowrap { white-space: normal; }
  .header-cta { display: none; }
  .hero-grid > *, .proof-grid > *, .split > *, .about-hero > * { min-width: 0; }
  .badge { white-space: normal; }
  .testimonial, .brief { padding: 16px; }
  .testimonial figcaption { display: block; }
  .testimonial figcaption::before { margin-bottom: 8px; }
  .brief-head { flex-wrap: wrap; }
}
.bot-meta .badge { white-space: normal; }
.bot-meta { flex-direction: column; align-items: flex-start; }
.bot-meta .badge:not(.badge-accent) { padding: 0; border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.bot-card.soon .badge { align-self: flex-start; }
.lead, .story-sub, .section-head p { max-width: 36em; }
@media (max-width: 479px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-cta { padding: 8px 12px; font-size: 14px; }
}
/* Grok Bot first picker and other-agents page (Nov 13, 2026) */
.agents-intro { margin-top: 28px; }
.agents-intro .area-body p { margin: 0; font-size: 16px; }
.area-body > .rx { justify-self: start; }
.other-agents { margin: 40px 0 0; }
.page-agents .best-for { color: var(--text); }
.page-agents main > section .cant-match { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); }
.page-agents main > section:first-of-type p { font-weight: 400; }
/* Time check picker (Nov 13, 2026): CSS only, since the CSP allows no extra scripts. */
.timecheck { counter-reset: saved; }
.tc-step { display: block; margin: 28px 0 10px; padding: 0; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.tc-group { margin: 22px 0 10px; font-size: 18px; }
.tc-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-items: start; }
.tc-item { border: 1px solid var(--border); border-radius: 14px; background: var(--bg); }
.tc-item:has(.tc-pick:checked) { border-color: var(--accent); }
.tc-problem { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; color: var(--text); font-weight: 650; cursor: pointer; }
.tc-problem::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid var(--muted); border-radius: 6px; }
.tc-pick:checked + .tc-problem::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--bg); }
.tc-pick:focus-visible + .tc-problem, .tc-times input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.tc-times { display: none; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 16px 14px; border: 0; min-width: 0; }
.tc-pick:checked ~ .tc-times { display: flex; }
.tc-times::before { content: "How much time does it take?"; width: 100%; margin-bottom: 2px; font-size: 14px; color: var(--muted); }
.tc-times label { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; cursor: pointer; }
.tc-times input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tc-t1:checked { counter-increment: saved 1; }
.tc-t2:checked { counter-increment: saved 2; }
.tc-t4:checked { counter-increment: saved 4; }
.tc-result { margin-top: 28px; padding: 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); }
.tc-result > .tc-out > .tc-step:first-child { margin-top: 0; }
.tc-empty { margin: 0; color: var(--muted); }
.tc-out { display: none; }
.timecheck:has(.tc-pick:checked) .tc-out { display: block; }
.timecheck:has(.tc-pick:checked) .tc-empty { display: none; }
.tc-total { margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text); }
.tc-num { font-size: 0; }
.tc-num::before { content: "about " counter(saved); font-size: clamp(22px, 3vw, 30px); color: var(--accent-text); }
.tc-note { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.tc-lines { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tc-lines li { display: none; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); font-size: 16px; }
.tc-lines a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.tc-call { margin: 0 0 14px; color: var(--text); }
.tc-book { display: none; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.tc-book::before { content: "Book a free 20-minute call →"; }
.tc-book:hover { text-decoration: underline; }
.timecheck:has(#p-inbox:checked) .r-inbox { display: block; }
.timecheck:has(#p-meetings:checked) .r-meetings { display: block; }
.timecheck:has(#p-promises:checked) .r-promises { display: block; }
.timecheck:has(#p-ai:checked) .r-ai { display: block; }
.timecheck:has(#p-busywork:checked) .r-busywork { display: block; }
.timecheck:has(#p-followups:checked) .r-followups { display: block; }
.timecheck:has(#p-leads:checked) .r-leads { display: block; }
.timecheck:has(#p-marketing:checked) .r-marketing { display: block; }
.timecheck:has(#p-home:checked) .r-home { display: block; }
.timecheck:has(#p-workouts:checked) .r-workouts { display: block; }
.timecheck:has(#p-meals:checked) .r-meals { display: block; }
.timecheck:has(#p-appointments:checked) .r-appointments { display: block; }
.timecheck:has(.g-w .tc-pick:checked):not(:has(.g-s .tc-pick:checked)):not(:has(.g-l .tc-pick:checked)) .bk-w { display: inline-flex; }
.timecheck:has(.g-s .tc-pick:checked):not(:has(.g-w .tc-pick:checked)):not(:has(.g-l .tc-pick:checked)) .bk-s { display: inline-flex; }
.timecheck:has(.g-l .tc-pick:checked):not(:has(.g-w .tc-pick:checked)):not(:has(.g-s .tc-pick:checked)) .bk-l { display: inline-flex; }
.timecheck:has(.g-w .tc-pick:checked):has(.g-s .tc-pick:checked):not(:has(.g-l .tc-pick:checked)) .bk-ws { display: inline-flex; }
.timecheck:has(.g-w .tc-pick:checked):has(.g-l .tc-pick:checked):not(:has(.g-s .tc-pick:checked)) .bk-wl { display: inline-flex; }
.timecheck:has(.g-s .tc-pick:checked):has(.g-l .tc-pick:checked):not(:has(.g-w .tc-pick:checked)) .bk-sl { display: inline-flex; }
.timecheck:has(.g-w .tc-pick:checked):has(.g-s .tc-pick:checked):has(.g-l .tc-pick:checked) .bk-wsl { display: inline-flex; }

/* Home hero: "One Friday" film. The poster is a CSS background, picked here by layout and
   theme. The moving picture is an animated AVIF in a picture element on top of it. No script. */
.hero-visual{position:relative;min-width:0}
.hero-film{margin:0}
.hero-film-stage{position:relative;aspect-ratio:4/5;max-width:560px;margin:0 auto;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 3%,#000 88%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 3%,#000 88%,transparent);
  mask-composite:intersect}
.hero-film-light,.hero-film-dark{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-size:cover;background-repeat:no-repeat}
.hero-film-light{display:block;background-image:url(/img/hero/friday-v3-phone-tall-light.webp)}
.hero-film-dark{display:none;background-image:url(/img/hero/friday-v3-phone-tall-dark.webp)}
:root[data-theme="dark"] .hero-film-light{display:none}
:root[data-theme="dark"] .hero-film-dark{display:block}
@media (prefers-color-scheme:dark){
  :root:not([data-theme]) .hero-film-light{display:none}
  :root:not([data-theme]) .hero-film-dark{display:block}
}
.hero-film-caption{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;margin-top:4px}
.hero-film-badge,.hero-film-note{margin:0}
.hero-film-badge{display:flex}
.hero-film-note{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}
.hero-film-note svg{color:var(--accent-text);flex:none}
@media (max-width:560px){
  /* Phones: let the picture run to the screen edges (the wrap has 24px side padding). */
  .hero-film-stage{margin:0 -24px}
}
@media (min-width:1000px){
  .hero-film-stage{aspect-ratio:4/3;max-width:none;width:116%;margin:0 0 0 -8%;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 2%,#000 97%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 88%,transparent);
    mask-image:linear-gradient(90deg,transparent,#000 2%,#000 97%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 88%,transparent)}
  .hero-film-light{background-image:url(/img/hero/friday-v3-desktop-light.webp)}
  .hero-film-dark{background-image:url(/img/hero/friday-v3-desktop-dark.webp)}
  .hero-film-caption{margin-top:0}
}
/* The moving picture sits on the poster. Its file starts on the poster frame. */
.hero-film-stage picture,.hero-film-stage img{display:block;width:100%;height:100%}
.hero-film-stage img{object-fit:cover}
/* Stop motion: a checkbox, no script. Checked hides the moving picture and leaves the poster. */
.hero-film-stop:checked~.hero-film-stage picture{display:none}
.hero-film-stop-label{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);color:var(--text);font-size:14px;font-weight:650;cursor:pointer}
.hero-film-stop:checked~.hero-film-caption .hero-film-stop-label{background:var(--surface-2);color:var(--muted)}
.hero-film-stop:focus-visible~.hero-film-caption .hero-film-stop-label{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){
  .hero-film-stop,.hero-film-stop-label{display:none}
}

/* Return-visit booking prompt. The card is created by /js/return-prompt.js only after a tab return. */
.rp { position: fixed; z-index: 80; right: 16px; bottom: 16px; width: 360px; max-width: calc(100vw - 32px); max-height: 30vh; overflow: auto; padding: 20px 48px 16px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: no-preference) {
  .rp { animation: rp-in .3s ease-out; }
  @keyframes rp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 699px) {
  .rp { left: 16px; right: 16px; width: auto; }
}
.rp h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.rp p { margin: 0 0 14px; }
.rp-a { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-a .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; }
.rp-x { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; font: 700 20px/1 system-ui,sans-serif; }
.rp [aria-live] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
