@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("./fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("./fonts/roboto-mono-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3efe4;
  --paper-deep: #e6dfcf;
  --white: #fffdf7;
  --ink: #171916;
  --ink-soft: #454a42;
  --ink-mute: #62685d;
  --line: #c9c1b0;
  --asphalt: #171916;
  --orange: #ff5a2a;
  --orange-deep: #c23a14;
  --yellow: #f4c84a;
  --steel: #2f4f5a;
  --steel-light: #d8e2e0;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --consent-bg: #171916;
  --consent-fg: #f3efe4;
  --consent-accent: #f4c84a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scrollbar-color: var(--asphalt) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
a { color: inherit; }
img, svg { max-width: 100%; }
button, input, select { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header { background: var(--asphalt); color: var(--paper); }
.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand__mark { width: 31px; height: 31px; flex: none; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a {
  color: var(--paper);
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--yellow); }
.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(244, 200, 74, 0.7);
  color: var(--yellow);
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(23, 25, 22, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 25, 22, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding-block: clamp(44px, 7vw, 82px) clamp(36px, 5vw, 56px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 8px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__sub {
  max-width: 43ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--ink-mute);
  font-size: 12px;
  font-weight: 700;
}
.hero__trust svg { width: 16px; height: 16px; flex: none; }
.hero__note {
  max-width: 48ch;
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--ink-mute);
  font-size: 12px;
}
.hero__note strong { color: var(--ink); }

/* Ticket form */
.ticket {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--orange);
  padding: 18px;
}
.ticket::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 8px;
  height: 2px;
  background: var(--ink);
}
.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0 12px;
  border-bottom: 1.5px dashed var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ticket__head strong { color: var(--orange-deep); }
.ticket__head span { color: var(--ink-mute); }
.field { margin-top: 15px; }
.field > label,
.fieldset > legend {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
  font-size: 15px;
}
.field input:focus,
.field select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--orange-deep); background: #fff0eb; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fieldset { margin: 15px 0 0; padding: 0; border: 0; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); }
.segmented label { position: relative; display: block; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: grid;
  place-items: center;
  min-height: 42px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.segmented label + label span { border-left: 1.5px solid var(--ink); }
.segmented span:hover { background: var(--paper); }
.segmented input:checked + span { background: var(--ink); color: var(--paper); }
.segmented input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: -3px; }
.submit {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 16px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}
.submit:hover { background: var(--orange); color: var(--white); }
.submit:disabled { opacity: 0.6; cursor: wait; }
.submit svg { width: 21px; height: 21px; flex: none; }
.ticket__foot {
  margin: 10px 0 0;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
}
.form-error {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-left: 4px solid var(--orange-deep);
  background: #fff0eb;
  color: var(--ink);
  font-size: 13px;
}
.ticket__link {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.link-button {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* Plan */
.plan-section { padding-block: clamp(38px, 5vw, 64px); }
.plan-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}
.plan-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}
.plan-intro p { max-width: 42ch; margin: 0; color: var(--ink-soft); font-size: 14px; }
.plan-empty {
  border: 2px dashed var(--line);
  background: rgba(255, 253, 247, 0.45);
  padding: clamp(22px, 4vw, 38px);
}
.plan-empty__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
}
.plan-empty__stamp {
  border: 2px solid var(--orange);
  color: var(--orange-deep);
  padding: 3px 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
}
.plan-empty p { max-width: 55ch; margin: 0; color: var(--ink-soft); font-size: 14px; }
.plan-wrap { border: 2px solid var(--ink); background: var(--white); box-shadow: 12px 12px 0 var(--paper-deep); }
.plan__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  border-bottom: 2px solid var(--ink);
}
.plan__summary { padding: 20px 22px; border-right: 2px solid var(--ink); }
.plan__kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.plan__next {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.plan__next strong {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}
.plan__next span { font-family: var(--mono); font-size: 12px; color: var(--orange-deep); text-align: right; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.summary-card { border-left: 3px solid var(--orange); padding-left: 10px; }
.summary-card b { display: block; font-family: var(--display); font-size: 32px; line-height: 0.95; }
.summary-card span { display: block; margin-top: 3px; color: var(--ink-mute); font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; }
.plan__side { padding: 20px 22px; background: var(--asphalt); color: var(--paper); }
.plan__side h3 { margin: 0 0 10px; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.plan__meta { margin: 0; color: rgba(243, 239, 228, 0.75); font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.progress { margin-top: 22px; }
.progress__labels { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--paper); font-family: var(--mono); font-size: 10px; }
.progress__track { height: 8px; background: rgba(243, 239, 228, 0.2); }
.progress__bar { height: 100%; width: 0; background: var(--yellow); transition: width 300ms var(--ease); }
.plan__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.button:disabled { opacity: 0.45; cursor: not-allowed; }
.plan__actions .button:first-child { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.plan__actions .button:first-child:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.plan-body { padding: 6px 22px 22px; }
.task-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.task-row:last-child { border-bottom: 0; }
.task-check { position: relative; display: block; width: 24px; height: 24px; margin-top: 3px; }
.task-check input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.task-box { display: block; width: 24px; height: 24px; border: 2px solid var(--ink); background: var(--white); }
.task-check input:checked + .task-box { background: var(--ink); }
.task-check input:checked + .task-box::after {
  content: "✓";
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--yellow);
  font-size: 17px;
  font-weight: 800;
}
.task-check input:focus-visible + .task-box { outline: 2px solid var(--orange); outline-offset: 2px; }
.task-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.task-top h3 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.task-category { border: 1px solid var(--line); padding: 2px 6px; color: var(--ink-mute); font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; }
.task-soon { background: var(--orange); color: var(--white); padding: 2px 6px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; }
.task-why { margin: 6px 0 8px; color: var(--ink-soft); font-size: 14px; }
.task-when { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-mute); font-family: var(--mono); font-size: 11px; }
.task-when b { color: var(--ink); }
.task-interval { color: var(--steel); }
.task-detail { margin-top: 9px; }
.task-detail summary { width: max-content; color: var(--steel); font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.task-detail p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; }
.task-note { border-left: 3px solid var(--yellow); padding-left: 9px; color: var(--ink-mute) !important; }
.task-row.is-done .task-top h3,
.task-row.is-done .task-why { opacity: 0.5; text-decoration: line-through; }
.task-row.is-done .task-when { opacity: 0.55; }
.later,
.habits { margin-top: 24px; border: 1.5px solid var(--line); background: rgba(255, 253, 247, 0.5); padding: 18px 20px; }
.later h3,
.habits h3 { margin: 0 0 10px; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.later ul,
.habits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.later li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); font-size: 13px; }
.later li:last-child { border-bottom: 0; padding-bottom: 0; }
.later b { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); white-space: nowrap; }
.habits li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 13px; }
.habits b { font-weight: 700; }
.habits span { grid-row: 1 / 3; grid-column: 2; align-self: center; border: 1px solid var(--line); padding: 2px 6px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.habits small { color: var(--ink-mute); font-size: 12px; }

/* Content sections */
.section { padding-block: clamp(40px, 6vw, 74px); border-top: 2px solid var(--ink); }
.section__head { display: grid; grid-template-columns: 1fr 0.7fr; gap: 30px; align-items: end; margin-bottom: 28px; }
.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
}
.section__head p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.how__item { padding: 20px 22px 0 0; border-right: 1px solid var(--line); }
.how__item + .how__item { padding-left: 22px; }
.how__item:last-child { border-right: 0; }
.how__num { font-family: var(--mono); font-size: 10px; color: var(--orange-deep); }
.how h3 { margin: 10px 0 7px; font-family: var(--display); font-size: 25px; text-transform: uppercase; }
.how p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
.split h2 { max-width: 12ch; font-size: clamp(2.4rem, 4vw, 3.6rem); }
.prose { color: var(--ink-soft); font-size: 15px; }
.prose h3 { margin: 0 0 8px; font-family: var(--display); font-size: 26px; color: var(--ink); text-transform: uppercase; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-deep); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq p { max-width: 72ch; margin: 0 0 16px; color: var(--ink-soft); font-size: 14px; }
.cta-band { background: var(--yellow); border-block: 2px solid var(--ink); padding-block: clamp(30px, 5vw, 52px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 15ch; margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 4.2rem); line-height: 0.9; text-transform: uppercase; }
.cta-band a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.cta-band a:hover { background: var(--orange); border-color: var(--orange); }

/* Footer */
.site-footer { background: var(--asphalt); color: var(--paper); padding-block: 38px 24px; }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 32px; }
.site-footer .brand { font-size: 22px; }
.site-footer__note { max-width: 38ch; margin: 14px 0 0; color: rgba(243, 239, 228, 0.65); font-size: 12px; }
.site-footer h2 { margin: 0 0 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--yellow); text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: rgba(243, 239, 228, 0.82); font-size: 12px; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(243, 239, 228, 0.18); color: rgba(243, 239, 228, 0.5); font-family: var(--mono); font-size: 9px; letter-spacing: 0.03em; text-transform: uppercase; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 95;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms, transform 180ms;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Page hero for secondary pages */
.page-hero { padding-block: clamp(42px, 6vw, 72px); border-bottom: 2px solid var(--ink); background: var(--paper); }
.page-hero h1 { max-width: 18ch; margin: 0; font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); line-height: 0.9; text-transform: uppercase; }
.page-hero p { max-width: 55ch; margin: 16px 0 0; color: var(--ink-soft); }
.page-body { padding-block: clamp(34px, 5vw, 60px); }
.page-body .ticket { max-width: 640px; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 38px; }
  .ticket { max-width: 620px; }
  .plan__top { grid-template-columns: 1fr; }
  .plan__summary { border-right: 0; border-bottom: 2px solid var(--ink); }
  .section__head { grid-template-columns: 1fr; gap: 10px; }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .split h2 { max-width: none; }
}
@media (max-width: 820px) {
  .site-header__inner { flex-wrap: wrap; gap: 8px 16px; padding-block: 10px; }
  .site-nav { order: 3; flex-basis: 100%; gap: 18px; padding-top: 8px; border-top: 1px solid rgba(243, 239, 228, 0.18); overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding-block: 6px; white-space: nowrap; }
  .how { grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
  .how__item, .how__item + .how__item { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .how__item:last-child { border-bottom: 0; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__inner > div:first-child { grid-column: 1 / -1; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand { font-size: 21px; }
  .brand__mark { width: 26px; height: 26px; }
  .header-chip { font-size: 9px; padding: 6px 8px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.4rem); }
  .ticket { padding: 15px; box-shadow: 7px 7px 0 var(--orange); }
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .summary-grid { gap: 8px; }
  .summary-card b { font-size: 26px; }
  .plan-body { padding-inline: 15px; }
  .task-row { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .task-top h3 { font-size: 21px; }
  .plan-intro { align-items: start; flex-direction: column; gap: 8px; }
  .plan__summary, .plan__side { padding: 16px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__bottom { flex-direction: column; gap: 6px; }
  .later li { align-items: flex-start; flex-direction: column; gap: 3px; }
  .page-hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
}

@media print {
  .site-header, .site-footer, .hero__copy, .plan-intro p, .plan-empty, .plan-actions, .later, .habits, .toast, .skip-link, #ga-consent, .cta-band, .section { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  .hero { border: 0; }
  .hero__inner { display: block; padding: 0; }
  .ticket { display: none; }
  .plan-section { padding: 0; }
  .plan-wrap { border: 1px solid #000; box-shadow: none; }
  .plan__top { display: block; }
  .plan__summary { border: 0; padding: 0 0 8px; }
  .plan__side { background: white; color: black; border-top: 1px solid #000; }
  .plan__meta, .progress__labels { color: #222; }
  .progress__track { border: 1px solid #000; background: white; }
  .progress__bar { background: #000; }
  .plan-body { padding: 0; }
  .task-row { break-inside: avoid; padding: 8px 0; }
  .task-detail { display: none; }
  .task-when { color: #222; }
  .task-row.is-done .task-top h3, .task-row.is-done .task-why { opacity: 1; text-decoration: line-through; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
