:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101114;
  background: #f6f7fb;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #087cf0; }
.shell { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
header { padding: 28px 0; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: #101114; font-size: 1.25rem; font-weight: 750; text-decoration: none; }
.links { display: flex; gap: 20px; }
.links a { color: #444852; text-decoration: none; }
main { padding: 48px 0 72px; }
.hero { text-align: center; padding: 48px 0 72px; }
.icon { font-size: 76px; line-height: 1; }
h1 { margin: 24px 0 12px; font-size: clamp(2.25rem, 7vw, 4rem); }
h2 { margin-top: 36px; }
.lede { color: #626772; font-size: 1.2rem; line-height: 1.6; }
.card { background: white; border: 1px solid #e4e6eb; border-radius: 22px; padding: 28px; box-shadow: 0 14px 38px rgba(28, 35, 50, .07); }
.features { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; text-align: left; }
.features li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 12px; color: white; background: #111; border-radius: 50%; font-weight: 700; }
p, li { line-height: 1.65; }
.muted { color: #626772; }
footer { border-top: 1px solid #dedfe4; padding: 28px 0 40px; color: #686c75; }
footer .shell { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
@media (max-width: 560px) { .links { gap: 12px; font-size: .92rem; } main { padding-top: 24px; } }

.download { margin: 24px 0; }
.app-store-badge { display: inline-block; vertical-align: middle; border-radius: 7px; }
.app-store-badge img { display: block; width: 150px; height: 50px; }
.app-store-badge:focus-visible { outline: 3px solid #087cf0; outline-offset: 5px; }

/* YesBeep 1.1 presentation, scoped to the homepage and shared-alarm fallback. */
body.refresh { --yesbeep-yellow: #ffd11f; background: #f2f2f7; color: #000; min-height: 100vh; display: flex; flex-direction: column; }
.refresh .shell { width: min(880px, calc(100% - 48px)); }
.refresh header { padding: 28px 0; }
.refresh .brand { display: inline-flex; align-items: center; gap: 8px; color: #000; font-size: 1.65rem; font-weight: 750; letter-spacing: -.04em; }
.refresh .beep-wave { color: var(--yesbeep-yellow); flex: none; }
.refresh a { color: #000; text-underline-offset: 4px; }
.refresh .links a { color: #656569; }
.refresh a:hover { text-decoration: underline; }
.refresh a:focus-visible { outline: 3px solid #9b7800; outline-offset: 5px; border-radius: 4px; }
.refresh main { flex: 1; padding: 40px 0 72px; }
.refresh .hero { padding: 24px 0 0; }
.refresh .eyebrow { margin: 0 0 18px; color: #656569; font-size: 1rem; font-weight: 500; }
.refresh h1 { max-width: 780px; margin: 0 auto 22px; font-size: clamp(2.2rem, 5.8vw, 3.9rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 750; text-wrap: balance; }
.refresh .lede { max-width: 640px; margin: 0 auto; color: #656569; font-size: 1.13rem; line-height: 1.65; }
.refresh .download { margin: 30px 0 38px; }
.refresh .card { background: #fff; border: 1px solid #e5e5ea; border-radius: 24px; padding: 32px; box-shadow: none; }
.refresh .hero .card { max-width: 700px; margin: 0 auto; }
.refresh .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin: 0; }
.refresh .features li { position: relative; padding-left: 36px; font-size: 1rem; line-height: 1.5; }
.refresh .features li::before { position: absolute; left: 0; top: 0; margin: 0; color: #000; background: var(--yesbeep-yellow); }
.refresh .shared-alarm { max-width: 740px; margin: 24px auto 0; text-align: center; padding: 48px 36px; }
.refresh .shared-alarm h1 { font-size: clamp(2rem, 5.5vw, 3rem); }
.refresh .shared-alarm .download { margin-bottom: 24px; }
.refresh .shared-alarm > p:last-child { max-width: 520px; margin: 0 auto; color: #656569; }
.refresh footer { border-top: 1px solid #dedee3; color: #656569; padding: 26px 0 32px; font-size: .9rem; }
@media (max-width: 560px) {
  .refresh .shell { width: calc(100% - 32px); }
  .refresh header { padding: 22px 0; }
  .refresh nav { gap: 16px; }
  .refresh .brand { font-size: 1.4rem; }
  .refresh .beep-wave { width: 24px; height: 24px; }
  .refresh main { padding: 22px 0 48px; }
  .refresh .hero { padding-top: 18px; }
  .refresh .card { padding: 24px; }
  .refresh .features { grid-template-columns: 1fr; gap: 20px; }
  .refresh .shared-alarm { margin-top: 10px; padding: 32px 24px; }
  .refresh .eyebrow { font-size: .94rem; }
}

/* Shared header identity on informational pages; body content layout is preserved. */
body.consistent-header { background: #f2f2f7; }
.consistent-header header.shell { width: min(880px, calc(100% - 48px)); padding: 28px 0; }
.consistent-header .brand { display: inline-flex; align-items: center; gap: 8px; color: #000; font-size: 1.65rem; font-weight: 750; letter-spacing: -.04em; }
.consistent-header .beep-wave { color: #ffd11f; flex: none; }
.consistent-header .links a { color: #656569; }
.consistent-header header a:hover { text-decoration: underline; }
.consistent-header header a:focus-visible { outline: 3px solid #9b7800; outline-offset: 5px; border-radius: 4px; }
@media (max-width: 560px) {
 .consistent-header header.shell { width: calc(100% - 32px); padding: 22px 0; }
 .consistent-header nav { gap: 16px; }
 .consistent-header .brand { font-size: 1.4rem; }
 .consistent-header .beep-wave { width: 24px; height: 24px; }
}
