/* Pet Bond Daily — shared styles
   Brand: orange #EA8C2C, warm cream/white backgrounds, dark ink #1A1C1E
   No frameworks, no build step. Mobile-first, responsive, accessible. */

:root {
  --orange: #EA8C2C;
  --orange-dark: #D17B1E;
  --orange-soft: #FBEAD6;
  --ink: #1A1C1E;
  --ink-soft: #4A4E53;
  --cream: #FFF9F1;
  --cream-deep: #FDF1E2;
  --white: #FFFFFF;
  --border: #EFE3D3;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 28px rgba(26, 28, 30, 0.08);
  --shadow-soft: 0 4px 14px rgba(26, 28, 30, 0.06);
  --maxw: 1080px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 760px;
}

main {
  display: block;
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Focus visibility ---------- */
a:focus-visible,
button:focus-visible,
.btn-store:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: 40px;
  width: auto;
  display: block;
}
.brand .brand-name {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.header-nav {
  display: flex;
  gap: 22px;
}
.header-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}
.header-nav a:hover {
  color: var(--orange);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: 64px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 800;
}
.accent {
  color: var(--orange);
}
.hero p.pitch {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 30px;
  max-width: 38ch;
}

/* ---------- Store buttons ---------- */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 14px;
  min-width: 200px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn-store:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn-store svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: currentColor;
}
.btn-store .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.btn-store .store-text small {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.85;
}
.btn-store .store-text strong {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- QR block ---------- */
.qr-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
}
.qr-card img {
  width: 180px;
  height: 180px;
  display: block;
  margin: 0 auto 12px;
  border-radius: var(--radius-sm);
}
.qr-card .qr-caption {
  font-weight: 800;
  margin: 0;
}
.qr-card .qr-sub {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

/* ---------- Features ---------- */
.features {
  padding: 72px 0;
  background: var(--white);
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.08rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
}
.feature-card .icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.feature-card .icon img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.feature-card .icon-pair img {
  width: 54px;
  height: 54px;
}
.feature-card .icon-pair img + img {
  margin-left: -14px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}
.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Closing CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-strip h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 12px;
}
.cta-strip p {
  margin: 0 0 26px;
  font-size: 1.1rem;
  opacity: 0.95;
}
.cta-strip .store-buttons {
  justify-content: center;
}
.cta-strip .btn-store {
  background: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.footer-brand img {
  height: 28px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}
.footer-links a:hover {
  color: var(--orange);
}
.footer-copy {
  width: 100%;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ---------- Legal / content pages ---------- */
.page-hero {
  background: var(--cream-deep);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 36px;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.page-hero .updated {
  color: var(--ink-soft);
  font-weight: 700;
  margin: 0;
}
.legal {
  padding: 40px 0 72px;
}
.legal h2 {
  font-size: 1.4rem;
  margin: 36px 0 10px;
  letter-spacing: -0.01em;
}
.legal h3 {
  font-size: 1.1rem;
  margin: 24px 0 6px;
}
.legal p,
.legal li {
  color: var(--ink-soft);
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--orange-dark);
  font-weight: 700;
}
.callout {
  background: var(--orange-soft);
  border: 1px solid #F0CB9C;
  border-left: 5px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
}
.callout p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 0 0 12px;
}
.toc strong {
  display: block;
  margin-bottom: 8px;
}
.toc ul {
  margin: 0;
  columns: 2;
}

/* ---------- FAQ (support) ---------- */
.faq {
  padding: 16px 0 0;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  font-weight: 800;
  cursor: pointer;
  padding: 14px 0;
  list-style: none;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq details p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}
.contact-card {
  background: var(--orange-soft);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  margin-bottom: 36px;
}
.contact-card h2 {
  margin-top: 0;
}
.contact-card a.email {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 14px;
  margin-top: 8px;
}
.contact-card a.email:hover {
  background: #000;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero p.pitch {
    margin-left: auto;
    margin-right: auto;
  }
  .store-buttons {
    justify-content: center;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-nav {
    display: none;
  }
  .toc ul {
    columns: 1;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .btn-store {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

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