/* ============ Bowlie — shared styles ============ */
:root {
  --green-900: #00472f;
  --green-800: #0b5e3c;
  --green-700: #137a47;
  --green-500: #2fae4f;
  --green-300: #8fdc7a;
  --green-100: #e5f6e3;
  --lime: #c5f572;
  --amber: #f6b93b;
  --cream: #faf8f3;
  --paper: #ffffff;
  --ink: #17241d;
  --ink-soft: #4b5a51;
  --line: #e4e9e1;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(0, 71, 47, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 71, 47, 0.18);
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 {
  font-family: "Fredoka", "Nunito", sans-serif;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-100); color: var(--green-800);
  font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,71,47,.2); }
.brand span { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.55rem; color: var(--green-900); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green-700); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--green-900); margin: 5px auto; border-radius: 2px; transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: 0 10px 24px rgba(11,94,60,.3); }
.btn-primary:hover { background: var(--green-900); }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.btn-ghost:hover { background: var(--green-900); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.play-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #111; color: #fff; text-decoration: none;
  padding: 10px 22px 10px 16px; border-radius: 14px;
  transition: transform .15s, box-shadow .2s; box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.play-btn:hover { transform: translateY(-2px); }
.play-btn svg { width: 28px; height: 28px; flex: none; }
.play-btn small { display: block; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; opacity: .85; line-height: 1.2; }
.play-btn strong { display: block; font-size: 1.15rem; line-height: 1.2; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(143,220,122,.45), transparent 65%);
  z-index: -1;
}
.hero::after {
  content: ""; position: absolute; top: -120px; left: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(246,185,59,.18), transparent 65%); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--green-500); }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 20px; height: 20px; color: var(--green-500); }

/* Phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5;
  background: #0f1a14; border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3a31;
  position: relative; z-index: 2;
}
.screen {
  height: 100%; border-radius: 34px; background: #f4f7f1; overflow: hidden;
  display: flex; flex-direction: column; font-size: 13px;
}
.screen-top {
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  color: #fff; padding: 30px 18px 22px;
}
.screen-top .hello { opacity: .8; font-size: 12px; }
.screen-top .title { font-family: "Fredoka", sans-serif; font-size: 20px; font-weight: 600; }
.next-meal {
  margin-top: 14px; background: rgba(255,255,255,.13); border-radius: 16px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.next-meal b { font-size: 18px; font-family: "Fredoka", sans-serif; }
.pill { background: var(--lime); color: var(--green-900); font-weight: 800; padding: 4px 10px; border-radius: 999px; font-size: 11px; }
.screen-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pet-card {
  background: #fff; border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.pet-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; }
.pet-card .info { flex: 1; line-height: 1.3; }
.pet-card .info b { display: block; font-size: 14px; }
.pet-card .info small { color: var(--ink-soft); }
.fed-btn { background: var(--green-500); color: #fff; border-radius: 10px; padding: 6px 10px; font-weight: 800; font-size: 12px; }
.fed-btn.done { background: var(--green-100); color: var(--green-800); }
.log-title { font-weight: 800; color: var(--green-900); margin-top: 4px; }
.log-row { display: flex; justify-content: space-between; color: var(--ink-soft); padding: 6px 2px; border-bottom: 1px dashed var(--line); }
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 18px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .92rem;
  animation: bob 5s ease-in-out infinite;
}
.float-card .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.float-card small { display: block; color: var(--ink-soft); font-weight: 600; font-size: .78rem; }
.float-1 { top: 1%; left: 0; }
.float-2 { bottom: 6%; right: 0; animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Logo strip / stats ---------- */
.trust { padding: 0 0 20px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.trust-item { text-align: center; }
.trust-item b { display: block; font-family: "Fredoka", sans-serif; font-size: 1.6rem; color: var(--green-800); }
.trust-item span { color: var(--ink-soft); font-weight: 700; font-size: .92rem; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--paper); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-800); margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature p { color: var(--ink-soft); margin: 0; }
.feature.highlight { background: var(--green-900); border-color: var(--green-900); }
.feature.highlight h3 { color: #fff; }
.feature.highlight p { color: rgba(255,255,255,.8); }
.feature.highlight .feature-icon { background: rgba(197,245,114,.18); color: var(--lime); }

/* ---------- Problem / solution ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote-bubble {
  background: var(--paper); border-radius: 26px; padding: 28px; box-shadow: var(--shadow);
  position: relative; margin-bottom: 18px; max-width: 420px;
}
.quote-bubble.right { margin-left: auto; background: var(--green-800); color: #fff; }
.quote-bubble b { font-family: "Fredoka", sans-serif; font-size: 1.35rem; font-weight: 600; }
.quote-bubble small { display: block; margin-top: 6px; opacity: .75; font-weight: 700; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.check-list li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/15px no-repeat;
  margin-top: 1px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--paper); border-radius: var(--radius); padding: 34px 28px; position: relative;
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.3rem;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--green-900); margin-bottom: 16px;
}
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--paper); border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font: inherit; font-weight: 800; font-size: 1.05rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-100); position: relative; transition: transform .25s; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2.5px; background: var(--green-800);
  transform: translate(-50%, -50%); border-radius: 2px;
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq-item.open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(140deg, var(--green-800), var(--green-900));
  border-radius: 34px; padding: clamp(40px, 6vw, 70px); color: #fff;
  display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(197,245,114,.3), transparent 65%);
}
.cta img { width: 120px; height: 120px; border-radius: 30px; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.82); margin: 0; }
.cta .play-btn { position: relative; z-index: 1; background: #fff; color: #111; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 64px 0 28px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand span { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem;
}

/* ---------- Legal / inner pages ---------- */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.page-hero .updated { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--green-800); background: var(--green-100); padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.toc {
  position: sticky; top: 96px; background: var(--paper); border-radius: 18px; padding: 22px;
  border: 1px solid var(--line); font-size: .93rem;
}
.toc h4 { font-size: 1rem; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.toc a { text-decoration: none; color: var(--ink-soft); font-weight: 700; }
.toc a:hover { color: var(--green-700); }
.legal {
  background: var(--paper); border-radius: var(--radius); padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
}
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; scroll-margin-top: 96px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.12rem; margin-top: 1.4em; }
.legal p, .legal li { color: #2c3a32; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--green-100); color: var(--green-900); font-weight: 800; }
.table-scroll { overflow-x: auto; }
.note {
  background: var(--green-100); border-left: 4px solid var(--green-500); padding: 16px 20px;
  border-radius: 12px; margin: 18px 0; color: var(--green-900);
}

/* Support / contact */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.contact-card {
  background: var(--paper); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.contact-card p { color: var(--ink-soft); flex: 1; }
.form {
  background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line); max-width: 760px; margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fbfcfa; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(47,174,79,.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }

.steps-list { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps-list li {
  counter-increment: s; display: flex; gap: 14px; align-items: flex-start;
  background: #fbfcfa; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.steps-list li::before {
  content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-800); color: #fff; display: grid; place-items: center; font-weight: 800;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .features-grid, .steps, .cards-3 { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 12px 16px 22px; gap: 4px; border-bottom: 1px solid var(--line);
    display: none; box-shadow: 0 14px 30px rgba(0,0,0,.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 8px; }
  .nav-links .btn { justify-content: center; margin-top: 8px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .features-grid, .steps, .cards-3, .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .float-1 { left: 0; } .float-2 { right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
