/* Ivory Maids v3: simplified */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yellowtail";
  src: url("../fonts/yellowtail-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --mint-50: #f1faf4;
  --mint-100: #e2f4e9;
  --mint-300: #a3dabb;
  --mint-500: #3eb489;
  --mint-600: #249a6c;
  --mint-700: #17744f;
  --mint-800: #0f5239;
  --mint-900: #0b2e22;
  --lime-50: #f5f9e4;
  --ink: #0f1512;
  --ink-soft: #27312b;
  --ink-2: #3a453f;
  --ink-3: #5a6760;
  --paper: #ffffff;
  --line: #d9ebe0;

  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;

  --r-lg: 28px;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(48px, 6vw, 80px);
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--mint-300); color: var(--ink); }

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

a { color: inherit; text-underline-offset: 0.2em; }

:focus-visible {
  outline: 2px solid var(--mint-700);
  outline-offset: 3px;
  border-radius: 6px;
}

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

h1, h2, h3 { font-weight: 700; text-wrap: balance; letter-spacing: -0.035em; }
h3 { font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
p { text-wrap: pretty; }

.script {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.15em;
  line-height: 0.8;
  letter-spacing: 0;
  color: var(--mint-600);
  padding-inline: 0.04em 0.14em;
}
/* Before . or ? the trailing room would float the mark away. */
.script--end { padding-right: 0.03em; }
/* Yellowtail's R carries a wide left sidebearing; pull it back to a normal word space. */
.script--cap { margin-left: -0.15em; }
/* A long lead-in stroke (the f in "free") needs extra room on the left. */
.script--lead { padding-left: 0.16em; }
.on-deep .script { color: var(--mint-300); }
.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }

.section { padding-block: var(--section); }
.section--tint { background: var(--mint-50); }
.section:not(.section--tint) + .section:not(.section--tint) { padding-top: 0; }
.center { text-align: center; }

.lede { margin-top: 18px; color: var(--ink-2); font-size: 1.125rem; }
.center .lede { max-width: 60ch; margin-inline: auto; }

/* Placeholder flag: a fact the owner has not supplied yet. */
.ph {
  padding: 0.05em 0.4em;
  border: 1px dashed #b7c96a;
  border-radius: 6px;
  background: var(--lime-50);
  color: var(--ink-2);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.foot .ph, .on-deep .ph { border-color: rgb(211 233 138 / 0.5); background: rgb(211 233 138 / 0.1); color: var(--lime-50); }

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

.top { background: var(--mint-50); }
/* The header stays on screen; it gains a hairline once the page scrolls under it. */
body > .top { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
body > .top.is-stuck { border-bottom-color: var(--line); }

.masthead__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding-block: 20px;
}
.masthead__bar .nav__links { margin-left: auto; }

.brand {
  display: inline-grid;
  justify-items: start;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.brand__a { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.16em; }
.brand__b {
  margin-top: -0.14em;
  margin-left: 1.9em;
  font-family: var(--script);
  font-size: 1.625rem;
  color: var(--mint-600);
  transform: rotate(-4deg);
}

.nav__links { display: flex; gap: 24px; }
.nav__links a {
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mint-500); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 700 0.9375rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.btn:hover { background: var(--ink-soft); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 0.8125rem; }

/* Phone menu: the three-line icon slides a panel of page links down
   from the top of the screen, and turns into a close mark while open. */
.menu { display: none; }
.menu summary {
  position: relative;
  z-index: 41;
  display: grid;
  gap: 6px;
  padding: 10px 4px;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 28px; height: 2.5px; border-radius: 999px; background: var(--ink); transition: transform 0.3s ease, opacity 0.2s ease; }
.menu[open]:not(.is-closing) summary span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu[open]:not(.is-closing) summary span:nth-child(2) { opacity: 0; }
.menu[open]:not(.is-closing) summary span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.menu ul {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100dvh;
  overflow-y: auto;
  /* site.js sets --menu-top from the header's real position on open. */
  padding: var(--menu-top, 128px) var(--gutter) 40px;
  background: var(--mint-500);
  text-align: center;
}
/* Started by the open state, not by load: the closed panel is still rendered (hidden). */
.menu[open] ul { animation: menu-down 0.55s cubic-bezier(0.22, 0.75, 0.25, 1); }
.menu.is-closing ul { animation: menu-up 0.25s ease-in forwards; }
.menu a { display: inline-block; padding: 12px 4px; color: var(--ink); font-size: 1.75rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--paper); text-decoration-thickness: 4px; text-underline-offset: 12px; }
.menu li:last-child { margin-top: 28px; }
.menu li:last-child a { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 36px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 1.125rem; letter-spacing: 0.06em; }
html:has(.menu[open]) .masthead .brand__b { color: var(--paper); }
.masthead .brand { position: relative; z-index: 41; }
html:has(.menu[open]) { overflow: hidden; }
@keyframes menu-down { from { transform: translateY(-100%); } }
@keyframes menu-up { to { transform: translateY(-100%); } }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--mint-500);
  text-decoration-thickness: 2px;
}
.text-link:hover { text-decoration-color: var(--ink); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.center .actions { justify-content: center; }

/* ---------- Photos ---------- */

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--mint-100);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); }
/* Pexels placeholders stay labelled until the owner's own photos replace them. */
.photo[data-stock]::after {
  content: "Stock photo";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.88);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
}

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

.hero { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 56px) 0 0; text-align: center; background: linear-gradient(180deg, var(--mint-50) 0%, #d6efe0 55%, #bfe5cf 100%); }
.hero > .wrap { position: relative; z-index: 1; }

/* Moving sky: soft white clouds drift slowly behind the hero (after pearlsdeepclean.com). */
.sky { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute;
  left: 0;
  width: calc(var(--w) * var(--k, 1));
  height: calc(var(--w) * var(--k, 1) * 0.32);
  border-radius: 999px;
  background: #fff;
  opacity: var(--o, 0.85);
  filter: blur(1px);
  animation: drift var(--t) linear infinite;
  animation-delay: var(--delay);
}
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 46%; aspect-ratio: 1; left: 14%; bottom: 30%; }
.cloud::after { width: 34%; aspect-ratio: 1; left: 50%; bottom: 22%; }
.cloud--1 { --w: 220px; top: 14%; --t: 95s; --delay: -10s; }
.cloud--2 { --w: 150px; top: 34%; --t: 120s; --delay: -70s; --o: 0.7; }
.cloud--3 { --w: 280px; top: 56%; --t: 80s; --delay: -40s; }
.cloud--4 { --w: 120px; top: 8%; --t: 140s; --delay: -100s; --o: 0.6; }
.cloud--5 { --w: 190px; top: 72%; --t: 105s; --delay: -20s; --o: 0.75; }
.cloud--6 { --w: 240px; top: 44%; --t: 130s; --delay: -95s; --o: 0.8; }
@keyframes drift { from { transform: translateX(-320px); } to { transform: translateX(calc(100vw + 40px)); } }
@media (max-width: 760px) { .cloud { --k: 0.55; } .cloud--2, .cloud--4 { display: none; } }
.reduced .cloud { animation-play-state: paused; }
.hero .lede { max-width: 54ch; margin-inline: auto; }
.hero .actions { justify-content: center; }
.hero__stage {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 2 / 1;
  /* the photo rises about 0.22 of the stage width above the arch */
  margin: calc(min(560px, 100%) * 0.22 + clamp(32px, 5vw, 56px)) auto 0;
}
.hero__arch {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 0 0;
  background: var(--mint-500);
}
.hero__photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54%;
  aspect-ratio: 3 / 4;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
}
.hero__photo img { object-position: 50% 30%; }

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

.strike { position: relative; white-space: nowrap; }
.strike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 54%;
  height: 0.08em;
  border-radius: 1em;
  background: var(--mint-500);
  transform: rotate(-4deg);
}

/* Every section follows one recipe: centred heading, short text, one row
   of buttons, then the photo underneath. */
.split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4vw, 40px);
  max-width: calc(760px + var(--gutter) * 2);
  text-align: center;
}
.split > .photo { order: 2; width: min(440px, 100%); aspect-ratio: 4 / 5; }
.split .actions { justify-content: center; }
.prose p { max-width: 60ch; margin-inline: auto; }

.split > .review { order: 3; max-width: 34rem; margin-top: 0; }
.split > .story__photo { aspect-ratio: 4 / 3; }
.story__photo img { object-position: 50% 100%; }
.photo--high img { object-position: 50% 20%; }
.prose p { margin-top: 16px; color: var(--ink-2); }
.prose h2 + p { margin-top: 24px; }

.review { margin-top: 32px; }
.review::before { content: "“"; display: block; color: var(--mint-500); font-size: 3rem; font-weight: 700; line-height: 0.6; }
.review blockquote { font-size: 1.1875rem; font-weight: 500; line-height: 1.45; }
.review figcaption { margin-top: 8px; color: var(--ink-3); font-size: 0.875rem; font-weight: 600; }



.deep {
  border-radius: var(--r-lg);
  background: var(--mint-800);
  color: var(--paper);
  padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 56px);
}
.deep { text-align: center; }
.deep .lede { max-width: 60ch; margin-inline: auto; color: #d5e8dc; }

.close {
  position: relative;
  /* Leave room for the offset block and centre the pair together. */
  width: calc(100% - 12px);
  left: -6px;
  margin-inline: auto;
  border: 2px solid var(--mint-500);
  border-radius: var(--r-lg);
  background: var(--mint-50);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
}
/* The last call to action echoes the Services circle ring: a solid mint block
   offset to the lower right, behind the panel. */
.close::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: var(--r-lg);
  background: var(--mint-500);
  transform: translate(12px, 12px);
}
.wrap:has(> .close) { isolation: isolate; }
.close .small { max-width: 52ch; margin: 24px auto 0; color: var(--ink-3); font-size: 0.9375rem; }

/* How it works: three numbered steps, no icons, no button (the closing panel follows). */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 960px; margin: 48px auto 0; }
.how__n { display: block; color: var(--mint-500); font-size: clamp(3rem, 5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.how__step h3 { margin-top: 14px; }
.how__step p { max-width: 30ch; margin: 8px auto 0; color: var(--ink-2); }

/* FAQ: native details rows; the plus turns into a minus when open. */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; display: grid; width: 24px; height: 24px; color: var(--mint-600); }
.faq__v { transition: opacity 0.2s; }
.faq__item[open] .faq__v { opacity: 0; }
.faq__item p { max-width: 62ch; padding-bottom: 24px; color: var(--ink-2); }

/* ---------- Page heads ---------- */

.pagehead { padding: clamp(20px, 3vw, 40px) 0 clamp(36px, 4.5vw, 56px); text-align: center; }
.pagehead .lede { max-width: 60ch; margin-inline: auto; }

/* ---------- Services ---------- */

/* Each package: a big circle photo with an offset mint ring, then a bold
   left-aligned heading and a short paragraph (after pearlsdeepclean.com). */
.svc + .svc { margin-top: clamp(72px, 9vw, 120px); }
.svc__photo {
  position: relative;
  width: min(480px, calc(100% - 10px));
  aspect-ratio: 1;
  margin-inline: auto;
  left: -5px; /* centre the photo and its offset ring together */
  overflow: visible;
  border-radius: 50%;
  background: none;
}
.svc__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint-500);
  transform: translate(10px, 8px);
}
.svc__photo img { position: relative; border-radius: 50%; }
.svc__photo--low img { object-position: 50% 100%; }
.svc h2 { margin-top: clamp(40px, 5vw, 56px); font-size: clamp(2.2rem, 5vw, 3.25rem); line-height: 1.04; }
.svc p { margin-top: 20px; color: var(--ink); font-size: 1.1875rem; line-height: 1.6; }

.cmp { width: 100%; margin-top: 40px; border-collapse: collapse; table-layout: fixed; font-size: 0.9375rem; }
.cmp__task { width: 46%; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp thead th { font-size: 1.0625rem; font-weight: 600; }
.cmp tbody th { text-align: left; font-weight: 500; }
.cmp small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 0.75rem; }
.yes { display: inline-grid; color: var(--mint-600); }
.yes svg { width: 20px; height: 20px; }
.no { display: inline-grid; color: var(--ink-3); }
.no svg { width: 20px; height: 20px; }
.cmp .ph { white-space: nowrap; }

/* ---------- Method ---------- */

.group + .group { margin-top: 56px; }
.group h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.points { margin-top: 16px; border-top: 1px solid var(--line); }
.point {
  display: grid;
  grid-template-columns: 32px 24px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}
.point__n { color: var(--ink-3); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.point__box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--mint-300);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s;
}
.point__box svg { width: 14px; height: 14px; opacity: 0; transition: opacity 0.3s; }
.point.is-checked .point__box,
.no-js .point__box,
.reduced .point__box { background: var(--mint-500); border-color: var(--mint-500); }
.point.is-checked .point__box svg,
.no-js .point__box svg,
.reduced .point__box svg { opacity: 1; }


/* ---------- Effects ---------- */

/* Sparkles burst from a button on hover or tap. */
.btn { position: relative; }
.sparkle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background: var(--mint-500);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  pointer-events: none;
  animation: sparkle 0.7s cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
}
@keyframes sparkle {
  0% { opacity: 0; transform: translate(0, 0) scale(0.2) rotate(0deg); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); }
}

/* ---------- About ---------- */

/* The owner's letter: circle photo with the offset mint ring, a big
   left-aligned welcome, a signed first-person note (after pearlsdeepclean.com). */
.about h1 { margin-top: clamp(40px, 5vw, 56px); font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1; }
.about__photo img { object-position: 50% 45%; }
.about__letter p { margin-top: 16px; color: var(--ink); font-size: 1.1875rem; line-height: 1.6; max-width: 60ch; }
.about__letter p:first-child { margin-top: 20px; }
.about__sign { font-style: italic; color: var(--ink-2) !important; }
.about__actions { margin-top: 28px; gap: 24px; }
.about__grid { max-width: calc(760px + var(--gutter) * 2); }
/* Desktop: photo beside the letter, so the page isn't one tall column in a sea of white. */
@media (min-width: 900px) {
  .section.about { padding-block: clamp(32px, 4vw, 48px); }
  .about__grid {
    max-width: calc(1040px + var(--gutter) * 2);
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 64px);
    align-items: center;
  }
  .about__grid .about__photo { width: 100%; margin: 0; left: 0; }
  .about h1 { margin-top: 0; }
}

/* ---------- Request ---------- */

.request { max-width: calc(640px + var(--gutter) * 2); }
.request__note { margin-top: 24px; color: var(--ink-2); font-size: 0.9375rem; text-align: center; }

.summary { margin-bottom: 16px; padding: 12px 18px; border-radius: 999px; background: var(--mint-100); font-size: 0.9375rem; }
.summary[hidden] { display: none; }

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

.foot { background: var(--mint-900); color: #c9d9cf; padding: 56px 0 28px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot .brand { color: var(--paper); }
.foot .brand__b { color: var(--mint-500); }
.foot__tag { max-width: 36ch; margin-top: 16px; font-size: 0.9375rem; }
.foot__h { color: var(--paper); font-size: 0.9375rem; font-weight: 600; }
.foot ul { margin-top: 10px; }
.foot li { margin-top: 6px; font-size: 0.9375rem; }
.foot a { text-decoration: none; }
.foot a[href^="mailto:"] { overflow-wrap: anywhere; }
.foot a:hover { color: var(--paper); text-decoration: underline; }
.foot__fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(163 218 187 / 0.16);
  color: #93ab9d;
  font-size: 0.8125rem;
}

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

@media (max-width: 860px) {
  .split > .photo { aspect-ratio: 4 / 3; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 640px) {
  .masthead__bar { justify-content: space-between; flex-wrap: nowrap; }
  .masthead__bar .nav__links, .masthead__bar > .btn { display: none; }
  .menu { display: block; }
  h1 { font-size: 2.45rem; }
  /* The table restacks: each task, then three labelled marks. */
  .cmp { table-layout: auto; }
  .cmp colgroup { display: none; }
  .cmp thead { display: none; }
  .cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding-block: 14px; }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 10px; border: 0; text-align: center; }
  .cmp td { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 0 4px; border: 0; }
  .cmp td::before { content: attr(data-label); color: var(--ink-3); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
  .cmp .ph { white-space: normal; }
  .actions { flex-direction: column; }
  .actions .btn { width: min(320px, 100%); }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__grid > :first-child, .foot__grid > :last-child { grid-column: 1 / -1; }
  .hero__stage { width: min(420px, 100%); margin-top: calc(min(420px, 100%) * 0.22 + 32px); }
}

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