/* ===========================================================================
   Cruza Pass — stylesheet
   Palette: warm off-white ground, deep teal action, ink navy type, amber stars
   =========================================================================== */

:root {
  /* ink */
  --ink:        #0C1B26;
  --ink-2:      #2B4051;
  --ink-3:      #5A7186;
  --ink-4:      #8A9CAC;

  /* ground */
  --bg:         #FAF9F6;
  --bg-2:       #F2F0EA;
  --surface:    #FFFFFF;
  --line:       #E4E1D8;
  --line-soft:  #EEEBE3;

  /* brand */
  --teal:       #0E7C66;
  --teal-600:   #0B6552;
  --teal-700:   #084E3F;
  --teal-100:   #DFF1EC;
  --teal-50:    #F0F8F6;

  --amber:      #E8A317;
  --amber-100:  #FDF2DA;

  --rose:       #B0413E;
  --rose-100:   #FBEAE9;

  --wa:         #25D366;
  --wa-dark:    #1DA851;

  --radius:     16px;
  --radius-lg:  24px;
  --radius-sm:  10px;

  --shadow-sm:  0 1px 2px rgba(12,27,38,.05), 0 1px 3px rgba(12,27,38,.04);
  --shadow:     0 2px 4px rgba(12,27,38,.04), 0 8px 24px rgba(12,27,38,.07);
  --shadow-lg:  0 4px 8px rgba(12,27,38,.04), 0 20px 48px rgba(12,27,38,.11);
  --shadow-xl:  0 6px 12px rgba(12,27,38,.05), 0 28px 64px rgba(12,27,38,.15);

  --maxw:       1180px;
  --nav-h:      68px;

  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); letter-spacing: -0.02em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(58px, 8vw, 104px) 0; }
.section--tight { padding: clamp(44px, 5.5vw, 68px) 0; }
.section--alt { background: var(--bg-2); }
.section--ink { background: var(--ink); color: #C6D3DD; }
.section--ink h2, .section--ink h3 { color: #fff; }

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.section--ink .eyebrow { color: #6FD6BC; background: rgba(111,214,188,.1); border-color: rgba(111,214,188,.22); }

.lede { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--ink-3); max-width: 62ch; }
.section--ink .lede { color: #9FB3C1; }

.head { max-width: 730px; margin-bottom: clamp(34px, 4.5vw, 52px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lede { margin-inline: auto; }

.prose { color: var(--ink-2); font-size: 1rem; line-height: 1.72; }
.minihead { font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  padding: 15px 26px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .16s cubic-bezier(.2,.7,.4,1), box-shadow .16s, background .16s, border-color .16s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 1px 2px rgba(8,78,63,.3), 0 8px 20px rgba(14,124,102,.24); }
.btn--primary:hover { background: var(--teal-600); box-shadow: 0 2px 4px rgba(8,78,63,.3), 0 12px 28px rgba(14,124,102,.32); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--ink-4); }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===========================================================================
   Urgency ticker
   =========================================================================== */
.ticker {
  background: var(--ink); color: #B9C8D3; font-size: .84rem;
  padding: 9px 0; position: relative; z-index: 60;
}
.ticker .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.ticker b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* ===========================================================================
   Nav
   =========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(250,249,246,.84);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.stuck { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(12,27,38,.05); }
.nav .wrap { display: flex; align-items: center; gap: 12px; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 1.2rem; color: var(--ink); flex: none; }
.logo__mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(145deg, var(--teal) 0%, #12A184 100%); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(14,124,102,.35); flex: none; }
.logo__mark svg { width: 18px; height: 18px; }

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a {
  text-decoration: none; color: var(--ink-2); font-size: .91rem; font-weight: 600;
  padding: 8px 11px; border-radius: 9px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: rgba(12,27,38,.05); color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; }

.nav__tel {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  font-size: .89rem; font-weight: 700; color: var(--ink); white-space: nowrap;
  padding: 8px 12px; border-radius: 9px; transition: background .15s;
}
.nav__tel:hover { background: rgba(12,27,38,.05); }
.nav__tel svg { stroke: var(--teal); flex: none; }
@media (max-width: 1300px) { .nav__tel span { display: none; } }

.lang { display: flex; background: rgba(12,27,38,.06); border-radius: 9px; padding: 3px; gap: 2px; }
.lang button {
  font-family: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
  padding: 5px 10px; border-radius: 7px; transition: all .15s;
}
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.nav__toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ''; position: absolute; left: 0; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }

@media (max-width: 1080px) {
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__links {
    position: fixed; inset: calc(var(--nav-h) + 36px) 12px auto 12px;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; box-shadow: var(--shadow-lg); display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 14px; font-size: 1rem; }
  .nav__actions { margin-left: 10px; }
  .nav__actions > .btn { display: none; }
}
@media (max-width: 560px) { .nav__tel { padding: 8px; } }
/* "Tijuana FastLane" is a wider wordmark than the nav was built for — shrink it
   on narrow screens so the logo, menu, phone and language toggle all fit. */
@media (max-width: 520px) {
  .logo { font-size: 1.02rem; gap: 8px; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__mark svg { width: 16px; height: 16px; }
  .nav__actions { gap: 6px; margin-left: 8px; }
  .lang button { padding: 5px 8px; }
}

/* ===========================================================================
   Hero
   =========================================================================== */
.hero { position: relative; padding: clamp(28px, 3vw, 44px) 0 clamp(48px, 6vw, 76px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -20% auto -20%; height: 760px; z-index: 0;
  background:
    radial-gradient(46% 42% at 20% 26%, rgba(14,124,102,.13), transparent 70%),
    radial-gradient(44% 40% at 84% 14%, rgba(232,163,23,.12), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1fr 448px; gap: clamp(30px, 4vw, 56px); align-items: start; }

/* Below the two-column breakpoint the buy box moves directly under the
   headline, so price + form are reachable in one short scroll on a phone.
   The supporting bullets and social proof follow it. */
@media (max-width: 1040px) {
  .hero__grid { display: flex; flex-direction: column; gap: 30px; max-width: 600px; margin-inline: auto; }
  .hero__copy { display: contents; }
  .hero__head    { order: 1; }
  .buybox        { order: 2; }
  .hero__support { order: 3; }
  .hero__sub { margin-bottom: 0; }
  .hero__ask { margin-top: 4px; }
}

.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-3); max-width: 46ch; margin-bottom: 24px; }

.hero__bullets { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.hero__bullets li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: .98rem; color: var(--ink-2); }
.hero__bullets svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 2.6; margin-top: 3px; }
.hero__bullets b { color: var(--ink); font-weight: 700; }

.hero__proof { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: var(--amber); }
.stars--lg svg { width: 20px; height: 20px; }
.hero__proof span { font-size: .92rem; color: var(--ink-3); }
.hero__proof b { color: var(--ink); font-weight: 700; }

.hero__ask {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-size: .93rem; font-weight: 600; color: var(--ink-2);
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: color .15s, border-color .15s;
}
.hero__ask:hover { color: var(--wa-dark); border-color: var(--wa); }
.hero__ask svg { width: 19px; height: 19px; color: var(--wa); flex: none; }

/* ===========================================================================
   Buy box  (the hero conversion unit)
   =========================================================================== */
.buybox {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  overflow: hidden; position: relative;
}
.buybox::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal), #17A98A); }

.buybox__head { padding: 22px 24px 17px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--teal-50), transparent); }
.buybox__eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.price { display: flex; align-items: baseline; gap: 5px; margin: 6px 0 5px; }
.price__cur { font-size: 1.4rem; font-weight: 700; color: var(--ink-3); }
.price__num { font-size: 3.15rem; font-weight: 800; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.price__per { font-size: .95rem; color: var(--ink-3); font-weight: 600; }
.buybox__covers { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-3); margin: 0; }
.buybox__covers svg { width: 17px; height: 17px; stroke: var(--teal); fill: none; stroke-width: 1.9; flex: none; }

.buybox .form { padding: 19px 24px 24px; gap: 13px; }

.buybox__risk {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: .81rem; font-weight: 600; color: var(--teal); margin: 12px 0 0;
  text-align: center; line-height: 1.4;
}
.buybox__risk svg { flex: none; }

/* checkout fields stay collapsed until the CTA is clicked — the hero sells the
   click, the form appears after it. Showing five inputs up front reads as work. */
.checkout { display: grid; gap: 13px; }
.checkout:not([hidden]) { animation: checkoutIn .34s cubic-bezier(.2,.7,.3,1); }
@keyframes checkoutIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .checkout:not([hidden]) { animation: none; } }

.trustrow {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.trustrow > span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.trustrow svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 2; flex: none; }

/* form */
.form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .83rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface); width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,102,.14);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .field--row { grid-template-columns: 1fr; } }

.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.qty button { width: 42px; height: 45px; border: 0; background: transparent; font-size: 1.25rem; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background .15s; flex: none; }
.qty button:hover { background: var(--bg-2); }
.qty input { flex: 1; min-width: 0; height: 45px; border: 0; border-inline: 1px solid var(--line); border-radius: 0; text-align: center; font-weight: 800; font-size: 1.04rem; font-variant-numeric: tabular-nums; }
.qty input:focus { box-shadow: none; }

.paypick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.paypick__opt { position: relative; }
.paypick input { position: absolute; opacity: 0; pointer-events: none; }
.paypick label {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px;
  cursor: pointer; background: var(--surface); display: block;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.paypick label:hover { border-color: var(--ink-4); }
.paypick input:checked + label { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 3px rgba(14,124,102,.12); }
.paypick .pp__t { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.paypick .pp__d { font-size: .74rem; color: var(--ink-3); margin-top: 2px; display: block; }

.whenpick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.whenpick__opt { position: relative; }
.whenpick input { position: absolute; opacity: 0; pointer-events: none; }
.whenpick label {
  display: block; cursor: pointer; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 8px; background: var(--surface);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.whenpick label:hover { border-color: var(--ink-4); }
.whenpick input:checked + label { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 3px rgba(14,124,102,.12); }
.whenpick b { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.whenpick span { display: block; font-size: .72rem; color: var(--ink-3); margin-top: 1px; }
.whenwarn { font-size: .78rem; color: var(--ink-3); line-height: 1.5; margin: 9px 0 0; }
.whenwarn b { color: var(--ink-2); font-weight: 700; }
.whenlater {
  font-size: .8rem; line-height: 1.5; margin: 10px 0 0; padding: 11px 13px;
  background: var(--amber-100); border: 1px solid #F0DCA8; border-radius: var(--radius-sm);
  color: #6B4E10;
}

.more { border-top: 1px solid var(--line-soft); padding-top: 14px; }
.more summary {
  list-style: none; cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 7px;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; font-weight: 800; font-size: 1rem; line-height: 1; }
.more[open] summary::before { content: '−'; }
.more__body { display: grid; gap: 13px; margin-top: 14px; }

.total { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; background: var(--bg-2); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.total span { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.total b { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }

.zellebox { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius-sm); padding: 15px; font-size: .87rem; }
.zellebox h4 { margin: 0 0 8px; font-size: .9rem; font-weight: 800; color: var(--teal-700); }
.zellebox ol { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 5px; }
.zellebox code { background: var(--surface); border: 1px solid var(--teal-100); border-radius: 6px; padding: 2px 6px; font-size: .89em; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.zellebox__note { margin-top: 11px; font-size: .8rem; color: var(--ink-3); border-top: 1px solid var(--teal-100); padding-top: 10px; }

.orderdone {
  text-align: center; padding: 22px 18px; border-radius: var(--radius-sm);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  animation: checkoutIn .34s cubic-bezier(.2,.7,.3,1);
}
.orderdone--err { background: var(--rose-100); border-color: #F0D3D1; }
.orderdone__icon {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--teal); color: #fff; display: grid; place-items: center;
}
.orderdone--err .orderdone__icon { background: var(--rose); }
.orderdone__icon svg { width: 22px; height: 22px; }
.orderdone h4 { margin: 0 0 10px; font-size: 1.06rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.orderdone p { font-size: .92rem; color: var(--ink-2); margin: 0 0 10px; line-height: 1.6; }
.orderdone code { background: var(--surface); border: 1px solid var(--teal-100); border-radius: 6px; padding: 2px 7px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.orderdone__sub { font-size: .82rem; color: var(--ink-3); margin-bottom: 16px !important; }
.orderdone .btn { margin-top: 4px; }

/* ---------- stat strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 24px 18px; text-align: center; border-left: 1px solid var(--line-soft); }
.strip__item:first-child { border-left: 0; }
.strip__item b { display: block; font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.15; }
.strip__item span { font-size: .82rem; color: var(--ink-3); font-weight: 500; }
@media (max-width: 720px) {
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ===========================================================================
   Live wait tracker — the pain, right before the price
   =========================================================================== */
.pulse--teal { background: var(--teal); box-shadow: 0 0 0 0 rgba(14,124,102,.5); }

.tracker {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(22px, 3.5vw, 34px); position: relative;
}
/* the stamp turns into a live badge when CBP data is flowing */
.tracker.is-live .tracker__stamp { color: var(--teal); }
.tracker.is-live .tracker__stamp .pulse { background: var(--teal); }
.tracker__stamp {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 22px;
}

.tracker__now { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 3vw, 28px); align-items: stretch; }
@media (max-width: 620px) { .tracker__now { grid-template-columns: 1fr; gap: 10px; } }

.tside {
  border-radius: var(--radius); padding: clamp(18px, 2.6vw, 26px); text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.tside--slow { background: var(--rose-100); border: 1px solid #F0D3D1; }
.tside--fast { background: var(--teal-50); border: 1px solid var(--teal-100); }
.tside__label { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tside--slow .tside__label { color: var(--rose); }
.tside--fast .tside__label { color: var(--teal); }
.tside__num {
  font-size: clamp(2.6rem, 7vw, 4.2rem); font-weight: 800; letter-spacing: -.05em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.tside--slow .tside__num { color: #8E2F2C; }
.tside--fast .tside__num { color: var(--teal-700); }
.tside__sub { font-size: .84rem; color: var(--ink-3); }
.tside__cbp { font-size: .74rem; color: var(--ink-4); margin-top: 4px; font-variant-numeric: tabular-nums; }

.tracker__vs {
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4);
}
@media (max-width: 620px) { .tracker__vs { padding: 2px 0; } }

.tracker__save {
  text-align: center; margin: 22px 0 0; font-size: clamp(1.02rem, 1.9vw, 1.22rem);
  color: var(--ink-2);
}
.tracker__save b { color: var(--ink); font-weight: 800; }
.tracker__quiet { text-align: center; margin: 10px 0 0; font-size: .88rem; color: var(--ink-3); }
.tracker__quiet b { color: var(--ink-2); font-weight: 700; }

/* hourly chart */
.tracker__chart { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.tracker__charttitle {
  display: block; font-size: .76rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 16px;
}
.chart { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 130px; }
.chart__bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.chart__fill {
  width: 100%; border-radius: 4px 4px 2px 2px; background: #E3DDD2;
  transition: height .8s cubic-bezier(.2,.7,.3,1);
}
.chart__bar[data-band="mid"]  .chart__fill { background: #EBC98A; }
.chart__bar[data-band="high"] .chart__fill { background: #D99B95; }
.chart__bar.is-now .chart__fill { background: var(--rose); box-shadow: 0 0 0 2px rgba(176,65,62,.2); }
.chart__hr {
  position: absolute; bottom: -19px; left: 50%; transform: translateX(-50%);
  font-size: .62rem; color: var(--ink-4); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.chart__bar.is-now .chart__hr { color: var(--rose); font-weight: 800; }
.tracker__chart { padding-bottom: 22px; }
@media (max-width: 620px) { .chart { height: 96px; gap: 2px; } .chart__fill { border-radius: 3px 3px 1px 1px; } }

.tracker__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  flex-wrap: wrap; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.tracker__note { font-size: .76rem; color: var(--ink-4); line-height: 1.5; margin: 0; max-width: 56ch; }

/* ===========================================================================
   Three options (price anchor)
   =========================================================================== */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .options { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.opt {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column;
}
.opt h3 { font-size: 1.12rem; margin-bottom: 12px; }
.opt__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.opt__price b { font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink-4); line-height: 1; }
.opt__price span { font-size: .87rem; font-weight: 600; color: var(--ink-4); }
.opt p { font-size: .93rem; color: var(--ink-3); margin: 0; }

.opt--win {
  border-color: var(--teal); border-width: 2px; box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--teal-50), var(--surface) 42%);
}
.opt--win .opt__price b { color: var(--ink); font-size: 2.5rem; }
.opt--win .opt__price span { color: var(--teal); }
.opt--win p { color: var(--ink-2); }
.opt--win .btn { margin-top: 20px; }
.opt__badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--teal); color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(14,124,102,.35);
}

/* ===========================================================================
   What you receive — makes the delivery concrete
   =========================================================================== */
.receive { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 980px) { .receive { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.chat { margin: 0; }
.chat__head {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 14px 18px;
}
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; background: linear-gradient(145deg, var(--teal), #12A184); display: grid; place-items: center; }
.chat__avatar svg { width: 19px; height: 19px; }
.chat__who b { display: block; font-size: .93rem; font-weight: 700; color: var(--ink); }
.chat__who > span { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--ink-3); }
.chat__dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; flex: none; }

.chat__body {
  background: #EDE7DE; border: 1px solid var(--line);
  padding: 18px; display: grid; gap: 10px;
  background-image: radial-gradient(rgba(12,27,38,.045) 1px, transparent 1px);
  background-size: 18px 18px;
}
.msg {
  max-width: 86%; padding: 10px 13px; border-radius: 14px; margin: 0;
  font-size: .87rem; line-height: 1.5; box-shadow: 0 1px 1px rgba(12,27,38,.07);
}
.msg--in  { background: var(--surface); color: var(--ink-2); border-bottom-left-radius: 4px; justify-self: start; }
.msg--out { background: #D6F3C9; color: #1F3A22; border-bottom-right-radius: 4px; justify-self: end; }
.msg--img { padding: 7px; width: 86%; }
.msg__ph {
  display: grid; place-items: center; align-content: center; gap: 8px;
  aspect-ratio: 16 / 10; max-height: 172px;
  border: 2px dashed var(--line); border-radius: 9px; background: var(--bg);
  color: var(--ink-4); font-size: .75rem; font-weight: 600; text-align: center; padding: 12px;
}
.msg__ph svg { width: 24px; height: 24px; }

.chat__note {
  background: var(--surface); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 13px 18px;
  font-size: .76rem; color: var(--ink-4); line-height: 1.5;
}

/* ===========================================================================
   Generic grids
   =========================================================================== */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.feat { padding: 28px; }
.feat__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50);
  border: 1px solid var(--teal-100); display: grid; place-items: center; margin-bottom: 18px;
}
.feat__icon svg { width: 21px; height: 21px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.feat h3 { margin-bottom: 9px; }
.feat p { font-size: .95rem; color: var(--ink-3); }

.incl { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.incl li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; font-size: .95rem; color: var(--ink-2); }
.incl svg { width: 19px; height: 19px; stroke: var(--teal); fill: none; stroke-width: 2.4; margin-top: 2px; }

/* ===========================================================================
   Steps
   =========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 44px; }
.step__num {
  position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: .93rem; font-weight: 800; letter-spacing: -.02em;
}
.step::after {
  content: ''; position: absolute; top: 17px; left: 44px; right: -22px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 11px);
}
.step:last-child::after { display: none; }
@media (max-width: 980px) { .step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .step::after { display: none; } }
.step h3 { margin-bottom: 9px; font-size: 1.06rem; }
.step p { font-size: .93rem; color: var(--ink-3); }
.step__time { display: inline-block; margin-top: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); background: var(--teal-50); border-radius: 999px; padding: 4px 11px; }

/* ===========================================================================
   Comparison table
   =========================================================================== */
.cmp { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.cmp table { width: 100%; border-collapse: collapse; min-width: 660px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .94rem; }
.cmp thead th { font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-4); font-weight: 700; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.cmp thead th:nth-child(2) { color: var(--teal); background: var(--teal-50); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 600; color: var(--ink); width: 32%; }
.cmp td:nth-child(2) { background: var(--teal-50); font-weight: 600; color: var(--teal-700); }
.cmp td:nth-child(3) { color: var(--ink-3); }
.cmp .yes, .cmp .no { display: inline-flex; align-items: center; gap: 8px; }
.cmp .yes svg { width: 17px; height: 17px; stroke: var(--teal); fill: none; stroke-width: 2.4; flex: none; }
.cmp .no  svg { width: 17px; height: 17px; stroke: var(--rose); fill: none; stroke-width: 2.4; flex: none; }

/* ===========================================================================
   Guarantee
   =========================================================================== */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; gap: 22px; } }
.seal {
  width: 104px; height: 104px; border-radius: 26px; flex: none;
  background: linear-gradient(145deg, rgba(111,214,188,.16), rgba(111,214,188,.05));
  border: 1px solid rgba(111,214,188,.28); display: grid; place-items: center;
}
.seal svg { width: 46px; height: 46px; stroke: #6FD6BC; fill: none; stroke-width: 1.5; }
.gpoints { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 24px; }
@media (max-width: 700px) { .gpoints { grid-template-columns: 1fr; } }
.gpoint { display: grid; grid-template-columns: 22px 1fr; gap: 13px; align-items: start; }
.gpoint svg { width: 21px; height: 21px; stroke: #6FD6BC; fill: none; stroke-width: 2.2; margin-top: 2px; }
.gpoint b { color: #fff; font-weight: 700; }
.gpoint p { font-size: .92rem; color: #9FB3C1; margin: 3px 0 0; }

/* ===========================================================================
   CTA band
   =========================================================================== */
.band { background: var(--teal-50); border-block: 1px solid var(--teal-100); padding: clamp(34px, 4.5vw, 52px) 0; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.band h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 6px; }
.band p { font-size: 1rem; color: var(--ink-3); margin: 0; }

/* ===========================================================================
   Reviews
   =========================================================================== */
.rsum { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .rsum { grid-template-columns: 1fr; gap: 24px; } }
.rsum__score { text-align: center; }
.rsum__score b { display: block; font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.rsum__score span { font-size: .86rem; color: var(--ink-3); display: block; margin-top: 8px; }
.rdist { display: grid; gap: 8px; max-width: 420px; }
.rdist__row { display: grid; grid-template-columns: 40px 1fr 40px; gap: 12px; align-items: center; font-size: .83rem; color: var(--ink-3); }
.rdist__track { height: 7px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.rdist__fill { height: 100%; background: var(--amber); border-radius: 999px; }
.rdist__n { text-align: right; font-variant-numeric: tabular-nums; }

.rfilters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  font-family: inherit; font-size: .84rem; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--ink-4); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.rgrid { columns: 3; column-gap: 20px; }
@media (max-width: 980px) { .rgrid { columns: 2; } }
@media (max-width: 640px) { .rgrid { columns: 1; } }

.review {
  break-inside: avoid; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.pstrip .review { margin-bottom: 0; height: 100%; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: .86rem; font-weight: 800; color: #fff; letter-spacing: -.02em;
}
.review__who { min-width: 0; }
.review__who b { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review__who span { font-size: .77rem; color: var(--ink-4); }
.review__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.review__date { font-size: .75rem; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.review p { font-size: .92rem; line-height: 1.62; color: var(--ink-2); margin: 0; }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: .71rem; font-weight: 700; color: var(--teal); margin-top: 13px; }
.verified svg { width: 13px; height: 13px; stroke: var(--teal); fill: none; stroke-width: 2.6; }

.rmore { text-align: center; margin-top: 12px; }

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 21px 44px 21px 0; position: relative;
  font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--ink-4); border-bottom: 2px solid var(--ink-4);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 44px 24px 0; color: var(--ink-3); font-size: .97rem; }
.faq .faq__a p { margin-bottom: .8em; }

/* ===========================================================================
   Final CTA + footer
   =========================================================================== */
.finalcta { text-align: center; }
.finalcta h2 { color: #fff; margin-bottom: 16px; }
.finalcta .lede { margin-inline: auto; margin-bottom: 30px; }
.finalcta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.finalcta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }
.finalcta .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

.footer { background: var(--ink); color: #7E95A5; padding: 56px 0 30px; font-size: .89rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 38px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 15px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #7E95A5; text-decoration: none; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .81rem; color: #62798A; }
.disclaimer { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 15px 17px; font-size: .8rem; line-height: 1.55; color: #7E95A5; margin-bottom: 28px; }

/* ===========================================================================
   Sticky buy bar — all breakpoints
   =========================================================================== */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 11px 22px calc(11px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 -4px 24px rgba(12,27,38,.08);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.stickybar.show { transform: none; }
.stickybar__info { line-height: 1.2; min-width: 0; }
.stickybar__info b { display: block; font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.stickybar__info span { font-size: .76rem; color: var(--ink-3); }
.stickybar .btn { margin-left: auto; padding: 13px 24px; }
.stickybar__wa {
  width: 46px; height: 46px; border-radius: 12px; flex: none; margin-left: auto;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  transition: background .15s;
}
.stickybar__wa:hover { background: var(--wa-dark); }
.stickybar__wa svg { width: 24px; height: 24px; }
.stickybar__wa + .btn { margin-left: 0; }
@media (min-width: 761px) {
  .stickybar { justify-content: center; padding-inline: 32px; }
  .stickybar__info { margin-right: auto; }
}
@media (max-width: 560px) {
  .stickybar__info span { display: none; }
  .stickybar { gap: 10px; padding-inline: 14px; }
  .stickybar .btn { padding: 13px 18px; font-size: .95rem; }
}

/* ===========================================================================
   Melanie — site assistant
   =========================================================================== */
.mel { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
@media (max-width: 560px) { .mel { right: 14px; bottom: 14px; } }

/* launcher */
.mel__fab {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: var(--surface); display: grid; place-items: center; position: relative;
  box-shadow: 0 6px 20px rgba(12,27,38,.2), 0 2px 6px rgba(12,27,38,.12);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .2s;
}
.mel__fab:hover { transform: scale(1.06); }
.mel__fabAv { position: relative; display: block; width: 58px; height: 58px; }
.mel__fabAv svg { width: 100%; height: 100%; border-radius: 50%; }
.mel__fabX { position: absolute; width: 22px; height: 22px; color: var(--ink); opacity: 0; transform: rotate(-90deg); transition: opacity .2s, transform .2s; }
.mel.open .mel__fabAv { opacity: 0; }
.mel.open .mel__fabX { opacity: 1; transform: none; }
.mel.open .mel__fab { background: var(--surface); }

.mel__dot {
  position: absolute; right: 1px; bottom: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: #34D399; border: 2.5px solid var(--surface);
  box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2.6s infinite;
}

/* nudge */
.mel__nudge {
  position: absolute; right: 0; bottom: 72px; width: 268px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  border-bottom-right-radius: 5px; padding: 15px 17px;
  box-shadow: var(--shadow-lg); font-size: .89rem; line-height: 1.5; color: var(--ink-2);
  animation: melPop .4s cubic-bezier(.2,.9,.3,1.2);
}
.mel__nudge p { margin: 0; padding-right: 10px; }
.mel__nudgeX {
  position: absolute; top: 5px; right: 7px; border: 0; background: transparent; cursor: pointer;
  font-size: 1.15rem; line-height: 1; color: var(--ink-4); padding: 4px;
}
.mel__nudgeX:hover { color: var(--ink); }
@keyframes melPop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }

/* panel */
.mel__panel {
  position: absolute; right: 0; bottom: 72px; width: 384px;
  height: min(600px, calc(100vh - 140px));
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); display: flex; flex-direction: column; overflow: hidden;
  animation: melPop .32s cubic-bezier(.2,.9,.3,1.15);
}
@media (max-width: 480px) {
  .mel__panel {
    position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; border: 0;
    bottom: 0; right: 0;
  }
}
@media (prefers-reduced-motion: reduce) { .mel__panel, .mel__nudge { animation: none; } }

.mel__head {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px; flex: none;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.mel__av { position: relative; width: 40px; height: 40px; flex: none; }
.mel__av svg { width: 100%; height: 100%; border-radius: 50%; }
.mel__who { min-width: 0; flex: 1; }
.mel__who b { display: block; font-size: .96rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.mel__who > span { display: flex; align-items: center; gap: 7px; font-size: .74rem; color: var(--ink-3); flex-wrap: wrap; }
.mel__badge {
  font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-50); border: 1px solid var(--teal-100);
  border-radius: 999px; padding: 2px 7px;
}
.mel__close {
  border: 0; background: transparent; cursor: pointer; color: var(--ink-3);
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none;
}
.mel__close:hover { background: var(--bg-2); color: var(--ink); }
.mel__close svg { width: 17px; height: 17px; }

.mel__body {
  flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px;
  background-image: radial-gradient(rgba(12,27,38,.035) 1px, transparent 1px);
  background-size: 18px 18px;
}
.mel__msg {
  max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .89rem; line-height: 1.55;
  box-shadow: 0 1px 2px rgba(12,27,38,.06); animation: melMsg .3s cubic-bezier(.2,.8,.3,1);
}
.mel__msg b { font-weight: 700; color: var(--ink); }
.mel__msg--in  { background: var(--surface); color: var(--ink-2); border-bottom-left-radius: 5px; align-self: flex-start; }
.mel__msg--out { background: var(--teal); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.mel__msg--out b { color: #fff; }
@keyframes melMsg { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mel__msg { animation: none; } }

.mel__typing { display: flex; gap: 4px; align-self: flex-start; padding: 14px 16px; background: var(--surface); border-radius: 16px; border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgba(12,27,38,.06); }
.mel__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); animation: melBounce 1.3s infinite; }
.mel__typing i:nth-child(2) { animation-delay: .18s; }
.mel__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes melBounce { 0%,60%,100% { transform: none; opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

/* in-chat action buttons */
.mel__acts { display: flex; flex-direction: column; gap: 7px; align-self: flex-start; max-width: 88%; }
.mel__act {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  font-family: inherit; font-size: .84rem; font-weight: 700; text-align: left;
  padding: 10px 14px; border-radius: 11px; border: 1px solid var(--teal-100);
  background: var(--teal-50); color: var(--teal-700); transition: all .15s;
}
.mel__act:hover { background: var(--teal-100); }
.mel__act--buy { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 2px 8px rgba(14,124,102,.25); }
.mel__act--buy:hover { background: var(--teal-600); }
.mel__act--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.mel__act--wa:hover { background: var(--wa-dark); }
.mel__act svg { width: 15px; height: 15px; flex: none; }

.mel__chips { display: flex; gap: 7px; padding: 0 16px 10px; overflow-x: auto; flex: none; scrollbar-width: none; }
.mel__chips::-webkit-scrollbar { display: none; }
.mel__chip {
  font-family: inherit; font-size: .8rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 13px; color: var(--ink-2); transition: all .15s;
}
.mel__chip:hover { border-color: var(--teal); color: var(--teal); }

.mel__form { display: flex; gap: 8px; padding: 10px 14px; background: var(--surface); border-top: 1px solid var(--line); flex: none; }
.mel__form input {
  flex: 1; min-width: 0; font-family: inherit; font-size: .92rem; color: var(--ink);
  padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.mel__form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,102,.13); }
.mel__form button {
  width: 42px; height: 42px; border-radius: 50%; border: 0; flex: none; cursor: pointer;
  background: var(--teal); color: #fff; display: grid; place-items: center; transition: background .15s;
}
.mel__form button:hover { background: var(--teal-600); }
.mel__form button svg { width: 19px; height: 19px; }

.mel__disc {
  margin: 0; padding: 9px 16px 12px; font-size: .7rem; line-height: 1.45; color: var(--ink-4);
  background: var(--surface); border-top: 1px solid var(--line-soft); text-align: center; flex: none;
}
.mel__disc a { color: var(--teal); font-weight: 700; text-decoration: none; margin-left: 4px; }
.mel__disc a:hover { text-decoration: underline; }

/* keep the launcher clear of the sticky buy bar on small screens */
@media (max-width: 760px) { .mel { bottom: 82px; } .mel.open { bottom: 14px; } }
@media (max-width: 560px) { .fab { width: 50px; height: 50px; right: 14px; } .fab svg { width: 27px; height: 27px; } }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px;
  box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 600; z-index: 90;
  opacity: 0; visibility: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), opacity .2s, visibility .35s;
  max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
@media (max-width: 760px) { .toast { bottom: 96px; } }

[hidden] { display: none !important; }
