:root {
  --bg: #fbfaf6;
  --cream: #f7f1e4;
  --ink: #1c2d38;
  --muted: #5b6b76;
  --line: #d9e2ea;
  --primary: #2f78e6;
  --primary-dark: #1f5fc0;
  --deep: #16325c;
  --sun: #f3c445;
  --sun-ink: #5a3e08;
  --card: #ffffff;
  --radius: 1rem;
  --shadow: 0 18px 40px rgba(22, 50, 92, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
}

h1,
h2,
h3,
.display {
  font-family: Fredoka, "Nunito Sans", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: Fredoka, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.logo-word {
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.stack small {
  font-family: "Nunito Sans", sans-serif;
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.logo-footer {
  color: #fff;
}

.logo-footer .stack small {
  color: #b8ccea;
}

.mark-slot {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-wrap {
  max-width: 640px;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 16px 28px;
}

/* Honeypot: hidden from people, visible to spam bots that fill every field. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status.ok {
  color: #1c7a4a;
  font-weight: 700;
}

.status.err {
  color: #b3261e;
  font-weight: 700;
}

.rebrand-bar {
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
}

.rebrand-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
}

.rebrand-bar p {
  margin: 0;
  text-align: center;
}

.rebrand-bar strong {
  color: var(--sun);
}

.rebrand-bar button {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 0 4px;
}

.rebrand-bar button:hover {
  opacity: 1;
}

.former {
  font-size: 0.85rem;
  color: #b8ccea;
}

.mark-img {
  height: 56px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}

.logo b {
  color: var(--primary);
  font-weight: 700;
}

.logo .tm {
  font-size: 0.5em;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: var(--cream);
}

.btn-sun {
  background: var(--sun);
  color: var(--sun-ink);
}

.btn-sun:hover {
  filter: brightness(0.97);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font: inherit;
}

.hero {
  padding: 28px 0 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sun);
  color: var(--sun-ink);
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.hero h1 span {
  color: var(--primary);
}

.lede {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 56ch;
}

.also {
  color: var(--primary);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 16px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-photo {
  margin-top: 28px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

/* The hero photo fills its frame top to bottom: faces at the top edge, the dog
   at the bottom. Forcing a fixed height cropped the girl's face off, so the
   frame follows the image's own 1264x848 shape instead. */
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1264 / 848;
}

.stat {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.stat strong {
  font-family: Fredoka, sans-serif;
  font-size: 1.8rem;
  display: block;
}

.section {
  padding: 56px 0;
}

.section.cream {
  background: var(--cream);
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.muted {
  color: var(--muted);
}

.blog-grid,
.cards-3,
.cards-4,
.tips-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.blog-grid,
.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.tips-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card.popular {
  border: 2px solid var(--primary);
  position: relative;
}

.badge {
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.date {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.round-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.round-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 10px;
}

form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 800;
  font-size: 0.9rem;
}

input,
select,
textarea {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.full {
  grid-column: 1 / -1;
}

.faq button {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.faq .answer {
  display: none;
  padding: 0 8px 16px;
  color: var(--muted);
}

.faq .item.open .answer {
  display: block;
}

.faq .item {
  margin-bottom: 10px;
}

.footer {
  background: var(--deep);
  color: #e8f0ff;
  padding: 40px 0 28px;
}

.footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.sticky-text {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  background: var(--sun);
  color: var(--sun-ink);
  font-weight: 800;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.mobile-panel {
  display: none;
}

.mobile-panel.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 16px;
}

.status {
  font-weight: 800;
  color: var(--primary-dark);
  min-height: 1.2em;
}

.admin-shell {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px 60px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px;
  vertical-align: top;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

/* The lockup is wider than the old text-only logo, so the desktop nav
   runs out of room before the 900px layout breakpoint. */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 900px) {
  .blog-grid,
  .cards-3,
  .cards-4,
  .split,
  .steps,
  .tips-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: none;
  }
}
