/* ==========================================================================
   CalmDogs — calmdogs.app
   One stylesheet, no framework, no build step, no JavaScript.

   Brand tokens are taken from the app's own tailwind.config.js
   (the "Fresh Teal" palette, 2026-07-31). If you ever want the older,
   deeper green from the marketing docs, change --green to #2F6B54 and
   --green-dark to #235140 — nothing else needs to move.
   ========================================================================== */

:root {
  --green:       #0F7A68;   /* forest      — links, accents */
  --green-dark:  #0B5C4E;   /* forestDark  — hover, headings on tint */
  --ink:         #2A2B28;   /* body text */
  --ink-soft:    #5C5E58;   /* secondary text */
  --bg:          #FFFFFF;   /* page */
  --bg-tint:     #F1FAF7;   /* app's appBg — quiet bands */
  --bg-mist:     #EFF6F4;   /* app's messageTint — quieter band */
  --line:        rgba(42, 43, 40, 0.10);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif;

  --measure: 34rem;   /* comfortable reading width */
  --wrap:    62rem;   /* outer container */
}

/* ---------- reset-ish ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.6em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: -9999px;
  background: var(--green); color: #fff;
  padding: 0.6rem 1rem; border-radius: 6px;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- layout ---------- */

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

/* .prose lives INSIDE .wrap, so the reading column starts at the same left
   edge as everything else instead of re-centring itself. */
.prose { max-width: var(--measure); }

.section { padding: 4.5rem 0; }

.band {
  padding: 4.5rem 0;
  background: var(--bg-tint);
  border-block: 1px solid var(--line);
}

.band-quiet { background: var(--bg-mist); }

/* ---------- header ---------- */

.site-header { padding: 1.5rem 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.brand-mark { border-radius: 7px; }

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

.hero { padding: 3rem 0 4.5rem; }

.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.25rem);
  font-weight: 700;
  max-width: 30ch;
  margin-bottom: 1.1rem;
}

.h1-b { color: var(--green-dark); }

.lede {
  font-size: clamp(1.125rem, 2.4vw, 1.3125rem);
  color: var(--ink-soft);
  max-width: var(--measure);
  margin-bottom: 2rem;
}

.badge-pending {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.7rem 1.15rem;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 1rem;
}

.badge { display: inline-block; margin-bottom: 0.9rem; }
.badge img { width: 180px; height: auto; }

.fineprint {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ---------- headings in sections ---------- */

.section h2, .band h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.05rem);
  font-weight: 700;
  max-width: 22ch;
}

.band .prose p, .section .prose p { max-width: var(--measure); }

/* ---------- features ---------- */

.feature {
  display: grid;
  gap: 1.75rem 3rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.feature:first-of-type { border-top: 0; padding-top: 1rem; }

.feature h3 {
  font-size: 1.375rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

.feature-text p {
  color: var(--ink-soft);
  max-width: 36ch;
}

.feature-shot { margin: 0; }

.feature-shot img {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

@media (min-width: 46rem) {
  .feature { grid-template-columns: 1fr 300px; }
  .feature .feature-text { order: 1; }
  .feature .feature-shot { order: 2; }

  .feature--flip { grid-template-columns: 300px 1fr; }
  .feature--flip .feature-text { order: 2; }
  .feature--flip .feature-shot { order: 1; }

  .feature-shot { justify-self: center; }
}

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

.qa { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.qa:first-of-type { border-top: 0; }

.qa h3 {
  font-size: 1.125rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.qa p { color: var(--ink-soft); max-width: var(--measure); }

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

.site-footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer-mail { margin-bottom: 0.4rem; }
.footer-legal { color: var(--ink-soft); }

/* ---------- print ---------- */

@media print {
  .site-header, .skip { display: none; }
  body { font-size: 12pt; }
}
