/**
 * AmigoCare landing — full standalone CSS (2026-05-11 redesign per prototype.html).
 * Theme + plugin assets dequeued on this landing — no isolation prefix needed.
 * Source of truth: .design-engineer-plugin/prototype/prototype.html lines 10-515.
 */

:root {
  --amber: #ffba00;
  --amber-deep: #d99c00;
  --amber-soft: #fef3c7;
  --ink: #190a03;
  --ink-soft: #333333;
  --orange: #ff671f;

  --white: #ffffff;
  --off-white: #fafafa;
  --gray-50: #f5f5f5;
  --gray-100: #ebebeb;
  --gray-300: #cccccc;
  --gray-500: #6b7280;
  --gray-700: #555555;

  --line: #e5e5e5;
  --line-strong: #d4d4d4;

  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", cursive;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 99px;

  --sect: clamp(72px, 10vw, 120px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.amg-care-landing {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body.amg-care-landing a { color: inherit; text-decoration: none; }
body.amg-care-landing button { font-family: inherit; cursor: pointer; border: 0; background: none; }
body.amg-care-landing img { max-width: 100%; height: auto; display: block; }
body.amg-care-landing svg { display: block; }
body.amg-care-landing ul, body.amg-care-landing ol { list-style: none; }

.amg-care-landing .wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) {
  .amg-care-landing .wrap { padding: 0 56px; }
}

/* ============ TOPBAR ============ */
.amg-care-landing .topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.amg-care-landing .topbar__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.amg-care-landing .brand {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-weight: 800; font-size: 22px; letter-spacing: -0.025em;
  color: var(--ink);
}
.amg-care-landing .brand__dot { color: var(--amber); font-size: 26px; line-height: 1; }
.amg-care-landing .top-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700;
  color: var(--gray-700);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: background 0.15s, color 0.15s;
}
.amg-care-landing .top-back:hover { background: var(--gray-50); color: var(--ink); }

/* ============ HERO ============ */
.amg-care-landing .hero {
  padding: 56px 0 88px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.amg-care-landing .hero::before {
  content: ""; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--amber-soft), transparent 70%);
  top: -250px; right: -200px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.amg-care-landing .hero__grid {
  display: grid; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 920px) {
  .amg-care-landing .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}

.amg-care-landing .hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amber-soft);
  color: var(--ink);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent);
}
.amg-care-landing .hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}

.amg-care-landing .hero__title {
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink);
}
.amg-care-landing .hero__title strong {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 65%, var(--amber) 65%);
  padding: 0 4px;
  font-weight: inherit;
}

.amg-care-landing .hero__lede {
  font-size: 18px; line-height: 1.55;
  color: var(--gray-700);
  max-width: 540px; margin-bottom: 28px;
}

.amg-care-landing .checks {
  margin: 0 0 32px; padding: 0;
  display: grid; gap: 12px; max-width: 540px;
}
.amg-care-landing .checks li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--ink); line-height: 1.5;
}
.amg-care-landing .checks .ck {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  margin-top: 2px;
}
.amg-care-landing .checks li strong { font-weight: 700; }

.amg-care-landing .hero__cta-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.amg-care-landing .cta {
  background: var(--amber); color: var(--ink);
  padding: 16px 28px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.15s, transform 0.15s;
}
.amg-care-landing .cta:hover { background: var(--amber-deep); transform: translateY(-1px); }
.amg-care-landing .cta--ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink);
  padding: 14px 26px;
}
.amg-care-landing .cta--ghost:hover { background: var(--ink); color: var(--white); }

.amg-care-landing .hero__starting {
  margin-top: 24px; font-size: 13px; color: var(--gray-500);
}
.amg-care-landing .hero__starting strong { color: var(--ink); font-weight: 700; }

/* Hero pets card */
.amg-care-landing .hero__pets-card {
  background: var(--gray-50);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
}
.amg-care-landing .pet-avatar-row {
  display: flex; gap: 8px; align-items: center; margin-bottom: 20px;
}
.amg-care-landing .pet-avatar {
  width: 72px; height: 72px;
  background: var(--white);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(25, 10, 3, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}
.amg-care-landing .pet-avatar svg { width: 60%; height: 60%; }
.amg-care-landing .pet-avatar:nth-child(2) {
  background: var(--amber-soft); transform: translateY(6px);
}
.amg-care-landing .pet-avatar-row__count {
  margin-left: 12px;
  font-size: 13px; color: var(--gray-700); line-height: 1.3;
}
.amg-care-landing .pet-avatar-row__count strong {
  display: block; color: var(--ink); font-weight: 800; font-size: 18px;
}

.amg-care-landing .hero__service-cards {
  display: grid; gap: 8px; grid-template-columns: 1fr 1fr;
}
.amg-care-landing .svc-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--line);
}
.amg-care-landing .svc-card__icon {
  width: 28px; height: 28px; margin-bottom: 8px; color: var(--ink);
}
.amg-care-landing .svc-card__title {
  font-weight: 800; font-size: 13px; margin-bottom: 2px; line-height: 1.2;
}
.amg-care-landing .svc-card__desc {
  font-size: 12px; color: var(--gray-500); line-height: 1.4;
}

/* ============ HOW ============ */
.amg-care-landing .how {
  padding: var(--sect) 0; background: var(--off-white);
}
.amg-care-landing .section-head {
  max-width: 720px; margin-bottom: 56px;
}
.amg-care-landing .section-eyebrow {
  font-family: var(--hand);
  font-size: 26px; color: var(--orange);
  transform: rotate(-1deg); display: inline-block;
  margin-bottom: 8px;
}
.amg-care-landing .section-title {
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1; letter-spacing: -0.025em;
  color: var(--ink);
}
.amg-care-landing .section-lede {
  font-size: 17px; color: var(--gray-700);
  margin-top: 16px; max-width: 600px;
}

.amg-care-landing .how__grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .amg-care-landing .how__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.amg-care-landing .step-card {
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
}
.amg-care-landing .step-card:nth-child(3) {
  background: var(--amber-soft);
  border-color: color-mix(in srgb, var(--amber) 40%, transparent);
}
.amg-care-landing .step-card__no {
  font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.amg-care-landing .step-card__icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  color: var(--ink);
  background: var(--gray-50);
  border-radius: var(--r-sm);
  padding: 10px;
}
.amg-care-landing .step-card:nth-child(3) .step-card__icon { background: var(--white); }
.amg-care-landing .step-card__title {
  font-weight: 800; font-size: 20px; line-height: 1.2;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.amg-care-landing .step-card__body {
  font-size: 14px; color: var(--gray-700); line-height: 1.55;
}

/* ============ FAQ ============ */
.amg-care-landing .faq { padding: var(--sect) 0; background: var(--white); }
.amg-care-landing .faq__list { max-width: 880px; }
.amg-care-landing .faq__item { border-bottom: 1px solid var(--line); }
.amg-care-landing .faq__item:first-child { border-top: 1px solid var(--line); }
.amg-care-landing .faq__item summary {
  list-style: none;
  padding: 22px 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 18px; line-height: 1.3;
  color: var(--ink);
}
.amg-care-landing .faq__item summary::-webkit-details-marker { display: none; }
.amg-care-landing .faq__toggle {
  flex-shrink: 0; margin-left: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-100); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.amg-care-landing details[open] .faq__toggle {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--amber);
}
.amg-care-landing .faq__answer {
  padding: 0 0 22px;
  color: var(--gray-700);
  font-size: 15px; line-height: 1.65;
  max-width: 720px;
}
.amg-care-landing .faq__answer-note {
  display: block;
  font-family: var(--hand); font-size: 17px;
  color: var(--orange); margin-top: 10px;
}

/* ============ ENDCAP ============ */
.amg-care-landing .endcap {
  padding: var(--sect) 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.amg-care-landing .endcap__title {
  font-weight: 800; font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05; letter-spacing: -0.025em;
  max-width: 760px; margin: 0 auto 16px;
}
.amg-care-landing .endcap__lede {
  font-size: 17px; max-width: 580px;
  margin: 0 auto 32px; color: rgba(255,255,255,0.7);
}
.amg-care-landing .endcap .cta { background: var(--amber); }
.amg-care-landing .endcap .cta:hover { background: var(--amber-deep); }

/* ============ FOOTER ============ */
.amg-care-landing .footer {
  padding: 28px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--gray-500);
}
.amg-care-landing .footer__disclaimer {
  max-width: 800px; line-height: 1.6;
}
.amg-care-landing .footer a { color: var(--gray-700); text-decoration: underline; }
.amg-care-landing .footer a:hover { color: var(--ink); }

/* ============ KILL Customizer Additional CSS overrides ============
 * Customizer post 70057 has global `summary::before` SVG arrow override
 * (originally for product page accordions). It double-toggles over our
 * `.faq__toggle`. mu-plugin removes the wp_custom_css_cb hook on landing,
 * but this is a safety net if cache serves stale inline. */
body.amg-care-landing summary::before,
body.amg-care-landing summary:before {
  content: none !important;
  display: none !important;
  background: none !important;
}
body.amg-care-landing summary::-webkit-details-marker,
body.amg-care-landing summary::marker { display: none !important; }
body.amg-care-landing .topbar .brand img { max-height: 40px; width: auto; }

/* ============ QUIZ-MODE TOGGLE (hide landing when quiz active) ============ */
body.amg-care-landing.quiz-mode .topbar,
body.amg-care-landing.quiz-mode .hero,
body.amg-care-landing.quiz-mode .how,
body.amg-care-landing.quiz-mode .faq,
body.amg-care-landing.quiz-mode .endcap,
body.amg-care-landing.quiz-mode .footer { display: none !important; }
