/* VaultTag styles. Colours from the approved mockups (see CLAUDE.md); type, spacing, shape and
   components follow the "Bullies & Co." design system (2px corners, no shadows). Fonts are our own. */

/* Self-hosted variable fonts, Latin subset only (~70 KB total). `swap` shows text in a
   system font immediately on slow mobile data, then swaps when the font arrives. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f3ec;
  --card: #ffffff;
  --fill: #efe8dc;
  --border: #e5ded2;
  --border-strong: #cfc6b6;

  --text: #22302c;
  --muted: #4e5b56;
  --muted-2: #56635e;

  --primary: #2f5d52;
  --primary-hover: #234840;
  --on-primary: #ffffff;

  --sage: #8fb8a8;
  --on-sage: #1f3d36;
  --sage-tint: #dcebe5;

  --terracotta: #e07b45;       /* fills and borders only */
  --terracotta-text: #a9501f;  /* when used as text (contrast) */

  --lost-text: #b85a2a;
  --lost-bg: #fbede4;
  --lost-border: #e07b45;

  --whatsapp: #0e7a3e;

  --font-heading: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --tap: 48px;
  --radius: 2px;      /* radius-sm: buttons, inputs, cards. The whole system is near-square. */
  --radius-sm: 2px;
  --radius-full: 50%; /* round controls only */

  /* Spacing scale from the design system */
  --space-5: 5px; --space-8: 8px; --space-10: 10px; --space-15: 15px; --space-18: 18px;
  --space-22: 22px; --space-27: 27.5px; --space-30: 30px; --space-35: 35px; --space-55: 55px; --space-80: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; margin: 0 0 8px; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; }
p { margin: 0 0 12px; }

a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }

:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.page { max-width: 420px; margin: 0 auto; padding: 16px 16px 40px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Header */
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 400; font-size: 1.25rem;
  color: var(--text); text-decoration: none; min-height: var(--tap);
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--terracotta); display: inline-block;
}

/* Panels and cards */
.hero {
  background: var(--sage); color: var(--on-sage);
  border-radius: var(--radius); padding: 20px; margin: 8px 0 16px;
}
.hero p { color: var(--on-sage); }
.chip {
  display: inline-block; background: var(--sage-tint); color: var(--on-sage);
  border-radius: var(--radius); padding: 4px 12px; font-weight: 400; font-size: 0.875rem;
  letter-spacing: 0.04em;
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 16px;
}
.note {
  background: var(--fill); border-radius: var(--radius-sm);
  padding: 12px 14px; margin: 0 0 16px; font-size: 0.9375rem;
}

/* Forms */
.field { margin-bottom: 18px; }
.field > label, .legend {
  display: block; font-weight: 400; margin-bottom: 6px;
}
.hint { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 4px; }
.error-text { display: block; color: var(--terracotta-text); font-size: 0.875rem; font-weight: 400; margin-top: 6px; }

input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; min-height: var(--tap);
  font: inherit; color: var(--text);
  background: var(--card); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 10px 12px;
}
input:focus { border-color: var(--primary); outline: 2px solid var(--sage); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--terracotta) !important; }
.code-input { font-size: 1.25rem; letter-spacing: 0.12em; text-transform: uppercase; }

fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.choices { display: flex; gap: 8px; }
.choice { flex: 1; position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; justify-content: center;
  min-height: var(--tap); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--card); font-weight: 400; cursor: pointer;
}
.choice input:checked + span { background: var(--sage-tint); border-color: var(--primary); color: var(--on-sage); }
.choice input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }

/* Buttons */
.button {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 52px; padding: 12px 20px; border: 0; border-radius: var(--radius-sm);
  background: var(--primary); color: var(--on-primary);
  font: 400 1.0625rem var(--font-body); text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--primary-hover); color: var(--on-primary); }

/* Alerts */
.alert {
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px;
  background: var(--lost-bg); border: 1.5px solid var(--lost-border); color: var(--text);
}
.alert strong { color: var(--terracotta-text); }
.success { background: var(--sage-tint); border: 1.5px solid var(--sage); }

.footer { margin-top: 24px; text-align: center; }

/* Activation extras */
.eyebrow {
  display: inline-block; margin: 0 0 8px; font-size: 0.8125rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-sage);
}
.hero-success { text-align: center; padding: 28px 20px; }
.success-mark {
  display: block; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--card) center / 28px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.details { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.details dt { color: var(--muted); font-size: 0.875rem; align-self: center; }
.details dd { margin: 0; font-weight: 400; overflow-wrap: anywhere; }

/* Finder page */
.center { text-align: center; }
.pre-line { white-space: pre-line; margin: 0; }
.finder-hero { text-align: center; padding: 8px 0 16px; }
.finder-hero p { color: var(--muted); }
.pet-avatar {
  width: 112px; height: 112px; margin: 0 auto 12px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: var(--on-sage); border: 4px solid var(--card);
  font: 400 3rem var(--font-heading);
}
.lost-banner {
  background: var(--lost-bg); color: var(--lost-text); border: 2px solid var(--lost-border);
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 12px;
  font-weight: 400; text-align: center;
}
.preview-banner {
  background: var(--sage-tint); border: 1.5px dashed var(--primary); border-radius: var(--radius-sm);
  padding: 10px 14px; margin-bottom: 12px; font-size: 0.9375rem;
}
.button-whatsapp { background: var(--whatsapp); }
.button-whatsapp:hover { background: #0b6332; }
.button-secondary {
  background: var(--card); color: var(--primary); border: 2px solid var(--primary);
}
.button-secondary:hover { background: var(--sage-tint); color: var(--primary-hover); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.hint.center { display: block; text-align: center; margin: 8px 0 20px; }
.location-box { margin-bottom: 8px; }
.location-status { text-align: center; font-weight: 400; min-height: 1.5em; margin: 0 0 16px; }
.vet .button { margin-top: 8px; }
.lang-switch { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.lang-switch a {
  min-height: var(--tap); display: flex; align-items: center; padding: 0 12px;
  border-radius: var(--radius-sm); color: var(--muted-2);
}
.lang-switch a[aria-current] { background: var(--fill); color: var(--text); font-weight: 400; text-decoration: none; }
.space-top { margin-top: 16px; }
.location-status:empty { display: none; }

/* Claim (check your email) */
.email { overflow-wrap: anywhere; }
.notice {
  background: var(--sage-tint); border-radius: var(--radius-sm); padding: 10px 12px; font-weight: 400;
}
.notice-error { background: var(--lost-bg); color: var(--terracotta-text); }
.fix-email { margin: 16px 0 4px; }
.fix-email summary {
  min-height: var(--tap); display: flex; align-items: center; cursor: pointer;
  color: var(--primary); font-weight: 400; text-decoration: underline; text-underline-offset: 2px;
}
.fix-email form { margin-top: 8px; }
.outbox h2 { font-size: 1.0625rem; }
.outbox a { overflow-wrap: anywhere; }

/* Dashboard */
.dash-nav { display: flex; align-items: center; gap: 4px; margin: 0 0 12px; flex-wrap: wrap; }
.dash-nav a, .link-button {
  min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 10px;
  color: var(--primary); font: 400 0.9375rem var(--font-body); border-radius: var(--radius-sm);
}
.dash-nav form { margin-left: auto; }
.link-button { background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.pet-row { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.pet-row:hover { border-color: var(--border-strong); color: var(--text); }
.pet-row.is-lost { border: 2px solid var(--lost-border); background: var(--lost-bg); }
.pet-row-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pet-row-text strong { font: 400 1.125rem var(--font-heading); }
.pet-avatar.small { width: 52px; height: 52px; margin: 0; font-size: 1.5rem; border-width: 2px; flex: none; }
.badge-lost {
  background: var(--lost-text); color: #fff; border-radius: var(--radius); padding: 4px 10px;
  font-size: 0.8125rem; font-weight: 400;
}
.lost-card.is-lost { border: 2px solid var(--lost-border); background: var(--lost-bg); }
.lost-card.is-lost h2 { color: var(--lost-text); }
.button-lost { background: var(--lost-text); }
.button-lost:hover { background: #9a4a22; }
textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--card);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px 12px; resize: vertical;
}
textarea:focus { border-color: var(--primary); outline: 2px solid var(--sage); outline-offset: 0; }
.scan-list { list-style: none; margin: 0 0 8px; padding: 0; }
.scan-list li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--border); }
.scan-list li:last-child { border-bottom: 0; }
.scan-time { font-weight: 400; }
.scan-map { min-height: var(--tap); display: inline-flex; align-items: center; font-weight: 400; }

/* Photos */
.pet-photo { display: block; object-fit: cover; border-radius: var(--radius); border: 4px solid var(--card); background: var(--fill); }
.finder-hero .pet-photo { width: 160px; height: 160px; margin: 0 auto 12px; }
.pet-photo.small { width: 52px; height: 52px; border-width: 2px; flex: none; }
.pet-photo.large { width: 140px; height: 140px; margin: 0 auto 12px; }
.photo-card { text-align: center; }
.photo-card .pet-avatar { margin: 0 auto 12px; }
.photo-card form { text-align: left; }
.file-label { display: block; font-weight: 400; margin-bottom: 6px; }
input[type="file"] {
  width: 100%; min-height: var(--tap); margin-bottom: 12px; font: inherit;
  padding: 8px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm); background: var(--fill);
}
.link-button.danger { color: var(--terracotta-text); }

/* Homepage */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home-hero {
  background: var(--sage); color: var(--on-sage); border-radius: var(--radius);
  padding: 28px 20px; margin: 8px 0 24px;
}
.home-hero h1 { font-size: 2rem; }
.home-hero p { color: var(--on-sage); margin-bottom: 20px; }
.home-hero .button + .button { margin-top: 10px; }
.home-hero .button-secondary { background: transparent; border-color: var(--on-sage); color: var(--on-sage); }
.button-disabled { background: var(--fill); color: var(--muted); cursor: default; }
.button-disabled:hover { background: var(--fill); color: var(--muted); }
.home-section { margin-bottom: 24px; }
.home-section > h2 { font-size: 1.5rem; margin-bottom: 12px; }
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.step-num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sage-tint); color: var(--on-sage);
  border: 2px solid var(--terracotta);
  display: flex; align-items: center; justify-content: center; font: 400 1.125rem var(--font-heading);
}
.features { display: grid; gap: 12px; }
.feature { margin-bottom: 0; padding: 16px; }
.feature h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.feature p { margin: 0; }
.tag-form { display: flex; gap: 8px; margin-bottom: 12px; }
.tag-form input { flex: 1; text-transform: uppercase; letter-spacing: 0.08em; }
.tag-form .button { width: auto; min-width: 72px; }
.danger-zone { border: 1.5px solid var(--lost-border); }

/* Legal pages */
.legal h2 { font-size: 1.1875rem; margin-top: 24px; }
.legal h3 { font-size: 1rem; margin-top: 16px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
mark { background: var(--lost-bg); color: var(--terracotta-text); font-weight: 400; padding: 0 2px; }

/* Admin */
.batch { padding: 12px 0; border-bottom: 1px solid var(--border); }
.batch:last-child { border-bottom: 0; }
.batch .button { margin-top: 8px; }

/* Store */

select {
  width: 100%; min-height: var(--tap); font: inherit; color: var(--text); background: var(--card);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); padding: 8px 10px;
}
.faq { margin-bottom: 8px; padding: 0 16px; }
.faq summary { min-height: var(--tap); display: flex; align-items: center; font-weight: 400; cursor: pointer; }
.faq p { margin: 0 0 14px; }

/* Honeypot: off-screen for people, still in the DOM for bots. */

code { font-size: 0.875rem; overflow-wrap: anywhere; }

/* ---------- Phone: tidy gallery (no visible scrollbar) ---------- */

.hero-photo { display: none; }

/* ---------- Desktop (wide pages: home) ---------- */
@media (min-width: 900px) {
  .page.wide { max-width: 1120px; padding: 24px 40px 56px; }
  .page.wide header { margin-bottom: 8px; }
  .page.wide h1 { font-size: 2.25rem; }
  .page.wide .home-section > h2 { font-size: 1.75rem; }

  /* Sections below */
  .page.wide .home-section { margin: 48px 0; }
  .page.wide .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .page.wide .step { flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }

  /* Homepage */
  .page.wide .home-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; }
  .page.wide .home-hero .hero-text { grid-column: 1; grid-row: 1; }
  .page.wide .home-hero h1 { font-size: 2.75rem; }
  .page.wide .home-hero p { font-size: 1.125rem; }
  .page.wide .home-hero .button { display: inline-flex; width: auto; min-width: 200px; margin-right: 12px; }
  .page.wide .home-hero .button + .button { margin-top: 0; }
  .hero-photo { display: block; grid-column: 2; grid-row: 1; width: 100%; max-width: 380px; height: auto; justify-self: center; border-radius: var(--radius); }
  .page.wide .features { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .page.wide .home-section.card, .page.wide section.card { max-width: none; }
  .page.wide .tag-form { max-width: 480px; }
}

/* Narrow pages (finder, dashboard, forms) on desktop: a bit more breathing room. */
@media (min-width: 900px) {
  .page:not(.wide) { max-width: 560px; padding-top: 32px; }
}

/* =====================================================================
   Visual refresh (2026-11-21): stronger type, full-width bands, product visuals.
   Mobile first; desktop from 900px.
   ===================================================================== */
:root {
  --ink: #1C2A26;
  --deep: #1F3D36;
  --container: 1120px;
  --gutter: 20px;
}
body { -webkit-font-smoothing: antialiased; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
body.is-narrow .container { max-width: 600px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 243, 236, 0.92); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: var(--tap); }
.brand-name { font: 400 1.25rem var(--font-heading); letter-spacing: -0.02em; }
.logo-mark { width: 44px; height: 26px; flex: none; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--radius); color: var(--ink); font-weight: 400; font-size: 0.9375rem; text-decoration: none; }
.site-nav a:hover { background: var(--fill); color: var(--ink); }
.hide-sm { display: none !important; }
.page { padding-top: 20px; }
.page > main > header { display: none; }

/* Footer */
.footer { display: none; }
.site-footer { background: var(--deep); color: #D8E6E0; margin-top: 56px; padding: 40px 0 48px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 8px 0 0; color: #C3D6CF; }
.footer-grid { display: grid; gap: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer nav a { min-height: var(--tap); display: inline-flex; align-items: center; text-decoration: none; font-weight: 400; }
.site-footer nav a:hover { text-decoration: underline; color: #fff; }
.brand-light { color: #fff; }

/* Type */
.kicker { font: 400 0.8125rem var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta-text); margin: 0 0 10px; }
.kicker-light { color: #F4B48F; }
.display { font: 400 clamp(2.25rem, 8vw, 4.25rem) / 1.02 var(--font-heading); letter-spacing: -0.035em; color: var(--ink); margin: 0 0 18px; }
.section-title { font: 400 clamp(1.75rem, 5vw, 2.75rem) / 1.08 var(--font-heading); letter-spacing: -0.03em; margin: 0 0 28px; color: inherit; max-width: 18ch; }
.lede { font-size: clamp(1.0625rem, 2.6vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 34ch; margin: 0 0 26px; }

/* Buttons */
.button { border-radius: var(--radius); transition: background .15s ease; }
.button-big { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }
.button-light { background: #fff; color: var(--deep); }
.button-light:hover { background: var(--sage-tint); color: var(--deep); }
.icon { width: 22px; height: 22px; flex: none; }
.icon-right { width: 20px; height: 20px; margin-left: 8px; }
.text-link { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 400; color: var(--ink); text-decoration: none; }
.text-link:hover { color: var(--primary); }

/* Hero */
.hero2 { position: relative; overflow: hidden; display: grid; gap: 8px; padding: 36px var(--gutter) 24px; max-width: var(--container); margin: 0 auto; }
.hero2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero2-actions .button { width: 100%; }
.hero2-meta { margin: 16px 0 0; font-size: 0.9375rem; color: var(--muted); }
.hero2-art { position: relative; height: 470px; margin-top: 12px; }
.blob { position: absolute; inset: 30px 0 10px; background: var(--sage); border-radius: var(--radius); }
.hero-tag { position: absolute; width: 190px; left: 3%; bottom: 4px; transform: rotate(-8deg); --slot: var(--sage); }
.tag-slot { fill: var(--slot, #8fb8a8); }
.tag-name { font: 600 38px var(--font-heading); letter-spacing: -0.01em; }
.tag-sub { font: 400 14.5px var(--font-body); }

/* Phone mock */
.phone { position: absolute; left: 50%; top: 0; transform: translateX(-38%) rotate(3deg); width: 230px; height: 410px; border-radius: 28px; background: #10201C; padding: 10px; }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border-radius: var(--radius); background: #10201C; z-index: 2; }
.phone-screen { height: 100%; border-radius: 20px; background: var(--bg); padding: 40px 16px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.ps-brand { align-self: flex-start; font: 400 0.75rem var(--font-heading); color: var(--ink); margin-bottom: 16px; }
.ps-avatar { width: 72px; height: 72px; border-radius: var(--radius); background: var(--sage); color: var(--on-sage); display: grid; place-items: center; font: 400 2rem var(--font-heading); border: 3px solid #fff; margin-bottom: 10px; }
.ps-title { font: 400 1.125rem var(--font-heading); color: var(--ink); }
.ps-text { font-size: 0.6875rem; color: var(--muted); margin: 4px 0 14px; line-height: 1.4; }
.ps-btn { width: 100%; border-radius: var(--radius); padding: 10px 8px; font: 400 0.75rem var(--font-body); display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 8px; }
.ps-wa { background: var(--whatsapp); color: #fff; }
.ps-loc { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.ps-icon { width: 14px; height: 14px; flex: none; }
.ps-langs { margin-top: auto; display: flex; gap: 6px; font-size: 0.625rem; color: var(--muted-2); }
.ps-langs .on { background: var(--fill); color: var(--ink); border-radius: var(--radius); padding: 2px 6px; font-weight: 400; }

/* Trust strip */
.trust-strip { background: var(--deep); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 22px var(--gutter); }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 0.9375rem; }
.trust-item .icon { color: #F4B48F; }

/* Bands */
.band { max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter) 8px; }
.band-narrow { max-width: 640px; }

/* How it works flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.flow-step { position: relative; }
.flow-step h3 { font: 400 1.25rem var(--font-heading); margin: 4px 0 6px; letter-spacing: -0.01em; }
.flow-step p { color: var(--muted); margin: 0; }
.flow-num { font: 400 0.875rem var(--font-heading); color: var(--terracotta-text); letter-spacing: 0.08em; }
.mini { height: 190px; border-radius: var(--radius); background: var(--fill); margin-bottom: 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 18px; overflow: hidden; }
.mini-tag { width: 150px; height: auto; --slot: var(--fill); }
.scan-badges { display: flex; gap: 8px; }
.scan-badges span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: var(--radius); padding: 6px 12px; font-size: 0.8125rem; font-weight: 400; color: var(--ink); }
.mini-chat { background: #E6DDCC; align-items: stretch; }
.bubble { align-self: flex-start; background: #fff; border-radius: var(--radius); padding: 10px 14px; font-size: 0.9375rem; }
.bubble.me { align-self: flex-end; background: #D9F2C9; border-radius: var(--radius); }
.mini-alert { align-items: stretch; background: var(--sage-tint); }
.mail-head { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink); }
.mail-map { flex: 1; border-radius: var(--radius); display: grid; place-items: center;
  background: #BFD8CD; }
.map-pin { width: 34px; height: 34px; color: var(--terracotta-text); fill: #FBEDE4; }
.mail-meta { font-size: 0.75rem; color: var(--muted); }

/* Statement */
.statement { background: var(--deep); color: #E6EFEB; padding: 56px var(--gutter); margin-top: 56px; display: grid; gap: 32px; }
.statement .section-title { color: #fff; }
.statement p { color: #C3D6CF; max-width: 46ch; font-size: 1.0625rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare-card { border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.compare-card.old { background: #2C4A43; }
.compare-card.new { background: #F7F3EC; color: var(--ink); }
.compare-label { font: 400 0.75rem var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; }
.compare-card.old .compare-label { color: #F4B48F; }
.compare-card.new .compare-label { color: var(--terracotta-text); }
.engraved { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: #E4E7E5; color: #3B4441; font: 400 0.8125rem/1.3 var(--font-heading); letter-spacing: 0.04em; }
.compare-tag { width: 150px; height: auto; --slot: #f7f3ec; }
.compare-note { font-size: 0.8125rem; line-height: 1.4; }
.compare-card.old .compare-note { color: #C3D6CF; }
.compare-card.new .compare-note { color: var(--muted); }

/* Features */
.feature-grid { display: grid; gap: 28px; }
.feature2 h3 { font: 400 1.1875rem var(--font-heading); margin: 12px 0 6px; }
.feature2 p { color: var(--muted); margin: 0; }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--sage-tint); color: var(--primary); display: grid; place-items: center; }

/* CTA band */
.cta-band { max-width: var(--container); margin: 64px auto 0; padding: 36px var(--gutter); background: var(--primary); color: #fff; display: grid; gap: 20px; justify-items: start; }
.cta-band .section-title { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #D8E6E0; margin: 0 0 20px; }
.cta-tag { width: 190px; height: auto; --slot: var(--primary); }

/* Rounder cards everywhere */
.card { border-radius: var(--radius); }
.home-hero { display: none; }

@media (min-width: 600px) {
  .hero2-actions .button { width: auto; }
  .trust-strip { grid-template-columns: repeat(4, auto); justify-content: center; gap: 12px 40px; }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .hide-sm { display: inline-flex !important; }
  .hero2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-top: 64px; padding-bottom: 56px; min-height: 620px; }
  .hero2-art { height: 520px; margin: 0; }
  .phone { width: 260px; height: 470px; }
  .hero-tag { width: 300px; left: 2%; bottom: 20px; }
  .band { padding-top: 96px; }

  .flow { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .mini { height: 220px; }
  .statement { grid-template-columns: 1fr 1fr; align-items: center; padding: 96px max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); margin-top: 96px; gap: 64px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-band { grid-template-columns: auto 1fr; align-items: center; gap: 40px; border-radius: var(--radius); padding: 48px 56px; margin-top: 96px; }
  .cta-tag { width: 240px; }
  .footer-grid { grid-template-columns: 1.2fr 2fr auto; align-items: start; }

  .page.wide { padding-top: 32px; }
}
.cta-band .button { width: auto; } .cta-band > div { width: 100%; }

/* =====================================================================
   Design system layer (Bullies & Co. structure, our own colours).
   Serif type at weight 400; headings and button labels uppercase and tracked; 2px corners;
   no shadows or gradients; space separates sections. Gutters 22px on phones, 55px from 750px.
   ===================================================================== */
:root { --container: 1200px; --gutter: var(--space-22); --ink: var(--text); --focus: var(--text); }
@media (min-width: 750px) { :root { --gutter: var(--space-55); } }
@media (min-width: 900px) { :root { --gutter: var(--space-55); } }

body { font: 400 16px/24px var(--font-body); }
strong, b, th, dt, dd, summary, label, legend { font-weight: 400; }

/* Headings: the design system's `heading` style (uppercase, 0.1em tracking, never bold).
   h1 keeps a little more size so pages still have one clear title. */
h1, h2, h3, .display, .section-title, .brand-name, .ps-title, .ps-brand {
  font-family: var(--font-heading); font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em;
}
h1 { font-size: 1.375rem; line-height: 1.25; margin: 0 0 var(--space-15); }
h2 { font-size: 17px; line-height: 20.4px; margin: 0 0 17.5px; }
h3 { font-size: 15px; line-height: 20px; margin: 0 0 var(--space-8); }
.display { font-size: clamp(1.625rem, 5vw, 2.5rem); line-height: 1.2; letter-spacing: 0.08em; margin: 0 0 var(--space-22); }
.section-title { font-size: clamp(17px, 2.4vw, 1.375rem); line-height: 1.3; margin: 0 0 var(--space-35); max-width: 28ch; }
.kicker, .eyebrow, .compare-label, .flow-num { font: 400 13px/1.4 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; }
.lede { font-size: 1.125rem; line-height: 1.55; }
.page.wide h1 { font-size: 1.5rem; }
.legal h2 { font-size: 17px; margin-top: var(--space-35); }
.legal h3 { font-size: 15px; margin-top: var(--space-22); }

/* Links and focus: hover dims to 60% (the design system's interaction); a solid 2px ring for keyboards. */
a:hover { opacity: 0.6; }
.button:hover, .brand:hover { opacity: 1; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.site-footer :focus-visible, .statement :focus-visible, .trust-strip :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

/* Header: wordmark left, body-type links right, 80px row. Solid, no blur, hairline below. */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); }
.site-header .container { min-height: var(--space-80); }
.brand { gap: var(--space-10); color: var(--text); }
.brand-name { font-size: 17px; line-height: 20.4px; letter-spacing: 0.1em; }
.site-nav { gap: 0; }
.site-nav a { padding: 0 var(--space-15); border-radius: 0; font: 400 16px/24px var(--font-body); color: var(--text); }
.site-nav a:hover { background: none; color: var(--text); opacity: 0.6; }
@media (max-width: 420px) { .brand-name { font-size: 15px; letter-spacing: 0.06em; } .site-nav a { padding: 0 10px; } }

/* Page container and sections */
.container { max-width: var(--container); padding: 0 var(--gutter); }
body.is-narrow .container { max-width: var(--container); }
.page { padding: var(--space-35) var(--gutter) var(--space-55); max-width: 560px; }
.page.wide { max-width: var(--container); }
@media (min-width: 900px) { .page.wide { max-width: var(--container); padding: var(--space-55) var(--gutter); } .page:not(.wide) { padding-top: var(--space-55); } }
.band { max-width: var(--container); padding: var(--space-55) var(--gutter) 0; }
.band-narrow { max-width: calc(640px + 2 * var(--gutter)); }

.hero2 { max-width: var(--container); padding: var(--space-55) var(--gutter) var(--space-35); }
.statement { margin-top: var(--space-55); padding: var(--space-55) var(--gutter); }
.cta-band { margin-top: var(--space-55); padding: var(--space-55) var(--gutter); border-radius: 0; }
@media (min-width: 900px) {
  .hero2 { padding-top: var(--space-80); padding-bottom: var(--space-55); }
  .band { padding-top: var(--space-80); }

  .statement { margin-top: var(--space-80); padding: var(--space-80) max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
  .cta-band { margin-top: var(--space-80); padding: var(--space-55); border-radius: var(--radius); }
}

/* Buttons: uppercase 14px labels with 0.08em tracking, 10px x 18px padding, 2px corners.
   Touch targets stay 48px+ (CLAUDE.md). Colours and hover colours come from CLAUDE.md. */
.button {
  min-height: var(--tap); padding: var(--space-10) var(--space-18); border: 1px solid transparent; border-radius: var(--radius);
  font: 400 14px/21px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; gap: var(--space-8);
}
.button-big { min-height: 52px; padding: var(--space-10) 28px; font-size: 15px; }
.button-secondary { border: 1px solid var(--primary); }
.button-light { border-color: #fff; }
.button-disabled:hover { opacity: 1; } /* already muted by colour; no extra dimming so the label stays readable */
.button[disabled] { opacity: 0.5; }
.icon-right { margin-left: var(--space-5); width: 18px; height: 18px; }
.text-link { font: 400 14px/21px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid currentColor; min-height: var(--tap); }
.text-link:hover { color: var(--text); }
.link-button, .dash-nav a, .fix-email summary { font: 400 16px/24px var(--font-body); }

/* Inputs and selects: 1px border in the text colour (visible at 3:1), 2px corners, 15px side padding,
   label in body type 5px above. */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  border: 1px solid var(--text); border-radius: var(--radius); padding: var(--space-8) var(--space-15);
  font: 400 16px/1.2 var(--font-body); min-height: var(--tap);
}
textarea { line-height: 1.5; }
select { padding-right: var(--space-35); }
input:focus, textarea:focus, select:focus { border-color: var(--text); outline: 2px solid var(--focus); outline-offset: 2px; }
input[type="file"] { border: 1px dashed var(--text); border-radius: var(--radius); }
.field { margin-bottom: var(--space-22); }
.field > label, .legend, .file-label { font-weight: 400; margin-bottom: var(--space-5); }
.hint { margin-top: var(--space-5); }
.error-text { font-weight: 400; }
.choice span { border: 1px solid var(--text); border-radius: var(--radius); font-weight: 400; }
.choice input:checked + span { border-width: 2px; }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.code-input { letter-spacing: 0.12em; }

/* Cards and panels: white on cream with a hairline, 2px corners, no shadow. */
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-22); margin-bottom: var(--space-22); }
@media (min-width: 750px) { .card { padding: var(--space-35); } }
.hero, .home-hero, .note, .notice, .alert, .lost-banner, .preview-banner, .compare-card, .mini, .feature-icon, .scan-badges span, .bubble, .ps-btn, .ps-langs .on, .mail-map, .hero-photo { border-radius: var(--radius); }
.hero { padding: var(--space-22); margin: 0 0 var(--space-22); }
.notice, .alert { padding: var(--space-10) var(--space-15); margin-bottom: var(--space-27); font-weight: 400; }
.lost-banner { font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; }
.badge-lost { border-radius: var(--radius); font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.chip { border-radius: var(--radius); font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; }
.blob { border-radius: var(--radius); }

.pet-avatar { border-width: 0; font-weight: 400; }
.pet-photo { border: 0; }
.pet-row-text strong { font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; }
.scan-time { font-weight: 400; }
.details dd { font-weight: 400; }

/* Product-style grids: 30px gutters, 35px rows. */
.flow, .feature-grid { gap: var(--space-35) var(--space-30); }
@media (min-width: 900px) { .flow { gap: var(--space-35) var(--space-30); } }
.flow-step h3, .feature2 h3 { font-weight: 400; font-size: 15px; letter-spacing: 0.1em; margin: var(--space-15) 0 var(--space-5); }

/* Trust strip */
.trust-item { font-weight: 400; }

/* Footer: links in body type 15px apart, hairline above, cream surface like the page. */
.site-footer { background: var(--bg); color: var(--text); border-top: 1px solid var(--border); margin-top: var(--space-55); padding: var(--space-35) 0 var(--space-55); }
.site-footer a { color: var(--text); }
.site-footer p { color: var(--muted); }
.site-footer :focus-visible { outline-color: var(--focus); }
.site-footer nav { gap: 0 var(--space-15); }
.site-footer nav a { font-weight: 400; }
.site-footer nav a:hover { color: var(--text); text-decoration: none; opacity: 0.6; }
.brand-light { color: var(--text); }
@media (min-width: 900px) { .site-footer { margin-top: var(--space-80); } }
