@font-face {
  font-family: Nunito;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Nunito;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #fbf7f1;
  --surface: #ffffff;
  --ink: #24352e;
  --muted: #5f6b64;
  --line: #eee6da;
  --accent: #4a6f61;
  --accent-hover: #45685b;
  --accent-ink: #3d5e52;
  --on-accent: #ffffff;
  --accent-soft: #e9eeec;
  --sage: #8fb89f;
  --sun: #f7c56b;
  --coral: #f39b8b;
  --sky: #a7c7e7;
  --sage-soft: #e9f1ec;
  --sun-soft: #fdefd6;
  --coral-soft: #fce9e5;
  --sky-soft: #eaf2f9;
  --sage-ink: #2e6b4c;
  --sun-ink: #8a5a12;
  --coral-ink: #a4483a;
  --sky-ink: #36608a;
  --wm-base: #4a6f61;
  --wm-e: #f39b8b;
  --wm-n: #f7c56b;
  --rest: 0 1px 2px rgb(36 53 46 / 0.05), 0 10px 28px -14px rgb(36 53 46 / 0.16);
  --lift: 0 2px 4px rgb(36 53 46 / 0.06), 0 28px 60px -24px rgb(36 53 46 / 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow: 0 8px 18px -8px color-mix(in srgb, var(--accent) 55%, transparent);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #141b17;
    --surface: #1b241f;
    --ink: #e8efea;
    --muted: #a6b3ab;
    --line: #2b3630;
    --accent: #8fb89f;
    --accent-hover: #a3c7b2;
    --accent-ink: #b5d3c0;
    --on-accent: #12201a;
    --accent-soft: #232f29;
    --sage-soft: #1f2b25;
    --sun-soft: #2e2818;
    --coral-soft: #302220;
    --sky-soft: #1d2833;
    --sage-ink: #a9d1b8;
    --sun-ink: #f7c56b;
    --coral-ink: #f39b8b;
    --sky-ink: #a7c7e7;
    --wm-base: #8fb89f;
    --rest: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 28px -14px rgb(0 0 0 / 0.5);
    --lift: 0 2px 4px rgb(0 0 0 / 0.3), 0 28px 60px -24px rgb(0 0 0 / 0.6);
    --glow: none;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
}

h1, h2, h3 { text-wrap: balance; }
img, svg { max-width: 100%; }

a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

::selection { background: var(--sun); color: #24352e; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: color-mix(in srgb, var(--accent) 40%, transparent) transparent; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.narrow { width: min(100% - 32px, 760px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; padding: 10px 16px;
  background: var(--accent); color: var(--on-accent); border-radius: 12px; z-index: 30;
}
.skip:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; padding: 14px 0; transition: background 240ms var(--ease), box-shadow 240ms var(--ease); }
.top.scrolled {
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .wordmark-svg { display: block; }
.wm-base { stroke: var(--wm-base); }
.wm-e { stroke: var(--wm-e); }
.wm-n { stroke: var(--wm-n); }
nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.main a { padding: 10px 14px; border-radius: 14px; text-decoration: none; font-weight: 700; color: var(--ink); transition: background 160ms var(--ease); }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--accent-soft); }
nav.main .btn { padding: 0 18px; min-height: 44px; color: var(--on-accent); margin-left: 6px; }
nav.main .btn:hover { background: var(--accent-hover); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  padding: 0 24px; border-radius: 14px; font-weight: 800; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent);
  box-shadow: var(--glow);
  transition: background 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--accent-ink); box-shadow: none; }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-ink); }
.btn .icon { transition: transform 200ms var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

/* Hero */
.hero { padding: 36px 0 72px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
h1 { font-size: clamp(2.25rem, 6.4vw, 4rem); line-height: 1.04; font-weight: 850; letter-spacing: -0.025em; margin: 0 0 20px; }
.lead { font-size: 1.1875rem; color: var(--muted); margin: 0 0 30px; max-width: 32em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 0.9375rem; }
.hero-stage { position: relative; display: grid; place-items: center; padding: 8px 0 8px; }
.hero-stage::before {
  content: ""; position: absolute; inset: 6% 4% 2%; border-radius: 40px; background: var(--sage-soft);
  transform: rotate(-2.5deg);
}
.hero-sun {
  position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--sun);
  top: 2%; right: 6%; z-index: 0;
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr 1fr; }
}

/* Phone mock */
.phone {
  position: relative; z-index: 1; width: min(100%, 320px); background: var(--ground); border: 1px solid var(--line);
  border-radius: 34px; padding: 18px 14px 14px; box-shadow: var(--lift);
}
.phone-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 6px 12px; }
.phone-head strong { font-size: 1.1875rem; font-weight: 850; letter-spacing: -0.01em; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 750; line-height: 1.3; background: var(--ground); color: var(--ink);
}
.chip .icon { width: 15px; height: 15px; }
.chip.sage { background: var(--sage-soft); color: var(--sage-ink); }
.chip.sun { background: var(--sun-soft); color: var(--sun-ink); }
.chip.accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip.plain { background: var(--ground); border: 1px solid var(--line); }
.now {
  background: var(--sun-soft); border-radius: 22px; padding: 16px; margin-bottom: 12px;
}
.now-row { display: flex; align-items: center; gap: 12px; }
.now-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--surface); color: var(--sun-ink); display: grid; place-items: center; flex: none; }
.now-icon .icon { width: 22px; height: 22px; }
.now-text { flex: 1; min-width: 0; }
.now-text strong { display: block; font-size: 1.1875rem; font-weight: 800; line-height: 1.25; }
.now-text span { font-size: 0.8125rem; color: var(--sun-ink); font-weight: 650; }
.numeral { font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.numeral small { font-size: 0.8125rem; font-weight: 650; margin-left: 2px; }
.now p { margin: 12px 0 12px; font-size: 0.9375rem; line-height: 1.45; }
.bar { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--sun) 45%, transparent); overflow: hidden; }
.bar > i { display: block; height: 100%; width: var(--fill, 60%); border-radius: inherit; background: var(--accent); transform-origin: left; }
.card {
  background: var(--surface); border-radius: 22px; padding: 16px; box-shadow: var(--rest); display: grid; gap: 10px;
}
.dark-line .card { border: 1px solid var(--line); }
.mock-title { margin: 0; font-size: 1.1875rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.005em; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.go {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px;
  background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 0.9375rem;
}
.go .icon { width: 18px; height: 18px; }
.caption { margin: 14px 0 0; text-align: center; font-size: 0.8125rem; color: var(--muted); position: relative; z-index: 1; }

/* Entrance, once: the hero rises, the progress fills */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fill { from { transform: scaleX(0.06); } to { transform: scaleX(1); } }
@keyframes drift { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
.hero .rise { animation: rise 560ms var(--ease) both; }
.hero .rise:nth-child(2) { animation-delay: 80ms; }
.hero .rise:nth-child(3) { animation-delay: 160ms; }
.hero .rise:nth-child(4) { animation-delay: 240ms; }
.hero-stage .phone { animation: rise 700ms var(--ease) 180ms both; }
.hero-stage .bar > i { animation: fill 1400ms var(--ease) 700ms both; }
.hero-sun { animation: drift 5200ms ease-in-out infinite alternate; }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(1.625rem, 4vw, 2.375rem); line-height: 1.15; font-weight: 850; letter-spacing: -0.02em; margin: 0 0 14px; }
h3 { font-size: 1.1875rem; font-weight: 800; line-height: 1.3; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 38em; }

/* Feature rows: copy beside a real piece of the interface */
.row { display: grid; gap: 28px; align-items: center; padding: 40px 0; }
.row h2 { margin-bottom: 12px; }
.row p { color: var(--muted); margin: 0 0 16px; max-width: 30em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; }
.ticks .icon { color: var(--sage-ink); margin-top: 3px; }
.panel { border-radius: 32px; padding: 28px 20px; display: grid; place-items: center; min-height: 340px; }
.panel.sun { background: var(--sun-soft); }
.panel.coral { background: var(--coral-soft); }
.panel.sage { background: var(--sage-soft); }
.panel.sky { background: var(--sky-soft); }
.panel .card, .panel .mini { width: min(100%, 380px); }
@media (min-width: 880px) {
  .row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .row.flip .copy { order: 2; }
}

/* Timeline mock */
.mini { background: var(--surface); border-radius: 22px; padding: 18px 18px 14px; box-shadow: var(--rest); }
.mini .mock-title { margin: 0 0 8px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 66px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 52px 30px 1fr; align-items: center; min-height: 46px; font-weight: 650; }
.timeline time { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); justify-self: center; position: relative; z-index: 1; }
.timeline .past { opacity: 0.55; }
.timeline .current { font-weight: 850; color: var(--accent-ink); }
.timeline .current .dot { width: 16px; height: 16px; background: var(--accent); outline: 5px solid color-mix(in srgb, var(--accent) 18%, transparent); outline-offset: 0; }
.timeline .dropped { color: var(--muted); }
.timeline .dropped span { text-decoration: line-through; }
.timeline .dropped .dot { background: var(--surface); border: 2px dashed var(--muted); width: 12px; height: 12px; }
.timeline-note { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; font-size: 0.8125rem; font-weight: 650; color: var(--muted); }
.timeline-note .icon { width: 16px; height: 16px; color: var(--sun-ink); }

/* Runner mock */
.runner { display: grid; gap: 14px; }
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.segments i { height: 6px; border-radius: 999px; background: var(--line); position: relative; overflow: hidden; }
.segments i.on::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.runner .step-count { font-size: 0.8125rem; font-weight: 750; color: var(--accent-ink); }
.runner .step { font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.reactions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.reaction {
  border-radius: 18px; background: var(--ground); display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px;
  font-size: 0.8125rem; font-weight: 750; text-align: center;
}
.reaction .icon { width: 26px; height: 26px; }
.reaction.love { background: var(--coral-soft); color: var(--coral-ink); }
.panel .reaction.love { box-shadow: inset 0 0 0 2px var(--coral); }

/* Creche mock */
.stack { display: grid; gap: 12px; }
.mini.stack { padding: 18px; }
.mini .mock-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini .label { font-size: 0.8125rem; font-weight: 750; color: var(--muted); margin: 4px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.line-sage { display: flex; gap: 10px; align-items: center; background: var(--sage-soft); color: var(--sage-ink); border-radius: 14px; padding: 10px 12px; font-size: 0.9375rem; font-weight: 700; }

/* Week mock */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day {
  border-radius: 16px; background: var(--ground); padding: 8px 4px 10px; display: grid; justify-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 750; color: var(--muted); text-align: center; min-height: 92px; align-content: start;
}
.day b { font-size: 1rem; color: var(--ink); font-weight: 850; font-variant-numeric: tabular-nums; }
.day .icon { width: 18px; height: 18px; color: var(--accent-ink); }
.day.today { background: var(--accent-soft); color: var(--accent-ink); }
.day.blocked { background: transparent; border: 1.5px dashed var(--muted); }
.day.blocked .icon { color: var(--muted); }
.week-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.week-list li { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 700; font-size: 0.9375rem; border-top: 1px solid var(--line); }
.week-list li:first-child { border-top: 0; }
.week-list time { width: 38px; font-size: 0.8125rem; color: var(--muted); font-weight: 750; }

/* Scroll reveals: each mock has its own small moment */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .timeline li { opacity: 0; transform: translateX(-8px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.js .in .timeline li { opacity: 1; transform: none; }
.js .in .timeline li:nth-child(2) { transition-delay: 90ms; }
.js .in .timeline li:nth-child(3) { transition-delay: 180ms; }
.js .in .timeline li:nth-child(4) { transition-delay: 270ms; }
.js .in .timeline li:nth-child(5) { transition-delay: 360ms; }
.js .in .timeline li.past { opacity: 0.55; }
.js .segments i.on::after { transform: scaleX(0); transition: transform 700ms var(--ease) 200ms; }
.js .in .segments i.on::after { transform: scaleX(1); }
.js .in .segments i.on:nth-child(2)::after { transition-delay: 450ms; }
.js .reaction { opacity: 0; transform: scale(0.9); transition: opacity 300ms var(--ease), transform 360ms var(--ease); }
.js .in .reaction { opacity: 1; transform: none; }
.js .in .reaction:nth-child(1) { transition-delay: 500ms; }
.js .in .reaction:nth-child(2) { transition-delay: 600ms; }
.js .in .reaction:nth-child(3) { transition-delay: 700ms; }
.js .chip.pop { opacity: 0; transform: scale(0.85); transition: opacity 280ms var(--ease), transform 320ms var(--ease); }
.js .in .chip.pop { opacity: 1; transform: none; }
.js .in .chip.pop:nth-child(2) { transition-delay: 110ms; }
.js .in .chip.pop:nth-child(3) { transition-delay: 220ms; }
.js .in .chip.pop:nth-child(4) { transition-delay: 330ms; }
.js .day { opacity: 0; transform: translateY(10px); transition: opacity 360ms var(--ease), transform 420ms var(--ease); }
.js .in .day { opacity: 1; transform: none; }
.js .in .day:nth-child(2) { transition-delay: 60ms; }
.js .in .day:nth-child(3) { transition-delay: 120ms; }
.js .in .day:nth-child(4) { transition-delay: 180ms; }
.js .in .day:nth-child(5) { transition-delay: 240ms; }
.js .in .day:nth-child(6) { transition-delay: 300ms; }
.js .in .day:nth-child(7) { transition-delay: 360ms; }

/* Promises: a plain list, no cards */
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.promises li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.promises li:last-child { border-bottom: 1px solid var(--line); }
.promises .mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.promises strong { display: block; font-size: 1.1875rem; font-weight: 800; line-height: 1.3; margin-bottom: 2px; }
.promises span { color: var(--muted); }
@media (min-width: 880px) {
  .promises { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .promises li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding-bottom: 26px; position: relative; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-weight: 850; font-size: 1.125rem; position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.steps h3 { margin-top: 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Closing */
.closing { background: var(--accent-soft); border-radius: 36px; padding: 48px 24px; text-align: center; display: grid; justify-items: center; gap: 6px; }
.closing .sub { margin: 0 auto 20px; }
.closing .actions { justify-content: center; }

.note { background: var(--sun-soft); border-radius: 16px; padding: 16px 18px; margin: 20px 0; }
.note p { margin: 0; }

/* Guide, privacy */
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin: 20px 0 0; }
.toc strong { display: block; margin: 0 4px 10px; font-size: 0.9375rem; color: var(--muted); }
.guide .toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.guide .toc li { margin: 0; padding: 0; }
.toc a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 14px;
  background: var(--ground); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}
.toc a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.guide section { padding: 32px 0 8px; border-top: 1px solid var(--line); margin-top: 32px; }
.guide section:first-of-type { border-top: 0; margin-top: 8px; }
.guide ol, .guide ul { padding-left: 22px; }
.guide li { margin: 6px 0; }
.acc-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin: 20px 0 12px; }
.acc-tools .btn { min-height: 44px; font-size: 0.9375rem; padding: 0 18px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; margin: 0 0 12px; scroll-margin-top: 88px; }
.acc > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 10px 20px; border-radius: 22px; transition: background 160ms var(--ease);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary h2 { margin: 0; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.005em; }
.acc > summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: var(--accent-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 160ms var(--ease);
}
.acc[open] > summary::after { transform: rotate(180deg); }
.acc > summary:hover { background: var(--accent-soft); }
.acc[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.acc-body { padding: 4px 20px 18px; }
.acc-body > :first-child { margin-top: 0; }
.acc-body > :last-child { margin-bottom: 0; }
kbd, .ui {
  font: inherit; font-weight: 750; background: var(--accent-soft); color: var(--accent-ink);
  border-radius: 8px; padding: 1px 8px;
}

/* Footer */
footer { padding: 40px 0 56px; color: var(--muted); font-size: 0.9375rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
footer p { margin: 0; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent-ink); }

@media (max-width: 480px) {
  nav.main a:not(.btn):first-child { display: none; }
  .week { gap: 4px; }
  .day { min-height: 84px; }
  .timeline::before { left: 62px; }
  .timeline li { grid-template-columns: 48px 30px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .timeline li, .js .reaction, .js .chip.pop, .js .day { opacity: 1 !important; transform: none !important; }
  .js .timeline li.past { opacity: 0.55 !important; }
  .js .segments i.on::after { transform: none !important; }
}
