/* Sevenday — one stylesheet. Tokens, then one block per section. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ground: #f0f0eb;
  --ink: #12130f;
  --muted: #5a5c53;
  --blue: #1e2bff;
  --blue-deep: #0d13b8;
  --soft: #dfe2ff;
  --orange: #ff4d00;
  --alert: #c0320b;
  --line: rgba(18, 19, 15, 0.14);
  --line-strong: rgba(18, 19, 15, 0.42);
  --pad: clamp(1.25rem, 4.2vw, 4rem);
  --max: 1360px;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", var(--sans);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--blue); color: var(--ground); }

h1, h2, h3, p, dl, dd, dt, figure, blockquote, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.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 {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--ground); padding: 0.8rem 1.1rem;
  text-decoration: none; transition: top 0.2s var(--ease);
}
.skip:focus { top: 1rem; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- type ---------- */

.display {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "wdth" 94, "opsz" 72;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.hero__title,
.pagehead__title,
.week__title,
.offer__title,
.price__title,
.work__title,
.contact__title,
.faq__title,
.idea__title,
.needs__title,
.cta__title {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "wdth" 94, "opsz" 72;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero__kicker,
.pagehead__kicker,
.week__lede,
.offer__side h3,
.price__lede,
.work__body,
.contact__body,
.faq__lede {
  color: var(--muted);
}

/* ---------- buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--ground);
  border: 1px solid var(--ink);
  padding: 0.95rem 1.35rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.button:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button--small { padding: 0.7rem 1rem; font-size: 0.875rem; }

.link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 0.15rem;
  transition: background-size 0.3s var(--ease), color 0.25s var(--ease);
}
.link:hover { color: var(--blue); background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
  height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.nav__brand {
  justify-self: start; display: inline-flex; align-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.03em;
  text-decoration: none;
}
.nav__brand .logo { transition: opacity 0.2s var(--ease); }
.nav__brand:hover .logo { opacity: 0.72; }

.logo {
  display: inline-flex; align-items: center; gap: 0.32em;
  font-family: var(--display); font-weight: 600; font-stretch: 96%;
  font-size: 1em; letter-spacing: -0.045em; line-height: 1;
}
.logo__mark { width: 0.95em; height: 0.95em; transform: translateY(-0.03em); }
.logo__word { display: inline-flex; align-items: flex-end; }
.logo__dot {
  width: 0.185em; height: 0.185em; margin-left: 0.1em; margin-bottom: 0.06em;
  background: var(--orange);
}
.nav__links { display: flex; gap: 1.75rem; justify-self: center; }
.nav__link {
  font-size: 0.9375rem; text-decoration: none; color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__cta { justify-self: end; }

.menu { display: none; justify-self: end; }
.menu__button {
  list-style: none; cursor: pointer; padding: 0.4rem 0;
  font-size: 0.9375rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.menu__button::-webkit-details-marker { display: none; }
.menu__button::after {
  content: ""; width: 0.4rem; height: 0.4rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.menu[open] .menu__button::after { transform: translateY(1px) rotate(225deg); }
.menu__panel {
  position: fixed; top: 62px; left: 0; right: 0;
  background: var(--ground);
  border-bottom: 1px solid var(--ink);
  padding: 0.2rem var(--pad) 1.4rem;
}
.menu__panel nav { display: grid; }
.menu__panel nav a {
  padding: 0.85rem 0; border-top: 1px solid var(--line);
  text-decoration: none; font-size: 1.05rem;
}
.menu__cta {
  margin-top: 1.1rem; border: 0 !important;
  background: var(--ink); color: var(--ground);
  text-align: center; padding: 0.85rem 1rem !important;
}
.menu__foot { margin-top: 1.1rem; font-size: 0.85rem; color: var(--muted); }
body.menu-open::after {
  content: ""; position: fixed; inset: 62px 0 0; z-index: 45;
  background: color-mix(in srgb, var(--ink) 32%, transparent);
}
.menu__foot a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }

/* ---------- hero ---------- */

.hero {
  padding-top: calc(68px + clamp(2rem, 6vh, 4.5rem));
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.hero__kicker {
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}
.hero__title {
  font-size: clamp(2.15rem, 6.6vw, 6.4rem);
  margin-bottom: clamp(1.4rem, 3vh, 2rem);
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line__inner {
  display: block;
  animation: rise 1.05s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 95ms + 80ms);
}
@keyframes rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero__lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.5;
  color: var(--muted);
}
.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
  margin-top: clamp(1.6rem, 3.5vh, 2.4rem);
}

/* the ticket: the offer as a work order, not a card */
.ticket {
  position: relative;
  border: 1px solid var(--ink);
  padding: 1.5rem 1.4rem 1.2rem;
  background: transparent;
  animation: fade 0.9s var(--ease) both 0.5s;
}
.ticket__stamp {
  position: absolute; top: -0.85rem; right: 1rem;
  background: var(--orange);
  color: var(--ink);
  border: 1px solid var(--orange);
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  transform: rotate(-3deg);
}
.ticket__title {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
.ticket__rows { display: grid; }
.ticket__row {
  display: grid; grid-template-columns: 5.4rem 1fr; gap: 0.8rem;
  padding: 0.6rem 0; border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.ticket__row dt { color: var(--muted); }
.ticket__row dd { margin: 0; }
.ticket__foot {
  margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--ink);
  font-size: 0.8rem; color: var(--muted);
}

.hero__facts { margin-top: clamp(2.2rem, 6vh, 4rem); }
.hero__facts ul {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  border-top: 1px solid var(--line); padding-top: 1rem;
  font-size: 0.875rem; color: var(--muted);
}

/* ---------- page head ---------- */

.pagehead { padding-top: calc(68px + clamp(2.5rem, 7vh, 5rem)); }
.pagehead__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: end;
  padding-bottom: clamp(2rem, 5vh, 3rem);
  border-bottom: 1px solid var(--ink);
}
.pagehead__title { font-size: clamp(2.1rem, 5.6vw, 4.9rem); max-width: 15ch; }
.pagehead__aside { padding-bottom: 0.3rem; }
.pagehead__lede { max-width: 44ch; margin-top: 1.5rem; color: var(--muted); }
.pagehead__facts { display: grid; gap: 0.55rem; }
.pagehead__facts div:first-child { border-top: 1px solid var(--ink); }
.pagehead__facts div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 0.7rem; font-size: 0.9rem; }
.pagehead__facts dt { color: var(--muted); }

/* ---------- the week ---------- */

.week {
  background: var(--blue);
  color: var(--ground);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  margin-top: clamp(3rem, 7vw, 5rem);
}
.week__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.week__title { font-size: clamp(1.9rem, 4.4vw, 3.6rem); }
.week__lede { color: color-mix(in srgb, var(--ground) 88%, transparent); font-size: 0.98rem; max-width: 48ch; }
.week__note {
  margin-top: 2rem; font-size: 0.85rem;
  color: color-mix(in srgb, var(--ground) 82%, transparent);
}

.board {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.board__day {
  position: relative;
  padding-top: 0.9rem;
  border-top: 1px solid color-mix(in srgb, var(--ground) 40%, transparent);
}
.board__rule {
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--ground); transform: scaleX(0); transform-origin: left;
}
.board__mark {
  font-size: 0.72rem; letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--ground) 62%, transparent);
}
.board__name { font-size: 0.85rem; margin-top: 0.15rem; }
.board__task {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "wdth" 94, "opsz" 32;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -0.02em;
  margin-top: 0.9rem;
}
.board__text {
  margin-top: 0.55rem; font-size: 0.8rem; line-height: 1.45;
  color: color-mix(in srgb, var(--ground) 88%, transparent);
}

/* ---------- package ---------- */

.offer { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.offer__title, .price__title, .work__title, .faq__title, .idea__title, .needs__title {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  max-width: 18ch;
}
.offer__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.spec { width: 100%; border-collapse: collapse; }
.spec tr { border-top: 1px solid var(--line); }
.spec tr:last-child { border-bottom: 1px solid var(--line); }
.spec th, .spec td { text-align: left; padding: 0.85rem 0; vertical-align: top; font-weight: 400; font-size: 0.95rem; }
.spec th { width: 33%; color: var(--ink); }
.spec td { color: var(--muted); padding-left: 1.5rem; }
.offer__side { padding-top: 0.2rem; }
.offer__side h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 0.7rem;
}
.offer__side p { font-size: 0.92rem; margin-bottom: 1rem; }
.offer__side .link { font-size: 0.92rem; }

/* ---------- price ---------- */

.price { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.price__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.price__lede { max-width: 46ch; font-size: 0.98rem; }

.ledger { border-top: 1px solid var(--ink); }
.ledger__row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  grid-template-areas: "name note amount" "name detail amount";
  gap: 0.15rem 1.5rem;
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ledger__name { grid-area: name; font-size: 0.95rem; }
.ledger__amount {
  grid-area: amount; justify-self: end;
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "wdth" 94, "opsz" 40;
  font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; line-height: 1;
}
.ledger__amount span { font-size: 0.5em; color: var(--muted); margin-left: 0.15rem; }
.ledger__note { grid-area: note; font-size: 0.95rem; }
.ledger__detail { grid-area: detail; font-size: 0.85rem; color: var(--muted); max-width: 52ch; }
.ledger__row.is-accent {
  background: var(--blue); color: var(--ground); border-bottom-color: var(--blue);
}
.ledger__row.is-accent .ledger__detail,
.ledger__row.is-accent .ledger__amount span { color: color-mix(in srgb, var(--ground) 75%, transparent); }

.price__more { margin-top: 1.5rem; font-size: 0.95rem; }

.extras { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
.extras h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.extras dl { display: grid; }
.extras dl div { display: flex; justify-content: space-between; gap: 2rem; padding: 0.7rem 0; border-top: 1px solid var(--line); font-size: 0.93rem; }
.extras dl div:last-child { border-bottom: 1px solid var(--line); }
.extras dd { color: var(--muted); }

.terms { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.terms p { font-size: 0.86rem; color: var(--muted); padding-top: 0.8rem; border-top: 1px solid var(--line); }

/* ---------- work ---------- */

.work { padding-block: clamp(3.5rem, 8vw, 6.5rem); background: var(--ink); color: var(--ground); }
.work__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.work__body { color: color-mix(in srgb, var(--ground) 72%, transparent); font-size: 0.98rem; max-width: 52ch; }
.demos {
  list-style: none; padding: 0;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.demos:first-child { margin-top: 0; }
.demo { min-width: 0; }
.demo__link { display: block; text-decoration: none; color: inherit; }
.demo__figure {
  display: block; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ground) 24%, transparent);
  transition: border-color 0.35s var(--ease);
}
.demo__figure img {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  transition: transform 0.6s var(--ease);
}
.demo__link:hover .demo__figure { border-color: color-mix(in srgb, var(--ground) 58%, transparent); }
.demo__link:hover .demo__figure img { transform: scale(1.025); }
.demo__body { display: grid; justify-items: start; padding-top: 1rem; }
.demo__type { font-size: 0.75rem; color: var(--orange); letter-spacing: 0.01em; }
.demo__name {
  font-family: var(--display); font-weight: 500; font-variation-settings: "wdth" 94, "opsz" 40;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.1;
  margin: 0.45rem 0 0.55rem;
}
.demo__line { font-size: 0.88rem; line-height: 1.5; color: color-mix(in srgb, var(--ground) 74%, transparent); max-width: 34ch; }
.demo__points { display: grid; gap: 0.5rem; width: 100%; margin-top: 1rem; }
.demo__points span {
  font-size: 0.85rem; padding-top: 0.55rem;
  border-top: 1px solid color-mix(in srgb, var(--ground) 18%, transparent);
  color: color-mix(in srgb, var(--ground) 82%, transparent);
}
.demo__open {
  margin-top: 1.1rem; padding-bottom: 0.15rem;
  font-size: 0.85rem; color: var(--ground);
  border-bottom: 1px solid color-mix(in srgb, var(--ground) 42%, transparent);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.demo__link:hover .demo__open { color: var(--orange); border-bottom-color: var(--orange); }
.demos__note { margin-top: clamp(1.5rem, 3vw, 2rem); font-size: 0.85rem; color: color-mix(in srgb, var(--ground) 58%, transparent); }

/* ---------- the five-page example ---------- */

.idea { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.idea__lede { color: var(--muted); margin-top: 1rem; max-width: 52ch; }
.idea__list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem);
}
.idea__list li { border-top: 1px solid var(--ink); padding-top: 0.9rem; }
.idea__n { font-size: 0.75rem; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 1.6rem; }
.idea__list h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.idea__list p:last-child { font-size: 0.86rem; color: var(--muted); }

/* ---------- needs ---------- */

.needs { padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.needs__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); }
.needs__lede { color: var(--muted); margin-top: 1rem; max-width: 40ch; }
.needs__list { display: grid; }
.needs__list div { display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.needs__list div:last-child { border-bottom: 1px solid var(--line); }
.needs__list dt { font-size: 0.92rem; }
.needs__list dd { font-size: 0.92rem; color: var(--muted); }

/* ---------- faq ---------- */

.faq { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__head { position: sticky; top: 100px; }
.faq__lede { margin: 1rem 0 1.5rem; max-width: 34ch; font-size: 0.95rem; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; position: relative;
  font-size: 1rem; font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.1rem; color: var(--muted); transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 3rem 1.2rem 0; font-size: 0.93rem; color: var(--muted); max-width: 62ch; }

/* ---------- contact ---------- */

.contact { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__body { color: var(--muted); margin-top: 1rem; max-width: 34ch; }
.contact__meta { margin-top: 2rem; display: grid; }
.contact__meta div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.contact__meta div:last-child { border-bottom: 1px solid var(--line); }
.contact__meta dt { color: var(--muted); }
.contact__meta a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }

.steps { margin-top: 2.5rem; display: grid; gap: 1.2rem; counter-reset: steps; }
.steps li { padding-top: 0.9rem; border-top: 1px solid var(--line); }
.steps__n { font-size: 0.75rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 0.98rem; font-weight: 500; margin: 0.3rem 0 0.25rem; }
.steps p:last-child { font-size: 0.88rem; color: var(--muted); max-width: 40ch; }

.form { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.5rem; }
.field { display: grid; gap: 0.35rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 0.55rem 0; border-radius: 0;
  transition: border-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 6rem; }
.field:focus-within label { color: var(--ink); }
.field input:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 var(--blue);
}
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--alert); box-shadow: none; }
.field.is-invalid label, .field.is-invalid:focus-within label { color: var(--alert); }
.field__error { font-size: 0.75rem; color: var(--alert); }
main:focus { outline: none; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }
.form__note { font-size: 0.8rem; color: var(--muted); max-width: 32ch; }
.form__status { margin-top: 1rem; font-size: 0.9rem; min-height: 1.4em; }
.form__status.is-error { color: var(--alert); }
.form__status.is-ok { color: var(--blue); }

.contact__cta { display: grid; gap: 1rem; justify-items: start; align-content: center; }
.contact__cta p { color: var(--muted); }

/* ---------- cta ---------- */

.cta { background: var(--blue); color: var(--ground); padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta__title { font-size: clamp(1.5rem, 3vw, 2.4rem); max-width: 20ch; }
.cta .button { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.cta .button:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.cta .button:focus-visible { outline-color: var(--ground); }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: var(--ground); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer__mark {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.9; color: var(--ground);
}
.footer__line { color: color-mix(in srgb, var(--ground) 66%, transparent); font-size: 0.92rem; max-width: 34ch; }
.footer__links { display: grid; gap: 0.5rem; justify-items: start; font-size: 0.9rem; }
.footer__links a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--ground) 30%, transparent); padding-bottom: 0.1rem; }
.footer__links a:hover { border-bottom-color: var(--ground); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  border-top: 1px solid color-mix(in srgb, var(--ground) 18%, transparent); padding-top: 1rem;
  font-size: 0.78rem; color: color-mix(in srgb, var(--ground) 56%, transparent);
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero__grid, .pagehead__grid, .week__head, .price__head, .work__head { grid-template-columns: 1fr; }
  .pagehead__grid, .price__head, .work__head { align-items: start; }
  .hero__grid { gap: 2.5rem; }
  .ticket { max-width: 32rem; }
  .offer__grid, .contact__grid, .faq__grid, .needs__grid, .extras { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .board { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2rem; }
  .idea__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .terms { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.5rem; }
  .hero__facts ul { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (max-width: 860px) {
  .demos { grid-template-columns: 1fr; gap: 1.9rem; }
  .demo__link { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
  .demo__body { padding-top: 0; }
  .demo__name { font-size: 1.55rem; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .menu { display: block; }
  .nav__inner { grid-template-columns: 1fr auto; height: 62px; }
  .hero { padding-top: calc(62px + 2.4rem); }
  .hero__title { font-size: clamp(2rem, 10.2vw, 3rem); }
  .hero__lede { font-size: 1rem; }
  .hero__actions { gap: 1.2rem; }
  .board { grid-template-columns: 1fr; row-gap: 0; }
  .board__day { display: grid; grid-template-columns: 4.6rem 1fr; column-gap: 1rem; padding: 0.9rem 0; border-top: 1px solid color-mix(in srgb, var(--ground) 30%, transparent); }
  .board__mark { grid-column: 1; grid-row: 1; }
  .board__name { grid-column: 1; grid-row: 2; }
  .board__task { grid-column: 2; grid-row: 1; margin-top: 0; }
  .board__text { grid-column: 2; grid-row: 2; margin-top: 0.2rem; }
  .board__rule { display: none; }
  .ledger__row { grid-template-columns: 1fr auto; grid-template-areas: "name amount" "note note" "detail detail"; padding: 1.2rem 0.9rem; }
  .ledger__amount { font-size: 1.9rem; }
  .offer__title, .price__title, .work__title, .faq__title, .idea__title, .needs__title { max-width: none; }
  .spec th { width: 38%; }
  .spec td { padding-left: 0.8rem; }
  .demo__link { grid-template-columns: 1fr; gap: 0.9rem; }
  .demo__body { padding-top: 0.15rem; }
  .form__fields { grid-template-columns: 1fr; }
  .terms, .idea__list { grid-template-columns: 1fr; }
  .needs__list div { grid-template-columns: 1fr; gap: 0.3rem; }
  .idea__n { margin-bottom: 0.9rem; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__links { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .footer__bottom { flex-direction: column; }
}

.notfound { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 9vw, 7rem); }
.notfound__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .board__rule { transform: scaleX(1); }
}
