:root {
  --tangerine: #F98128;
  --charcoal: #26282B;
  --ivory: #FFF8F1;
  --gray: #F4F4F2;
  --apricot: #FBE8D5;
  --sage: #788A70;
  --line: rgba(38, 40, 43, .14);
  --muted: rgba(38, 40, 43, .74);
  --r: 20px;
  --wrap: 1120px;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; border-radius: 6px; }
h2:focus { outline: none; }

.ribbon { background: var(--charcoal); color: var(--ivory); font-size: 13px; text-align: center; padding: 7px 14px; line-height: 1.35; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ivory); border-bottom: 1px solid var(--line); }
.bar { position: relative; display: flex; align-items: center; gap: 20px; min-height: 64px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 31px; letter-spacing: -.045em; color: var(--tangerine); text-decoration: none; line-height: 1; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--tangerine); }
.bar-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; }
.icon-btn:hover { background: var(--apricot); }
.count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--tangerine); color: var(--charcoal); font-size: 12px; font-weight: 700; line-height: 19px; text-align: center; }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .menu-btn { display: inline-grid; }
  .bar { gap: 8px; min-height: 58px; }
  .bar-actions { margin-left: auto; }
  .nav { display: none; position: absolute; left: -20px; right: -20px; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 4px 20px 12px; margin: 0; box-shadow: 0 18px 30px rgba(38, 40, 43, .08); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a:last-child { border-bottom: 0; }
}

/* Buttons and small text */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 2px solid var(--tangerine); border-radius: 999px; background: var(--tangerine); color: var(--charcoal); font-weight: 700; font-size: 18px; line-height: 1.15; text-align: center; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(249, 129, 40, .32); }
.btn-ghost { background: none; border-color: var(--charcoal); }
.btn-ghost:hover { box-shadow: none; background: var(--charcoal); color: var(--ivory); }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--tangerine); text-decoration-thickness: 2px; text-underline-offset: 5px; background: none; border: 0; padding: 0; }
.text-link:hover { text-decoration-color: var(--charcoal); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.sage-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.sage-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); flex: none; }
.fine { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Photos */
.photo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--apricot); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.standin { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 248, 241, .93); font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; }

/* Hero */
.hero { padding: 34px 0 52px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(44px, 12vw, 80px); font-weight: 800; letter-spacing: -.04em; margin-top: 12px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 29em; margin-top: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.hero .photo { aspect-ratio: 4 / 3; }
@media (min-width: 860px) {
  .hero { padding: 68px 0 88px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 60px; }
  .hero h1 { font-size: clamp(56px, 6.4vw, 84px); }
  .hero .photo { aspect-ratio: 1 / 1.02; }
}

/* Sections */
.section { padding: 60px 0; }
.section-gray { background: var(--gray); }
.section h2 { font-size: clamp(31px, 5vw, 46px); }
.section-head { max-width: 36em; margin-bottom: 30px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 18px; }
@media (min-width: 860px) { .section { padding: 88px 0; } }

/* Three steps */
.steps-panel { background: var(--apricot); border-radius: 28px; padding: 32px 22px; }
.steps { display: grid; gap: 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; align-content: start; }
.step-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--ivory); display: grid; place-items: center; }
.step h3 { font-size: 23px; margin-top: 7px; }
.step p { color: var(--muted); margin-top: 7px; font-size: 16px; }
@media (min-width: 860px) {
  .steps-panel { padding: 52px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 36px; }
  .step { grid-template-columns: 1fr; }
}

/* What's in the kit */
.inside-grid { display: grid; gap: 28px; align-items: center; }
.inside-grid .photo { aspect-ratio: 4 / 3; }
.contents { list-style: none; margin: 22px 0 12px; padding: 0; counter-reset: c; }
.contents li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: start; }
.contents li:last-child { border-bottom: 1px solid var(--line); }
.contents li::before { content: counter(c); width: 32px; height: 32px; border-radius: 50%; background: var(--tangerine); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.contents b { display: block; font-size: 18px; }
.contents span { color: var(--muted); font-size: 15.5px; }
.inside-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 22px; }
@media (min-width: 860px) { .inside-grid { grid-template-columns: 1fr 1fr; gap: 60px; } .inside-grid .photo { aspect-ratio: 1 / 1; } }

/* Common pests */
.pests { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pest { display: flex; flex-direction: column; background: var(--gray); border: 0; border-radius: var(--r); overflow: hidden; text-align: left; padding: 0; transition: transform .15s ease, box-shadow .15s ease; }
.pest:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(38, 40, 43, .1); }
.pest .ph { display: block; aspect-ratio: 4 / 3; background: var(--apricot); width: 100%; }
.pest .ph img { width: 100%; height: 100%; object-fit: cover; }
.pest-body { display: block; padding: 14px 16px 18px; }
.pest-t { display: block; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.1; letter-spacing: -.02em; }
.pest-d { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.pest .go { display: block; margin-top: 10px; font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--tangerine); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 860px) { .pests { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Help */
.help-grid { display: grid; gap: 34px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 400; transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 38em; }
.contact-card { background: var(--ivory); border-radius: var(--r); overflow: hidden; }
.contact-card .photo { aspect-ratio: 16 / 10; border-radius: 0; }
.contact-body { padding: 22px; }
.contact-body h3 { font-size: 24px; }
.contact-body p { color: var(--muted); margin: 8px 0 18px; }
@media (min-width: 860px) { .help-grid { grid-template-columns: 1.25fr .9fr; gap: 60px; align-items: start; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 110px; font-size: 15.5px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

/* Dialogs */
dialog { border: 0; padding: 0; color: var(--charcoal); background: var(--ivory); }
dialog::backdrop { background: rgba(38, 40, 43, .52); }
.finder { width: min(620px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 40px); border-radius: 24px; overflow: auto; }
.finder-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 0 22px; min-height: 56px; }
.finder-step { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.dots { display: flex; gap: 5px; }
.dots i { width: 20px; height: 5px; border-radius: 3px; background: var(--line); }
.dots i.on { background: var(--tangerine); }
.back-btn { background: none; border: 0; padding: 8px 4px; font-weight: 600; font-size: 15px; }
.back-btn[disabled] { visibility: hidden; }
.finder-body { padding: 8px 22px 26px; }
.finder h2 { font-size: clamp(27px, 6vw, 35px); margin-top: 8px; }
.finder .sub { color: var(--muted); margin-top: 8px; }
.choices { display: grid; gap: 10px; margin-top: 20px; }
.choice { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--gray); border: 2px solid transparent; border-radius: 16px; padding: 9px 14px 9px 9px; min-height: 70px; transition: border-color .12s ease, background .12s ease; }
.choice.no-media { grid-template-columns: 1fr auto; padding-left: 18px; min-height: 62px; }
.choice:hover, .choice:focus-visible { border-color: var(--tangerine); background: #fff; outline: none; }
.choice img, .choice .q { width: 52px; height: 52px; border-radius: 11px; object-fit: cover; }
.choice .q { display: grid; place-items: center; background: var(--apricot); font-weight: 700; font-size: 22px; }
.choice-t { display: block; font-weight: 700; font-size: 18px; line-height: 1.25; }
.choice-h { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.35; margin-top: 2px; }
.choice .arr { font-size: 20px; opacity: .45; }
.result-card { background: var(--gray); border-radius: 18px; padding: 14px; margin-top: 16px; display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; }
.result-card img { width: 92px; height: 92px; border-radius: 13px; object-fit: cover; }
.result-price { font-size: 22px; font-weight: 700; }
.result-what { font-size: 15.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.why { background: var(--apricot); border-radius: 14px; padding: 14px 16px; margin-top: 12px; font-size: 15.5px; line-height: 1.45; }
.why b { display: block; margin-bottom: 3px; }
.incl-title { font-weight: 700; margin-top: 16px; }
.incl { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 16px; }
.incl li { padding-left: 26px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2.5px solid var(--tangerine); border-bottom: 2.5px solid var(--tangerine); transform: rotate(-45deg); }
.result-actions { display: grid; gap: 12px; margin: 20px 0 14px; }
.finder-foot { display: flex; justify-content: center; margin-top: 14px; }
@media (max-width: 640px) {
  .finder { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; margin: 0; }
}

/* Cart drawer */
.cart { margin: 0 0 0 auto; width: min(420px, 100vw); max-width: none; height: 100dvh; max-height: none; }
.cart-inner { display: flex; flex-direction: column; height: 100%; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 10px 12px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 25px; }
.cart-items { flex: 1; overflow: auto; padding: 4px 20px; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cart-row b { display: block; line-height: 1.2; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; border-radius: 50%; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.cart-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 19px; }
.cart-empty { padding: 44px 0; text-align: center; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

/* Toast and concept notes */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--charcoal); color: var(--ivory); padding: 12px 18px; border-radius: 999px; font-size: 15px; opacity: 0; pointer-events: none; transition: .25s ease; z-index: 100; width: max-content; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--charcoal); color: var(--ivory); border: 0; border-radius: 999px; padding: 12px 18px; font-size: 14.5px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .24); }
.notes { position: fixed; right: 16px; bottom: 72px; z-index: 60; width: min(410px, calc(100% - 32px)); max-height: min(72vh, 600px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .26); padding: 20px 22px 22px; font-size: 15px; line-height: 1.5; }
.notes h2 { font-size: 22px; }
.notes h3 { font-family: var(--body); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin: 16px 0 6px; color: var(--muted); }
.notes ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

/* Kit page */
.pdp { padding: 20px 0 64px; }
.crumbs { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp-grid { display: grid; gap: 24px; }
.pdp-media .photo { aspect-ratio: 1 / 1; }
.pdp h1 { font-size: clamp(36px, 8vw, 54px); font-weight: 800; letter-spacing: -.035em; margin-top: 8px; }
.pdp-price { font-size: 27px; font-weight: 700; margin-top: 10px; }
.pdp-what { margin-top: 12px; color: var(--muted); font-size: 18px; max-width: 30em; }
.kit-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.kit-switch a { padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 600; }
.kit-switch a[aria-current] { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.buy { display: grid; gap: 14px; margin-top: 22px; }
.blocks { display: grid; gap: 14px; margin-top: 44px; }
.block { background: var(--gray); border-radius: var(--r); padding: 24px 22px; }
.block.apricot { background: var(--apricot); }
.block h2 { font-size: 27px; margin: 8px 0 12px; }
.block p + p { margin-top: 10px; }
.block .incl { font-size: 17px; gap: 9px; }
.block ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.refill { border: 1.5px dashed rgba(38, 40, 43, .3); border-radius: 16px; padding: 16px 18px; margin-top: 16px; background: var(--ivory); }
.refill b { font-size: 18px; }
.refill p { font-size: 15.5px; margin-top: 4px; }
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ivory); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; }
.sticky-atc div { line-height: 1.2; min-width: 0; }
.sticky-atc b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .btn { margin-left: auto; min-height: 50px; padding: 0 22px; flex: none; }
body[data-page="kit"] .fab { bottom: 84px; }
body[data-page="kit"] .notes { bottom: 138px; }
body[data-page="kit"] .site-footer { padding-bottom: 150px; }
@media (min-width: 860px) {
  .pdp { padding: 28px 0 88px; }
  .pdp-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .pdp-media { position: sticky; top: 92px; }
  .blocks { grid-template-columns: 1fr 1fr; margin-top: 64px; gap: 20px; }
  .block { padding: 30px; }
  .block.wide { grid-column: 1 / -1; }
  .sticky-atc { display: none; }
  body[data-page="kit"] .fab { bottom: 16px; }
  body[data-page="kit"] .notes { bottom: 72px; }
  body[data-page="kit"] .site-footer { padding-bottom: 110px; }
}

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