/* groomkin.com — site styles. Every colour, radius, shadow and type size is a design-system token
   (ds/groomkin/tokens.css); buttons and fields use the system's own classes from bundle.css. */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: var(--text-body);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--brand);
}
a:focus-visible,
button:focus-visible,
.gk-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .wrap {
    padding: 0 32px;
  }
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
}
.site-header .logo {
  display: inline-flex;
  align-items: center;
}
.site-header .logo .gk-logo {
  height: 44px;
  width: auto;
}
/* Phones show the logo on its purple tile; wider screens, where the nav shows, the name alone (Brian, 2026-11-20). */
.logo .logo__wide {
  display: none;
}
@media (min-width: 960px) {
  .logo .logo__phone {
    display: none;
  }
  .logo .logo__wide {
    display: inline-flex;
  }
  .site-header .logo__wide .gk-logo {
    height: 48px;
  }
}
.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-5);
}
.site-nav a {
  font: var(--text-label);
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--brand);
}
@media (min-width: 960px) {
  .site-nav {
    display: flex;
  }
}
.site-header .gk-btn {
  margin: 0;
}
.site-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex: none;
}
.site-shop {
  font: var(--text-label);
  color: var(--ink-muted);
  text-decoration: none;
}
.site-shop:hover,
.site-shop[aria-current="page"] {
  color: var(--brand);
}

/* ---- sections ---- */
.section {
  padding: var(--space-16) 0;
}
@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }
}
.section--wash {
  background: var(--brand-wash);
}
.section--sunken {
  background: var(--surface-sunken);
}
.eyebrow {
  font: var(--text-label);
  color: var(--brand);
  letter-spacing: 0.02em;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.015em;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.01em;
}
.h-card {
  font: var(--text-heading-sm);
}
.lede {
  font: var(--text-body-lg);
  color: var(--ink-muted);
  max-width: 60ch;
}
.muted {
  color: var(--ink-muted);
}
.hand {
  font: var(--text-hand);
  color: var(--brand);
}
@media (min-width: 768px) {
  .h-display {
    font-size: 56px;
    line-height: 60px;
    letter-spacing: -0.02em;
  }
  .h-section {
    font-size: 40px;
    line-height: 46px;
  }
}
.stack > * + * {
  margin-top: var(--space-4);
}
.stack--tight > * + * {
  margin-top: var(--space-2);
}
.stack--loose > * + * {
  margin-top: var(--space-6);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.actions .gk-btn {
  margin: 0;
}

/* ---- hero ---- */
.hero {
  padding: var(--space-12) 0 var(--space-16);
}
.hero .wrap {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.hero-art {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}
.hero-art .blob {
  position: absolute;
  inset: 8% 4% 4% 4%;
  background: var(--lilac);
  border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%;
  opacity: 0.55;
}
.hero-art img {
  position: relative;
}
.hero-art .hand {
  position: absolute;
  right: -4px;
  top: -6px;
  transform: rotate(-6deg);
}
.hero .fineprint {
  font: var(--text-body-sm);
  color: var(--ink-muted);
}
@media (min-width: 768px) {
  .hero {
    padding: 80px 0 96px;
  }
  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-12);
  }
  .hero-art {
    max-width: 440px;
  }
}

/* ---- messy to fluffy ---- */
.story {
  display: grid;
  gap: var(--space-8);
}
.story-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-5);
  align-items: center;
}
.story-step img {
  width: 120px;
}
.story-step p {
  font: var(--text-body-lg);
}
.story-step .when {
  font: var(--text-label);
  color: var(--ink-muted);
  margin-bottom: var(--space-1);
}
@media (min-width: 768px) {
  .story {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  .story-step {
    grid-template-columns: 160px 1fr;
  }
  .story-step img {
    width: 160px;
  }
}

/* ---- feature cards ---- */
.cards {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card img {
  width: 128px;
  margin: -8px 0 var(--space-2) -8px;
}
.card p {
  color: var(--ink-muted);
}
.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font: var(--text-caption);
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

/* ---- plans ---- */
.plans {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}
.plan {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.plan--free {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.plan .price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
}
.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.plan li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.plan li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.plan--pro li::before {
  background: var(--line-strong);
}

/* ---- who ---- */
.who {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .who {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}
.who h3 {
  font: var(--text-heading-sm);
  margin-bottom: var(--space-2);
}
.who p {
  color: var(--ink-muted);
}

/* ---- meet ---- */
.meet {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.meet-art {
  max-width: 300px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .meet {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-12);
  }
}
.meet blockquote {
  margin: 0;
  font: var(--text-body-lg);
}
.meet blockquote p + p {
  margin-top: var(--space-3);
}

/* ---- cta band ---- */
.band {
  text-align: center;
}
.band .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--space-12) 0;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.site-footer .logo .gk-logo {
  height: 64px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.footer-links a {
  font: var(--text-label);
  color: var(--ink);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--brand);
}
.site-footer small {
  font: var(--text-body-sm);
  color: var(--ink-muted);
}
@media (min-width: 768px) {
  .site-footer .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- join page ---- */
.join {
  padding: var(--space-12) 0 var(--space-24);
}
.join .wrap {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 900px) {
  .join .wrap {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-16);
    align-items: start;
  }
}
.join-art {
  max-width: 260px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
}
.form .row {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .form .row {
    grid-template-columns: 1fr 1fr;
  }
}
.form textarea.gk-field__control {
  min-height: 112px;
  resize: vertical;
}
.form .gk-btn {
  margin: 0;
  align-self: flex-start;
}
.form .consent {
  font: var(--text-body-sm);
  color: var(--ink-muted);
}
.gk-field__control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--focus-ring);
}
.gk-field__control:user-invalid {
  border-color: var(--danger);
}
.form-error[hidden] {
  display: none;
}
/* The waitlist's bot trap: a field people never see or reach, so only a bot fills it in. */
.form .trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.gk-field--select select.is-placeholder,
.gk-field--select select:invalid {
  color: var(--ink-muted);
}
.done {
  display: none;
}
.join.is-done .form,
.join.is-done .join-intro {
  display: none;
}
.join.is-done .done {
  display: block;
}
.done .meet-art {
  margin: 0 0 var(--space-6);
}

/* ---- audience pages: the day as a timeline ---- */
.timeline {
  display: grid;
  gap: var(--space-6);
  max-width: 760px;
}
.beat {
  position: relative;
  padding-left: var(--space-8);
}
.beat::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: -28px;
  width: 2px;
  background: var(--line);
}
.beat:last-child::before {
  bottom: auto;
  height: 100%;
}
.beat::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-wash);
}
.beat .when {
  font: var(--text-label);
  color: var(--brand);
  margin-bottom: var(--space-1);
}
.beat h3 {
  font: var(--text-heading-sm);
  margin-bottom: var(--space-2);
}
.beat p {
  color: var(--ink-muted);
  max-width: 64ch;
}
.beat p.when {
  color: var(--brand);
}
.who h3 a {
  color: var(--ink);
  text-decoration: none;
}
.who h3 a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

/* ---- 404 ---- */
.lost {
  padding: var(--space-16) 0 var(--space-24);
  text-align: center;
}
.lost .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.lost img {
  max-width: 280px;
}
.hero-art--scene img {
  width: 100%;
}

/* ---- skeleton marker (dev only: delete the .stub element when a page is real) ---- */
.stub {
  background: var(--warning-soft);
  color: var(--warning);
  font: var(--text-body-sm);
  padding: 10px 16px;
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stub__tag {
  font: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-full);
  padding: 2px 8px;
  flex: none;
}
.placeholder {
  color: var(--warning);
}
.stub-link {
  text-decoration-style: dotted;
  cursor: help;
}

/* ---- short hero (secondary pages) ---- */
.hero--short {
  padding-bottom: var(--space-12);
}
.hero--short .hero-art {
  max-width: 320px;
}

/* ---- galleries ---- */
.gallery {
  display: grid;
  gap: var(--space-4);
}
.gallery--4 {
  grid-template-columns: repeat(2, 1fr);
}
.gallery--6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 768px) {
  .gallery--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery--6 {
    grid-template-columns: repeat(6, 1fr);
  }
}
.gallery figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  text-align: center;
}
.gallery figcaption {
  font: var(--text-label);
  color: var(--ink-muted);
  margin-top: var(--space-2);
}

/* ---- pricing table ---- */
.rates {
  width: 100%;
  border-collapse: collapse;
  font: var(--text-body);
}
.rates th,
.rates td {
  text-align: left;
  padding: var(--space-3) var(--space-3);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.rates th {
  font: var(--text-label);
  color: var(--ink-muted);
}
.rates td:nth-child(2) {
  white-space: nowrap;
  font-weight: 600;
}
.rates td:nth-child(3) {
  color: var(--ink-muted);
}
@media (max-width: 639px) {
  .rates thead {
    display: none;
  }
  .rates tr {
    display: grid;
    grid-template-columns: 1fr;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--line);
  }
  .rates td {
    border: 0;
    padding: 2px 0;
  }
}
.plan .gk-btn {
  margin-top: var(--space-2);
  align-self: flex-start;
}

/* ---- shop ---- */
.products {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.product__art {
  background: var(--brand-wash);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  justify-content: center;
}
.product__art img {
  width: 70%;
}
.product__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--brand-wash);
}
.product__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product .price {
  font: var(--text-heading-sm);
}
.product .gk-btn {
  margin: 0;
}

/* ---- guides and compare (article layout) ---- */
.posts {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .posts {
    grid-template-columns: repeat(3, 1fr);
  }
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.post-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.post-card h2 a:hover {
  color: var(--brand);
}
.post-card__meta {
  font: var(--text-caption);
}
.wrap--narrow {
  max-width: 720px;
}
.post {
  padding: var(--space-12) 0 var(--space-24);
}
.post__hero {
  width: 100%;
  max-width: 480px;
}
.post__body h2 {
  font: var(--text-display-sm);
  letter-spacing: -0.01em;
  margin-top: var(--space-6);
}
.post__body h3 {
  font: var(--text-heading-md);
  margin-top: var(--space-2);
}
.post__body p {
  font: var(--text-body-lg);
}
.post__foot {
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}

/* ---- footer brand + social ---- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.social {
  display: flex;
  gap: var(--space-4);
}
.social a {
  font: var(--text-caption);
  color: var(--ink-muted);
  text-decoration: none;
}
.social a:hover {
  color: var(--brand);
}

/* ---- skip link, motion ---- */
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--brand);
  color: var(--on-brand);
  font: var(--text-label);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- mobile menu ---- */
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-full);
  background: var(--surface);
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.2s var(--gk-ease-out),
    opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 960px) {
  .menu-btn {
    display: none;
  }
}
.site-shop {
  display: none;
}
@media (min-width: 960px) {
  .site-shop {
    display: inline;
  }
}
.site-header .site-actions .gk-btn {
  display: none;
}
@media (min-width: 480px) {
  .site-header .site-actions .gk-btn {
    display: inline-flex;
  }
}
.menu {
  position: sticky;
  top: 72px;
  z-index: 9;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) 16px var(--space-6);
}
.menu[hidden] {
  display: none;
}
@media (min-width: 960px) {
  .menu {
    display: none !important;
  }
}
.menu__links {
  display: flex;
  flex-direction: column;
}
.menu__links a {
  font: var(--text-heading-sm);
  color: var(--ink);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.menu__links a[aria-current="page"] {
  color: var(--brand);
}
.menu .gk-btn {
  margin-top: var(--space-4);
}
body.menu-open {
  overflow: hidden;
}

/* ---- FAQ ---- */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  font: var(--text-heading-sm);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}
.faq details[open] summary::after {
  content: "–";
}
.faq summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}
.faq .a {
  padding: 0 0 var(--space-5);
  color: var(--ink-muted);
  font: var(--text-body-lg);
  max-width: 64ch;
}

/* ---- article lists, compare table ---- */
.post__list {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font: var(--text-body-lg);
  color: var(--ink);
}
.post__list li::marker {
  color: var(--brand);
}
.post__body a {
  color: var(--brand);
}
.rates.compare th[scope="row"] {
  font: var(--text-label);
  color: var(--ink);
  white-space: normal;
}
.rates.compare td {
  white-space: normal;
  font-weight: 400;
  color: var(--ink);
}
.rates.compare td:nth-child(2) {
  font-weight: 600;
}
.rates.compare td:nth-child(3) {
  color: var(--ink-muted);
}
@media (max-width: 639px) {
  .rates.compare td:nth-child(2)::before {
    content: "Groomkin: ";
    font: var(--text-caption);
    color: var(--brand);
  }
  .rates.compare td:nth-child(3)::before {
    content: var(--them, "Them: ");
    font: var(--text-caption);
    color: var(--ink-muted);
  }
}

/* ---- compare index: cards, principles, topic grid ---- */
.ico {
  display: inline-grid;
  place-items: center;
  color: var(--brand);
  flex: none;
}
.vs {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .vs {
    grid-template-columns: repeat(3, 1fr);
  }
}
.vs-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.vs-card__art {
  width: 160px;
  height: 160px;
  margin: -4px auto var(--space-2);
}
.vs-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.vs-card h3 a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.vs-card__rows {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  gap: var(--space-2);
}
.vs-card__rows li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ink);
  font: var(--text-body);
}
.vs-card__rows .ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-wash);
}
.vs-card__go {
  margin-top: auto;
  padding-top: var(--space-4);
}
.how {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .how {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}
.how > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.how .ico {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: var(--space-2);
}
.topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .topics {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .topics {
    grid-template-columns: repeat(5, 1fr);
  }
}
.topic {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font: var(--text-label);
  color: var(--ink);
}
.band-art {
  width: 160px;
  height: 160px;
}

/* ---- footer groups ---- */
.site-footer .wrap {
  align-items: flex-start;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--space-6) var(--space-12);
}
.footer-group a {
  white-space: nowrap;
}
.footer-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-group__title {
  font: var(--text-caption);
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}
@media (max-width: 639px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* ---- pricing promises ---- */
.promises {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.promises li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--brand-wash);
  border: 1px solid var(--lilac);
  font: var(--text-label);
  color: var(--ink);
}
.actions--center {
  justify-content: center;
}
.band .actions {
  margin: 0;
}

/* ---- product scenes (real design-system components with sample data) ---- */
.scene-section {
  padding-top: 0;
}
.scene {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md, var(--shadow-sm));
  overflow: hidden;
}
.scene__bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--line);
}
.scene__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.scene__body {
  padding: var(--space-5);
  min-height: 240px;
}
.scene__body:empty {
  background: repeating-linear-gradient(
    135deg,
    var(--surface-sunken) 0 12px,
    var(--surface) 12px 24px
  );
}
.scene__peek {
  position: absolute;
  right: 12px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  pointer-events: none;
}
.scene--van .scene__body {
  display: grid;
  gap: var(--space-4);
}
.scene--stay .scene__body {
  display: grid;
  gap: var(--space-4);
}
.scene--front-desk .scene__body {
  display: grid;
  gap: var(--space-4);
}
/* scenes are rendered into the page at build; one that differs on a phone is there twice and the fitting one shows */
.scene__ssr {
  display: contents;
}
.scene__ssr--narrow {
  display: none;
}
@media (max-width: 767px) {
  .scene__ssr--wide {
    display: none;
  }
  .scene__ssr--narrow {
    display: contents;
  }
}
.scene__scroll {
  overflow-x: auto;
  padding-bottom: var(--space-2);
}
@media (min-width: 768px) {
  .scene__scroll > * {
    min-width: 880px;
  }
}
@media (min-width: 768px) {
  .scene__body {
    padding: var(--space-6);
  }
  .scene--van .scene__body {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .scene--stay .scene__body {
    grid-template-columns: 1fr 1.3fr;
    align-items: start;
  }
}

/* ---- switch page piles ---- */
.piles {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .piles {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pile h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.pile ul {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: var(--space-2);
  color: var(--ink-muted);
}
.pile li strong {
  color: var(--ink);
}
.pile--clean h3 .ico {
  color: var(--success, var(--brand));
}
.pile--tidy h3 .ico {
  color: var(--warning);
}

/* ---- talk page ---- */
.talk-other {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
  max-width: 640px;
}
.talk-other ul {
  margin: 0;
}

/* ---- calculator ---- */
.calc .row {
  align-items: start;
}
.gk-field__prefix,
.gk-field__suffix {
  position: absolute;
  top: 14px;
  color: var(--ink-muted);
  pointer-events: none;
  font: var(--text-body);
}
.gk-field__prefix {
  left: 14px;
}
.gk-field__suffix {
  right: 14px;
}
.gk-field__box .gk-field__prefix + .gk-field__control {
  padding-left: 28px;
}
.calc-out {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .calc-out {
    grid-template-columns: repeat(2, 1fr);
  }
}
.calc-out .topic strong {
  font: var(--text-heading-md);
}
.topic--brand {
  background: var(--brand-wash);
  border-color: var(--lilac);
}

/* ---- trust and figures pages: tables with words in every cell ---- */
.rates.facts th[scope="row"],
.rates.figures th[scope="row"] {
  font: var(--text-label);
  color: var(--ink);
}
.rates.facts td,
.rates.figures td {
  white-space: normal;
  font-weight: 400;
  color: var(--ink);
}
.rates.figures td strong {
  font-weight: 600;
}
.figures__sub {
  display: block;
  color: var(--ink-muted);
}
@media (max-width: 639px) {
  .rates.facts td[data-label]::before,
  .rates.figures td[data-label]::before {
    content: attr(data-label) ": ";
    font: var(--text-caption);
    color: var(--ink-muted);
  }
}
