/* Daily Reset — landing page
   Design system: see DESIGN.md. One dark page. The white sheet is the brightest thing on it.
   Sage is the action colour and nothing else. Mobile first (390px). */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ivory: #FAF9F4;
  --sage: #6B8F7A;                        /* locked brand accent: used as the glow */
  --action: #B3C4B7;                      /* Sage at half strength over Ivory: buttons, nothing else. 9.9:1 with Night text */
  --night: #121513;                       /* the page */
  --night-2: #1A1E1B;                     /* every second section, one step lighter */

  --ink: var(--ivory);                    /* eyebrow, headline, bold lead phrases */
  --ink-2: rgb(250 249 244 / .66);        /* supporting text, 7:1 on Night */
  --ink-3: rgb(250 249 244 / .5);         /* second half of a headline, captions, 4.9:1 */
  --rule: rgb(250 249 244 / .13);
  --glass: rgb(250 249 244 / .045);
  --glow: rgb(107 143 122 / .30);         /* Sage, as light */
  --paper: #fff;

  --gutter: 1.25rem;
  --max: 70rem;
  --band: clamp(4rem, 9vw, 7rem);
  --r: clamp(1.75rem, 5vw, 3rem);
  --air: clamp(3rem, 12.5vw, 4.5rem);     /* space above and below every planner image: 48px on a phone */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.75rem; background: var(--night); }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 400 1.0625rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ivory); color: var(--night); padding: .75rem 1rem; z-index: 20; }
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- Type: one hierarchy, used by every section ----------
   eyebrow (small, bright) > headline (large, bright) > supporting line (grey) > the planner > detail (grey, bold lead) */
.head { display: grid; justify-items: center; text-align: center; gap: 0; max-width: 46rem; margin-inline: auto; }
.eyebrow { margin-bottom: 1.1rem; font-size: clamp(.9375rem, 4vw, 1.125rem); font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; color: var(--ink); }
h1, h2 { font-weight: 640; letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.875rem, 12vw, 5.75rem); letter-spacing: -0.036em; line-height: 1.14; }
h2 { font-size: clamp(2.125rem, 8.8vw, 4.25rem); }
h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; }
h4 { font-size: .9375rem; font-weight: 600; }
.h-sm { font-size: clamp(1.625rem, 6.6vw, 2.5rem); }
/* The four words printed across the top of the sheet. The current one is bright and underlined. */
.phase { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .15rem .7rem; margin-bottom: 1.6rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1; color: rgb(250 249 244 / .42); }
.phase span { position: relative; padding: .5rem 0 .6rem; margin-right: -.16em; }   /* cancel the trailing letter-space so the rule sits centred */
.phase i { font-style: normal; opacity: .6; }
.phase .on { color: var(--ink); }
.phase .on::after { content: ""; position: absolute; left: 0; right: .16em; bottom: 0; height: 2px; border-radius: 2px; background: var(--ink); }
.lede { margin-top: 1.6rem; max-width: 31ch; color: var(--ink-2); font-size: clamp(1.0625rem, 4.5vw, 1.3125rem); line-height: 1.5; font-weight: 500; letter-spacing: -0.014em; text-wrap: pretty; }
p { text-wrap: pretty; }
.after { color: var(--ink-2); }
.after strong, .card strong { color: var(--ink); font-weight: 600; }
figcaption, .caption { margin-top: .8rem; font-size: .8125rem; line-height: 1.45; color: var(--ink-3); }

/* ---------- Buttons: the only action colour on the page ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.125rem; padding: .8rem 1.7rem; border-radius: 999px;
  background: var(--action); color: var(--night);
  font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.012em; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { box-shadow: 0 0 0 4px rgb(179 196 183 / .28); }
.btn:active { transform: scale(.98); }
.btn--small { min-height: 2.125rem; padding: .3rem .95rem; font-size: .875rem; }
.btn--small::after { content: ""; position: absolute; inset: -.4rem 0; }   /* 44px tap target */

/* ---------- Header: fixed, brand left, one button right ---------- */
.site-header { position: fixed; top: .6rem; left: 0; right: 0; z-index: 10; pointer-events: none; }
.site-header__in { pointer-events: auto; display: flex; align-items: center; justify-content: space-between;
  width: min(100% - 1.5rem, 44rem); min-height: 3rem; padding: .4rem .45rem .4rem 1.1rem; border-radius: 1.25rem;
  background: rgb(34 39 36 / .72); -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px);
  border: 1px solid var(--rule); box-shadow: 0 10px 30px -14px rgb(0 0 0 / .7); }
.wordmark { font-weight: 650; letter-spacing: -0.025em; font-size: 1.0625rem; text-decoration: none; padding: .5rem 0; }

/* ---------- The planner views ---------- */
.paper {
  position: relative; aspect-ratio: var(--ar); overflow: hidden;
  background: var(--paper); border-radius: 7px;
  box-shadow: 0 0 0 1px rgb(250 249 244 / .06), 0 26px 60px -26px rgb(0 0 0 / .9);
}
.paper img { width: 100%; }

/* ---------- Motion: each block rises into place once as it scrolls into view ---------- */
.js .reveal { opacity: 0; transform: translateY(2rem); }
.js .reveal--media { transform: translateY(2.5rem) scale(.965); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.hero .head { animation: enter 1s cubic-bezier(.2, .7, .2, 1) both; }
.view--hero .paper { animation: enter 1.2s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes enter { from { opacity: 0; transform: translateY(1.75rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal--media { opacity: 1; transform: none; }
  .hero .head, .view--hero .paper { animation: none; }
  html { scroll-behavior: auto; }
  .view--hero { animation: none; }
}

/* ---------- Sections: one dark page, two tones, curved hand-offs ---------- */
main > section { position: relative; padding-block: var(--band) calc(var(--band) + var(--r)); background-color: var(--night); }
main > section:nth-of-type(even) { background-color: var(--night-2); }
main > section + section { margin-top: calc(-1 * var(--r)); border-radius: var(--r) var(--r) 0 0; box-shadow: inset 0 1px 0 rgb(250 249 244 / .07); }
.glass { background: var(--glass); border: 1px solid var(--rule); border-radius: 1.5rem; }

/* ---------- 1 · Hero ---------- */
/* The hero fills the first screen (its height is one screen plus the curve Meet slides up over), so Meet's content only appears when the visitor scrolls. The spare height is shared above and below the content. */
.hero { min-height: calc(100vh + var(--r)); min-height: calc(100svh + var(--r)); display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(3.6rem + clamp(2rem, 7vw, 5rem)); padding-bottom: calc(var(--r) + 1rem); overflow: clip;
  background-image: radial-gradient(ellipse 90% 26rem at 50% 30rem, var(--glow), transparent 72%); }
.hero .eyebrow { margin-bottom: clamp(1.5rem, 5vw, 2rem); }   /* looser than the shared 1.1rem: the one place a heading pair gets extra air */
.view--hero { max-width: 36rem; margin: var(--air) auto 0; animation: drift 9s ease-in-out infinite alternate; }
.view--hero .paper { border-radius: 10px 10px 0 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 42%, transparent 98%); mask-image: linear-gradient(to bottom, #000 42%, transparent 98%); }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.meet__lede { margin: 0 auto .75rem; max-width: 31ch; text-align: center; color: var(--ink); font-size: clamp(1.1875rem, 5vw, 1.5rem); line-height: 1.4; }
.hero .after { max-width: 34ch; }

/* ---------- 2 · Meet ---------- */
.meet__stage { margin-top: var(--air); }
.view--sheet { max-width: 30rem; margin-inline: auto; }
.view--sheet figcaption { text-align: center; }
.callouts-title { margin-top: clamp(2.5rem, 8vw, 3.5rem); text-align: center; color: var(--ink); font-size: clamp(1.0625rem, 4.5vw, 1.3125rem); font-weight: 650; letter-spacing: -0.02em; }
.callouts { margin-top: 1.25rem; border-top: 1px solid var(--rule); }
.callout { display: grid; grid-template-columns: 5.25rem 1fr; column-gap: .5rem; row-gap: .05rem; padding: .95rem 0; border-bottom: 1px solid var(--rule); }
.callout em { grid-row: 1 / span 2; align-self: start; padding-top: .38rem; font-style: normal; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1; color: var(--ink); }   /* same voice as the phase strip the next four sections open with */
.callout strong, .callout span { grid-column: 2; }
.callout strong { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.018em; }
.callout span { color: var(--ink-3); font-size: .875rem; }
.meet__body { display: grid; gap: 1rem; margin-top: var(--air); max-width: 40rem; }
.invite { margin-top: clamp(3rem, 9vw, 5rem); text-align: center; font-size: clamp(1.375rem, 5.6vw, 2.125rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.25; }

/* ---------- 3–6 · The day ---------- */
.step__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--air); }
.step__media { width: 100%; max-width: 52rem; margin-inline: auto; }
.step__media--narrow { max-width: 40rem; }
.step__media--wide { max-width: none; }
.step__body { display: grid; gap: 1.25rem; width: 100%; max-width: 40rem; margin-inline: auto; }
.pair { display: flex; flex-direction: column; gap: 1rem; }
.view--strip { margin-top: .25rem; }

.beats { counter-reset: beat; display: grid; gap: .85rem; }
.beats li { counter-increment: beat; display: flex; align-items: flex-start; gap: .75rem; line-height: 1.4; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.beats li::before {
  content: counter(beat); flex: none; display: grid; place-items: center;
  width: 1.6rem; height: 1.6rem; border: 1.5px solid var(--ink-3); border-radius: 6px;
  font-size: .8125rem; font-weight: 500; letter-spacing: 0;
}

/* Reality Check: four parts, one card each. Swipe on a phone, a row on a desk. */
.swipe { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 22rem); gap: .75rem;
  margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .25rem; scroll-padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.swipe::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: grid; align-content: start; gap: .9rem; padding: .9rem .9rem 1.1rem; background: var(--glass); border: 1px solid var(--rule); border-radius: 1.5rem; }
.card__media { display: grid; align-items: center; aspect-ratio: 760 / 450; }
.card .paper { box-shadow: none; border-radius: .75rem; }
.card p { padding-inline: .3rem; font-size: 1rem; line-height: 1.42; color: var(--ink-2); }

/* Arrows under the Reality Check row: a guide that more cards are there. Added by main.js, so without it the row still swipes.
   They hide themselves when all four cards fit (desktop). */
.swipe-nav { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.5rem; }
.swipe-nav[hidden] { display: none; }
.swipe-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%;
  background: rgb(250 249 244 / .14); color: var(--ink); cursor: pointer; transition: background-color .2s, opacity .2s; }
.swipe-btn:hover { background: rgb(250 249 244 / .22); }
.swipe-btn:focus-visible { border-radius: 50%; }
.swipe-btn[aria-disabled="true"] { opacity: .32; cursor: default; background: rgb(250 249 244 / .14); }
.swipe-btn svg { width: 1.125rem; height: 1.125rem; }
@media (prefers-reduced-motion: reduce) { .swipe-btn { transition: none; } .view--hero { animation: none; } }

/* ---------- 7a · Buy + what you get ---------- */
.get__in { display: grid; justify-items: center; gap: 0; max-width: 40rem; text-align: center; }
.get__in h2 { line-height: 1.3; }                                   /* two-line heading: air between the lines */
.get__in .ticks { width: 100%; margin-block: 3.25rem 3.5rem; text-align: left; }
.get__in .price { margin-top: 1.15rem; }
.ticks li { position: relative; display: grid; gap: .45rem; padding: 1.4rem 0 1.4rem 2.4rem; border-top: 1px solid var(--rule); }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.65rem; width: 1.25rem; height: 1.25rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13.5c2.2 1.6 4 3.6 5.6 6.2C11.4 12.6 15.6 7 21.4 3' fill='none' stroke='%23FAF9F4' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.ticks strong { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.018em; }
.ticks span { color: var(--ink-3); font-size: .9375rem; line-height: 1.5; }

.tabs { display: grid; gap: 1.25rem; padding: 1.25rem; }
.tabs__bar { display: none; }
.is-tabs .tabs__bar { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; justify-self: center; padding: .25rem; border-radius: 999px; background: rgb(250 249 244 / .07); }
.tabs__bar button { min-height: 2.75rem; padding: 0 1.25rem; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 .9375rem/1 inherit; font-family: inherit; letter-spacing: -0.01em; cursor: pointer; }
.tabs__bar button[aria-selected="true"] { background: rgb(250 249 244 / .16); color: var(--ink); }
.tabs [role="tabpanel"] p { color: var(--ink-2); max-width: 44ch; margin-inline: auto; }
.is-tabs [role="tabpanel"] { min-height: 7.5rem; padding: 0 .35rem .35rem; text-align: center; }

/* ---------- 7b · Details ---------- */
.details__in { display: grid; gap: clamp(2.75rem, 8vw, 4.5rem); }
.divide { border: 0; height: 1px; max-width: 40rem; margin: var(--band) auto; background: var(--rule); }
.files { display: grid; gap: .75rem; }
.files li { display: flex; align-items: center; gap: 1rem; padding: .85rem; background: var(--glass); border: 1px solid var(--rule); border-radius: 1.25rem; }
.files img { width: 3.25rem; border-radius: 3px; background: #fff; }
.files strong { display: block; font-weight: 650; letter-spacing: -0.015em; }
.files span { color: var(--ink-3); font-size: .9375rem; }
.facts { display: grid; gap: .75rem; }
.facts .glass { padding: 1.4rem 1.3rem; }
.facts h3, .fit h3, .founder h3, .faq h3 { margin-bottom: 1rem; }
.facts p { color: var(--ink-2); }
.fit__cols { display: grid; gap: 1.75rem; margin-top: 1.1rem; }
.fit h4 { margin-bottom: .7rem; color: var(--ink-3); }
.fit li { position: relative; padding: .7rem 0 .7rem 1.9rem; border-top: 1px solid var(--rule); color: var(--ink-2); }
.fit li::before { content: ""; position: absolute; left: .1rem; top: 1.15rem; width: 1.05rem; height: 1.05rem; background: no-repeat center / contain; }
.fit__cols > div:first-child li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13.5c2.2 1.6 4 3.6 5.6 6.2C11.4 12.6 15.6 7 21.4 3' fill='none' stroke='%23FAF9F4' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fit__cols > div:last-child li::before { height: 1.5px; top: 1.6rem; width: .8rem; background: var(--ink-3); }
.founder { padding: 1.5rem 1.4rem 1.6rem; }
.founder blockquote { display: grid; gap: .9rem; max-width: 34rem; font-size: clamp(1.125rem, 4.4vw, 1.3125rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.012em; color: var(--ink-2); }
.price { margin-top: .9rem; }

.tabs__bar { display: none; }

/* ---------- 7b · Details ---------- */
.buy { display: grid; justify-items: center; gap: .9rem; padding: clamp(2rem, 6vw, 3rem) 1.25rem; text-align: center; }
.buy__line { font-size: clamp(1.375rem, 5.6vw, 2rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }
.price { font-size: .875rem; color: var(--ink-3); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: .9rem 0; cursor: pointer; font-weight: 600; letter-spacing: -0.012em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .8rem; height: .8rem; background: linear-gradient(var(--ink-2), var(--ink-2)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center / 1.5px 100% no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2rem 1.2rem 0; max-width: 46ch; color: var(--ink-2); }

/* ---------- 8 · Final ---------- */
main > .final { padding-block: clamp(5rem, 14vw, 9rem); background-image: radial-gradient(ellipse 85% 22rem at 50% 100%, var(--glow), transparent 75%); }
.final h2 { font-size: clamp(2.625rem, 11vw, 5.25rem); }
.final .btn { margin-top: 1rem; min-width: 14rem; }

.site-footer { background: var(--night-2); color: var(--ink-3); border-top: 1px solid var(--rule); padding-block: 1.75rem 2.25rem; font-size: .875rem; }
.site-footer .wrap { display: grid; gap: 1.1rem; }
.site-footer__brand { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.site-footer h3 { margin-bottom: .25rem; font-size: .875rem; color: var(--ink-2); }
.site-footer p { max-width: 52ch; }
.social { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: -.6rem; }
.social a, .social span { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-weight: 600; }
.social a { text-underline-offset: .25em; }
.site-footer strong { color: var(--ink); font-weight: 650; }

/* ---------- Wider screens ---------- */
@media (min-width: 46rem) {
  :root { --gutter: 2rem; }
  .pair { flex-direction: row; align-items: flex-start; gap: .9rem; }
  .pair .view { flex: var(--grow) 1 0; min-width: 0; }
  .caption, .step__media figcaption { text-align: center; }
  .files { grid-template-columns: repeat(3, 1fr); }
  .files li { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
  .files img { width: 5rem; }
  .facts, .fit__cols { grid-template-columns: 1fr 1fr; }
  .fit__cols { gap: 3rem; }
  .step__body .after, .meet__body .after { text-align: center; }
  .meet__body { margin-inline: auto; }
  .beats { width: max-content; max-width: 100%; margin-inline: auto; }
  .view--strip figcaption { text-align: center; }
}

@media (min-width: 62rem) {
  body { font-size: 1.125rem; }
  .callouts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 64rem; margin-inline: auto; border-bottom: 1px solid var(--rule); }
  .callout { grid-template-columns: 1fr; align-content: start; padding: 1.2rem 1rem; border-bottom: 0; text-align: center; }
  .callout em { grid-row: auto; padding: 0 0 .7rem; margin-right: -.16em; }
  .callout strong, .callout span { grid-column: 1; }
  .callout + .callout { border-left: 1px solid var(--rule); }
  .swipe { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; }
  .details__in { --max: 58rem; }
}
