:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color-scheme: light;
  color: #20231f;
  background: #fafbf9;
  --ink: #20231f;
  --muted: #77776f;
  --line: #e6e3dc;
  --paper: #fffdf9;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #ed9d3e; outline-offset: 5px; }

.header, main, .footer { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 30px; }
.brand { font-size: 26px; font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
/* Sunlight through leaves: soft spots in the page colour drift across the letters at different speeds.
   Without background-clip: text the name stays plain ink. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .dapple {
    color: transparent;
    background-color: var(--ink);
    background-image:
      radial-gradient(closest-side, rgb(250 251 249 / .42), transparent),
      radial-gradient(closest-side, rgb(250 251 249 / .32), transparent),
      radial-gradient(closest-side, rgb(250 251 249 / .36), transparent);
    background-size: 1.5em 1.5em, 2.3em 2.3em, 1em 1em;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    animation: dapple 13s ease-in-out infinite alternate;
  }
}
@keyframes dapple {
  0% { background-position: -15% 20%, 105% 90%, 45% -30%; }
  50% { background-position: 40% 80%, 55% 10%, 95% 70%; }
  100% { background-position: 108% 30%, -8% 60%, 15% 115%; }
}
@media (prefers-reduced-motion: reduce) { .dapple { animation: none; } }
.open-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 600; }
.open-link:hover, .footer a:hover { color: #3f7a32; }

.intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 72px; padding-block: 72px 88px; }
.eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
h1, h2, h3 { text-wrap: balance; }
h1 { margin: 18px 0 22px; font-size: clamp(40px, 5.4vw, 64px); font-weight: 650; line-height: 1.07; letter-spacing: -.042em; }
.description { max-width: 410px; margin: 0 0 30px; color: #62665e; font-size: 17px; line-height: 1.7; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 12px 23px; border-radius: 999px; background: var(--ink); color: white; font-size: 14px; font-weight: 600; }
.primary-button:hover { background: #3a3d38; }
.trial-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }

.preview { min-width: 0; margin: 0; }
/* The preview copies the app's All buckets sheet and cards (frontend/src/styles.css) in a few rules. */
.pv-sheet { padding: 18px; border: 1px solid rgb(0 0 0 / .1); border-radius: 22px; background: #f3f2ee; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 14px 30px -16px rgb(0 0 0 / .4); }
.pv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 4px 14px; }
.pv-root { font-size: 16px; font-weight: 700; }
.pv-total { font-size: 19px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.pv-card { padding: 13px 14px 14px 16px; border: 1px solid rgb(0 0 0 / .08); border-radius: 16px; background: var(--paper); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 18px -12px rgb(0 0 0 / .25); }
.pv-card.is-running { background: #fff3e2; box-shadow: 0 0 0 2.5px #ee981f, 0 8px 18px -12px rgb(0 0 0 / .25); }
.pv-name { font-size: 15px; font-weight: 650; line-height: 1.3; }
.pv-name::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: var(--tone); vertical-align: 1px; }
.pv-dot { margin-left: 6px; color: #ee981f; font-weight: 700; }
.pv-time, .pv-timer { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pv-timer { padding: 3px 4px 3px 12px; border-radius: 999px; background: #ee981f; color: #2a1800; }
.pv-stop { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgb(0 0 0 / .14); }
.pv-stop::after { content: ""; width: 8px; height: 8px; border-radius: 1.5px; background: currentColor; }
.pv-meta { margin-top: 5px; color: #8a8d86; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.pv-peek { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pv-mini { flex-grow: var(--g); min-width: 64px; padding: 6px 9px 8px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 70%, white); color: rgb(0 0 0 / .6); font-size: 12px; }
.pv-mini b { display: block; color: var(--ink); font-weight: 600; }
.pv-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; color: rgb(0 0 0 / .55); font-size: 11.5px; }
.pv-cap b { color: #3f7a32; font-weight: 650; }
.pv-capbar { flex: 0 1 140px; min-width: 60px; height: 5px; overflow: hidden; border-radius: 3px; background: rgb(0 0 0 / .1); }
.pv-capbar i { display: block; height: 100%; border-radius: 3px; background: rgb(0 0 0 / .45); }
.pv-sheet .pv-peek { margin-top: 0; }
.pv-panel { padding: 18px; border: 1px solid rgb(0 0 0 / .08); border-radius: 18px; background: var(--paper); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 14px 30px -18px rgb(0 0 0 / .3); }
.pv-search { display: flex; align-items: center; gap: 2px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; }
.pv-search i { width: 1.5px; height: 18px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.pv-panel.is-typing .pv-result { opacity: 0; translate: 0 4px; }
@media (prefers-reduced-motion: reduce) { .pv-search i { animation: none; } }
.pv-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 9px 12px; border-radius: 10px; transition: opacity .25s, translate .25s; }
.pv-result.is-first { background: #f3f2ee; }
.pv-result small, .pv-balance small { color: var(--muted); font-size: 11.5px; }
.pv-key { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; }
.pv-chip { padding: 4px 10px; border-radius: 999px; background: #f3f2ee; font-size: 12px; }
.pv-balance { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv-balance > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #f7f6f2; }
.pv-balance b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pv-balance span { color: var(--muted); font-size: 12px; }
.is-left { color: #3f7a32; }
.pv-cap b.is-over, .is-over { color: #b2432c; }
.pv-gap { margin-top: 16px; }
.pv-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.pv-timer-small { margin: 0; padding: 2px 10px; font-size: 14px; }
.pv-tasks { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.pv-tasks li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 4px; }
.pv-tasks li + li { border-top: 1px solid #f0ede7; }
.pv-tasks span { color: var(--muted); }
.pv-label { display: block; margin: 12px 0 6px; color: var(--muted); font-size: 11.5px; }
.pv-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-chip.is-picked { background: #fff3e2; box-shadow: inset 0 0 0 1.5px #ee981f; }
.pv-note { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12.5px; line-height: 1.55; overflow-wrap: anywhere; }
.pv-note i { display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; background: var(--ink); vertical-align: -2px; }
.pv-sums { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: -4px 0 12px; color: var(--muted); font-size: 12px; }
.pv-sums b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pv-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pv-dow { padding-bottom: 2px; color: var(--muted); font-size: 10.5px; text-align: center; }
.pv-day { display: grid; gap: 1px; min-height: 40px; padding: 4px 5px; border-radius: 7px; background: #e9eedf; color: #445436; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pv-day small { color: rgb(0 0 0 / .45); font-size: 9.5px; font-weight: 500; }
.pv-day.is-empty { background: #f3f2ee; }
.pv-day.is-outside { opacity: .45; }
.pv-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pv-fields label { display: grid; gap: 3px; }
.pv-fields small { color: var(--muted); font-size: 11px; }
.pv-fields span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.pv-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.pv-button { padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; }
.pv-notice { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 14px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 12.5px; box-shadow: 0 14px 30px -18px rgb(0 0 0 / .5); }
.pv-notice span:nth-child(2) { flex: 1; }
.pv-bell { color: #ee981f; font-size: 15px; }
.pv-close { opacity: .6; }
.pv-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: start; }
.pv-wday { display: grid; gap: 6px; min-width: 0; }
.pv-whead { display: grid; padding: 6px 4px; border-radius: 10px; text-align: center; }
.pv-whead b { font-size: 15px; }
.pv-whead small { color: var(--muted); font-size: 10.5px; }
.pv-whead em { color: #3f7a32; font-size: 12px; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.pv-wday.is-today .pv-whead { background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 18px -10px rgb(0 0 0 / .3); }
.pv-wbar { display: flex; gap: 1px; height: 6px; overflow: hidden; border-radius: 3px; background: #efede8; }
.pv-event { overflow: hidden; padding: 3px 5px; border-left: 2px solid #9ab3c4; border-radius: 3px; background: #f3f2ee; color: #62665e; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
figcaption { margin-top: 18px; color: var(--muted); text-align: center; font-size: 11px; letter-spacing: .02em; }
.pain { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 72px; padding-block: 72px 24px; }
/* The pain, drawn: a plain timesheet, fading out, against the app fragments further down. */
.pain-figure { min-width: 0; margin: 0; }
.sheet-table { overflow: hidden; border: 1px solid #deded5; border-radius: 14px; background: #fff; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.sheet-table table { width: 100%; border-collapse: collapse; color: #8a8d86; font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.sheet-table th, .sheet-table td { padding: 8px 12px; border-bottom: 1px solid #ecebe6; text-align: left; white-space: nowrap; }
.sheet-table th { background: #f3f2ee; color: #62665e; font-weight: 600; }
.sheet-table td + td, .sheet-table th + th { border-left: 1px solid #ecebe6; }
.sheet-table td:last-child, .sheet-table th:last-child { text-align: right; }
.pain-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #62665e; font-size: 16px; line-height: 1.5; }
.pain-list li { display: flex; gap: 12px; }
.pain-list li::before { content: "—"; color: #b2432c; }
/* The bridge from the pains (and their timesheet) to the story, after both on every screen. */
.pain-bridge { display: grid; justify-items: center; gap: 10px; padding-top: 40px; text-align: center; }
.pain-bridge p { margin: 0; font-size: 17px; font-weight: 600; }
/* Points from the pains to the story below, with a slow nudge downwards. */
.pain-arrow { color: #9a9d96; font-size: 24px; text-align: center; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) { .pain-arrow { animation: none; } }
.pain h2, .story h2 { margin: 14px 0 20px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.story-copy p { margin: 0; color: #62665e; font-size: 16px; line-height: 1.7; }
.story { display: grid; gap: 104px; padding-block: 64px 96px; }
.chapter { display: grid; gap: 96px; }
.story-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.story-row.is-flipped .story-copy { order: 2; }
.story h2 { margin-top: 0; }
.story-figure { min-width: 0; margin: 0; }
.story-figure figcaption { margin-top: 14px; }
/* Each chapter has its own layout so the page does not repeat one split row. */
.story-row.is-lean { grid-template-columns: 5fr 7fr; }
.story-row.is-lean.is-flipped { grid-template-columns: 7fr 5fr; }
.story-row.is-stacked { grid-template-columns: 1fr; gap: 32px; }
.story-row.is-stacked .story-copy { max-width: 600px; }
.chapter.is-tinted { padding: 48px; border-radius: 28px; background: #f1f0ea; }
.story-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.story-column { display: grid; gap: 24px; }
.story-column h2 { font-size: clamp(22px, 2.6vw, 28px); }
.story-copy h3 { margin: 36px 0 12px; font-size: 22px; letter-spacing: -.03em; }
/* Each text sits beside its own picture, so on phones the picture follows its paragraph. */
.story-row.is-pairs { grid-template-columns: 5fr 7fr; row-gap: 64px; }
.story-row.is-pairs h3 { margin-top: 0; }
/* The page closes with the story beside the plan, rather than two centred blocks in a row. */
.closing { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 72px; padding-block: 24px 96px; }
.origin h2 { margin: 0 0 16px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.origin p { margin: 0; color: #62665e; font-size: 16px; line-height: 1.7; }
.origin .integrations { margin-top: 20px; font-size: 13px; color: var(--muted); }
.price-card { padding: 28px; border: 1px solid rgb(0 0 0 / .08); border-radius: 22px; background: var(--paper); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 18px 36px -24px rgb(0 0 0 / .3); }
.price-card h2 { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 18px; }
.price b { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-size: 15px; }
.price-card ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; }
.price-card li::before { content: "✓"; margin-right: 10px; color: #3f7a32; font-weight: 700; }
.price-card .primary-button { width: 100%; }
/* The app marks a bucket with work running inside by an orange ◌; here it slowly turns, like the timer is on. */
.run-dot { display: inline-block; margin-left: 8px; color: #ee981f; font-size: .8em; line-height: 1; vertical-align: .08em; animation: run-dot 6s linear infinite; }
@keyframes run-dot { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .run-dot { animation: none; } }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font-size: 12px; }
.footer a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #4b4f49; }
.footer-links { display: flex; gap: 20px; }

@media (max-width: 760px) {
  .header, main, .footer { width: calc(100% - 40px); }
  .header { padding-block: 18px; }
  .intro { grid-template-columns: 1fr; gap: 48px; padding-block: 48px 24px; }
  .intro-copy { text-align: center; }
  h1 { font-size: clamp(40px, 8vw, 58px); }
  .description { margin-inline: auto; font-size: 16px; }
  .preview { width: min(410px, 100%); margin-inline: auto; }
  .pain { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 8px; }
  .pain-copy { order: -1; }
  .story { gap: 72px; padding-block: 48px 64px; }
  .story-row { grid-template-columns: 1fr; gap: 24px; }
  .story-row.is-flipped .story-copy { order: 0; }
  .story-row.is-lean, .story-row.is-lean.is-flipped, .story-pair { grid-template-columns: 1fr; }
  .story-row.is-pairs { grid-template-columns: 1fr; row-gap: 24px; }
  .story-row.is-pairs h3 { margin-top: 32px; }
  .chapter.is-tinted { padding: 28px 20px; border-radius: 22px; }
  .pv-fields { grid-template-columns: 1fr 1fr; }
  .chapter { gap: 56px; }
  .closing { grid-template-columns: 1fr; gap: 40px; padding-block: 8px 64px; }
  }

@media (max-width: 380px) {
  .header, main, .footer { width: calc(100% - 32px); }
  .pv-sheet { padding: 12px; }
  .pv-grid { grid-template-columns: 1fr; }
  .footer { align-items: flex-start; flex-direction: column; gap: 2px; }
}

.legal { max-width: 680px; padding-block: 56px 72px; color: #3a3d38; font-size: 15px; line-height: 1.7; }
.legal h1 { font-size: clamp(34px, 5vw, 46px); }
.legal h2 { margin: 40px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.legal-date { margin: -10px 0 28px; color: var(--muted); font-size: 13px; }
.legal ul { margin: 0; padding-left: 20px; }
.legal li { margin-block: 8px; }
.legal li ul { margin-top: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
