/* snoots.com: public site for Petworld Ltd. Brand tokens match apps/mobile/lib/colors.ts. */
:root {
  --brand: #4b5bb8;      /* text-safe indigo, 6.0:1 on white */
  --periwinkle: #6f86e3; /* the logo and og-image ground */
  --pale: #a8b6ef;
  --mist: #f1f4ff;
  --peach: #eecdae;
  --amber: #f2ae63;      /* app token colors.amber; ink text on it is 7.6:1 */
  --ink: #212c40;
  --ink-muted: #5b6476;
  --surface: #ffffff;
  --line: #dfe4f5;
  --radius: 18px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.site-header .logo img { width: 150px; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }

/* Buttons */
.button {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 800; text-decoration: none; font-size: 16px;
}
.button.primary { background: var(--brand); color: #fff; border: 2px solid transparent; }
.button.primary:hover { background: #3e4ca0; }
.button.ghost { color: var(--brand); border: 2px solid var(--pale); }
.button.ghost:hover { border-color: var(--brand); }

/* Home hero */
.hero { background: var(--periwinkle); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-block: 64px; }
.hero h1 {
  font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 16px;
  font-weight: 900; letter-spacing: -0.01em; text-wrap: balance;
}
.hero p { font-size: 19px; margin: 0 0 28px; max-width: 34em; }
.hero .button.primary { background: var(--amber); color: var(--ink); }
.hero .button.primary:hover { background: #ec9e4c; }
.hero .button.ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero .button.ghost:hover { border-color: #fff; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .hero-photo { position: relative; width: min(360px, 100%); justify-self: end; }
/* Shading behind the photo: a deeper-indigo card, same shape, offset down-left. */
.hero .hero-photo::before {
  content: ""; position: absolute; inset: 0; border-radius: 28px;
  background: var(--brand); opacity: 0.5;
  transform: translate(-20px, 20px);
}
.hero .hero-dog {
  position: relative; width: 100%; border-radius: 28px;
  box-shadow: 0 24px 50px rgba(20, 26, 60, 0.35);
}
.hero .beta-note { font-size: 14px; opacity: 0.9; margin: 28px 0 0; }

/* Sections */
section.band { padding-block: 64px; }
section.band.mist { background: var(--mist); }
h2 { font-size: clamp(26px, 3.5vw, 34px); line-height: 1.15; margin: 0 0 12px; font-weight: 900; text-wrap: balance; }
.lede { color: var(--ink-muted); max-width: 40em; margin: 0 0 32px; font-size: 18px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.band.mist .feature { border-color: transparent; }
.feature h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.feature p { margin: 0; color: var(--ink-muted); font-size: 16px; }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; max-width: 42em; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--periwinkle); }

/* Text pages (support, privacy, terms) */
.page-head { background: var(--mist); padding-block: 44px 36px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 44px); font-weight: 900; line-height: 1.1; }
.page-head p { margin: 0; color: var(--ink-muted); max-width: 40em; }
.prose { padding-block: 40px 64px; }
.prose > * { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 36px 0 8px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.contact-card {
  border: 2px solid var(--pale); border-radius: var(--radius); padding: 22px 24px; margin: 8px 0 28px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.contact-card strong { font-size: 20px; }
.contact-card .small { color: var(--ink-muted); font-size: 15px; margin: 2px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 40px; color: var(--ink-muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; }
.site-footer address { font-style: normal; max-width: 34em; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 44px; }
  .hero .hero-photo { width: min(260px, 80%); justify-self: start; margin-left: 14px; }
  .hero .hero-photo::before { border-radius: 22px; transform: translate(-12px, 12px); }
  .hero .hero-dog { border-radius: 22px; }
  .features { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  section.band { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
