/* ============================================================
   site.css — marketing + legal pages (index, privacy, terms).
   The app UI uses the vendored Modernist system in styles.css.

   Minimal. One typeface, light ground, wide margins. Colour is
   sampled from the logo and spent only where it carries meaning:
   #FA2902 marks a score or an action, never decoration.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;800&display=swap');

:root {
  --signal:  #FA2902;   /* logo orange-red */
  --ink:     #111A23;   /* logo charcoal   */
  --grey:    #6B7480;
  --grey-lt: #97A0AB;
  --hair:    #E2E5E9;
  --wash:    #F4F5F7;
  --white:   #FFFFFF;

  --font: 'Archivo', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --maxw: 62rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- nav ------------------------------------------ */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.6rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__logo {
  flex: none; text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 18px; letter-spacing: 0.01em;
  text-transform: uppercase; line-height: 1;
}
@media (max-width: 30rem) { .nav__logo { font-size: 15px; } }

.nav__links { margin-left: auto; display: flex; gap: 1.75rem; align-items: center; }
.nav__links a { font-size: 0.82rem; font-weight: 500; color: var(--ink); text-decoration: none; opacity: .8; }
.nav__links a:hover { opacity: 1; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.94rem; font-weight: 500; letter-spacing: -0.01em;
  padding: 0.72rem 1.4rem; border-radius: 0;
  text-decoration: none; border: 1px solid transparent;
  transition: background .2s ease;
}
.btn--fill { background: var(--signal); color: #fff; }
.btn--fill:hover { background: #D62302; }
.btn--quiet { color: var(--signal); padding-inline: 0.4rem; }
.btn--quiet:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn--quiet::after { content: " \203A"; padding-left: 0.3em; }

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

.hero { padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(3rem, 7vw, 5rem); text-align: center; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.035em;
  margin: 0 auto 1.25rem; max-width: 16ch;
}
.hero__lede {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--grey); font-weight: 400; line-height: 1.45;
  max-width: 34ch; margin: 0 auto 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; align-items: center; }

/* ---------- the one product shot ------------------------- */

.shot {
  margin: clamp(3rem, 8vw, 5.5rem) auto 0;
  background: var(--wash);
  border-radius: 0;
  padding: clamp(1.5rem, 5vw, 2.75rem);
  text-align: left;
  max-width: 38rem;
}
.shot__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.shot__sub { font-size: 0.82rem; font-weight: 500; color: var(--grey); }
.shot__score { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--signal); line-height: 1; }
.shot__quote {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; margin: 0 0 1rem;
}
.shot__why { font-size: 0.95rem; color: var(--grey); margin: 0; }

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

.section { padding-block: clamp(4rem, 10vw, 7rem); }
.section--wash { background: var(--wash); }

.section__head { text-align: center; max-width: 34ch; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section__head h2 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 800; letter-spacing: -0.032em; line-height: 1.08; margin: 0 0 0.85rem;
}
.section__head p { color: var(--grey); margin: 0; font-size: 1.05rem; }

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

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 44rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card { border-radius: 0; padding: clamp(1.5rem, 3.5vw, 2rem); background: var(--wash); }
.section--wash .card { background: var(--white); }

.card__sub { font-size: 0.8rem; font-weight: 500; color: var(--grey-lt); margin-bottom: 0.5rem; }
.card__score { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; color: var(--signal); line-height: 1; margin-bottom: 0.9rem; }
.card h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 0.5rem; line-height: 1.35; }
.card p { margin: 0; color: var(--grey); font-size: 0.95rem; }

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

.steps { max-width: 42rem; margin-inline: auto; }
.step { display: grid; grid-template-columns: 1fr; gap: 0.3rem; padding: 1.5rem 0; border-top: 1px solid var(--hair); }
.step:last-child { border-bottom: 1px solid var(--hair); }
.step h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.step p { margin: 0; color: var(--grey); font-size: 0.98rem; }
@media (min-width: 40rem) { .step { grid-template-columns: 13rem 1fr; gap: 2rem; align-items: baseline; } }

/* ---------- closing -------------------------------------- */

.close { text-align: center; }
.close h2 { font-size: clamp(2rem, 5.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin: 0 0 1rem; }
.close p { color: var(--grey); max-width: 36ch; margin: 0 auto 2rem; font-size: 1.08rem; }

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

.footer { border-top: 1px solid var(--hair); padding-block: 2.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; align-items: center; }
.footer p { margin: 0; font-size: 0.8rem; color: var(--grey-lt); max-width: 44ch; line-height: 1.5; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer nav a { font-size: 0.8rem; color: var(--grey); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

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

.legal__head { padding-block: clamp(3.5rem, 9vw, 6rem) clamp(1.25rem, 3vw, 2rem); }
.legal__head h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 0.75rem; }
.legal__head p { color: var(--grey-lt); font-size: 0.86rem; margin: 0; }

.prose { max-width: 40rem; margin-inline: auto; padding-bottom: clamp(3rem, 8vw, 5rem); }
.prose h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; margin: 3rem 0 0.85rem; scroll-margin-top: 5rem; }
.prose h2:first-of-type { margin-top: 2rem; }
.prose p { margin: 0 0 1.05rem; }
.prose ul { margin: 0 0 1.25rem; padding-left: 1.15rem; }
.prose li { margin-bottom: 0.55rem; }
.prose a { color: var(--signal); text-decoration: none; }
.prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }

.note { background: var(--wash); border-radius: 0; padding: 1.15rem 1.35rem; margin: 0 0 1.5rem; }
.note p { margin: 0; font-size: 0.96rem; }

.deftable { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 0.94rem; }
.deftable th, .deftable td { text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
.deftable th { font-size: 0.78rem; font-weight: 600; color: var(--grey-lt); }
.deftable td:first-child { font-weight: 500; white-space: nowrap; padding-right: 1.25rem; }
.tablescroll { overflow-x: auto; }

/* ---------- contact form --------------------------------- */

.form { max-width: 30rem; margin: 0 auto; padding-bottom: clamp(3rem, 8vw, 5rem); }
.form__hp { position: absolute; left: -9999px; }

.field { margin-bottom: 1.5rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 500; margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--wash); border: 1px solid transparent; border-radius: 0;
  padding: 0.8rem 0.9rem; transition: border-color .18s ease, background .18s ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236B7480' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
  padding-right: 2.4rem;
}
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--signal);
}
.field__hint { font-size: 0.82rem; color: var(--grey-lt); margin: 0.45rem 0 0; line-height: 1.45; }

.form button { width: 100%; padding-block: 0.85rem; cursor: pointer; }
.form__foot { font-size: 0.82rem; color: var(--grey-lt); margin: 1.25rem 0 0; text-align: center; }
.form__foot a { color: var(--grey); }

/* ---------- pricing -------------------------------------- */

.prices { align-items: stretch; }
.price { display: flex; flex-direction: column; text-align: left; }
.price__name { font-size: 0.86rem; font-weight: 600; color: var(--grey); margin: 0 0 1rem; }
.price__row { display: flex; align-items: baseline; gap: 0.55rem; margin: 0 0 0.5rem; flex-wrap: wrap; }
.price__was {
  font-size: 1.5rem; font-weight: 500; color: var(--grey-lt);
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.price__now { font-size: 3rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.price__now--quiet { font-size: 2.1rem; letter-spacing: -0.035em; }
.price__per { font-size: 0.95rem; color: var(--grey); }
.price__spots { font-size: 0.86rem; color: var(--signal); font-weight: 500; margin: 0 0 1.5rem; }
.price__spots strong { font-weight: 700; }
.price__spots--quiet { color: var(--grey-lt); font-weight: 400; }
.price__list { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.price__list li {
  font-size: 0.95rem; color: var(--grey);
  padding: 0.4rem 0 0.4rem 1.5rem; position: relative;
}
.price__list li::before {
  content: ""; position: absolute; left: 0; top: 0.95rem;
  width: 8px; height: 5px; border-left: 1.8px solid var(--signal);
  border-bottom: 1.8px solid var(--signal); transform: rotate(-45deg);
}
.price .btn { margin-top: auto; align-self: flex-start; }
.btn--outline { border-color: var(--hair); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
