/* LifeOS landing page — design tokens + layout.
   Direction: a dated daily brief. The organising idea — "what needs my
   attention today?" — is the page's structure, not a paragraph explaining
   it: the headline asks the question and the example day answers it
   immediately. Premium Minimal Futurism: Apple-calm spacing and type, a
   single restrained CLAY/TERRACOTTA accent reserved for the primary action
   and a small number of emphasis points, ruled dividers instead of shadowed
   cards. Warm stone/espresso neutral ramp (not a cool grey with the
   accent's hue baked in) plus one earth accent, chosen 2026-09-28 (rationale
   + measured contrast ratios in that session's report), rebuilt 2026-09-28
   per Astra's review: the colour was never the tell — the hero used to spend
   its strongest space on a decorative orb instead of the product, and every
   section read as the same eyebrow/heading/paragraph/cards shape regardless
   of what it held. System font stack only — no webfont request, so first
   paint never waits on anything but this file. */

:root{
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #f9f5ef;
  --bg-alt: #f1e9dc;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --ink: #211b15;
  --ink-muted: #6b5f52;
  --ink-faint: #786b5e;
  --hairline: #e8dfd0;
  --hairline-strong: #d8cab4;

  --accent: #a94e2d;
  --accent-strong: #8c3e22;
  --accent-soft: #f3e4da;
  --accent-ink: #ffffff;

  --success: #33714c;
  --warning: #a7741b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-btn: 6px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --shadow-card: 0 1px 2px rgba(33,27,21,.06), 0 10px 30px -18px rgba(33,27,21,.20);

  --ease: cubic-bezier(.16,.84,.44,1);
  --dur-fast: 160ms;
  --dur-med: 320ms;

  color-scheme: light;
}

@media (prefers-color-scheme: dark){
  :root{
    --bg: #120f0c;
    --bg-alt: #17130f;
    --surface: #1b1611;
    --surface-raised: #211a14;
    --ink: #f5f1ea;
    --ink-muted: #b4a99c;
    --ink-faint: #948a7c;
    --hairline: #2a2119;
    --hairline-strong: #362a1f;

    --accent: #d39073;
    --accent-strong: #e0a98f;
    --accent-soft: #2e2018;
    --accent-ink: #17110c;

    --success: #69bf8d;
    --warning: #e3b463;

    --shadow-card: 0 1px 2px rgba(0,0,0,.35), 0 20px 40px -22px rgba(6,4,2,.6);

    color-scheme: dark;
  }
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg{ display: block; max-width: 100%; }

a{ color: inherit; }

.wrap{
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.skip-link{
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: var(--space-4);
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: inset-block-start var(--dur-fast) var(--ease);
}
.skip-link:focus{ inset-block-start: var(--space-4); }

/* ---------- Header ---------- */

.site-header{
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-block-end: 1px solid var(--hairline);
}

.header-row{
  display: flex;
  align-items: center;
  gap: var(--space-5);
  block-size: 64px;
}

.brand{
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  margin-inline-end: auto;
}

/* The brand mark: a static 28px signature, never animated. It used to be
   echoed at hero scale as a large breathing/hue-shifting orb; that visual
   couldn't show whether today held an overdue bill or nothing at all, so it
   was demoted to exactly this — the one place it appears now. */
.brand-mark{ flex: none; }

.site-nav{
  display: none;
  gap: var(--space-6);
  font-size: .9375rem;
  color: var(--ink-muted);
}
.site-nav a{ text-decoration: none; }
.site-nav a:hover{ color: var(--ink); }

@media (min-width: 760px){
  .site-nav{ display: flex; }
}

/* ---------- Buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover{ background: var(--accent-strong); }

.btn-small{
  padding: var(--space-2) var(--space-4);
  font-size: .875rem;
}

/* Secondary action: a plain text link, never a second button. */
.text-link{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  font-size: .9375rem;
}
.text-link:hover{ color: var(--accent-strong); }

/* ---------- Type ---------- */

h1, h2, h3{
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

h1{
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
h2{ font-size: 1.75rem; line-height: 1.2; }
h3{ font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow{
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin: 0 0 var(--space-3);
}

.lead{
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 46ch;
  margin: var(--space-5) 0 0;
}

.section-lead{
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 62ch;
  margin: var(--space-4) 0 0;
}

/* ---------- Hero ---------- */
/* No side-by-side decorative visual: the strongest space in the hero goes
   to the question and the example day that answers it, not to an abstract
   graphic that could belong to any app. */

.hero{ padding-block: var(--space-16) var(--space-10); }

.hero-inner{ max-width: 640px; }

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
  margin-block-start: var(--space-8);
}

/* ---------- Sections ---------- */

.section{ padding-block: var(--space-20); }
.section-alt{ background: var(--bg-alt); border-block: 1px solid var(--hairline); }
.section-narrow{ max-width: 760px; }

@media (max-width: 680px){
  .section{ padding-block: var(--space-12); }
}

/* The example day sits close to its explanation (40px), tighter than the
   80px/48px rhythm that separates the page's other major subjects — the
   pairing is deliberate, everything else gets room to breathe. */
.section-day{ padding-block-start: var(--space-8); padding-block-end: var(--space-10); }
#features.section{ padding-block-start: 0; }

/* ---------- The example day ---------- */

.day-list{
  list-style: none;
  margin: var(--space-10) 0 0;
  padding: 0;
  border-block-start: 1px solid var(--hairline-strong);
}

.day-row{
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: var(--space-6);
  padding-block: var(--space-5);
  border-block-end: 1px solid var(--hairline);
}

.day-when{
  margin: 0;
  padding-block-start: 2px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.day-title{
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}

.day-meta{
  margin: var(--space-1) 0 0;
  font-size: .9375rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 680px){
  .day-row{
    grid-template-columns: 1fr;
    gap: var(--space-1);
    padding-block: var(--space-4);
  }
}

/* ---------- Five explanations (replaces the six feature cards) ---------- */

.explain-list{
  list-style: none;
  counter-reset: explain;
  margin: var(--space-10) 0 0;
  padding: 0;
  border-block-start: 1px solid var(--hairline-strong);
}

.explain-list li{
  counter-increment: explain;
  position: relative;
  padding: var(--space-6) 0 var(--space-6) var(--space-10);
  border-block-end: 1px solid var(--hairline);
}

.explain-list li::before{
  content: counter(explain);
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: var(--space-6);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}

.explain-list h3{ margin-block-end: var(--space-2); }
.explain-list p{ margin: 0; color: var(--ink-muted); max-width: 62ch; }

/* ---------- FAQ ---------- */

.faq-list{
  margin-block-start: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item{
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--space-1) var(--space-5);
}

.faq-item summary{
  cursor: pointer;
  padding-block: var(--space-4);
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-size: 1.25rem;
  color: var(--ink-faint);
  transition: transform var(--dur-fast) var(--ease);
  flex: none;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }

.faq-item p{
  margin: 0 0 var(--space-4);
  color: var(--ink-muted);
  max-width: 64ch;
}

/* ---------- Footer ---------- */

.site-footer{
  border-block-start: 1px solid var(--hairline);
  padding-block: var(--space-8);
}
.footer-row{
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: .8125rem;
  color: var(--ink-faint);
}
@media (min-width: 640px){
  .footer-row{ flex-direction: row; justify-content: space-between; }
}
.footer-row a{ color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Reduced motion ---------- */
/* Nothing on this page animates continuously any more — no orb, no
   scroll-driven reveal — so there is nothing left that needs a
   prefers-reduced-motion guard. The skip-link's focus transition and the
   FAQ marker's rotation are both short, user-triggered state changes, not
   the kind of motion this preference is about. */
