/* DayBoard site. Colors for the four sources match the app's WCAG-checked theme. */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #f6f2ea;
  --paper-raised: #fffdf8;
  --paper-sunk: #eee8dc;
  --ink: #1d1b17;
  --ink-soft: #57524a;
  --ink-faint: #767065;
  --rule: #e2dbcd;
  --rule-strong: #cfc6b5;
  --button: #1d1b17;
  --button-text: #fbf8f1;
  --focus: #0060c9;
  --calendar: #22a23f;
  --tasks: #007aff;
  --reminders: #d07900;
  --mail: #ff3b30;
  --calendar-ink: #18732d;
  --tasks-ink: #0060c9;
  --reminders-ink: #935500;
  --mail-ink: #bd2c24;
  --danger-ink: #bd2c24;
  --shadow-window:
    0 1px 0 rgb(255 255 255 / 0.6) inset, 0 30px 60px -20px rgb(52 40 20 / 0.28),
    0 12px 24px -12px rgb(52 40 20 / 0.18);
  --shadow-card: 0 1px 2px rgb(52 40 20 / 0.08), 0 8px 20px -10px rgb(52 40 20 / 0.22);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --wrap: 1180px;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151412;
    --paper-raised: #1d1c19;
    --paper-sunk: #100f0d;
    --ink: #f1ebdf;
    --ink-soft: #b3aa9a;
    --ink-faint: #8f887a;
    --rule: #2c2a25;
    --rule-strong: #3d3a33;
    --button: #f1ebdf;
    --button-text: #161512;
    --focus: #75baff;
    --calendar: #30d158;
    --tasks: #0a84ff;
    --reminders: #ff9f0a;
    --mail: #ff453a;
    --calendar-ink: #30d158;
    --tasks-ink: #75baff;
    --reminders-ink: #ff9f0a;
    --mail-ink: #ff9993;
    --danger-ink: #ff9993;
    --shadow-window: 0 0 0 1px rgb(255 255 255 / 0.06), 0 30px 70px -20px rgb(0 0 0 / 0.7);
    --shadow-card: 0 0 0 1px rgb(255 255 255 / 0.05), 0 10px 24px -12px rgb(0 0 0 / 0.6);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Faint dot grid, like a planner page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--rule-strong) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, #000 0, transparent 820px);
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 60;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 460;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-card);
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

/* ── Buttons & chips ───────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font: 600 0.98rem/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.button:disabled {
  cursor: default;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.button-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.nav .button {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper-raised);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.pill strong {
  color: var(--ink);
  font-weight: 650;
}

.dots {
  display: inline-flex;
  gap: 3px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--ink-faint));
  flex: none;
}

.c-calendar {
  --c: var(--calendar);
  --c-ink: var(--calendar-ink);
}
.c-tasks {
  --c: var(--tasks);
  --c-ink: var(--tasks-ink);
}
.c-reminders {
  --c: var(--reminders);
  --c-ink: var(--reminders-ink);
}
.c-mail {
  --c: var(--mail);
  --c-ink: var(--mail-ink);
}

/* ── Signup form ───────────────────────────────────── */
.signup {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 470px;
}

.signup-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s;
}

.signup-row:focus-within {
  border-color: var(--focus);
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1rem var(--text);
}

.signup input[type="email"]::placeholder {
  color: var(--ink-faint);
}

.signup input[type="email"]:focus-visible {
  outline: none;
}

.signup .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-note {
  color: var(--ink-soft);
  font-size: 0.88rem;
  padding-inline: 16px;
}

.signup-status {
  padding-inline: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.signup-status:empty {
  display: none;
}

.signup-status[data-tone="error"] {
  color: var(--danger-ink);
}

.signup-done {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--paper-raised);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.signup-done strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.signup-done p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--calendar-ink);
  color: var(--paper-raised);
  font-weight: 800;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  padding: 64px 0 36px;
  overflow: clip;
}

.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(3rem, 7.2vw, 6.2rem);
}

.hero .lead {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.works-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.92rem;
}

.works-with span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.works-with .label {
  color: var(--ink-soft);
  font-weight: 500;
}

/* The board: app window with source notes pinned around it. */
.board {
  position: relative;
  margin-top: 64px;
  padding-bottom: 20px;
}

/* Screenshots are 1280pt windows; the lights sit where the app places them (16, 16). */
.window {
  position: relative;
  container-type: inline-size;
  border-radius: 12px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  isolation: isolate;
}

.window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
  pointer-events: none;
}

.lights {
  position: absolute;
  top: 1.25cqw;
  left: 1.25cqw;
  display: flex;
  gap: 0.625cqw;
}

.lights i {
  width: 0.94cqw;
  height: 0.94cqw;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background: #ff5f57;
}

.lights i:nth-child(2) {
  background: #febc2e;
}

.lights i:nth-child(3) {
  background: #28c840;
}

.board > .window {
  z-index: 2;
}

.board .window-back {
  position: absolute;
  z-index: 1;
  top: -40px;
  right: -48px;
  width: 56%;
  transform: rotate(3deg);
}

.note {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  width: max-content;
  max-width: 250px;
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--c);
  font-size: 0.9rem;
  line-height: 1.35;
}

.note small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.note b {
  font-weight: 650;
}

/* Placed over the sidebar's empty lower half and the window's right edge, clear of app content. */
.note-1 {
  top: 58%;
  left: -44px;
  rotate: -3deg;
}
.note-2 {
  top: 72%;
  left: -70px;
  rotate: 2deg;
}
.note-3 {
  bottom: 9%;
  right: -64px;
  rotate: -2deg;
}
.note-4 {
  top: 7%;
  right: -84px;
  rotate: 3deg;
}

/* ── Sections ───────────────────────────────────────── */
.section {
  padding: 110px 0;
}

.section-head {
  display: grid;
  align-content: start;
  gap: 16px;
  max-width: 740px;
  margin-bottom: 56px;
}

.section-head h2,
.feature h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

.section-head p,
.feature-copy > p {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.band {
  background: var(--paper-sunk);
  border-block: 1px solid var(--rule);
}

/* Four apps → one board diagram */
.merge {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 56px minmax(0, 0.85fr);
  gap: 18px;
  align-items: center;
}

.sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.source-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper-raised);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--c);
}

.source-card h3 {
  font-family: var(--text);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.source-card p {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--paper-sunk);
  font-size: 0.92rem;
  line-height: 1.35;
}

.merge-arrow {
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 2rem;
}

.today-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--paper-raised);
  box-shadow: var(--shadow-window);
}

.today-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.today-card ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.today-card li {
  display: grid;
  grid-template-columns: 62px 10px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px 4px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}

.today-card li:last-child {
  border-bottom: 0;
}

.today-card time,
.today-card .when {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
  padding: 90px 0;
}

.feature + .feature {
  border-top: 1px solid var(--rule);
}

.feature.flip {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.feature.flip .feature-copy {
  order: 2;
}

.feature-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.feature-copy .eyebrow .dot {
  width: 10px;
  height: 10px;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 28px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 13px;
  height: 7px;
  border: solid var(--c-ink, var(--ink));
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper-raised);
  justify-self: start;
}

.tabs button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 600 0.9rem var(--text);
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  background: var(--button);
  color: var(--button-text);
}

.shot[hidden] {
  display: none;
}

/* Privacy */
.privacy {
  background: var(--ink);
  color: var(--paper);
  --ink-soft: color-mix(in srgb, var(--paper) 74%, var(--ink));
  --rule: color-mix(in srgb, var(--paper) 18%, var(--ink));
  --focus: #75baff;
}

@media (prefers-color-scheme: dark) {
  .privacy {
    --focus: #0060c9;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.privacy .grid-3 > div {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.privacy h3 {
  font-size: 1.55rem;
}

.privacy p {
  color: var(--ink-soft);
}

.privacy .section-head p {
  color: var(--ink-soft);
}

/* Open source + pricing */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 34px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--paper-raised);
}

.panel h3 {
  font-size: 1.85rem;
}

.panel p {
  color: var(--ink-soft);
}

.stamp {
  display: inline-block;
  justify-self: start;
  padding: 4px 10px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  color: var(--c-ink, var(--ink));
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  rotate: -2deg;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.faq-list {
  border-top: 1px solid var(--rule-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--rule-strong);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--ink-soft);
  font-family: var(--text);
  font-weight: 400;
  transition: rotate 0.2s;
}

.faq-list details[open] summary::after {
  rotate: 45deg;
}

.faq-list details p {
  padding: 0 2px 22px;
  color: var(--ink-soft);
}

.faq-list details p + p {
  margin-top: -10px;
}

/* Final call to action */
.cta {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 72px 32px;
  border-radius: 28px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-window);
  text-align: center;
}

.cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.cta > p {
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.cta .signup-note,
.cta .signup-status {
  text-align: center;
}

/* Footer */
.site-footer {
  margin-top: 110px;
  padding: 44px 0 56px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.fine {
  grid-column: 1 / -1;
  font-size: 0.8rem;
}

/* Inner pages */
.page-head {
  padding: 72px 0 36px;
}

.page-head .wrap {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.page-head h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.page-head p {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.prose {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.prose h2 {
  margin-top: 36px;
  font-size: 2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 12px;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose strong {
  color: var(--ink);
}

.prose ul,
.prose ol:not(.steps) {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 62px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--button);
  color: var(--button-text);
  font-weight: 700;
  font-size: 0.88rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}

.aside-card {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 20px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-window);
}

.aside-card h2 {
  font-size: 1.9rem;
}

.aside-card p {
  color: var(--ink-soft);
}

.kbd {
  padding: 1px 7px;
  border: 1px solid var(--rule-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--paper-raised);
  color: var(--ink);
  font-size: 0.88em;
  white-space: nowrap;
}

/* ── Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 90ms);
  }

  .note {
    animation: pin 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) both;
    animation-delay: calc(600ms + var(--i, 0) * 140ms);
  }

  .js [data-reveal] {
    opacity: 0;
    translate: 0 24px;
    transition:
      opacity 0.7s ease,
      translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    translate: none;
  }

  .js .merge .source-card,
  .js .merge .today-card li {
    opacity: 0;
  }

  .js .merge.is-in .source-card {
    animation: rise 0.6s both;
    animation-delay: calc(var(--i, 0) * 110ms);
  }

  .js .merge.is-in .today-card li {
    animation: slot 0.5s both;
    animation-delay: calc(480ms + var(--i, 0) * 90ms);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: none;
  }
}

@keyframes pin {
  from {
    opacity: 0;
    translate: 0 -14px;
    scale: 0.94;
  }
}

@keyframes slot {
  from {
    opacity: 0;
    translate: -14px 0;
  }
  to {
    opacity: 1;
    translate: none;
  }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1240px) {
  .note-1,
  .note-2 {
    left: -12px;
  }
  .note-3,
  .note-4 {
    right: -12px;
  }
  .board .window-back {
    right: -16px;
  }
}

@media (max-width: 960px) {
  .merge {
    grid-template-columns: minmax(0, 1fr);
  }
  .merge-arrow {
    rotate: 90deg;
  }
  .feature,
  .faq,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .feature.flip .feature-copy {
    order: 0;
  }
  .aside-card {
    position: static;
  }
  .grid-3,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .note,
  .board .window-back {
    display: none;
  }
  .board {
    margin-top: 40px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .sources {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-links {
    display: none;
  }
  .nav .button {
    margin-left: auto;
  }
  .hero {
    padding-top: 36px;
  }
  .section {
    padding: 76px 0;
  }
  .feature {
    padding: 60px 0;
  }
  .signup-row {
    flex-direction: column;
    border-radius: 20px;
  }
  .signup input[type="email"] {
    min-height: 46px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta {
    padding: 52px 20px;
  }
}
