/* Pet Nail Picks — mobile-first landing page */
:root {
  --navy: #1B2A41;
  --navy-2: #24385A;
  --amber: #F5B841;
  --amber-d: #D9962A;
  --cream: #FBF6EE;
  --sand: #F1E8DA;
  --ink: #16213A;
  --muted: #5B6578;
  --line: #E6DCCB;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(27, 42, 65, .10);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 17px; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 6vw, 2.6rem); }
h3 { font-size: 1.15rem; color: var(--navy); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.section { padding: 64px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--amber-d); margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); }
.sub { color: var(--muted); margin-bottom: 28px; }
.micro { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.note { font-size: .95rem; color: var(--muted); max-width: 680px; margin: 28px auto 0; }
.glow { color: var(--amber-d); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  background: var(--amber); color: var(--navy); font-weight: 800; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 184, 65, .45);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #F7C35C; box-shadow: 0 10px 24px rgba(245, 184, 65, .55); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn--sm { padding: 9px 16px; font-size: .92rem; box-shadow: none; }
.btn--lg { padding: 17px 30px; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 238, .92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand img { width: 168px; height: auto; }

/* Hero */
.hero { padding: 36px 0 56px; background: radial-gradient(1200px 500px at 80% 0%, #FFF1D3 0%, transparent 60%), var(--cream); }
.hero__grid { display: grid; gap: 32px; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li, .crosses li { position: relative; padding-left: 30px; margin-bottom: 8px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231B2A41' stroke-width='3'/%3E%3C/svg%3E") center/14px no-repeat; }
.crosses li { font-weight: 400; color: var(--muted); }
.crosses li::before { content: "×"; position: absolute; left: 4px; top: -2px; font-size: 1.4rem; color: #C2563B; font-weight: 800; }
.hero__cta .btn { width: 100%; }

/* Mobile hero: headline, then video + benefits side by side, then CTA — product visible in the first screen */
.hero__grid { grid-template-columns: 132px 1fr; gap: 18px 16px; grid-template-areas: "head head" "media ticks" "cta cta"; }
.hero__head { grid-area: head; }
.hero__head .lead { margin-bottom: 0; }
.hero__media { grid-area: media; }
.hero__body { display: contents; }
.hero .ticks { grid-area: ticks; align-self: center; margin: 0; font-size: .95rem; }
.hero .ticks li { font-weight: 400; margin-bottom: 12px; }
.hero__cta { grid-area: cta; }
.hero .phone { width: 132px; border-radius: 16px; box-shadow: 0 14px 30px rgba(27, 42, 65, .25), 0 0 0 4px #fff; }

.trustbar { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--navy); font-weight: 600; }
.trustbar li { display: block; }
.trustbar li::before { content: "✓"; color: var(--amber-d); font-weight: 800; margin-right: 5px; }
.trustbar--center { justify-content: center; margin: 4px 0 8px; }
.hero__cta .micro a { color: var(--navy); font-weight: 600; }

/* Feature grid (replaces the image infographic: readable at any width) */
.features { display: grid; gap: 20px; margin: 28px auto 8px; text-align: left; align-items: center; }
.features__img { width: min(100%, 300px); margin: 0 auto; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.features__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.features__list li { background: var(--white); border-radius: 16px; padding: 14px; box-shadow: 0 2px 10px rgba(27, 42, 65, .06); }
.features__list b { display: block; color: var(--navy); font-size: .98rem; margin-bottom: 2px; }
.features__list b::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: 1px; }
.features__list span { color: var(--muted); font-size: .9rem; line-height: 1.45; display: block; }
.problem__media img { aspect-ratio: 16 / 11; object-position: 50% 45%; }

.phone {
  position: relative; margin: 0 auto; width: min(100%, 340px); aspect-ratio: 9 / 16;
  border-radius: 28px; overflow: hidden; background: var(--navy);
  box-shadow: 0 30px 60px rgba(27, 42, 65, .28), 0 0 0 8px #fff;
}
.phone video { width: 100%; height: 100%; object-fit: cover; }

/* Split sections */
.split { display: grid; gap: 28px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.problem { background: var(--white); }

.solution__img { margin: 28px auto 0; border-radius: var(--radius); box-shadow: var(--shadow); width: min(100%, 620px); }

/* Benefits */
.cards { display: grid; gap: 18px; margin-top: 28px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 18px 20px 6px; }
.card p { margin: 0 20px 22px; color: var(--muted); font-size: .98rem; }

/* How it works */
.how { background: var(--sand); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 22px 22px 8px; position: relative; }
.steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--muted); }

/* Demo */
.demo { background: var(--navy); color: #DCE3EE; }
.demo h2 { color: #fff; }
.demo .phone { box-shadow: 0 30px 60px rgba(0, 0, 0, .4), 0 0 0 8px rgba(255, 255, 255, .08); }

/* Comparison */
.table-wrap { overflow-x: auto; margin-top: 24px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 12px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.opt { display: none; }
tbody th { text-align: left; font-weight: 600; color: var(--navy); }
thead th { font-size: .85rem; color: var(--muted); font-weight: 800; }
.us { background: #FFF6E2; color: var(--navy); font-weight: 800; }
thead .us { color: var(--navy); }

/* Offer */
.offer { background: var(--white); }
.packs { display: grid; gap: 16px; margin-bottom: 16px; }
.pack { position: relative; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; text-align: center; background: var(--cream); }
.pack--best { border-color: var(--amber); background: #FFF8E8; box-shadow: var(--shadow); }
.pack__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--navy); color: var(--amber); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.pack__price { font-family: var(--serif); font-size: 2.2rem; color: var(--navy); margin: 4px 0; }
.pack__unit { color: var(--muted); font-size: .92rem; min-height: 1.5em; }

/* Trust */
.trust { background: var(--sand); }
.trust__grid { display: grid; gap: 18px; }
.trust__item { background: var(--white); border-radius: var(--radius); padding: 24px; }
.trust__item svg { width: 34px; height: 34px; color: var(--amber-d); margin-bottom: 10px; }
.trust__item p { color: var(--muted); margin: 0; }

/* Reviews placeholders */
.reviews__grid { display: grid; gap: 16px; margin-top: 24px; }
.review { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.review--placeholder { border: 2px dashed #D6893B; background: #FFF9F0; color: #8A5A1F; }
.review span { font-size: .85rem; font-weight: 600; }

/* FAQ */
details { background: var(--white); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(27, 42, 65, .05); }
summary { cursor: pointer; font-weight: 800; color: var(--navy); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--amber-d); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* Final */
.final { background: var(--navy); color: #DCE3EE; }
.final h2 { color: #fff; }
.final .lead { color: #C3CCDA; }
.final__grid { display: grid; gap: 28px; align-items: center; }
.final img { width: min(100%, 300px); margin: 0 auto; border-radius: var(--radius); }
.final .micro { color: #AEB8C9; }

/* Footer */
.footer { padding: 36px 0 110px; background: #121D30; color: #AEB8C9; }
.footer__in { display: grid; gap: 14px; justify-items: center; text-align: center; }
.footer img { width: 180px; height: auto; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.footer nav a { color: #DCE3EE; text-decoration: none; font-size: .92rem; }
.footer .micro { color: #8C97AA; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(27, 42, 65, .12);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-cta__txt { display: flex; flex-direction: column; line-height: 1.2; font-size: .9rem; }
.sticky-cta__txt span { color: var(--muted); }
.sticky-cta .btn { padding: 12px 22px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- Tablet & desktop ---------- */
@media (min-width: 760px) {
  .section { padding: 88px 0; }
  .hero { padding: 64px 0 80px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "head media" "body media"; align-items: center; gap: 24px 48px; }
  .hero__body { display: block; grid-area: body; align-self: start; }
  .hero .ticks { margin: 0 0 24px; font-size: 1rem; }
  .hero .phone { width: 340px; border-radius: 28px; box-shadow: 0 30px 60px rgba(27, 42, 65, .28), 0 0 0 8px #fff; }
  .hero__head { align-self: end; }
  .hero__cta .btn { width: auto; }
  .features { grid-template-columns: .9fr 1.1fr; gap: 40px; }
  .features__img { width: 100%; }
  .problem__media img { aspect-ratio: 4 / 5; }
  .opt { display: table-cell; }
  table { font-size: .95rem; }
  th, td { padding: 14px 12px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--rev .split__media { order: 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .packs { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .trust__grid, .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .final__grid { grid-template-columns: .8fr 1.2fr; }
  .phone { width: 340px; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card img { aspect-ratio: 1 / 1; }
}
@media (min-width: 900px) {
  .sticky-cta { display: none; }
  .footer { padding-bottom: 40px; }
}

/* ---------- Affiliate (Amazon Associates) ---------- */
.disclosure { margin: 0; padding: 7px 16px; background: var(--navy); color: #DCE3EE; font-size: .78rem; text-align: center; }
.disclosure a { color: var(--amber); }
.illus { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 6px; font-style: italic; }
.features__fig { margin: 0; }
.demo__note { color: #AEB8C9; }
.amazon-box { background: var(--cream); border: 2px solid var(--amber); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); text-align: left; margin-bottom: 16px; }
.amazon-box__title { font-weight: 800; color: var(--navy); font-size: 1.08rem; margin-bottom: 10px; }
.amazon-box__list { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.amazon-box__reviews { display: block; text-align: center; margin-top: 12px; font-weight: 600; color: var(--navy); }
.footer__disclosure { font-size: .82rem; color: #AEB8C9; max-width: 760px; line-height: 1.55; }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.reviews { background: var(--white); }
.amazon-box__reviews { background: none; border: 0; padding: 0; width: 100%; cursor: pointer; font: inherit; text-decoration: underline; }

/* Review roundup */
.roundup { display: grid; gap: 18px; margin: 28px 0; text-align: left; }
.roundup__col { background: var(--cream); border-radius: var(--radius); padding: 22px 18px; }
.roundup__col--pro { border-top: 4px solid #3E9B6B; }
.roundup__col--con { border-top: 4px solid var(--amber-d); }
.roundup__col h3 { margin-bottom: 14px; }
.roundup ul { list-style: none; margin: 0; padding: 0; }
.roundup li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.roundup li:first-child { border-top: 0; padding-top: 0; }
.roundup li b { color: var(--navy); display: block; margin-bottom: 2px; }
.roundup li p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.roundup__n { display: grid; place-items: center; height: 40px; border-radius: 12px; font-weight: 800; font-size: .9rem; background: #E6F3EC; color: #2C7A52; }
.roundup__col--con .roundup__n { background: #FCEFD8; color: #8A5A1F; }
.roundup__note { margin: 16px 0 0; font-size: .82rem; color: var(--muted); font-style: italic; }
@media (min-width: 760px) { .roundup { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.aff-note { font-size: .74rem; color: var(--muted); margin: 8px 0 0; }
.aff-note a { color: inherit; }
.aff-note--dark { color: #AEB8C9; }

/* Legal pages (privacy, terms, contact) */
.legal { padding: 40px 0 64px; }
.legal h1 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: .2em; }
.legal__updated { color: var(--muted); font-size: .88rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin-top: 32px; }
.legal p, .legal li { color: #3D4658; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--navy); font-weight: 600; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 8px 0 24px; border-top: 4px solid var(--amber); }
.contact-card h2 { margin-top: 0; }
.contact-card__mail { font-size: 1.2rem; font-weight: 800; }
