/*
 * Design tokens follow the homeinterior.ai system (same scales, same layout widths, same
 * fixed-blur header + ghost hero + black pill buttons). Only the palette is swapped: warm
 * neutrals and the DecoAI amber accent instead of their cool grays and blue.
 */

:root {
  /* Type scale */
  --font-size-00: 0.75rem;
  --font-size-0: 0.875rem;
  --font-size-1: 1rem;
  --font-size-2: 1.125rem;
  --font-size-3: 1.25rem;
  --font-size-4: 1.5rem;
  --font-size-5: 2rem;
  --font-size-6: 2.25rem;
  --font-size-7: 2.5rem;
  --font-size-8: 3rem;
  --font-size-9: 4rem;
  --font-size-fluid-1: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  --font-size-fluid-2: clamp(1.5rem, 0.955rem + 2.73vw, 3rem);
  --font-size-fluid-4: clamp(2.25rem, 1.432rem + 4.09vw, 4.5rem);

  --line-0: 1.1;
  --line-1: 1.25;
  --line-3: 1.5;
  --line-4: 1.75;
  --tracking-tight: -0.04em;

  /* Spacing */
  --size-1: 0.25rem;
  --size-2: 0.5rem;
  --size-3: 0.75rem;
  --size-4: 1rem;
  --size-5: 1.25rem;
  --size-6: 1.5rem;
  --size-7: 1.75rem;
  --size-8: 2rem;
  --size-10: 2.5rem;
  --size-12: 3rem;
  --size-16: 4rem;
  --size-20: 5rem;
  --size-24: 6rem;
  --size-32: 8rem;
  --size-40: 10rem;

  --radius-1: 0.25rem;
  --radius-2: 0.625rem;
  --radius-3: 1rem;
  --radius-4: 2rem;
  --radius-round: 100vmax;

  /* Warm neutral ramp — mirrors the app's own Color.kt tokens. */
  --white: #ffffff;
  --surface: #fcfbfa;
  --surface-sunken: #f5f2ee;
  --ink: #2d2b29;
  --ink-soft: #43413e;
  --muted: #86817b;
  --muted-strong: #706c67;
  --line: #ece7e1;
  --line-strong: #e2dbd2;

  /* Brand accent — DecoAI amber (app bgHeroButton / proGradient). */
  --brand: #f7a623;
  --brand-strong: #ea9000;
  --brand-soft: #fef6e9;
  --brand-gradient: linear-gradient(90deg, #ea9000, #ff4848);
  --star: #ffaa23;

  --site-width: 73.75rem;
  --layout-y: clamp(4rem, 2.364rem + 8.18vw, 8.5rem);
  --layout-x: var(--size-8);
  --header-height: 5rem;

  --fallback-fonts: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell,
    "Noto Sans", "Helvetica Neue", sans-serif;
}

@media (min-width: 30rem) {
  :root { --layout-x: var(--size-16); }
}
@media (min-width: 48rem) {
  :root { --layout-x: var(--size-24); --header-height: 5.4375rem; }
}
@media (min-width: 64rem) {
  :root { --layout-x: var(--size-32); }
}
@media (min-width: 90rem) {
  :root { --layout-x: var(--size-40); }
}

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

html {
  font-family: var(--fallback-fonts);
  color: var(--ink);
  background-color: var(--white);
  -webkit-tap-highlight-color: rgb(0 0 0 / 0);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--size-4));
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: var(--line-3);
  min-height: 100%;
}

img, svg, video, canvas, picture { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, li { overflow-wrap: break-word; }

:focus-visible {
  outline: 0.1875rem solid var(--brand-strong);
  outline-offset: 0.1875rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: var(--size-4);
  top: var(--size-4);
  z-index: 10;
  padding: var(--size-3) var(--size-4);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-2);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------- header */

.header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  isolation: isolate;
  height: var(--header-height);
  padding: var(--size-2) var(--layout-x);
}
.header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid var(--line);
}
.header__content {
  display: flex;
  align-items: center;
  gap: var(--size-4);
  max-width: var(--site-width);
  height: 100%;
  margin: 0 auto;
}
.header-placeholder { height: var(--header-height); }

.logo {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--size-3);
  font-size: var(--font-size-3);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
}
.logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-2);
}

.menu-button {
  cursor: pointer;
  z-index: 2;
  margin-left: auto;
  margin-right: calc(var(--size-4) * -1);
  padding: var(--size-4);
  background: transparent;
  border: 0;
}
.menu-button__line {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  margin-top: 0.3125rem;
  background: var(--ink);
  border-radius: var(--radius-3);
  transform-origin: center;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-button__line:last-child { margin-bottom: 0.3125rem; }
.menu-button[aria-expanded="true"] .menu-button__line:first-child { transform: translateY(0.4375rem) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__line:nth-child(2) { opacity: 0; transform: scale(0.7); }
.menu-button[aria-expanded="true"] .menu-button__line:last-child { transform: translateY(-0.4375rem) rotate(-45deg); }

.nav { display: none; }
.nav.is-open {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--size-1);
  padding: calc(var(--header-height) + var(--size-6)) var(--size-6) var(--size-16);
  overflow-y: auto;
  background: var(--surface);
}
.nav__link {
  display: block;
  padding: var(--size-4) var(--size-2);
  font-size: var(--font-size-3);
  text-align: center;
  transition: opacity 0.3s;
}
.nav__link--active { font-weight: 600; }
.nav__cta { margin-top: var(--size-4); }

@media (min-width: 64rem) {
  .menu-button { display: none; }
  .nav {
    display: flex;
    align-items: center;
    gap: var(--size-1);
    margin-left: auto;
  }
  .nav__link {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    padding: var(--size-3) var(--size-4);
    font-size: var(--font-size-0);
  }
  /* Reserve the bold width up front so the active state never nudges the row. */
  .nav__link::after {
    content: attr(data-text);
    height: 0;
    overflow: hidden;
    font-weight: 600;
    visibility: hidden;
    pointer-events: none;
  }
  .nav__link:not(.nav__link--active):hover { opacity: 0.65; }
  .nav__cta { margin: 0 0 0 var(--size-3); }
}

/* --------------------------------------------------------------- buttons */

.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-2);
  padding: var(--size-4) var(--size-6);
  font-size: var(--font-size-0);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  border: 0.0625rem solid transparent;
  border-radius: var(--radius-round);
  transition: box-shadow 0.3s, transform 0.3s, background-color 0.3s;
}
.button--dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button--dark:hover { box-shadow: var(--brand) 0 0 0 0.25rem; }
.button--light { color: var(--ink); background: var(--white); border-color: var(--line-strong); }
.button--light:hover { box-shadow: var(--brand) 0 0 0 0.25rem; }
.button--small { padding: var(--size-2) var(--size-4); }

.link {
  color: var(--brand-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.0625rem;
}
.link:hover { color: var(--ink); }

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

.hero {
  overflow: hidden;
  padding: calc(var(--layout-y) * 0.45) var(--layout-x) var(--layout-y);
  background: var(--surface);
}
.hero__container {
  display: flex;
  flex-direction: column;
  gap: var(--size-16);
  max-width: var(--site-width);
  margin: 0 auto;
}

.title { display: flex; flex-direction: column; flex-shrink: 0; }
.title__logo { width: 4.5rem; height: 4.5rem; border-radius: var(--radius-3); }
.title__title {
  margin-top: var(--size-6);
  font-size: var(--font-size-fluid-4);
  font-weight: 700;
  line-height: var(--line-0);
  letter-spacing: var(--tracking-tight);
}
.title__description {
  margin-top: var(--size-5);
  max-width: 36rem;
  font-size: var(--font-size-1);
  line-height: var(--line-4);
  color: var(--muted-strong);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-4);
  margin-top: var(--size-8);
}
.badges__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--size-3);
  padding: var(--size-3) var(--size-5);
  color: var(--white);
  background: var(--ink);
  border: 0.0625rem solid var(--ink);
  border-radius: var(--radius-3);
  transition: transform 0.4s;
}
.badges__badge:hover { transform: scale(1.04); }
.badges__badge--muted { color: var(--ink); background: var(--white); border-color: var(--line-strong); }
.badges__label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badges__label small { font-size: 0.625rem; letter-spacing: 0.08em; opacity: 0.75; }
.badges__label strong { font-size: var(--font-size-2); font-weight: 600; }

@media (min-width: 64rem) {
  .hero__container { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--size-12); }
  .title { max-width: 50%; }
}

/* -------------------------------------------------------------- showcase */

.showcase { width: 100%; max-width: 30rem; margin: 0 auto; }
@media (min-width: 64rem) { .showcase { margin: 0; } }

.showcase__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3);
  box-shadow: 0 1.5rem 3rem rgb(45 43 41 / 0.14);
}
.showcase__stage {
  position: relative;
  aspect-ratio: 360 / 292;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  background: var(--line-strong);
}
.showcase__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase__img--after {
  /* The reveal is a clip, not a resize, so the crop never shifts while dragging. */
  clip-path: inset(0 0 0 calc((1 - var(--reveal)) * 100%));
}
.showcase__img--after.is-hidden { display: none; }
.showcase__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((1 - var(--reveal)) * 100%);
  width: 0.375rem;
  margin-left: -0.1875rem;
  background: var(--white);
}
.showcase__handle {
  position: absolute;
  top: 50%;
  left: calc((1 - var(--reveal)) * 100%);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: -1.125rem 0 0 -1.125rem;
  padding: 0;
  color: #535355;
  background: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 0.22);
  cursor: ew-resize;
}
.showcase__labels {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  padding: var(--size-3);
}
.showcase__tag {
  padding: var(--size-1) var(--size-3);
  font-size: var(--font-size-00);
  font-weight: 600;
  color: var(--white);
  background: rgb(17 17 17 / 0.55);
  border-radius: var(--radius-round);
  backdrop-filter: blur(0.25rem);
}
.showcase__tag--after { background: var(--brand-strong); }

.showcase__styles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-2);
  margin-top: var(--size-5);
}
.chip {
  cursor: pointer;
  padding: var(--size-2) var(--size-4);
  font-size: var(--font-size-0);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  border: 0.0625rem solid var(--line-strong);
  border-radius: var(--radius-round);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--brand); }
.chip--active { color: var(--white); background: var(--ink); border-color: var(--ink); }

.showcase__hint {
  margin-top: var(--size-3);
  font-size: var(--font-size-00);
  color: var(--muted);
}

/* -------------------------------------------------------------- sections */

.section { padding: var(--layout-y) var(--layout-x); }
/* A section right under the page banner already has the banner's breathing room above it, and the
   last one already has the footer's own top padding below it — otherwise the gaps stack twice. */
.page-title + .section { padding-top: var(--size-16); }
main > .section:last-child { padding-bottom: var(--size-16); }
.section--alt { background: var(--surface); }
.section__container { max-width: var(--site-width); margin: 0 auto; }
.section__container--narrow { max-width: 48rem; }

.eyebrow {
  margin-bottom: var(--size-3);
  font-size: var(--font-size-00);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.section__title {
  font-size: var(--font-size-fluid-2);
  font-weight: 700;
  line-height: var(--line-1);
  letter-spacing: var(--tracking-tight);
}
.section__title--center { text-align: center; }
.section__title--small { margin-top: var(--size-16); font-size: var(--font-size-4); }
.section__lead {
  max-width: 42rem;
  margin-top: var(--size-4);
  font-size: var(--font-size-2);
  color: var(--muted-strong);
}
.section__more { margin-top: var(--size-8); }

/* ----------------------------------------------------------------- cards */

.cards {
  display: grid;
  gap: var(--size-4);
  margin-top: var(--size-12);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  padding: var(--size-6);
  background: var(--white);
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-3);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--brand); transform: translateY(-0.125rem); }
.card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--ink);
  background: var(--brand-soft);
  border-radius: var(--radius-round);
}
.card__title { margin-top: var(--size-5); font-size: var(--font-size-2); font-weight: 700; }
.card__body { margin-top: var(--size-2); font-size: var(--font-size-1); color: var(--muted-strong); }

/* ----------------------------------------------------------------- steps */

.steps {
  display: grid;
  gap: var(--size-6);
  margin-top: var(--size-12);
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step { padding-top: var(--size-5); border-top: 0.125rem solid var(--line-strong); }
.step__index {
  font-size: var(--font-size-0);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-strong);
}
.step__title { margin-top: var(--size-3); font-size: var(--font-size-3); font-weight: 700; }
.step__body { margin-top: var(--size-2); color: var(--muted-strong); }

/* --------------------------------------------------------------- reviews */

.reviews {
  display: flex;
  gap: var(--size-4);
  margin-top: var(--size-12);
  padding: 0 var(--layout-x) var(--size-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.review {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(20rem, 80vw);
  padding: var(--size-6);
  text-align: center;
  scroll-snap-align: center;
  border: 0.0625rem solid var(--line-strong);
  border-radius: var(--radius-3);
  background: var(--white);
}
.review__stars { display: flex; justify-content: center; gap: var(--size-1); color: var(--star); }
.review__message { margin-top: var(--size-4); color: var(--ink-soft); }
.review__author { margin-top: auto; padding-top: var(--size-4); font-weight: 600; color: var(--muted); }

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

.faq { display: flex; flex-direction: column; gap: var(--size-4); margin-top: var(--size-10); }
.faq__item {
  overflow: hidden;
  background: var(--white);
  border: 0.0625rem solid var(--line-strong);
  border-radius: var(--size-3);
  transition: border-color 0.2s ease;
}
.faq__item--open { border-color: var(--brand); }
.faq__question { margin: 0; }
.faq__button {
  cursor: pointer;
  display: flex;
  gap: var(--size-4);
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--size-5) var(--size-6);
  font-size: var(--font-size-1);
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
}
.faq__icon {
  flex-shrink: 0;
  font-size: var(--font-size-4);
  font-weight: 300;
  line-height: 1;
  color: var(--brand-strong);
  transition: transform 0.32s ease;
}
.faq__item--open .faq__icon { transform: rotate(45deg); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.faq__item--open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; padding: 0 var(--size-6); }
.faq__item--open .faq__answer-inner { padding-bottom: var(--size-6); }
.faq__answer-inner p { color: var(--muted-strong); }

/* ----------------------------------------------------------------- facts */

.facts {
  margin-top: var(--size-10);
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-3);
  overflow: hidden;
}
.facts__row {
  display: grid;
  gap: var(--size-1);
  padding: var(--size-4) var(--size-6);
  border-bottom: 0.0625rem solid var(--line);
}
.facts__row:last-child { border-bottom: 0; }
.facts__row dt { font-size: var(--font-size-0); font-weight: 600; color: var(--muted); }
.facts__row dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 40rem) {
  .facts__row { grid-template-columns: 14rem 1fr; align-items: baseline; gap: var(--size-6); }
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--size-6);
  margin-top: var(--size-12);
  padding: var(--size-8);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-3);
}
.cta--soft { color: var(--ink); background: var(--surface); border: 0.0625rem solid var(--line-strong); }
.cta__title { font-size: var(--font-size-4); font-weight: 700; letter-spacing: var(--tracking-tight); }
.cta__body { margin-top: var(--size-2); opacity: 0.8; }
.cta .button--dark { color: var(--ink); background: var(--white); border-color: var(--white); }
.cta--soft .button--dark { color: var(--white); background: var(--ink); border-color: var(--ink); }

.prose-list {
  margin-top: var(--size-6);
  padding-left: var(--size-6);
  display: grid;
  gap: var(--size-3);
  color: var(--muted-strong);
}

/* ------------------------------------------------------------ page title */

.page-title {
  padding: var(--size-16) var(--layout-x);
  background: linear-gradient(94.67deg, var(--surface-sunken), rgb(245 242 238 / 0) 96.68%, var(--surface-sunken));
}
.page-title__container { max-width: var(--site-width); margin: 0 auto; }
.page-title__title {
  font-size: var(--font-size-fluid-4);
  font-weight: 700;
  line-height: var(--line-0);
  letter-spacing: var(--tracking-tight);
}
.page-title__description { margin-top: var(--size-6); max-width: 46rem; font-size: var(--font-size-2); color: var(--muted-strong); }
.page-title__meta { margin-top: var(--size-4); font-size: var(--font-size-0); color: var(--muted); }

/* ----------------------------------------------------------------- legal */

.legal { padding: var(--size-16) var(--layout-x) var(--layout-y); }
.legal__container { display: grid; gap: var(--size-12); max-width: var(--site-width); margin: 0 auto; }
/* Grid items default to min-width:auto, which lets the wide permissions table push the page
   sideways instead of scrolling inside its own .table-scroll box. */
.legal__container > * { min-width: 0; }
@media (min-width: 64rem) {
  .legal__container { grid-template-columns: 18rem 1fr; gap: var(--size-16); align-items: start; }
  .legal__toc { position: sticky; top: calc(var(--header-height) + var(--size-6)); }
}
.legal__toc-title { font-size: var(--font-size-0); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
/* Section titles already carry their own "1." prefix — a list marker would double it. */
.legal__toc ol { margin: var(--size-4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--size-2); }
.legal__toc a { font-size: var(--font-size-0); color: var(--muted-strong); }
.legal__toc a:hover { color: var(--brand-strong); }

.legal__body { line-height: var(--line-4); color: var(--ink-soft); }
.legal__section + .legal__section { margin-top: var(--size-12); }
.legal__section h2 {
  margin-bottom: var(--size-5);
  font-size: var(--font-size-4);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
}
.legal__section h3 { margin: var(--size-8) 0 var(--size-3); font-size: var(--font-size-2); color: var(--ink); }
.legal__section h4 { margin: var(--size-6) 0 var(--size-2); font-size: var(--font-size-1); color: var(--ink); }
.legal__section p { margin-bottom: var(--size-4); }
.legal__section ul, .legal__section ol { margin: 0 0 var(--size-4); padding-left: var(--size-6); display: grid; gap: var(--size-2); }
.legal__section a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.legal__section code {
  padding: 0.1em 0.35em;
  font-size: 0.875em;
  background: var(--surface-sunken);
  border-radius: var(--radius-1);
  overflow-wrap: anywhere;
}
.legal__section .placeholder {
  padding: 0.1em 0.4em;
  font-weight: 700;
  color: #9a3412;
  background: #fff2d8;
  border-radius: var(--radius-1);
}

.table-scroll { overflow-x: auto; margin-bottom: var(--size-6); border: 0.0625rem solid var(--line); border-radius: var(--radius-2); }
.table-scroll table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: var(--font-size-0); }
.table-scroll th, .table-scroll td { padding: var(--size-3) var(--size-4); text-align: left; vertical-align: top; border-bottom: 0.0625rem solid var(--line); }
.table-scroll th { font-weight: 700; color: var(--ink); background: var(--surface); }
.table-scroll tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------- not found */

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--size-4);
  min-height: 60vh;
  padding: var(--size-16) var(--layout-x);
  text-align: center;
}
.not-found__title { font-size: var(--font-size-9); font-weight: 700; line-height: var(--line-0); }
.not-found__subtitle { font-size: var(--font-size-fluid-2); font-weight: 700; }
.not-found__description { max-width: 30rem; color: var(--muted-strong); }
.not-found .button { margin-top: var(--size-4); }

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

.footer { padding: var(--size-20) var(--layout-x) var(--size-8); background: var(--surface); border-top: 0.0625rem solid var(--line); }
.footer__container {
  display: grid;
  gap: var(--size-12);
  max-width: var(--site-width);
  margin: 0 auto;
}
@media (min-width: 56rem) { .footer__container { grid-template-columns: 1.2fr 2fr; } }
.footer__pitch { margin-top: var(--size-4); max-width: 26rem; font-size: var(--font-size-0); color: var(--muted-strong); }
.footer__links { display: grid; gap: var(--size-8); grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.footer__group { display: grid; gap: var(--size-2); align-content: start; }
.footer__group a { font-size: var(--font-size-0); color: var(--muted-strong); }
.footer__group a:hover { color: var(--brand-strong); }
.footer__group-title { font-size: var(--font-size-00); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }

.copyright {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-2) var(--size-6);
  justify-content: space-between;
  max-width: var(--site-width);
  margin: var(--size-12) auto 0;
  padding-top: var(--size-6);
  font-size: var(--font-size-00);
  color: var(--muted);
  border-top: 0.0625rem solid var(--line-strong);
}
