@font-face {
  font-family: "Geist";
  src: url("/assets/geist-variable-68b1bdfa.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/geist-mono-variable-774df0a9.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #fbfbfa;
  --surface: #ffffff;
  --ink: #242424;
  --muted: #737373;
  --subtle: #737373;
  --line: #e7e7e5;
  --accent: #2f2f2f;
  --accent-hover: #494949;
  --container: 1120px;
  --gutter: 24px;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--canvas); }
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
a, button, input, select, textarea { touch-action: manipulation; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-frame {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: env(safe-area-inset-top, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  flex-direction: column;
}
.site-header, .page-shell, .site-footer { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -0.025em; text-decoration: none; }
.wordmark__beta { display: inline-block; color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; vertical-align: middle; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav--mobile { display: none; }
.site-nav form { display: flex; align-items: center; margin: 0; }
.nav-link { color: var(--muted); font-size: 13px; line-height: 20px; text-decoration: none; transition: color 140ms ease; }
.nav-link:hover, .nav-link:focus-visible { color: var(--ink); }
.nav-link--strong { color: var(--ink); font-weight: 500; }
.nav-button { display: block; min-height: 20px; padding: 0; border: 0; appearance: none; background: transparent; }
.nav-link--mobile { display: inline-flex; min-height: 44px; align-items: center; padding: 0 4px; color: var(--ink); font-size: 14px; font-weight: 500; }
.page-shell { flex: 1; padding: 64px 0 112px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 24px; border-top: 1px solid var(--line); color: var(--subtle); font-family: var(--mono); font-size: 11px; }
.site-footer__links { display: flex; gap: 16px; }
.site-footer__links a { text-decoration: none; }

.flash-notifications { position: fixed; z-index: 20; top: calc(96px + env(safe-area-inset-top, 0px)); right: max(var(--gutter), calc((100vw - var(--container)) / 2)); display: grid; width: min(calc(100vw - (var(--gutter) * 2)), 360px); gap: 8px; }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px 11px 14px; border: 1px solid #3b3b3a; border-radius: 6px; background: var(--accent); color: var(--surface); box-shadow: 0 8px 20px rgb(36 36 36 / 12%); font-size: 13px; line-height: 1.35; opacity: 1; transform: translateY(0); transition: opacity 260ms ease, transform 260ms ease; }
.flash--alert { border-color: #5d4646; background: #4c3d3d; }
.flash--leaving { opacity: 0; transform: translateY(-8px); }
.flash__dismiss { width: 22px; height: 22px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 18px; font-weight: 300; line-height: 1; opacity: 0.72; }
.flash__dismiss:hover, .flash__dismiss:focus-visible { opacity: 1; }
.eyebrow, .step-number, .preview-status, .legal-meta, .section-meta { font-family: var(--mono); }
.eyebrow { margin: 0; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.3; text-transform: uppercase; }

.today-page { width: min(100%, 720px); margin: 0; }
.today-intro { padding: 0 0 30px; }
.identity-statement { max-width: 620px; margin: 12px 0 0; color: var(--muted); font-size: clamp(22px, 3vw, 30px); font-style: italic; font-weight: 300; letter-spacing: -0.04em; line-height: 1.15; }
.commitment-panel { padding: 0 0 32px; border-bottom: 1px solid var(--line); background: transparent; }
.commitment-panel h1 { max-width: 620px; margin: 12px 0 0; font-size: clamp(34px, 5vw, 52px); font-weight: 500; letter-spacing: -0.055em; line-height: 1.02; }
.anchor-copy { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.today-date { margin: 30px 0 0; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.check-in-actions { display: flex; gap: 8px; margin-top: 16px; }
.check-in-actions form { flex: 0 0 132px; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 500; line-height: 1; text-decoration: none; transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease; }
.button:active { transform: scale(0.985); }
.button--primary { width: 100%; border-color: var(--accent); background: var(--accent); color: var(--surface); }
.button--primary:hover, .button--primary:focus-visible { background: var(--accent-hover); }
.button--quiet { width: 100%; border-color: transparent; background: transparent; color: var(--muted); }
.button--quiet:hover, .button--quiet:focus-visible { background: #f2f2f0; color: var(--ink); }
.button--choice { width: 100%; gap: 6px; border-color: var(--line); background: var(--canvas); color: var(--ink); }
.button--choice:hover, .button--choice:focus-visible { border-color: var(--muted); background: #f2f2f0; }
.button--choice--selected, .button--choice--selected:hover, .button--choice--selected:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--surface); }
.check-in-button__icon { width: 15px; height: 15px; animation: check-in-confirm 180ms ease both; }
.button--wide { width: 100%; }
.completion-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; text-align: left; }
.completion-note--yes { color: var(--ink); font-weight: 500; }
.recent-days { margin-top: 40px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-meta, .calendar-caption { color: var(--subtle); font-size: 11px; }
.progress-calendar { display: flex; gap: 12px; margin-top: 16px; }
.progress-dot { display: block; flex: 0 0 auto; width: 12px; height: 12px; border: 1px solid #cfcfcb; border-radius: 50%; background: transparent; }
.progress-dot--yes { border-color: var(--accent); background: var(--accent); }
.progress-dot--no { border-color: #bdbdb8; background: #d9d9d5; }
.progress-dot--pending, .progress-dot--neutral { border-color: #dededb; background: var(--canvas); }
.progress-dot--age-1 { opacity: 0.9; }
.progress-dot--age-2 { opacity: 0.8; }
.progress-dot--age-3 { opacity: 0.7; }
.progress-dot--age-4 { opacity: 0.6; }
.progress-dot--age-5 { opacity: 0.5; }
.progress-dot--age-6 { opacity: 0.4; }
.calendar-caption { margin: 12px 0 0; }

.auth-page { width: min(100%, 820px); margin: 0; }
.settings-page { width: min(100%, 820px); margin: 0; }
.today-page, .settings-page { animation: app-rise 240ms ease both; }
.auth-page--compact { max-width: 560px; }
.auth-copy, .page-heading { margin-bottom: 34px; }
.auth-copy h1, .page-heading h1 { max-width: 560px; margin: 14px 0 12px; font-size: clamp(34px, 5vw, 48px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.auth-copy h1 { max-width: 820px; }
.auth-copy p:last-child { max-width: 720px; }
.settings-page .page-heading h1 { max-width: 820px; }
.settings-page .page-heading p:last-child { max-width: 720px; }
.auth-copy p:last-child, .page-heading p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.form-card { padding: 0; background: transparent; }
.auth-page .form-card, .auth-page .auth-switch { width: min(100%, 560px); }
.settings-page .form-card { width: min(100%, 560px); }
.field + .field { margin-top: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 500; }
.field input { width: 100%; min-height: 42px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; background: transparent; color: var(--ink); font-size: 15px; transition: border-color 140ms ease; }
.field input:focus { border-bottom-color: #a8a8a5; }
.field-hint { margin: 6px 0 0; color: var(--subtle); font-size: 12px; }
.form-card > .button, .form-card > input[type="submit"] { margin-top: 26px; }
.form-actions { display: flex; align-items: center; gap: 8px; margin-top: 26px; }
.form-actions .button { flex: 1; }
.settings-secondary { width: min(100%, 560px); margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); }
.settings-secondary__links { display: flex; align-items: center; gap: 20px; margin-top: 12px; }
.settings-secondary__links a, .settings-secondary__button { display: inline-flex; min-height: 44px; align-items: center; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 13px; text-decoration: none; }
.settings-secondary__links a:hover, .settings-secondary__links a:focus-visible, .settings-secondary__button:hover, .settings-secondary__button:focus-visible { color: var(--ink); }
.settings-secondary__links form { display: flex; margin: 0; }
.auth-switch { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.auth-switch a { color: var(--ink); font-weight: 500; }
.form-errors { margin-bottom: 20px; color: #5f5f5f; font-size: 13px; }
.form-errors p { margin: 0; font-weight: 500; }
.form-errors ul { margin: 6px 0 0; padding-left: 18px; }

.onboarding-page { display: grid; grid-template-columns: minmax(0, 560px) minmax(280px, 380px); align-items: start; gap: clamp(64px, 12vw, 160px); min-height: 560px; }
.onboarding-form { width: min(100%, 560px); }
.onboarding-form h1 { max-width: 560px; margin: 14px 0 12px; font-size: clamp(40px, 5vw, 56px); font-weight: 500; letter-spacing: -0.065em; line-height: 1; }
.onboarding-form__intro { margin: 0 0 34px; color: var(--muted); font-size: 16px; }
.onboarding-guidance { max-width: 380px; margin-top: 8px; padding-left: 32px; border-left: 1px solid var(--line); }
.onboarding-guidance h2 { margin: 14px 0 12px; font-size: 26px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; }
.onboarding-guidance > p:last-of-type { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.onboarding-examples { margin: 32px 0 0; }
.onboarding-examples div { padding: 16px 0; border-top: 1px solid var(--line); }
.onboarding-examples div:last-child { border-bottom: 1px solid var(--line); }
.onboarding-examples dt { color: var(--subtle); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.onboarding-examples dd { margin: 8px 0 0; color: var(--ink); font-size: 15px; letter-spacing: -0.02em; line-height: 1.35; }
.onboarding-guidance__link { display: inline-block; margin-top: 22px; color: var(--ink); font-size: 13px; font-weight: 500; }

.starter-page { width: min(100%, 960px); }
.starter-page__intro { max-width: 620px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.starter-page__intro h1 { margin: 14px 0 14px; font-size: clamp(40px, 5vw, 56px); font-weight: 500; letter-spacing: -0.065em; line-height: 1; }
.starter-page__intro p:last-of-type { max-width: 500px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.starter-page__back { display: inline-block; margin-top: 24px; }
.starter-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; padding-top: 48px; }
.starter-group h2 { margin: 0 0 16px; font-size: 21px; font-weight: 500; letter-spacing: -0.045em; }
.starter-grid { display: grid; gap: 8px; }
.starter-link { display: grid; gap: 8px; min-height: 154px; padding: 18px; border: 1px solid var(--line); background: transparent; color: var(--ink); text-decoration: none; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.starter-link:hover { border-color: #bcbcb8; background: var(--surface); transform: translateY(-2px); }
.starter-link:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
.starter-link:active { transform: translateY(0); }
.starter-link__identity { color: var(--muted); font-size: 14px; font-style: italic; letter-spacing: -0.02em; line-height: 1.3; }
.starter-link__action { font-size: 17px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.starter-link__adopt { align-self: end; color: var(--subtle); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: color 160ms ease; }
.starter-link:hover .starter-link__adopt, .starter-link:focus-visible .starter-link__adopt { color: var(--ink); }

.marketing-page { width: 100%; }
.marketing-hero { padding: 64px 0 88px; border-bottom: 1px solid var(--line); }
.marketing-hero__inner, .marketing-section__inner, .marketing-final__inner { width: 100%; margin: 0; }
.marketing-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); align-items: center; gap: clamp(56px, 9vw, 120px); }
.marketing-hero__copy, .marketing-phone { min-width: 0; }
.marketing-hero__copy { animation: marketing-rise 450ms ease both; }
.marketing-hero h1, .interior-hero h1 { max-width: 600px; margin: 14px 0 18px; font-size: clamp(48px, 6vw, 72px); font-weight: 500; letter-spacing: -0.075em; line-height: 0.96; }
.marketing-lede { max-width: 460px; margin: 0; color: var(--muted); font-size: 17px; letter-spacing: -0.015em; line-height: 1.4; }
.marketing-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.marketing-actions .button, .marketing-final .button { width: auto; }
.text-link { color: var(--muted); font-size: 13px; font-weight: 500; }
.text-link:hover, .text-link:focus-visible { color: var(--ink); }
.marketing-note { margin: 22px 0 0; color: var(--subtle); font-family: var(--mono); font-size: 11px; }

.marketing-phone { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 16.5; padding: 46px 30px 42px; border: 1px solid #bdbdb9; border-radius: 31px 35px 30px 37px; background: transparent; transform: rotate(0.4deg); animation: marketing-rise 500ms 60ms ease both; }
.marketing-phone::before, .marketing-phone::after { position: absolute; content: ""; background: #bdbdb9; }
.marketing-phone::before { top: 18px; left: 50%; width: 34px; height: 1px; transform: translateX(-50%) rotate(-1deg); }
.marketing-phone::after { bottom: 17px; left: 50%; width: 46px; height: 1px; transform: translateX(-50%) rotate(0.5deg); }
.marketing-preview { padding: 12px 4px; }
.preview-status { color: var(--subtle); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.preview-identity { margin: 14px 0 0; color: var(--muted); font-size: 15px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.2; }
.marketing-preview h2 { max-width: 320px; margin: 30px 0 0; font-size: 34px; font-weight: 500; letter-spacing: -0.06em; line-height: 1.02; }
.preview-confirmation { margin: 36px 0 0; color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -0.03em; }
.preview-dots { display: flex; gap: 8px; margin-top: 20px; }
.preview-dot { width: 8px; height: 8px; border: 1px solid #d2d2cf; border-radius: 50%; }
.preview-dot--filled { border-color: var(--accent); background: var(--accent); }

.marketing-section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.marketing-section--light { background: transparent; }
.marketing-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 72px; }
.marketing-section h2, .marketing-final h2 { max-width: 620px; margin: 12px 0 0; font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -0.065em; line-height: 1; }
.marketing-section__lead { max-width: 500px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.marketing-three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.marketing-principle { padding-top: 14px; border-top: 1px solid var(--line); }
.step-number { margin: 0; color: var(--subtle); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; }
.marketing-principle h3 { margin: 30px 0 10px; font-size: 17px; font-weight: 500; letter-spacing: -0.025em; }
.marketing-principle p:last-child { max-width: 280px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.marketing-final { padding: 80px 0 16px; }
.marketing-final h2 { max-width: 600px; margin-bottom: 28px; }
.marketing-final .eyebrow { color: var(--muted); }

.interior-hero { padding: 8px 0 64px; border-bottom: 1px solid var(--line); }
.interior-hero h1 { margin-bottom: 18px; }
.process-list { max-width: 820px; margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list h2 { margin: -5px 0 8px; font-size: 24px; font-weight: 500; letter-spacing: -0.045em; }
.process-list p { max-width: 540px; margin: 0; color: var(--muted); font-size: 15px; }
.pull-quote { max-width: 760px; }
.pull-quote p { max-width: 700px; margin: 0; font-size: clamp(28px, 4vw, 42px); font-weight: 400; letter-spacing: -0.055em; line-height: 1.05; }
.pull-quote span { display: block; margin-top: 18px; color: var(--subtle); font-family: var(--mono); font-size: 11px; }
.about-copy { max-width: 720px; }
.about-copy p { max-width: 650px; margin: 0; font-size: 19px; letter-spacing: -0.025em; line-height: 1.4; }
.about-copy p + p { margin-top: 20px; color: var(--muted); }
.manifesto { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 60px; }
.manifesto ul { margin: 0; padding: 0; list-style: none; }
.manifesto li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 20px; font-weight: 400; letter-spacing: -0.035em; }
.manifesto li:last-child { border-bottom: 1px solid var(--line); }

.legal-page { width: min(100%, 720px); margin: 0; }
.legal-page h1 { margin: 14px 0 8px; font-size: clamp(40px, 5vw, 56px); font-weight: 500; letter-spacing: -0.065em; line-height: 1; }
.legal-meta { margin: 0 0 40px; color: var(--subtle); font-size: 11px; }
.legal-page > p:not(.eyebrow):not(.legal-meta) { font-size: 15px; line-height: 1.6; }
.legal-page h2 { margin: 36px 0 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.025em; }
.legal-page h2 + p { margin-top: 0; color: var(--muted); }

@keyframes marketing-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes app-rise {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes check-in-confirm {
  from { opacity: 0; transform: scale(0.75); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  .marketing-hero__inner, .marketing-intro, .marketing-three-up, .manifesto, .onboarding-page { grid-template-columns: 1fr; gap: 42px; }
  .starter-groups { grid-template-columns: 1fr; gap: 42px; }
  .marketing-phone { max-width: 300px; }
  .onboarding-guidance { max-width: 560px; margin-top: 0; padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .marketing-section { padding: 64px 0; }
  .marketing-final { padding-top: 64px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .site-header { min-height: 56px; padding: 6px 0; }
  .site-nav { gap: 12px; }
  .site-nav--desktop { display: none; }
  .site-nav--mobile { display: flex; }
  .nav-link--optional { display: none; }
  .page-shell { padding: 32px 0 56px; }
  .flash-notifications { top: calc(64px + env(safe-area-inset-top, 0px)); }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .today-intro { padding-bottom: 24px; }
  .identity-statement { font-size: clamp(21px, 6.5vw, 26px); }
  .commitment-panel { padding-bottom: 24px; }
  .commitment-panel h1 { margin-top: 10px; font-size: clamp(36px, 10.5vw, 44px); }
  .today-date { margin-top: 24px; }
  .check-in-actions { margin-top: 14px; }
  .check-in-actions form { flex: 1 1 0; }
  .button--choice { min-height: 52px; font-size: 15px; }
  .completion-note { margin-top: 12px; }
  .recent-days { margin-top: 32px; }
  .progress-calendar { gap: 4px; }
  .progress-dot { width: 8px; height: 8px; }
  .field input { font-size: 16px; }
  .settings-secondary { margin-top: 40px; }
  .settings-secondary__links { flex-wrap: wrap; gap: 4px 20px; }
  .marketing-hero { padding: 44px 0 64px; }
  .marketing-hero h1, .interior-hero h1 { font-size: clamp(44px, 13vw, 58px); }
  .marketing-phone { padding: 42px 26px 38px; }
  .interior-hero { padding: 0 0 48px; }
  .process-list li { grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; }
  .process-list h2 { font-size: 21px; }
  .manifesto { gap: 30px; }
  .legal-page h1 { font-size: 42px; }
  .starter-page__intro { padding-bottom: 36px; }
  .starter-groups { padding-top: 36px; }
  .starter-link { min-height: 138px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
