/* ==========================================================================
   Spotless Solutions — design system
   Voice: 1962 corner laundromat. Cherry enamel, checkerboard floor,
   sunshine through plate glass. Pure white = spotless.
   ========================================================================== */

:root {
  /* palette */
  --bg: oklch(1 0 0);
  --surface: oklch(0.965 0.007 8);
  --ink: oklch(0.24 0.02 8);
  --muted: oklch(0.44 0.018 8);
  --mint: oklch(0.93 0.045 165);
  --mint-deep: oklch(0.62 0.11 170);
  --aqua: oklch(0.93 0.045 200);
  --aqua-deep: oklch(0.6 0.1 205);
  --butter: oklch(0.95 0.06 95);
  --cherry: oklch(0.55 0.205 8);
  --cherry-deep: oklch(0.44 0.175 8);
  --cherry-dark: oklch(0.3 0.09 8);
  --on-cherry: oklch(1 0 0);
  --on-cherry-soft: oklch(0.93 0.035 8);
  --sun: oklch(0.88 0.155 92);
  --sun-deep: oklch(0.79 0.16 88);
  --on-sun: oklch(0.28 0.05 92);
  --line: oklch(0.9 0.01 8);

  /* type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Yellowtail", cursive;

  /* rhythm */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: clamp(3rem, 6vw, 5rem);
  --space-7: clamp(4.5rem, 10vw, 8rem);

  --radius: 14px;
  --radius-lg: 22px;

  /* z scale */
  --z-sticky: 100;
  --z-nav: 200;
  --z-toast: 300;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-pop: 0 2px 0 oklch(0.3 0.09 8 / 0.9);
  --shadow-card: 0 1px 2px oklch(0.24 0.02 8 / 0.06), 0 12px 32px -12px oklch(0.24 0.02 8 / 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

.display {
  font-variation-settings: "wdth" 118;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }

p { margin: 0 0 var(--space-3); max-width: 68ch; text-wrap: pretty; }

a { color: var(--cherry); text-underline-offset: 3px; }
a:hover { color: var(--cherry-deep); }

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

::selection { background: var(--sun); color: var(--on-sun); }

.script {
  font-family: var(--script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.wrap {
  width: min(1120px, 100% - clamp(2rem, 6vw, 4rem));
  margin-inline: auto;
}

.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }

/* ------------------------------------------------------------------ */
/* Checkerboard motif — the laundromat floor                           */
/* ------------------------------------------------------------------ */

.checker {
  height: 16px;
  background:
    repeating-conic-gradient(var(--cherry-dark) 0% 25%, var(--bg) 0% 50%)
    0 0 / 32px 32px;
  border-block: 1px solid var(--cherry-dark);
}

.checker--sun {
  background:
    repeating-conic-gradient(var(--on-sun) 0% 25%, var(--sun) 0% 50%)
    0 0 / 32px 32px;
  border-block: 1px solid var(--on-sun);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6ch;
  padding: 0.9rem 1.75rem;
  font: 700 1rem/1.2 var(--font);
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease-out), background-color 0.18s var(--ease-out),
              color 0.18s var(--ease-out), border-color 0.18s var(--ease-out),
              box-shadow 0.18s var(--ease-out);
}

.btn:active { transform: translateY(1px); }

.btn--cherry {
  background: var(--cherry);
  color: var(--on-cherry);
  box-shadow: 0 3px 0 var(--cherry-dark);
}
.btn--cherry:hover { background: var(--cherry-deep); color: var(--on-cherry); }

.btn--sun {
  background: var(--sun);
  color: var(--on-sun);
  box-shadow: 0 3px 0 oklch(0.55 0.11 88);
}
.btn--sun:hover { background: var(--sun-deep); color: var(--on-sun); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: currentColor;
}
.btn--ghost:hover { background: var(--surface); color: var(--cherry-deep); }

.btn--ghost-light {
  background: transparent;
  color: var(--on-cherry);
  border-color: oklch(1 0 0 / 0.55);
}
.btn--ghost-light:hover { background: oklch(1 0 0 / 0.12); color: var(--on-cherry); border-color: var(--on-cherry); }

.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }

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

.topline {
  margin: 0;
  max-width: none;
  background: var(--cherry-dark);
  color: var(--on-cherry-soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 0.45rem 1rem;
}
.topline a { color: var(--on-cherry); font-weight: 800; text-decoration-color: oklch(1 0 0 / 0.4); }
.topline a:hover { color: var(--on-cherry); text-decoration-color: currentColor; }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px oklch(0.24 0.02 8 / 0.35); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5ch;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand .script {
  font-size: 1.9rem;
  color: var(--cherry);
  transform: rotate(-2deg);
  display: inline-block;
}
.brand .brand-rest {
  font-weight: 900;
  font-variation-settings: "wdth" 120;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0.15rem;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover { color: var(--cherry); }
.nav-links a.btn--cherry,
.nav-links a.btn--cherry:hover { color: var(--on-cherry); border-bottom: 2px solid transparent; }
.nav-links a[aria-current="page"] {
  color: var(--cherry);
  border-bottom-color: var(--sun);
}

.nav-cta { margin-left: var(--space-2); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: 800 0.9rem var(--font);
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 480px) {
  .brand .script { font-size: 1.55rem; }
  .brand .brand-rest { font-size: 0.8rem; letter-spacing: 0.09em; }
  .nav { gap: var(--space-2); }
}

@media (max-width: 840px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 32px -20px oklch(0.24 0.02 8 / 0.3);
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 0.9rem; }
  .nav-links a { display: block; padding: 0.9rem 0.25rem; border-bottom: none; }
  .nav-links a[aria-current="page"] { border-bottom: none; }
  .nav-cta { margin-left: 0; width: 100%; }
}

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

.hero {
  background: var(--cherry);
  color: var(--on-cherry);
  overflow: clip;
  position: relative;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: var(--space-7);
}

.hero h1 { margin-bottom: var(--space-4); }

.hero .script {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: var(--sun);
  transform: rotate(-3deg);
  margin-bottom: 0.2em;
}

.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--on-cherry-soft);
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hero-note {
  margin-top: var(--space-3);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--on-cherry-soft);
}

.hero-art {
  position: relative;
  justify-self: center;
}

.hero-art img {
  width: min(430px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--bg);
  box-shadow: 0 30px 60px -20px oklch(0.2 0.08 8 / 0.55);
  transform: rotate(2.5deg);
}

p.hero-badge {
  position: absolute;
  top: -2.2rem;
  right: -1.4rem;
  display: grid;
  place-items: center;
  width: 8.2rem;
  aspect-ratio: 1;
  text-align: center;
  text-wrap: balance;
  background: var(--sun);
  color: var(--ink);
  font-weight: 900;
  font-variation-settings: "wdth" 120;
  font-size: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: 0.6rem;
  border-radius: 50%;
  transform: rotate(8deg);
  box-shadow: var(--shadow-card);
}

@media (max-width: 840px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: var(--space-6); }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 3.2rem); font-variation-settings: "wdth" 104; }
  .hero-art { order: -1; }
  .hero-art img { width: min(300px, 82%); aspect-ratio: 4 / 5; margin-inline: auto; }
  p.hero-badge {
    width: 6.6rem;
    font-size: 0.78rem;
    font-variation-settings: "wdth" 105;
    right: 0;
    top: -1.4rem;
  }
}

/* ------------------------------------------------------------------ */
/* Page hero (interior pages)                                          */
/* ------------------------------------------------------------------ */

.page-hero {
  background: var(--cherry);
  color: var(--on-cherry);
  padding-block: var(--space-6);
}
.page-hero .script {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--sun);
  transform: rotate(-2deg);
  margin-bottom: 0.15em;
}
.page-hero p { color: var(--on-cherry-soft); font-size: 1.12rem; }

/* ------------------------------------------------------------------ */
/* Price board — the laundromat wall menu                              */
/* ------------------------------------------------------------------ */

.price-board {
  background: var(--cherry-dark);
  color: var(--on-cherry);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
}

.price-board h3 {
  color: var(--sun);
  text-transform: uppercase;
  font-variation-settings: "wdth" 118;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  margin-bottom: var(--space-4);
}

.price-board ul { list-style: none; margin: 0; padding: 0; }

.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.75ch;
  padding-block: 0.65rem;
  font-size: 1.05rem;
}

.price-line .item { font-weight: 600; }
.price-line .item small {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: oklch(0.82 0.03 8);
}

.price-line .dots {
  flex: 1;
  border-bottom: 2px dotted oklch(1 0 0 / 0.35);
  transform: translateY(-0.35em);
  min-width: 2rem;
}

.price-line .price {
  font-weight: 900;
  font-variation-settings: "wdth" 115;
  font-size: 1.2rem;
  color: var(--sun);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Cards / media bands                                                 */
/* ------------------------------------------------------------------ */

.media-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.media-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.media-tile:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .media-band {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-2);
    scrollbar-width: none;
  }
  .media-band::-webkit-scrollbar { display: none; }
  .media-band .media-tile {
    flex: 0 0 74%;
    scroll-snap-align: center;
  }
  .media-band .media-tile img { aspect-ratio: 4 / 5; }
}

.media-tile figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.4rem 1.2rem 1.1rem;
  background: linear-gradient(to top, oklch(0.2 0.06 8 / 0.85), transparent);
  color: var(--on-cherry);
  font-weight: 800;
  font-size: 1.15rem;
}

/* split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
}

/* steps — a real sequence */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li { counter-increment: step; }
.steps .step-num {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--sun);
  color: var(--on-sun);
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: var(--space-3);
  box-shadow: 0 3px 0 oklch(0.55 0.11 88);
}
.steps .step-num::before { content: counter(step); }
.steps h3 { margin-bottom: var(--space-2); }
.steps p { color: var(--muted); font-size: 1rem; }

/* sparkle heading + heart rule (the laundromat sign-writer's flourish) */
.spark-head .spark {
  color: var(--sun-deep);
  font-size: 0.55em;
  vertical-align: 0.35em;
  letter-spacing: 0;
  padding-inline: 0.35em;
}

.heart-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: calc(-1 * var(--space-2)) 0 var(--space-3);
  color: var(--cherry);
}
.heart-rule::before,
.heart-rule::after {
  content: "";
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--cherry);
  opacity: 0.55;
}

/* pastel service cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.service-card:hover {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.service-card h3 {
  margin: 0;
  font-variation-settings: "wdth" 110;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
}
.service-card .from {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--cherry-deep);
}
.service-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.card--mint { background: var(--mint); }
.card--butter { background: var(--butter); }
.card--aqua { background: var(--aqua); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 3.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  color: oklch(1 0 0);
  margin-bottom: var(--space-2);
}
.card--mint .icon-badge { background: var(--mint-deep); }
.card--butter .icon-badge { background: var(--sun-deep); color: var(--on-sun); }
.card--aqua .icon-badge { background: var(--aqua-deep); }

/* sun band */
.band-sun {
  background: var(--sun);
  color: var(--on-sun);
}
.band-sun h2 { color: var(--on-sun); }
.band-sun p { color: oklch(0.34 0.06 92); font-weight: 600; }

/* note from Patricia */
.note-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
}
.note-card .sig {
  font-family: var(--script);
  font-size: 2.2rem;
  color: var(--cherry);
  margin: var(--space-3) 0 0;
  transform: rotate(-2deg);
  display: inline-block;
}

/* ------------------------------------------------------------------ */
/* Forms                                                               */
/* ------------------------------------------------------------------ */

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-4);
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.field .hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: 500 1rem/1.4 var(--font);
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s var(--ease-out);
}
.field input::placeholder,
.field textarea::placeholder { color: oklch(0.5 0.015 8); }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: oklch(0.72 0.02 8); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--cherry);
  box-shadow: 0 0 0 4px oklch(0.55 0.205 8 / 0.15);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--cherry); }

.field .error-msg {
  display: none;
  color: var(--cherry-deep);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.3rem;
}
.field.has-error .error-msg { display: block; }

fieldset.field {
  border: none;
  margin: 0;
  padding: 0;
}
fieldset.field legend {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0;
  margin-bottom: 0.5rem;
}

.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  position: relative;
  display: inline-flex;
}
.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.15s var(--ease-out);
}
.chip input:hover + span { border-color: oklch(0.72 0.02 8); }
.chip input:checked + span {
  background: var(--cherry);
  border-color: var(--cherry);
  color: var(--on-cherry);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--cherry);
  outline-offset: 2px;
}

.form-status {
  display: none;
  margin-top: var(--space-3);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
}
.form-status.is-success {
  display: block;
  background: oklch(0.95 0.05 150);
  color: oklch(0.32 0.09 150);
}
.form-status.is-error {
  display: block;
  background: oklch(0.95 0.03 8);
  color: var(--cherry-deep);
}

/* ------------------------------------------------------------------ */
/* Contact page extras                                                 */
/* ------------------------------------------------------------------ */

.contact-rail h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.contact-line:last-of-type { border-bottom: none; }
.contact-line .ico {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--cherry);
  flex: none;
}
.contact-line a { font-weight: 800; }

.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: var(--space-3) 0 0; list-style: none; }
.area-tags li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* big phone number treatment */
.phone-poster {
  font-variation-settings: "wdth" 120;
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--cherry);
  display: inline-block;
  line-height: 1.1;
}
.phone-poster:hover { color: var(--cherry-deep); }

/* ------------------------------------------------------------------ */
/* Pay page                                                            */
/* ------------------------------------------------------------------ */

.pay-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: stretch;
}
@media (max-width: 780px) { .pay-ways { grid-template-columns: 1fr; } }

.pay-way {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pay-way--featured {
  border-color: var(--cherry);
  background: linear-gradient(180deg, oklch(0.985 0.008 8), var(--bg));
}
.pay-way h3 { margin-bottom: 0; }
.pay-way .btn { margin-top: auto; align-self: flex-start; }
.pay-way p { color: var(--muted); font-size: 1rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  align-items: center;
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.trust-row svg { flex: none; }

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

.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-3);
}
.faq summary {
  font-weight: 800;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cherry);
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: var(--space-2); color: var(--muted); }

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

.site-footer {
  background: var(--cherry-dark);
  color: var(--on-cherry-soft);
  padding-block: var(--space-6) var(--space-4);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-5);
}
@media (max-width: 840px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .script { font-size: 2.2rem; color: var(--sun); display: inline-block; transform: rotate(-2deg); }
.site-footer h4 {
  color: var(--on-cherry);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding-block: 0.3rem; }
.site-footer a { color: var(--on-cherry-soft); text-decoration: none; }
.site-footer a:hover { color: var(--on-cherry); text-decoration: underline; }
.site-footer p { color: var(--on-cherry-soft); }

.footer-legal {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid oklch(1 0 0 / 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: oklch(0.8 0.03 8);
}

/* ------------------------------------------------------------------ */
/* Reveal motion                                                       */
/* ------------------------------------------------------------------ */

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  .hero .script,
  .hero h1,
  .hero p,
  .hero-ctas,
  .hero-note {
    animation: rise 0.9s var(--ease-out) both;
  }
  .hero h1 { animation-delay: 0.08s; }
  .hero p { animation-delay: 0.16s; }
  .hero-ctas { animation-delay: 0.24s; }
  .hero-note { animation-delay: 0.32s; }
  .hero-art { animation: pop-in 1s var(--ease-out) 0.2s both; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes pop-in {
    from { opacity: 0; transform: scale(0.92) rotate(4deg); }
    to { opacity: 1; transform: none; }
  }
}

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

/* ------------------------------------------------------------------ */
/* Utilities                                                           */
/* ------------------------------------------------------------------ */

.center { text-align: center; }
.center p { margin-inline: auto; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-5 { margin-bottom: var(--space-5); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
