/* fonts:start (generated by scripts/vendor-fonts.mjs) */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/figtree-normal-400-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/figtree-normal-400-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/figtree-normal-400-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fraunces-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/fraunces-normal-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fonts:end */

/* Morrow: Day by Day — site styles. Tokens mirror the app's "ClearDay / Color" variables. */
:root {
  --paper: #F5F2EB;
  --surface: #FFFDF8;
  --sunken: #ECE7DC;
  --ink: #1B2620;
  --ink-2: #4E5A53;
  --line: #E2DCCF;
  --moss: #2E5A44;
  --moss-2: #4F8065;
  --moss-soft: #DDE8E0;
  --sun: #F2B544;
  --sky-top: #1E3D2F;
  --sky-bottom: #2E5A44;
  --sky-ink: #F1F4EF;
  --sky-ink-2: #D2DED5;
  --road: #2E5A44;
  --night: #0F1613;
  --night-surface: #1A2520;
  --night-ink: #E9EFEA;
  --night-ink-2: #B3C1B8;
  --night-moss: #8DBE9E;
  --shadow: 0 1px 2px rgba(27, 38, 32, .06), 0 24px 48px -24px rgba(27, 38, 32, .28);

  --font-display: "Fraunces", "Iowan Old Style", "New York", ui-serif, Georgia, serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --space-4: 4px; --space-8: 8px; --space-12: 12px; --space-16: 16px; --space-24: 24px;
  --space-32: 32px; --space-48: 48px; --space-64: 64px; --space-96: 96px;
  --radius-12: 12px; --radius-20: 20px; --radius-28: 28px; --radius-full: 999px;
  --gutter: 16px;
  --measure: 34rem;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121815;
    --surface: #1A2320;
    --sunken: #18201C;
    --ink: #E9EFEA;
    --ink-2: #B5C2BA;
    --line: #2E3A35;
    --moss: #8DBE9E;
    --moss-2: #6FA383;
    --moss-soft: #22382C;
    --sky-top: #0B110E;
    --sky-bottom: #17251E;
    --road: #3F7258;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--moss); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

h1, h2, .display { font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.1; }
h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin: 0; }
p { margin: 0; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: var(--measure); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Sky + horizon (the icon, at page scale) ---------- */
.sky {
  position: relative;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  color: var(--sky-ink);
  overflow: hidden;
  isolation: isolate;
}
.sky a { color: var(--sky-ink); }
.ground {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: var(--ground-h, 120px);
  z-index: 2; display: block;
}
.ground path { fill: var(--paper); }

.site-header { position: relative; z-index: 4; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.site-nav { display: flex; gap: 4px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 1rem; padding: 8px 12px; border-radius: var(--radius-full); color: var(--sky-ink-2); }
.site-nav a:hover { color: var(--sky-ink); background: rgba(255,255,255,.08); }
.site-nav a[aria-current="page"] { color: var(--sky-ink); background: rgba(255,255,255,.12); }

/* Home hero */
.hero { --ground-h: 90px; }
.hero-inner { position: relative; display: grid; gap: 32px; padding-top: 40px; }
.hero-copy { position: relative; z-index: 3; max-width: 36rem; }
.hero-copy .lede { color: var(--sky-ink-2); margin-top: 20px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.store-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius-full);
  background: var(--sun); color: #1B2620; font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.store-pill svg { flex: none; }
.hero-meta .facts { color: var(--sky-ink-2); font-size: .9375rem; }

.hero-scene { position: relative; height: 484px; display: flex; justify-content: center; align-items: flex-start; }
.hero-scene .sun {
  position: absolute; z-index: 0; left: 50%; top: 188px;
  width: 440px; height: 440px; margin-left: -220px; border-radius: 50%;
  background: var(--sun);
}
.hero-scene .phone { position: relative; z-index: 1; width: 280px; margin-top: 30px; }

@media (min-width: 900px) {
  .hero { --ground-h: 110px; }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; padding-top: 72px; }
  .hero-copy { padding-bottom: 120px; }
  .hero-scene { height: 565px; margin-top: -24px; }
  .hero-scene .sun { top: 253px; }
  .hero-scene .phone { width: 300px; }
}
@media (max-width: 420px) {
  .hero-scene { height: 430px; }
  .hero-scene .sun { width: 360px; height: 360px; margin-left: -180px; top: 174px; }
  .hero-scene .phone { width: 240px; }
}

/* Phone screenshot frame */
.phone {
  border-radius: 40px; overflow: hidden;
  border: 6px solid #0F1613;
  background: #0F1613;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; height: auto; aspect-ratio: 460 / 1000; }

/* ---------- Features ---------- */
.features { padding: 24px 0 24px; }
.night + .features { padding-top: 48px; }
.feature { display: grid; gap: 40px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-copy { max-width: var(--measure); }
.feature-copy p { margin-top: 16px; color: var(--ink-2); }
.feature-copy ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-copy li { display: flex; gap: 12px; color: var(--ink); }
.feature-copy li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .62em; border-radius: 50%; background: var(--moss-2); }
.feature .phone { width: min(300px, 78vw); justify-self: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 72px 0; }
  .feature.flip .feature-copy { order: 2; }
  .feature .phone { width: 320px; }
}

/* Calendar of clear days (drawn, not a screenshot) */
.days {
  justify-self: center; width: min(360px, 100%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-28);
  padding: 28px 24px 24px; box-shadow: var(--shadow);
}
.days h3 { font-size: 1.125rem; }
.days .range { color: var(--ink-2); font-size: .9375rem; margin-top: 2px; }
.days ol { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.days li { aspect-ratio: 1; border-radius: 50%; background: var(--sunken); }
.days li.clear { background: var(--moss); }
@media (prefers-color-scheme: dark) { .days li.clear { background: var(--moss-2); } }
.days .note { margin-top: 18px; font-size: .9375rem; color: var(--ink-2); }

/* ---------- Night band (Breathe) ---------- */
.night { background: var(--night); color: var(--night-ink); }
.night .feature { border: 0; }
.night .feature-copy p { color: var(--night-ink-2); }
.night .feature-copy li { color: var(--night-ink); }
.night .feature-copy li::before { background: var(--night-moss); }
.night .phone { border-color: #26332D; }
.breath { position: relative; justify-self: center; display: grid; place-items: center; }
.breath::before {
  content: ""; position: absolute; width: 132%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(141,190,158,.16) 0 46%, rgba(141,190,158,.07) 46% 70%, transparent 70%);
  z-index: 0;
}
.breath .phone { position: relative; z-index: 1; }
.quote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.5rem; line-height: 1.35; margin-top: 28px; color: var(--night-ink); }
@media (prefers-reduced-motion: no-preference) {
  .breath::before { animation: breathe 14s ease-in-out infinite; }
  @keyframes breathe { 0% { transform: scale(.9); } 28.6% { transform: scale(1.04); } 57.2% { transform: scale(1.04); } 100% { transform: scale(.9); } }
}

/* ---------- Privacy at a glance ---------- */
.glance { padding: 88px 0 24px; }
.glance-grid { display: grid; gap: 32px; }
.glance-card { background: var(--moss-soft); border-radius: var(--radius-28); padding: 12px 24px; }
.glance-card dl { margin: 0; }
.glance-card div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--moss) 18%, transparent); }
.glance-card div:last-child { border-bottom: 0; }
.glance-card dt { color: var(--ink-2); }
.glance-card dd { margin: 0; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-align: right; }
.glance-card dd::after { content: ""; width: 14px; height: 8px; border-left: 2.5px solid var(--moss); border-bottom: 2.5px solid var(--moss); transform: rotate(-45deg) translateY(-3px); flex: none; }
.glance-copy p { margin-top: 16px; color: var(--ink-2); max-width: var(--measure); }
.glance-copy .more { margin-top: 20px; font-weight: 600; }
@media (min-width: 900px) { .glance-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } }

/* ---------- Safety note ---------- */
.safety { padding: 56px 0 8px; }
.safety-note {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  border-left: 4px solid var(--sun); background: var(--surface);
  padding: 20px 24px; border-radius: 0 var(--radius-20) var(--radius-20) 0; max-width: 46rem;
}
.safety-note p { color: var(--ink); }
.safety-note svg { margin-top: 3px; color: var(--moss); }

/* ---------- FAQ ---------- */
.faq { padding: 72px 0 96px; }
.faq-list { margin-top: 28px; max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.125rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: var(--measure); }
.faq details > div p + p { margin-top: 12px; }

/* ---------- Sub-pages ---------- */
.page-head { --ground-h: 72px; }
.page-head .wrap.title { position: relative; z-index: 3; padding-top: 40px; padding-bottom: 104px; }
.page-head .lede { color: var(--sky-ink-2); margin-top: 14px; }
.page-head .mini-sun {
  position: absolute; z-index: 1; right: max(var(--gutter), calc(50% - 560px)); bottom: 30px;
  width: 180px; height: 180px; border-radius: 50%; background: var(--sun);
}
@media (max-width: 600px) { .page-head .mini-sun { width: 84px; height: 84px; bottom: 22px; } .page-head .wrap.title { padding-bottom: 116px; } }

.doc { padding: 40px 0 96px; }
.doc .wrap { display: grid; gap: 40px; }
.doc-body { max-width: 42rem; }
.doc-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin-top: 48px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { margin-top: 28px; }
.doc-body p, .doc-body ul, .doc-body ol { margin-top: 14px; color: var(--ink-2); }
.doc-body ul, .doc-body ol { padding-left: 1.25rem; }
.doc-body li + li { margin-top: 8px; }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-meta { color: var(--ink-2); font-size: .9375rem; }
.summary-box { background: var(--moss-soft); border-radius: var(--radius-20); padding: 22px 24px; }
.summary-box p { color: var(--ink); margin: 0; }
.summary-box p + p { margin-top: 10px; }
.toc { align-self: start; font-size: .9375rem; }
.toc h2 { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.toc ol { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; }
.toc a { text-decoration: none; color: var(--ink); display: block; padding: 4px 0; }
.toc a:hover { color: var(--moss); }
@media (min-width: 1000px) {
  .doc .wrap { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; }
  .toc { position: sticky; top: 24px; }
}
@media (max-width: 999px) { .toc { display: none; } }

.contact-card { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-20); padding: 22px 24px; }
.contact-card a { font-weight: 600; font-size: 1.125rem; word-break: break-word; }
.contact-card p { margin: 0 !important; }
.doc-body .faq-list { margin-top: 16px; }
.doc-body .faq summary { font-size: 1.0625rem; }
.doc-body .safety-note { margin-top: 20px; }
.doc-body .safety-note p { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sunken); border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: .9375rem; color: var(--ink-2); }
.site-footer .wrap { display: grid; gap: 20px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer .brand { color: var(--ink); font-size: 1.25rem; }
.site-footer .brand img { width: 28px; height: 28px; box-shadow: none; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-nav a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.doc-body .faq { padding: 0; }
.doc-body .contact-card { margin-top: 16px; }
