/* PawArcadia marketing site. Tokens are the app's, from src/theme/tokens.js, so the site and the product
   look like one thing. Nothing here is generated: it is one stylesheet, served as-is. */

:root {
  --cream: #fdf3e3;
  --card: #f3dfbc;
  --card-deep: #e9ce9f;
  --amber: #f2a93b;
  --amber-deep: #d98e1f;
  --navy: #1e2b57;
  --ink: #1b1b1b;
  --muted: #7a6f5f;
  --line: #e4d5b7;
  --white: #fff;
  --radius-card: 18px;
  --radius-button: 14px;
  --shadow: 0 8px 24px rgba(30, 43, 87, 0.08);
  --measure: 34rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: Nunito, Inter, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
}
h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--amber-deep);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 243, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* On a phone the in-page links wrap into the brand and turn the header into three lines of soup. The
   sections are a scroll away regardless, so only the link that leaves the page survives. */
@media (max-width: 719px) {
  nav a[href^='#'] {
    display: none;
  }
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-button);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.12s ease;
}

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

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: #16213f;
  color: var(--white);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--white);
}

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

.hero {
  padding: clamp(48px, 9vw, 96px) 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  right: -220px;
  top: -280px;
  background: var(--card);
  border-radius: 50%;
  opacity: 0.6;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 16px;
}

.shots {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding-bottom: 8px;
}

.shots img {
  width: 100%;
  max-width: 230px;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
}

.shots img:nth-child(2) {
  display: none;
}

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

section {
  padding: clamp(56px, 8vw, 88px) 0;
}

.section-lead {
  color: var(--muted);
  max-width: var(--measure);
  margin-bottom: 8px;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}

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

.feature h3 {
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  color: #3a332b;
  font-size: 0.97rem;
}

.feature .pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: var(--card);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 12px;
}

.band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promises {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.promises li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  font-size: 0.97rem;
}

.promises strong {
  display: block;
  font-family: Nunito, sans-serif;
  font-size: 1.02rem;
  margin-bottom: 3px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
}

.gallery figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

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

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-left: auto;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

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

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.doc h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}

.doc p,
.doc li {
  color: #3a332b;
  max-width: none;
}

.doc ul {
  padding-left: 20px;
}

.doc li {
  margin-bottom: 0.5em;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.back {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--muted);
}

/* ---------- wider screens ---------- */

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .promises {
    grid-template-columns: repeat(2, 1fr);
  }
  .shots img:nth-child(2) {
    display: block;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
