/* OnlyPaws marketing site.
   Hand-written CSS, no build step — the VPS serves these files directly. */

:root {
  --ink: #1c1917;
  --ink-soft: #57534e;
  --ink-faint: #78716c;
  --paper: #fffdfa;
  --paper-alt: #f7f3ee;
  --line: #e7e0d8;
  --brand: #208aef;
  --brand-dark: #1668b8;
  --brand-wash: #eaf3fd;
  --accent: #f97316;
  --radius: 14px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

/* The wordmark carries the brand name, so the header needs no text alongside it. Height is
   fixed and width follows, keeping the lockup's proportions at any header size. */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 30px;
  width: auto;
  display: block;
}

/* Full lockup — wordmark plus the dog — used where there's vertical room for it. Purely
   decorative here: the <h1> right below already states the proposition, so repeating it in alt
   text would just make a screen reader say the brand name twice. */
.hero-logo {
  width: min(230px, 54vw);
  height: auto;
  display: block;
  margin: 0 auto 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--ink); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.05s ease, border-color 0.15s ease;
}

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

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-faint); }

.btn[disabled] { opacity: 0.6; cursor: default; }

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

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(900px 380px at 50% -120px, var(--brand-wash), transparent 70%);
}

.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 800;
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  margin: 0 auto 32px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

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

section { padding: 76px 0; }

.section-alt { background: var(--paper-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 750;
}

.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }

h3 { font-size: 1.12rem; margin: 0 0 8px; font-weight: 700; letter-spacing: -0.01em; }

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.section-alt .card { background: var(--paper); }

.card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.card-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

/* ---------- trust ---------- */

.trust-steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.trust-steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.trust-steps li::before {
  content: counter(step);
  flex: 0 0 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.trust-steps strong { display: block; margin-bottom: 3px; }
.trust-steps span { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- waitlist ---------- */

.waitlist-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
}

.field { margin-bottom: 18px; }

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}

input[type="email"], input[type="text"], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

input:focus, textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: transparent;
}

textarea { resize: vertical; min-height: 76px; }

.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }

.choice {
  flex: 1 1 180px;
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choice span {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--paper);
}

.choice small {
  display: block;
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 0.83rem;
  margin-top: 2px;
}

.choice input:checked + span {
  border-color: var(--brand);
  background: var(--brand-wash);
}

.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }

.form-status {
  margin-top: 14px;
  font-size: 0.93rem;
  min-height: 1.4em;
}
.form-status.error { color: #b91c1c; }
.form-status.success { color: #15803d; font-weight: 600; }

.fine-print {
  font-size: 0.83rem;
  color: var(--ink-faint);
  margin: 14px 0 0;
}

/* ---------- guide ---------- */

.guide-body { max-width: 720px; margin: 0 auto; }
.guide-body h2 { text-align: left; margin-top: 48px; }
.guide-body h2:first-of-type { margin-top: 0; }
.guide-body p, .guide-body li { color: var(--ink-soft); }
.guide-body ol, .guide-body ul { padding-left: 22px; }
.guide-body li { margin-bottom: 10px; }
.guide-body strong { color: var(--ink); }

.callout {
  background: var(--brand-wash);
  border: 1px solid #cfe4fa;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 28px 0;
}
.callout p { margin: 0; color: var(--ink-soft); }
.callout strong { color: var(--ink); }

.toc {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 40px;
}
.toc p { margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.toc ul { margin: 0; padding-left: 20px; }
.toc a { color: var(--brand-dark); }

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

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--paper-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.footer-inner a { color: var(--ink-soft); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 620px) {
  .nav-links { gap: 16px; }
  .nav-links .nav-hide-sm { display: none; }
  .logo img { height: 24px; }
  .hero { padding: 60px 0 52px; }
  section { padding: 56px 0; }
  .waitlist-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
