/* Little Days web. Tokens mirror the app (design/system/tokens.json + design/v9/WINDOW_LIGHT.md):
   paper #FBFAF7, ink #1E1B22, midnight #0B1A33 (the accent), the light #F4BD62, sage paper #EAF0E6.
   No webfont, no gradient: SF Pro through system-ui; the wordmark is an outlined SVG (Castoro). */
:root {
  --paper: #FBFAF7;
  --ground: #FFFFFF;
  --ground-2: #F6F4F0;
  --ink: #1E1B22;
  --ink-2: #3A3640;
  --muted: #5E5A63;
  --rule: #ECE6DA;
  --rule-2: #DDD5C6;
  --midnight: #0B1A33;
  --wall: #071427;
  --light: #F4BD62;
  --on-light: #171614;
  --ochre: #7A4F0F;
  --sage: #EAF0E6;
  --sage-rule: #D3DDCB;
  --err: #C4312A;
  --ok: #2A553F;
  --text: system-ui, -apple-system, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --max: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--midnight); text-decoration-color: var(--light); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--midnight); }
:focus-visible { outline: 3px solid var(--midnight); outline-offset: 3px; border-radius: 6px; }
::selection { background: #F9E1B0; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1 { font-weight: 700; letter-spacing: -0.036em; line-height: 1.02; }
h2 { font-weight: 700; letter-spacing: -0.028em; line-height: 1.08; }
h3 { font-weight: 650; letter-spacing: -0.014em; line-height: 1.25; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ground); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.eyebrow { font: 600 13px/1 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ochre); margin: 0; }

/* Header */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; gap: 2px; }
.nav a { font: 500 15px/1 var(--text); text-decoration: none; color: var(--ink-2); padding: 10px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(30, 27, 34, 0.06); color: var(--ink); }

/* Hero */
.hero { padding: 24px 0 72px; }
.hero .wrap { display: grid; gap: 40px; }
.hero h1 { font-size: clamp(46px, 12.5vw, 92px); margin-top: 18px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 24px 0 32px; max-width: 29em; }
.badge { display: inline-flex; align-items: center; gap: 12px; background: var(--midnight); color: #fff; padding: 10px 22px 10px 12px; border-radius: 16px; min-height: 60px; user-select: none; }
.badge img { width: 40px; height: 40px; }
.badge span { display: flex; flex-direction: column; line-height: 1.15; }
.badge small { font: 500 12px/1.2 var(--text); opacity: 0.78; }
.badge b { font: 650 19px/1.2 var(--text); letter-spacing: -0.012em; }
.cta-note { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }

.stage { position: relative; overflow: hidden; border-radius: 32px; min-height: 520px; }
.stage.wall { background: var(--wall); }
.stage.soft { background: var(--ground-2); }
.phone { position: absolute; width: 62%; max-width: 330px; border-radius: 9.6% / 4.4%; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 40px 80px -24px rgba(0,0,0,.55); }
.phone img { width: 100%; }
.soft .phone { box-shadow: 0 0 0 1px rgba(30,27,34,.10), 0 40px 70px -28px rgba(30,27,34,.35); }
.stage .p1 { left: 5%; top: 11%; z-index: 2; }
.stage .p2 { right: 4%; top: 3%; z-index: 1; }
.stage.one .p1 { left: 50%; transform: translateX(-50%); top: 9%; }

/* Features */
.feature { padding: 72px 0; }
.feature .wrap { display: grid; gap: 36px; align-items: center; }
.feature h2 { font-size: clamp(34px, 8.4vw, 60px); margin-top: 16px; }
.feature p.lead { font-size: 19px; color: var(--ink-2); margin: 20px 0 0; max-width: 28em; }
.facts { list-style: none; margin: 30px 0 0; padding: 0; max-width: 32em; border-top: 1px solid var(--rule-2); }
.facts li { padding: 15px 0; border-bottom: 1px solid var(--rule-2); color: var(--ink-2); display: grid; grid-template-columns: 7.5em 1fr; gap: 14px; }
.facts b { color: var(--ink); font-weight: 650; }

/* Sage band: private */
.private { background: var(--sage); padding: 84px 0; margin: 24px 0; }
.private h2 { font-size: clamp(36px, 9vw, 64px); margin-top: 16px; }
.private .lead { font-size: 19px; color: var(--ink-2); margin: 20px 0 0; max-width: 30em; }
.pillars { margin: 44px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.pillars li { border-top: 1px solid var(--sage-rule); padding: 20px 0 22px; }
.pillars h3 { font-size: 20px; max-width: 14em; }
.pillars p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 24em; }
.private .more { margin: 34px 0 0; font-weight: 600; }
.private a { text-decoration-color: var(--ochre); }

/* Together */
.steps { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: s; max-width: 34em; border-top: 1px solid var(--rule-2); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 6px 10px; padding: 18px 0; border-bottom: 1px solid var(--rule-2); color: var(--ink-2); }
.steps li::before { content: counter(s); font: 650 28px/1 var(--text); letter-spacing: -0.03em; color: var(--ochre); }
.steps b { color: var(--ink); font-weight: 650; display: block; }

/* Closing */
.close { padding: 24px 0 88px; }
.close .stage { min-height: 0; padding: 48px 28px; display: grid; gap: 28px; align-content: start; }
.close h2 { color: #fff; font-size: clamp(32px, 8vw, 56px); max-width: 12em; position: relative; }
.close .wm { height: 26px; width: auto; position: relative; }
.close .badge { background: #fff; color: var(--midnight); position: relative; justify-self: start; }
.close .badge small { opacity: 0.7; }

/* Documents */
.doc { padding: 24px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(40px, 9.5vw, 60px); margin-top: 16px; }
.meta { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.summary { margin: 30px 0 8px; background: var(--ground); border: 1px solid var(--rule); border-radius: 20px; padding: 22px 24px; }
.summary h2 { font-size: 19px; letter-spacing: -0.012em; margin-bottom: 8px; }
.summary ul { margin: 0; padding-left: 20px; }
.summary li { margin: 7px 0; }
.toc { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; font: 500 14px/1 var(--text); text-decoration: none; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--ink-2); background: var(--ground); }
.toc a:hover { border-color: var(--midnight); color: var(--ink); }
.doc section { padding-top: 38px; scroll-margin-top: 16px; }
.doc section h2 { font-size: 26px; margin-bottom: 12px; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); font-weight: 650; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 14px 0; font-size: 15px; background: var(--ground); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.table tr:last-child td { border-bottom: 0; }
.table th { font: 650 13px/1.3 var(--text); color: var(--ink); background: var(--ground-2); }
.table td:first-child { font-weight: 600; color: var(--ink); width: 34%; }
.caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }

/* Support */
.support-head { padding: 24px 0 8px; }
.support-head h1 { font-size: clamp(42px, 10vw, 64px); margin-top: 16px; }
.support-head p.sub { color: var(--ink-2); font-size: 19px; margin: 18px 0 0; max-width: 32em; }
.support-body { padding-top: 28px; padding-bottom: 80px; display: grid; gap: 44px; }
.faq h2, .contact h2 { font-size: 26px; margin-bottom: 16px; }
.faq details { border-top: 1px solid var(--rule-2); }
.faq details:last-child { border-bottom: 1px solid var(--rule-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font: 600 18px/1.35 var(--text); letter-spacing: -0.012em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--midnight); border-bottom: 2px solid var(--midnight); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .a { padding: 0 0 18px; color: var(--ink-2); max-width: 40em; }
.faq .a p { margin: 0 0 10px; }
.faq .a ol, .faq .a ul { margin: 0 0 10px; padding-left: 22px; }
.faq .a li { margin: 4px 0; }
.contact .panel { background: var(--ground); border: 1px solid var(--rule); border-radius: 24px; padding: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font: 600 14.5px/1.2 var(--text); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 17px/1.4 var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule-2); border-radius: 12px; padding: 13px 14px; min-height: 50px; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%230B1A33' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--midnight); box-shadow: 0 0 0 4px rgba(11, 26, 51, 0.12); background: #fff; }
.hint { font-size: 13.5px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts { min-height: 65px; margin: 4px 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--midnight); color: #fff; font: 650 17px/1 var(--text); letter-spacing: -0.008em; cursor: pointer; transition: transform .12s ease; }
.btn:hover { background: #14284A; }
.btn:active { transform: scale(0.985); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn.light { background: var(--light); color: var(--on-light); width: auto; padding: 0 28px; text-decoration: none; }
.btn.light:hover { background: #F7C877; }
.form-status { margin: 14px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status.err { color: var(--err); }
.sent h3, .closed h3 { font-size: 24px; }
.sent p, .closed p { color: var(--ink-2); margin: 10px 0 0; max-width: 28em; }
.sent, .closed { padding: 6px 2px; }
.fine { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

/* Join page */
.join { padding: 40px 0 96px; }
.join .wrap { max-width: 640px; }
.join img.app { width: 96px; height: 96px; margin-bottom: 30px; }
.join h1 { font-size: clamp(38px, 9vw, 58px); }
.join p { color: var(--ink-2); font-size: 19px; margin: 18px 0 30px; }
.join .get { margin: 34px 0 0; font-size: 16px; color: var(--ink); font-weight: 600; }
.join .get small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; font-size: 14.5px; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 30px 0 44px; font-size: 14.5px; color: var(--muted); }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--light); text-decoration-thickness: 2px; }
.foot p { margin: 0; }

@media (min-width: 720px) {
  :root { --gutter: 36px; }
  .top { padding: 28px 0; }
  .brand img { height: 28px; }
  .stage { min-height: 600px; }
  .pillars { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .close .stage { padding: 72px 56px; }
}
@media (min-width: 1000px) {
  :root { --gutter: 48px; }
  .hero { padding: 44px 0 112px; }
  .hero .wrap { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .stage { min-height: 660px; }
  .hero .stage { min-height: 720px; }
  .feature { padding: 112px 0; }
  .feature .wrap { grid-template-columns: 1fr 1fr; gap: 88px; }
  .feature.flip .copy { order: 2; }
  .private { padding: 120px 0; margin: 40px 0; }
  .pillars { grid-template-columns: repeat(4, 1fr); column-gap: 32px; margin-top: 72px; }
  .support-body { grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
  .contact { position: sticky; top: 24px; }
  .close { padding-bottom: 120px; }
  .close .stage { padding: 96px 80px; }
}
@media (max-width: 379px) {
  :root { --gutter: 16px; }
  .contact .panel { background: none; border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Together: no screenshot, three steps in a row */
.together .wrap { display: grid; gap: 28px; }
.together .steps { margin: 0; max-width: none; border-top: 0; display: grid; gap: 0; }
@media (min-width: 1000px) {
  .together .wrap { grid-template-columns: 1fr; gap: 56px; }
  .together .steps { grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 1px solid var(--rule-2); }
  .together .steps li { grid-template-columns: 1fr; border-bottom: 0; padding: 26px 0 0; gap: 14px; }
  .together .steps li::before { font-size: 44px; }
}
