/* =========================================================
   nexora — Ultrasonic Dog Trainer
   Brand: black / white / neutral gray (#B3B3B3)
   Headlines: Couture (fallback: Lexend), uppercase — Body: Barlow
   ========================================================= */

/* Official headline font: if you have the Couture font file, put it in public/fonts/
   and add after the local(...) entries:  , url("../fonts/couture-bld.woff2") format("woff2") */
@font-face {
  font-family: "Couture";
  src: local("Couture"), local("Couture Bold"), local("Couture-Bold");
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --gray: #b3b3b3;          /* brand neutral */
  --gray-50: #f7f7f7;
  --gray-100: #f2f2f2;
  --gray-150: #ebebeb;
  --gray-200: #e1e1e1;
  --gray-300: #cccccc;
  --gray-600: #696969;
  --gray-700: #4a4a4a;
  --gray-800: #1c1c1c;
  --gray-900: #111;
  --photo: #f5f6f6;         /* matches the product photo backdrop */
  --danger: #c0362c;
  --ok: #1f7a4d;

  --font-head: "Couture", "Lexend", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px rgba(0, 0, 0, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; margin: 0; letter-spacing: -.005em; }
h1, h2 { text-transform: uppercase; line-height: 1.06; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--white); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 120px); }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.bg-photo { background: var(--photo); }
.bg-gray { background: var(--gray-100); }
.bg-black { background: var(--black); color: var(--white); }
.pattern-dark { color: var(--white); background: var(--black) url("../assets/pattern-dark.svg") repeat; background-size: 118px auto; }
.pattern-light { background: var(--photo) url("../assets/pattern-light.svg") repeat; background-size: 118px auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  direction: ltr; unicode-bidi: isolate;
  color: var(--gray-600);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bg-black .eyebrow, .pattern-dark .eyebrow { color: var(--gray); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--gray-600); }
.bg-black .section-head p, .pattern-dark .section-head p { color: var(--gray); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1;
  text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--gray-800); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn--outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--gray-150); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 62px; padding: 0 34px; font-size: 17px; }
.btn--block { width: 100%; }
.btn .price-tag { opacity: .7; font-weight: 600; }
.btn .sep { width: 1px; height: 18px; background: currentColor; opacity: .3; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--black); color: var(--white); font-size: 14px; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 40px; text-align: center; }
.announce span { display: inline-flex; align-items: center; gap: 8px; }
.announce svg { width: 16px; height: 16px; opacity: .8; }
.announce .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gray); }
@media (max-width: 640px) { .announce .hide-sm, .announce .dot { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--gray-200); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 30px; width: auto; }
.on-dark .logo img, .logo--white img { filter: invert(1); }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 16px; }
.nav a { position: relative; padding-block: 6px; color: var(--gray-700); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--black); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--black); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .2s; }
.icon-btn:hover { background: var(--gray-100); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; inset-inline-end: 2px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--black); color: var(--white);
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
  font-family: var(--font-head);
  transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--white);
    border-bottom: 1px solid var(--gray-200); box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--gray-150); }
  .nav a[aria-current="page"]::after { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
/* Slightly darker than the photo backdrop + mix-blend darken = the photo blends in with no visible edges */
.hero { position: relative; overflow: hidden; background: #ececec; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: min(760px, calc(100svh - var(--header-h) - 40px)); padding-block: 56px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 74px); line-height: 1.02; margin-top: 18px; }
.hero h1 .muted { color: var(--gray-600); }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--gray-700); max-width: 540px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--gray-200); max-width: 560px; }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts strong { font-family: var(--font-head); font-size: 24px; line-height: 1.2; direction: ltr; unicode-bidi: isolate; text-align: start; }
.hero-facts span { font-size: 14px; color: var(--gray-600); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-visual .device {
  position: relative; z-index: 2;
  width: min(100%, 360px);
  mix-blend-mode: darken;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
}
.waves { position: absolute; z-index: 1; top: 18%; left: 50%; width: 0; height: 0; }
.waves span {
  position: absolute; left: 50%; top: 50%;
  width: 260px; height: 260px; margin: -130px 0 0 -130px;
  border: 1.5px solid rgba(0,0,0,.22); border-radius: 50%;
  animation: wave 3.6s var(--ease) infinite;
  opacity: 0;
}
.waves span:nth-child(2) { animation-delay: .9s; }
.waves span:nth-child(3) { animation-delay: 1.8s; }
.waves span:nth-child(4) { animation-delay: 2.7s; }
@keyframes wave { 0% { transform: scale(.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }

.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.float-chip i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--white); }
.float-chip i svg { width: 16px; height: 16px; }
.float-chip--a { top: 22%; inset-inline-start: -2%; animation: float 6s ease-in-out infinite; }
.float-chip--b { bottom: 18%; inset-inline-end: -2%; animation: float 6s ease-in-out 1.5s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; padding-block: 36px 8px; gap: 8px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-facts { justify-content: center; margin-inline: auto; }
  .hero-visual { min-height: 0; order: -1; padding-top: 8px; }
  .hero-visual .device { width: auto; max-width: 64%; max-height: 330px; }
  .waves span { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
  .float-chip { font-size: 12.5px; padding: 7px 12px 7px 10px; gap: 8px; }
  .float-chip i { width: 24px; height: 24px; }
  .float-chip--a { top: 16%; inset-inline-start: 0; }
  .float-chip--b { bottom: 14%; inset-inline-end: 0; }
  .hero h1 { margin-top: 14px; font-size: clamp(32px, 9.4vw, 48px); }
  .hero-facts { margin-top: 32px; gap: 14px 26px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--black); color: var(--white); overflow: hidden; border-block: 1px solid var(--gray-800); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-group { display: flex; align-items: center; justify-content: space-around; gap: 36px; padding-inline-end: 36px; height: 64px; min-width: 100vw; flex: none; }
.marquee-group span { font-family: var(--font-head); font-size: 20px; font-weight: 700; white-space: nowrap; }
.marquee-group svg { width: 34px; height: auto; color: var(--gray); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 28px 30px; border-radius: var(--radius-l); background: var(--gray-100); overflow: hidden; }
.step-num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--gray-600); direction: ltr; unicode-bidi: isolate; }
.step-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 34px 0 26px; border-radius: 20px; background: var(--black); color: var(--white); }
.step-icon svg { width: 30px; height: 30px; }
.step h3 { font-size: 22px; }
.step p { margin-top: 10px; color: var(--gray-600); }
.step::after { content: ""; position: absolute; top: 26px; inset-inline-end: 24px; width: 70px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 129 73'%3E%3Cpath fill='%23e1e1e1' d='M77.79 14.05L87.67 7.22C76.71 0 57.14 3.37 46.48 11.85L48.39 5.66C48.34 3.21 41.32 6.93 34.35 11.32C28.04 15.28 21.76 19.78 20.71 20.7C17.82 23.23 12.21 29.65 7.73 34.21C4.94 37.07 2.59 39.21 1.64 39.22L0 41.06L12.09 64.08L13.2 62.84C19.35 55.98 39.35 43.11 70.7 43.11C92.93 43.11 111.94 54.25 123.2 65.75C125.13 67.72 126.89 69.87 128.47 72.17C124.6 48.37 105.07 14.75 77.79 14.05Z'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Frequency diagram ---------- */
.science { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.science .section-head { margin-bottom: 0; }
.freq { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-l); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(2px); }
.freq-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 26px; font-size: 14px; color: var(--gray); }
.freq-title strong { color: var(--white); font-size: 16px; }
.freq-plot { direction: ltr; position: relative; }
.freq-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 14px; margin-bottom: 18px; }
.freq-row > span { font-size: 15px; font-weight: 600; text-align: start; }
.freq-lane { position: relative; height: 34px; border-radius: 10px; background: rgba(255,255,255,.06); direction: ltr; }
.freq-bar { position: absolute; top: 0; bottom: 0; border-radius: 10px; display: flex; align-items: center; padding-inline: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.is-visible .freq-bar { transform: scaleX(1); }
.freq-bar--human { left: 0; width: 40%; background: var(--gray-700); color: var(--white); }
.freq-bar--dog { left: .2%; width: 89.8%; background: var(--white); color: var(--black); transition-delay: .25s; }
.freq-band { position: absolute; top: -10px; bottom: 38px; left: 44%; width: 12%; border-radius: 12px; border: 1.5px dashed var(--white); background: repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 6px, transparent 6px 12px); opacity: 0; transition: opacity .6s .9s; pointer-events: none; }
.is-visible .freq-band { opacity: 1; }
.freq-band b { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--white); color: var(--black); font-family: var(--font-head); font-size: 13px; white-space: nowrap; }
.freq-axis { display: grid; grid-template-columns: 84px 1fr; gap: 14px; margin-top: 6px; }
.freq-ticks { direction: ltr; position: relative; height: 22px; border-top: 1px solid rgba(255,255,255,.25); font-size: 12px; color: var(--gray); }
.freq-ticks span { position: absolute; top: 4px; transform: translateX(-50%); }
.freq-ticks span:first-child { transform: none; }
.freq-ticks span:last-child { transform: translateX(-100%); }
.freq-note { margin-top: 18px; font-size: 13px; color: var(--gray); }
@media (max-width: 900px) { .science { grid-template-columns: 1fr; } .freq-row, .freq-axis { grid-template-columns: 64px 1fr; } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.features-media { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--photo); aspect-ratio: 1; }
.features-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.feature { display: grid; gap: 8px; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--black); margin-bottom: 6px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; }
.feature p { font-size: 15.5px; color: var(--gray-600); line-height: 1.7; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use { padding: 28px 24px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--gray-200); transition: transform .25s var(--ease), box-shadow .25s; }
.use:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.use svg { width: 40px; height: 40px; margin-bottom: 40px; }
.use h3 { font-size: 19px; }
.use p { margin-top: 8px; font-size: 15.5px; color: var(--gray-600); line-height: 1.7; }
@media (max-width: 980px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .uses { grid-template-columns: 1fr; } .use svg { margin-bottom: 22px; } }

/* ---------- In the box ---------- */
.inbox { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.inbox-media { border-radius: var(--radius-l); overflow: hidden; background: #f5f5f5; }
.inbox-media img { width: 100%; mix-blend-mode: multiply; }
.inbox-list { display: grid; gap: 2px; margin-top: 8px; }
.inbox-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); font-size: 18px; font-weight: 500; }
.inbox-list li b { font-family: var(--font-head); font-size: 14px; color: var(--gray-600); min-width: 28px; direction: ltr; }
@media (max-width: 900px) { .inbox { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; overflow: hidden; }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 64px); }
.cta-band p { margin: 18px auto 0; max-width: 560px; font-size: 18px; color: var(--gray); }
.cta-price { display: inline-flex; align-items: baseline; gap: 14px; margin-top: 30px; font-family: var(--font-head); }
.cta-price .now { font-size: 44px; }
.cta-price .was { font-size: 20px; color: var(--gray); text-decoration: line-through; }
.cta-band .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 36px; font-size: 15px; }
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust svg { width: 22px; height: 22px; flex: none; }
.bg-black .trust, .pattern-dark .trust { color: var(--gray); }

/* ---------- FAQ / Accordion ---------- */
.faq { max-width: 840px; margin-inline: auto; }
.acc { border-bottom: 1px solid var(--gray-200); }
.acc:first-child { border-top: 1px solid var(--gray-200); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: 18px; font-weight: 600;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gray-300); transition: background-color .2s, border-color .2s, transform .3s var(--ease); }
.acc summary .plus::before, .acc summary .plus::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.acc[open] summary .plus { background: var(--black); border-color: var(--black); color: var(--white); }
.acc[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-body { padding: 0 0 26px; color: var(--gray-700); max-width: 720px; }
.acc-body p + p { margin-top: 10px; }
.acc-body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding-top: clamp(56px, 8vw, 90px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 18px; color: var(--gray); max-width: 320px; font-size: 15.5px; }
.footer-brand .logo img { height: 34px; }
.site-footer h4 { font-size: 15px; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; font-size: 15.5px; color: var(--gray); }
.footer-links a:hover { color: var(--white); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-chips span { padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); font-size: 12.5px; font-weight: 600; color: var(--gray); font-family: var(--font-head); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--gray-800); font-size: 14px; color: var(--gray); }
.footer-mark { overflow: hidden; padding-top: 10px; }
.footer-mark img { width: 100%; filter: invert(1); opacity: .08; transform: translateY(18%); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 100; bottom: 24px; left: 50%;
  display: flex; align-items: center; gap: 16px;
  width: max-content; max-width: calc(100vw - 32px);
  padding: 12px 12px 12px 20px; padding-inline: 20px 12px;
  border-radius: 999px; background: var(--black); color: var(--white);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  font-weight: 500; font-size: 15px;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s;
}
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 20px; height: 20px; flex: none; }
.toast .btn { --h: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Product page
   ========================================================= */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 22px; font-size: 14px; color: var(--gray-600); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb svg { width: 14px; height: 14px; }

.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius-l); overflow: hidden; background: var(--photo); }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.gallery-main img.is-fading { opacity: 0; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); transition: transform .2s; }
.gallery-nav:hover { transform: translateY(-50%) scale(1.06); }
.gallery-nav svg { width: 20px; height: 20px; }
.gallery-nav--prev { inset-inline-start: 14px; }
.gallery-nav--next { inset-inline-end: 14px; }
.gallery-badge { position: absolute; top: 16px; inset-inline-start: 16px; padding: 6px 14px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 13px; font-weight: 600; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--photo); border: 1.5px solid transparent; transition: border-color .2s, opacity .2s; opacity: .7; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--black); opacity: 1; }

.buybox h1 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.buybox .sub { margin-top: 12px; color: var(--gray-600); font-size: 17px; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-200); }
.price-now { font-family: var(--font-head); font-size: 36px; font-weight: 700; line-height: 1; }
.price-was { font-size: 19px; color: var(--gray-600); text-decoration: line-through; }
.save-chip { padding: 5px 12px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 13px; font-weight: 600; }

.field-label { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 12px; font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.field-label small { font-family: var(--font-body); font-weight: 500; color: var(--gray-600); font-size: 14px; }

.bundles { display: grid; gap: 10px; }
.bundle { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1.5px solid var(--gray-200); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.bundle:hover { border-color: var(--gray-300); }
.bundle input { position: absolute; opacity: 0; pointer-events: none; }
.bundle .radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gray-300); display: grid; place-items: center; transition: border-color .2s; }
.bundle .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--black); transform: scale(0); transition: transform .2s var(--ease); }
.bundle:has(input:checked) { border-color: var(--black); background: var(--gray-50); box-shadow: 0 0 0 1px var(--black) inset; }
.bundle:has(input:checked) .radio { border-color: var(--black); }
.bundle:has(input:checked) .radio::after { transform: scale(1); }
.bundle:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 3px; }
.bundle-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.4; }
.bundle-sub { font-size: 14px; color: var(--gray-600); line-height: 1.5; }
.bundle-price { text-align: end; line-height: 1.3; }
.bundle-price b { display: block; font-family: var(--font-head); font-size: 19px; }
.bundle-price s { font-size: 13.5px; color: var(--gray-600); }
.bundle-tag { position: absolute; top: -11px; inset-inline-end: 18px; padding: 2px 12px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 600; line-height: 20px; }
.bundle-tag--light { background: var(--white); color: var(--black); border: 1.5px solid var(--black); line-height: 17px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--gray-200); border-radius: 999px; height: 54px; }
.qty button { display: grid; place-items: center; width: 50px; height: 100%; border-radius: 999px; transition: background-color .2s; }
.qty button:hover { background: var(--gray-100); }
.qty button:disabled { opacity: .3; cursor: not-allowed; background: none; }
.qty button svg { width: 18px; height: 18px; }
.qty output { min-width: 36px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.qty--sm { height: 38px; }
.qty--sm button { width: 36px; }
.qty--sm button svg { width: 14px; height: 14px; }
.qty--sm output { min-width: 24px; font-size: 15px; }

.buy-actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 28px; }
.buy-actions .btn--primary { grid-column: 1 / -1; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-size: 15px; color: var(--gray-600); }
.buy-total b { color: var(--black); font-family: var(--font-head); font-size: 18px; }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.trust-row div { display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--radius); background: var(--gray-100); text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.trust-row svg { width: 24px; height: 24px; }

.highlights { display: grid; gap: 10px; margin-top: 26px; }
.highlights li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.highlights svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }

.pdp-acc { margin-top: 30px; }
.pdp-acc .acc summary { font-size: 17px; padding: 20px 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px solid var(--gray-150); text-align: start; vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--gray-600); }
.spec-table td { font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* Controls explainer */
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.controls-media { border-radius: var(--radius-l); overflow: hidden; background: var(--photo); }
.control-list { display: grid; gap: 14px; counter-reset: c; }
.control-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-200); }
.control-list li::before { counter-increment: c; content: counter(c, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: var(--white); }
.control-list h3 { font-size: 18px; }
.control-list p { margin-top: 4px; font-size: 15.5px; color: var(--gray-600); line-height: 1.7; }
@media (max-width: 900px) { .controls { grid-template-columns: 1fr; } }

/* Comparison */
.compare { max-width: 860px; margin-inline: auto; border-radius: var(--radius-l); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.compare th:first-child, .compare td:first-child { text-align: start; color: var(--gray); font-weight: 500; }
.compare thead th { font-family: var(--font-head); font-size: 16px; color: var(--white); background: rgba(255,255,255,.04); }
.compare thead th.is-us { background: var(--white); color: var(--black); }
.compare td.is-us { background: rgba(255,255,255,.07); }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.compare .yes { background: var(--white); color: var(--black); }
.compare .no { border: 1.5px solid rgba(255,255,255,.3); color: var(--gray); }
.compare svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .compare th, .compare td { padding: 14px 10px; font-size: 14px; } }

/* Sticky buy bar (mobile) */
.sticky-buy {
  position: fixed; z-index: 60; inset-inline: 0; bottom: 0;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-buy.is-shown { transform: none; }
.sticky-buy .meta { display: grid; line-height: 1.3; }
.sticky-buy .meta small { color: var(--gray-600); font-size: 13px; }
.sticky-buy .meta b { font-family: var(--font-head); font-size: 19px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .sticky-buy { display: flex; }
  body:has(.sticky-buy) .site-footer { padding-bottom: 76px; }
}
@media (max-width: 420px) { .gallery-thumbs { gap: 6px; } .thumb { border-radius: 10px; } .trust-row div { font-size: 12.5px; padding: 14px 6px; } }

/* =========================================================
   Checkout (cart review → Stripe), thank-you page, policies
   ========================================================= */
.co-header { border-bottom: 1px solid var(--gray-200); background: var(--white); }
.co-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.co-secure { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray-700); }
.co-secure svg { width: 18px; height: 18px; }

.co-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 26px 4px; font-size: 14px; color: var(--gray-600); }
.co-steps a:hover { color: var(--black); }
.co-steps .is-current { color: var(--black); font-weight: 700; }
.co-steps svg { width: 14px; height: 14px; }

.co { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: 22px clamp(56px, 8vw, 96px); }
.co h1 { font-size: clamp(28px, 3.4vw, 40px); }
.co-note { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--gray-100); border: 1px solid var(--gray-200); font-size: 15px; }
.co-note svg { width: 20px; height: 20px; flex: none; }

.cart-lines { margin-top: 22px; border-top: 1px solid var(--gray-200); }
.cart-line { display: grid; grid-template-columns: 112px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
.cart-thumb { position: relative; width: 112px; height: 112px; border-radius: 18px; background: #ececec; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: darken; }
.cart-thumb .badge { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 700; line-height: 24px; text-align: center; }
.cart-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.35; }
.cart-meta { margin-top: 2px; font-size: 14.5px; color: var(--gray-600); }
.cart-tools { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.cart-remove { font-size: 14px; color: var(--gray-600); text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: var(--danger); }
.cart-price { font-family: var(--font-head); font-weight: 700; font-size: 18px; text-align: end; line-height: 1.35; }
.cart-price s { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--gray-600); }

.upsell { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); border: 1.5px dashed var(--gray-300); }
.upsell .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); }
.upsell .ico svg { width: 20px; height: 20px; }
.upsell b { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.35; }
.upsell p { font-size: 14.5px; color: var(--gray-600); line-height: 1.5; }

.summary { position: sticky; top: 24px; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--radius-l); background: var(--gray-100); }
.summary h2 { font-size: 20px; margin-bottom: 4px; }
.sum-rows { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-200); font-size: 15.5px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows dt { color: var(--gray-700); }
.sum-rows dd { margin: 0; font-weight: 600; text-align: end; }
.sum-rows .muted dd { font-weight: 500; color: var(--gray-600); }
.sum-rows .saved dd { color: var(--ok); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.sum-total span { font-weight: 600; }
.sum-total b { font-family: var(--font-head); font-size: 28px; }
.co-pay { margin-top: 22px; }
.co-pay .btn { width: 100%; --h: 62px; font-size: 16px; }
.co-pay .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.co-error { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fbeceb; color: var(--danger); font-size: 14.5px; line-height: 1.5; }
.pay-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.pay-icons span { padding: 4px 10px; border-radius: 7px; border: 1px solid var(--gray-300); background: var(--white); font-family: var(--font-head); font-size: 11.5px; font-weight: 600; color: var(--gray-700); }
.co-fineprint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--gray-600); text-align: center; }
.co-fineprint svg { width: 16px; height: 16px; flex: none; }
.sum-trust { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--gray-200); font-size: 14px; color: var(--gray-700); }
.sum-trust li { display: flex; align-items: center; gap: 10px; }
.sum-trust svg { width: 18px; height: 18px; flex: none; }
.co .trust-row { margin-top: 28px; }

@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 520px) {
  .cart-line { grid-template-columns: 84px 1fr; gap: 14px; }
  .cart-thumb { width: 84px; height: 84px; border-radius: 14px; }
  .cart-price { grid-column: 2; text-align: start; font-size: 16px; }
  .cart-price s { display: inline; margin-left: 6px; }
  .upsell { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

.empty-state, .success { max-width: 620px; margin: clamp(40px, 8vw, 90px) auto; text-align: center; }
.empty-state .ico, .success .ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; background: var(--gray-100); }
.success .ico { background: var(--black); color: var(--white); animation: pop .6s var(--ease); }
.success .ico.is-warn { background: var(--gray-100); color: var(--black); }
.empty-state .ico svg, .success .ico svg { width: 38px; height: 38px; }
.empty-state h1, .success h1 { font-size: clamp(28px, 4vw, 42px); }
.empty-state p, .success p { margin-top: 12px; color: var(--gray-600); font-size: 17px; }
.empty-state .btn, .success .btn { margin-top: 28px; }
.order-card { margin-top: 30px; padding: 24px; border-radius: var(--radius-l); background: var(--gray-100); text-align: start; }
.order-card .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15.5px; }
.order-card .row + .row { border-top: 1px solid var(--gray-200); }
.order-card .row span { color: var(--gray-600); }
.order-card .row b { font-weight: 600; text-align: end; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

.co-footer { padding-block: 24px; border-top: 1px solid var(--gray-200); font-size: 13.5px; color: var(--gray-600); }
.co-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.co-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.co-footer a:hover { color: var(--black); }

/* Policies */
.legal { max-width: 780px; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); }
.legal .updated { margin-top: 10px; color: var(--gray-600); font-size: 15px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal-nav a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gray-200); font-size: 14px; font-weight: 500; transition: border-color .2s; }
.legal-nav a:hover { border-color: var(--black); }
.legal section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--gray-200); }
.legal h2 { font-size: 22px; margin-bottom: 14px; }
.legal p, .legal li { color: var(--gray-700); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-inline-start: 22px; display: grid; gap: 6px; }
.legal a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .waves { display: none; }
  .marquee-track { animation: none; }
  .freq-bar { transform: scaleX(1); }
  .freq-band { opacity: 1; }
}

/* =========================================================
   Order tracking page
   ========================================================= */
.tracking { max-width: 760px; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); display: grid; gap: 22px; }
.track-head h1 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 12px; }
.track-head p { margin-top: 12px; color: var(--gray-600); font-size: 17px; max-width: 560px; }
.track-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 12px; align-items: end; padding: 22px; border-radius: var(--radius-l); background: var(--gray-100); }
.track-field { display: grid; gap: 6px; }
.track-field label { font-size: 14px; font-weight: 600; }
.track-field input { height: 54px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--gray-200); background: var(--white); font-size: 16px; }
.track-field input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.track-form .btn { --h: 54px; }
.track-error { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fbeceb; color: var(--danger); font-size: 14.5px; }
.track-result { display: grid; gap: 16px; }
.track-result > .btn { justify-self: start; }
.track-card { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--gray-200); }
.track-card h3 { font-size: 17px; margin-bottom: 14px; }
.track-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.track-order { display: block; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.track-meta { display: block; margin-top: 2px; color: var(--gray-600); font-size: 14.5px; }
.track-eta { padding: 8px 14px; border-radius: 999px; background: var(--gray-100); font-size: 14px; }
.track-status { margin-top: 22px; padding: 20px; border-radius: var(--radius); background: var(--gray-100); }
.track-status h2 { font-size: clamp(24px, 3.4vw, 32px); }
.track-status p { margin-top: 6px; color: var(--gray-700); }
.track-status.is-good { background: #e6f4ec; }
.track-status.is-good h2 { color: var(--ok); }
.track-status.is-bad { background: #fbeceb; }
.track-status.is-bad h2 { color: var(--danger); }
.track-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 26px 0 4px; padding: 0; list-style: none; }
.track-steps li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.track-steps li::before { content: ""; position: absolute; top: 8px; right: 50%; width: 100%; height: 3px; background: var(--gray-200); z-index: 0; }
.track-steps li:first-child::before { display: none; }
.track-steps li.done::before, .track-steps li.current::before { background: var(--black); }
.track-steps .dot { position: relative; z-index: 1; width: 19px; height: 19px; border-radius: 50%; background: var(--white); border: 3px solid var(--gray-200); }
.track-steps li.done .dot { background: var(--black); border-color: var(--black); }
.track-steps li.current .dot { border-color: var(--black); box-shadow: 0 0 0 5px rgba(0,0,0,.08); }
.track-steps.is-bad li.current .dot { border-color: var(--danger); box-shadow: 0 0 0 5px rgba(192,54,44,.12); }
.track-steps .lbl { font-size: 13px; color: var(--gray-600); line-height: 1.3; }
.track-steps li.done .lbl, .track-steps li.current .lbl { color: var(--black); font-weight: 600; }
.track-carrier { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.track-carrier span { display: block; font-size: 13px; color: var(--gray-600); }
.track-carrier b { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.track-carrier small { display: block; color: var(--gray-600); font-size: 13.5px; }
.track-carrier .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; }
.track-copy { margin-left: 8px; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--gray-300); font-size: 12.5px; font-weight: 600; }
.track-copy:hover { border-color: var(--black); }
.track-timeline { margin: 0; padding: 0; list-style: none; display: grid; }
.track-timeline li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 0 0 18px 22px; }
.track-timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); }
.track-timeline li::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1.5px; background: var(--gray-200); }
.track-timeline li:last-child::after { display: none; }
.track-timeline li.latest::before { background: var(--black); box-shadow: 0 0 0 4px rgba(0,0,0,.1); }
.track-timeline .when { font-size: 13.5px; color: var(--gray-600); font-variant-numeric: tabular-nums; }
.track-timeline b { font-weight: 600; }
.track-timeline p { margin-top: 2px; color: var(--gray-700); font-size: 15px; }
.track-timeline small { color: var(--gray-600); font-size: 13.5px; }
.track-items { display: grid; gap: 8px; }
.track-items li { display: flex; gap: 8px; font-size: 15.5px; }
.track-items li span { color: var(--gray-600); }
.track-help { color: var(--gray-600); font-size: 15px; }
.track-help a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .track-form { grid-template-columns: 1fr; }
  .track-carrier { grid-template-columns: 1fr; }
  .track-timeline li { grid-template-columns: 1fr; gap: 2px; }
  .track-steps .lbl { font-size: 11.5px; }
}
