/* Placed Space — shared stylesheet.
   Plain CSS, no build step, no external resources (no web fonts, no CDNs).

   Contrast notes (WCAG AA):
   - --ink on --bg ............ 11.9:1
   - --muted on --bg .......... 4.65:1 (5.15:1 on --surface)
   - --clay on --bg ........... 3.4:1  -> illustration fills and large shapes only
   - --clay-strong on --bg .... 5.0:1  -> small labels, links and button backgrounds
   - --on-clay on --clay-strong 5.5:1
   Dark palette: --ink 14.4:1, --muted 7.6:1, --clay-strong 6.2:1 on --bg. */

:root {
  color-scheme: light dark;

  --bg: #F3EEE4;          /* cream */
  --surface: #FBFAF7;     /* paper */
  --ink: #2F2D29;
  --muted: #6F6A60;
  --line: #DED8CF;        /* hairline */
  --line-strong: #C4BBAD;
  --clay: #C2674A;        /* the single accent */
  --clay-strong: #A04E33; /* darkened clay for small text and buttons */
  --on-clay: #FBFAF7;
  --floor: var(--surface);

  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 70rem;
  --gutter: 1.25rem;
  --radius: 14px;
  --radius-sm: 10px;
  --section-pad: clamp(4rem, 9vw, 7rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1F1E1B;
    --surface: #292724;
    --ink: #F3EEE4;
    --muted: #B5AEA1;
    --line: #3B3833;
    --line-strong: #5A554C;
    --clay: #CB7153;
    --clay-strong: #D98A6E;
    --on-clay: #1F1E1B;
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.375rem, 6.2vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.875rem, 4.2vw, 2.875rem);
}

h3 {
  font-size: 1.4375rem;
  line-height: 1.2;
}

h4 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
}

p {
  margin: 0 0 1rem;
}

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

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

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

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

::selection {
  background: var(--clay);
  color: #FBFAF7;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  padding-block: 0.625rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.tm {
  margin-left: 0.08em;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 0.5em;
  font-weight: 500;
  line-height: 0;
  vertical-align: super;
}

.brand__mark {
  flex: none;
  width: 30px;
  height: 30px;
}

.site-nav {
  order: 3;
  width: 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.125rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--clay-strong);
  color: var(--on-clay);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  filter: brightness(0.93);
}

.button--quiet {
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.button--quiet:hover {
  background: var(--surface);
  filter: none;
}

@media (min-width: 46rem) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .site-nav {
    order: 0;
    width: auto;
    margin-left: auto;
  }

  .site-nav ul {
    gap: 0 1.75rem;
  }

  .brand {
    font-size: 1.3125rem;
    gap: 0.625rem;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }
}

/* ---------- Shared section pieces ---------- */

.section {
  padding-block: var(--section-pad);
}

.section--paper {
  --floor: var(--bg);
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--clay-strong);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head p:last-child {
  margin-bottom: 0;
}

.lead {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.note {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* A small clay rectangle, the same "placed item" as in the app icon. */
.placed-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.placed-list li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.375rem;
}

.placed-list li:last-child {
  margin-bottom: 0;
}

.placed-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  background: var(--clay);
}

/* ---------- Illustrations (inline SVG, plan view) ---------- */

.il-floor { fill: var(--floor); }
.il-wall { fill: none; stroke: var(--ink); stroke-linejoin: round; }
.il-swing { fill: none; stroke: var(--ink); stroke-opacity: 0.38; stroke-linecap: round; }
.il-glass { fill: var(--floor); stroke: var(--ink); stroke-opacity: 0.6; }
.il-glass-line { fill: none; stroke: var(--ink); stroke-opacity: 0.6; }
.il-placed { fill: var(--clay); }
.il-shade { fill: #000; fill-opacity: 0.13; }
.il-seam { fill: none; stroke: #000; stroke-opacity: 0.2; }
.il-outline { fill: var(--floor); stroke: var(--ink); stroke-opacity: 0.55; }
.il-detail { fill: none; stroke: var(--ink); stroke-opacity: 0.3; }
.il-rug { fill: none; stroke: var(--line-strong); }
.il-dim { fill: none; stroke: var(--muted); }
.il-dim-text {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.il-accent-line { fill: none; stroke: var(--clay); stroke-linecap: round; }
.il-soft { fill: var(--clay); fill-opacity: 0.2; }
.il-dash { fill: none; stroke: var(--line-strong); stroke-linecap: round; }
.il-dot { fill: var(--ink); }
.il-ghost { fill: none; stroke: var(--clay); stroke-linecap: round; }

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.hero__copy .lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.hero__art {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}

.hero__art svg {
  width: 100%;
}

.hero__art .phone {
  width: min(19rem, 78vw);
  margin-inline: auto;
}

/* ---------- Screenshots ---------- */

/* A plain device outline around a real screenshot. The image keeps the phone's own aspect ratio. */
.phone {
  padding: 0.55rem;
  border-radius: 2.6rem;
  background: #1E1D1A;
  /* A hairline edge, so the frame still reads against the dark palette's background. */
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 48px -24px rgb(47 45 41 / 0.45);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.1rem;
}

.shots {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.shot {
  margin: 0;
  max-width: 17rem;
  margin-inline: auto;
}

.shot figcaption {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

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

@media (min-width: 36rem) {
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 64rem) {
  .shots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 58rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .hero__art {
    margin-inline: 0 0;
    justify-self: end;
  }
}

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

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Official store badges. The artwork is used as supplied; only its display size is set here. */
.store-badge {
  display: inline-flex;
  border-radius: 9px;
  line-height: 0;
}

.store-badge img {
  display: block;
  width: auto;
  height: 50px;
}

/* Google's file includes its own clear space, so it is drawn larger and pulled in to line up with Apple's. */
.store-badge--google img {
  height: 74px;
  margin: -12px;
}

.store-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 24rem) {
  .store-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  gap: 2.5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step__art {
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.step__art svg {
  width: 100%;
  max-width: 15rem;
  margin-inline: auto;
  padding: 0.75rem;
}

.step__index {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--clay-strong);
  font-size: 0.8125rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.step h3 {
  margin-bottom: 0.625rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 36rem) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Features ---------- */

.feature-group {
  display: grid;
  gap: 1.75rem 3rem;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.feature-group:last-of-type {
  padding-bottom: 0;
}

.feature-group__index {
  margin: 0 0 0.5rem;
  color: var(--clay-strong);
  font-size: 0.8125rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.feature-group__head h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
}

.feature-group__head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 24rem;
}

.feature-list {
  display: grid;
  gap: 2.25rem 2.5rem;
}

.feature h4 {
  margin-bottom: 0.5rem;
}

.feature p,
.feature li {
  color: var(--muted);
}

.feature p:last-child {
  margin-bottom: 0;
}

.feature .feature__more {
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  margin-left: 0.375rem;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  vertical-align: 0.1em;
  white-space: nowrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
}

.variations {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.variations svg {
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
}

.variations figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 38rem) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 58rem) {
  .feature-group {
    grid-template-columns: 17rem minmax(0, 1fr);
  }
}

/* ---------- Who it's for ---------- */

.audience {
  display: grid;
  gap: 1.25rem;
}

.audience__item {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.audience__item h3 {
  margin-bottom: 0.625rem;
}

.audience__item p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 52rem) {
  .audience {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Pricing ---------- */

.tiers {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tier--main {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 0.5px var(--ink);
}

.tier__kind {
  margin: 0 0 0.75rem;
  color: var(--clay-strong);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tier h3 {
  font-size: 1.75rem;
}

.tier__summary {
  margin: 0.75rem 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.tier .placed-list li {
  margin-bottom: 0.625rem;
}

.pricing-notes {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.pricing-notes p {
  margin: 0;
}

.pricing-notes strong {
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 54rem) {
  .tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Simply Made Life ---------- */

.family {
  display: grid;
  gap: 1.5rem 4rem;
  align-items: start;
}

.family__text p {
  color: var(--muted);
  font-size: 1.125rem;
}

.family .text-link {
  font-size: 1.0625rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.text-link:hover {
  text-decoration-color: var(--ink);
}

@media (min-width: 54rem) {
  .family {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.faq__item {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.faq dt {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.faq dd {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}

@media (min-width: 50rem) {
  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3.5rem;
  }
}

/* ---------- Download ---------- */

.download {
  text-align: center;
}

.download__icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 14px 22px rgba(47, 45, 41, 0.16));
}

.download .lead {
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.download .store-buttons {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 3rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.site-footer .brand {
  color: var(--ink);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.site-footer p {
  margin: 0 0 0.5rem;
  max-width: 46rem;
}

.site-footer__small {
  font-size: 0.8125rem;
}

/* ---------- Legal pages ---------- */

.legal-head {
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
}

.legal-head h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
}

.legal-head__date {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.notice {
  max-width: 46rem;
  margin: 2rem 0 0;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
  background: var(--surface);
}

.notice p {
  margin: 0;
}

.legal-layout {
  display: grid;
  gap: 2.5rem 4rem;
  padding-bottom: var(--section-pad);
}

.toc {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc h2 {
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-strong);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: flex;
  gap: 0.625rem;
  align-items: baseline;
  min-height: 44px;
  padding-block: 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.toc a:hover {
  text-decoration: underline;
}

.legal-body {
  max-width: 43rem;
  min-width: 0;
}

.legal-body section {
  padding-top: 0.5rem;
  margin-bottom: 2.75rem;
}

.legal-body h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}

.legal-body h3 {
  margin: 1.75rem 0 0.625rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: 0;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-body ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

.legal-body code {
  padding: 0.05em 0.35em;
  border-radius: 4px;
  background: var(--surface);
  font-size: 0.9em;
}

.legal-body li::marker {
  color: var(--clay);
}

.legal-body a {
  color: var(--ink);
  text-decoration-color: var(--clay);
  text-decoration-thickness: 2px;
}

.legal-body a:hover {
  text-decoration-color: var(--ink);
}

.legal-body .caps {
  font-size: 0.9375rem;
}

@media (min-width: 60rem) {
  .legal-layout {
    grid-template-columns: 17rem minmax(0, 1fr);
    align-items: start;
  }

  .toc {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
  }

  .toc a {
    min-height: 0;
    padding-block: 0.4375rem;
  }
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  justify-items: center;
  gap: 0;
  padding-block: clamp(3rem, 9vw, 7rem);
  text-align: center;
}

.not-found svg {
  width: min(16rem, 70%);
  margin-bottom: 2rem;
}

.not-found h1 {
  font-size: clamp(2.125rem, 5.4vw, 3.5rem);
}

.not-found .lead {
  max-width: 30rem;
  margin-bottom: 2rem;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .button,
  .store-badge {
    transition: background-color 0.18s ease, filter 0.18s ease, transform 0.18s ease;
  }

  .button:hover,
  .store-badge:hover {
    transform: translateY(-1px);
  }

  /* Items settle into position: the moment something becomes "placed". */
  .settle {
    transform-box: fill-box;
    transform-origin: center;
    animation: settle 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .settle--1 { animation-delay: 0.2s; }
  .settle--2 { animation-delay: 0.42s; }

  @keyframes settle {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(1.04);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 22.5rem) {
  :root {
    --gutter: 1rem;
  }

  .brand {
    font-size: 1.0625rem;
  }

  .button {
    padding-inline: 0.875rem;
  }

  .tier,
  .audience__item {
    padding: 1.5rem 1.25rem;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .skip-link,
  .toc,
  .store-buttons {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
