:root {
  color-scheme: light;
  --canvas: #F8F7F3; --elevated: #EFEDE6; --ink: #0C1720; --ink2: #4E5B64; --hairline: #DDD9D0; --blue: #2C5C82; --on-blue: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--hairline); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: 0.1px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.site a { color: var(--ink2); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav.site a:hover { color: var(--ink); text-decoration: underline; }
nav.site a[aria-current="page"] { color: var(--ink); font-weight: 600; }
main { padding: 40px 0 56px; }
h1 { font-size: 34px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.4px; }
h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 8px; letter-spacing: -0.1px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 0 0 14px; }
li { margin: 4px 0; }
.lede { font-size: 20px; color: var(--ink2); max-width: 36em; }
.meta { color: var(--ink2); font-size: 15px; margin-bottom: 28px; }
.card { background: var(--elevated); border: 1px solid var(--hairline); border-radius: 16px; padding: 18px 20px; margin: 14px 0; }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.hero { padding: 24px 0 8px; }
.hero img.icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 20px; border: 1px solid var(--hairline); }
.cta { display: inline-block; background: var(--blue); color: var(--on-blue); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 12px; margin: 8px 0 0; }
.note { color: var(--ink2); font-size: 15px; }
table { border-collapse: collapse; width: 100%; margin: 8px 0 16px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline); }
th { color: var(--ink2); font-weight: 600; font-size: 14px; }
footer.site { border-top: 1px solid var(--hairline); color: var(--ink2); font-size: 15px; }
footer.site .wrap { padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.site a { color: var(--ink2); }
@media (max-width: 560px) { h1 { font-size: 29px; } nav.site a { margin-left: 12px; } .brand span { display: none; } }

/* Homepage: text beside the phone on wide screens, stacked on phones */
body.home { min-height: 100vh; overflow-x: clip; display: flex; flex-direction: column; }
body.home .hero { flex: 1; display: flex; align-items: center; padding: 48px 0; }
.hero-inner { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px; }
.hero-text { max-width: 520px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; margin-bottom: 36px; }
.logo img { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--hairline); }
.hero-text h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -1.2px; font-weight: 800; margin: 0 0 20px; }
.hero-text .lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink2); margin: 0 0 34px; max-width: 28em; }
.badge { display: inline-block; line-height: 0; border-radius: 9px; }
.badge img { height: 48px; width: auto; display: block; }
/* Shown instead of the App Store badge until the app has a public App Store listing (plain text, no Apple artwork, not a link). */
.coming-soon { display: inline-flex; align-items: center; height: 48px; margin: 0; padding: 0 20px; border-radius: 9px; background: #0C1720; color: #F8F7F3; font-size: 16px; font-weight: 600; letter-spacing: 0.1px; line-height: 1; }
.hero-phone { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-phone::before { content: ""; position: absolute; z-index: 0; width: min(460px, 100%); aspect-ratio: 1; height: auto; border-radius: 50%; background: var(--elevated); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.phone-frame { position: relative; z-index: 1; width: min(330px, 100%); padding: 9px; border-radius: 56px; background: #0E1317; box-shadow: 0 30px 60px -20px rgba(12, 23, 32, .45), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone-frame::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 14px; background: #05080A; }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 47px; }
.sample-note { position: relative; z-index: 1; margin: 18px 0 0; font-size: 13px; color: var(--ink2); }
@media (max-width: 860px) {
  body.home .hero { align-items: flex-start; padding: 32px 0 24px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-text { max-width: none; }
  .logo { margin-bottom: 26px; }
  .hero-phone::before { width: min(380px, 100%); }
}
@media (max-width: 380px) {
  .hero-inner { padding: 0 16px; }
  .phone-frame { padding: 7px; border-radius: 46px; }
  .phone-frame img { border-radius: 39px; }
  .phone-frame::before { top: 15px; width: 78px; height: 23px; margin-left: -39px; }
}
