/* ==========================================================================
   DESSANT — "Night Lot" redesign
   Dark auction-floor aesthetic: asphalt blacks, signal-amber accent,
   headlight beams, ticker boards. GSAP handles motion; CSS handles looks.
   ========================================================================== */

:root {
  --bg0: #06070b;
  --bg1: #0b0d14;
  --bg2: #10131d;
  --ink: #eef0f6;
  --mut: #b4bac9;
  --amber: #ffb224;
  --flame: #ff6a1a;
  --wa: #25d366; /* WhatsApp green — used ONLY on the two WhatsApp elements */
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.03);
  --card-hi: rgba(255, 255, 255, 0.06);
  --grad: linear-gradient(92deg, var(--amber), var(--flame));
  --radius: 18px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* The browser's own [hidden] rule is a plain "display: none" in the UA sheet,
   so ANY author rule that sets display beats it and the element stays on
   screen with its hidden attribute set. That already bit the cookie banner
   (js/consent.js injects its own .cookie-banner[hidden] guard) and it silently
   bit the rate card's Auction location field, which is a .rc-fld and therefore
   display:flex: it rendered for every visitor even with pickup set to the
   port, while the script believed it was hidden. Guard it once, globally. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(1200px, 100% - 36px); } }

::selection { background: var(--amber); color: #14100a; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: #14100a; padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ------- type ------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: 16px;
}
.h3 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; margin-bottom: 20px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-sub { color: var(--mut); max-width: 560px; margin-bottom: 48px; font-size: 18px; }

.section { padding: 110px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 72px 0; } }

/* ------- reveal (JS adds motion; hidden only when JS runs) -------
   CSS-only safety net: if the motion scripts never execute (blocked CDN,
   ad-blocker, JS error), the keyframe reveals everything ~1.2s in anyway.
   site.js cancels it by adding motion-on before it can fire. */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); animation: reveal-fallback 0.6s ease 1.2s forwards; }
html.js.motion-on [data-reveal] { animation: none; }
html.js.motion-off [data-reveal] { opacity: 1; transform: none; animation: none; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* ------- screen-reader-only text (used by fx-flip hints) ------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-solid {
  background: var(--grad); color: #16100a;
  box-shadow: 0 0 0 0 rgba(255, 178, 36, 0);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(255, 140, 30, 0.55);
}
.btn-solid:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--amber);
  color: var(--amber); transform: translateY(-2px);
}
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* Magnetic buttons: GSAP owns transform (inline, per-frame). Transitioning
   transform in CSS as well makes the button chase stale positions and settle
   off-spot after the cursor leaves — so transition everything except it. */
[data-magnetic] { transition-property: box-shadow, background, color; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled {
  background: rgba(7, 8, 12, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: min(1280px, 100% - 40px); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { height: 31.2px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--mut); text-decoration: none;
  position: relative; padding: 6px 0; transition: color 0.2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn-nav { padding: 10px 20px; font-size: 14px; }

/* lang dropdown */
.lang { position: relative; }
.lang-btn {
  background: transparent; border: 1.5px solid var(--line); color: var(--mut);
  font-family: var(--font); font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover, .lang.open .lang-btn { border-color: var(--amber); color: var(--ink); }
.lang-list {
  /* System font: the native-language labels (Русский/Українська) would
     otherwise pull the Cyrillic Manrope subsets onto the English page just
     for this dropdown. */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 150px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 14px;
  list-style: none; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.7);
}
.lang.open .lang-list { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-list a {
  display: block; padding: 9px 14px; border-radius: 9px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--mut); transition: background 0.15s, color 0.15s;
}
.lang-list a:hover { background: var(--card-hi); color: var(--ink); }
.lang-list a[aria-current="true"] { color: var(--amber); }

/* burger */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px;
  background: transparent; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
}
.burger span {
  display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(6, 7, 11, 0.96);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu nav a {
  font-size: clamp(28px, 8vw, 40px); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; text-decoration: none; color: var(--ink); padding: 6px 12px;
  opacity: 0; transform: translateY(18px);
  transition: color 0.2s ease;
}
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:hover, .mobile-menu nav a.mm-cta { color: var(--amber); }
html.js.motion-on .mobile-menu nav a { transition: color 0.2s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
html.js.motion-on .mobile-menu.open nav a:nth-child(1) { transition-delay: 0.05s; }
html.js.motion-on .mobile-menu.open nav a:nth-child(2) { transition-delay: 0.1s; }
html.js.motion-on .mobile-menu.open nav a:nth-child(3) { transition-delay: 0.15s; }
html.js.motion-on .mobile-menu.open nav a:nth-child(4) { transition-delay: 0.2s; }
html.js.motion-on .mobile-menu.open nav a:nth-child(5) { transition-delay: 0.25s; }
html.js.motion-on .mobile-menu.open nav a:nth-child(6) { transition-delay: 0.3s; }
html.js.motion-on .mobile-menu.open nav a:nth-child(7) { transition-delay: 0.35s; }
/* wrap: five chips (EN RU UA PL LT) need ~365px on one row, so they overflow
   360px-wide phones without it */
.mm-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
.mm-langs a {
  font-weight: 700; letter-spacing: 0.1em; text-decoration: none; color: var(--mut);
  padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px;
}
.mm-langs a.on { color: var(--amber); border-color: var(--amber); }

@media (max-width: 900px) {
  .nav-links, .btn-nav, .lang { display: none; }
  .burger { display: flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 0; overflow: clip;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* headlight beams — slow conic sweeps */
.beam {
  position: absolute; width: 130vmax; height: 130vmax; border-radius: 50%;
  filter: blur(60px); opacity: 0.5; will-change: transform;
}
.beam-a {
  top: -80vmax; left: -30vmax;
  background: conic-gradient(from 120deg at 50% 50%, transparent 0deg, rgba(255, 140, 30, 0.16) 24deg, transparent 60deg, transparent 360deg);
  animation: beam-spin 26s linear infinite;
}
.beam-b {
  bottom: -90vmax; right: -40vmax;
  background: conic-gradient(from 300deg at 50% 50%, transparent 0deg, rgba(70, 110, 255, 0.13) 30deg, transparent 70deg, transparent 360deg);
  animation: beam-spin 34s linear infinite reverse;
}
@keyframes beam-spin { to { transform: rotate(360deg); } }
html.motion-off .beam { animation: none; }

/* asphalt grid */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}

/* speed lines — parallax on scroll via GSAP */
.speedlines { position: absolute; inset: 0; }
.speedlines i {
  position: absolute; display: block; height: 1.5px; width: 34vw; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 178, 36, 0.35), transparent);
  transform: rotate(-14deg);
}
.speedlines i:nth-child(1) { top: 16%; left: -6%;  width: 28vw; }
.speedlines i:nth-child(2) { top: 30%; right: -8%; width: 36vw; opacity: 0.7; }
.speedlines i:nth-child(3) { top: 52%; left: 4%;   width: 22vw; opacity: 0.5; }
.speedlines i:nth-child(4) { top: 66%; right: 2%;  width: 30vw; opacity: 0.8; }
.speedlines i:nth-child(5) { top: 80%; left: -4%;  width: 26vw; opacity: 0.45; }
.speedlines i:nth-child(6) { top: 42%; right: 30%; width: 18vw; opacity: 0.35; }

.hero-inner {
  position: relative; z-index: 2; text-align: center;
  width: min(1080px, 100% - 48px); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mut); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; margin-bottom: 26px; background: rgba(255, 255, 255, 0.02);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 178, 36, 0.6); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 178, 36, 0.6); }
  70% { box-shadow: 0 0 0 11px rgba(255, 178, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 178, 36, 0); }
}
html.motion-off .pulse-dot { animation: none; }

.hero-title {
  font-size: clamp(42px, 7.4vw, 100px);
  font-weight: 900; line-height: 0.96; letter-spacing: -0.028em; text-transform: uppercase;
  margin-bottom: 24px;
}
.ht-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.ht-word { display: inline-block; will-change: transform; }
.ht-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 6px 42px rgba(255, 122, 26, 0.32));
}
html.js.motion-on .ht-word { transform: translateY(110%); }

.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px); font-weight: 700; letter-spacing: 0.02em;
  color: var(--mut); max-width: 620px; margin-bottom: 32px;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 58px; }

.hero-stats {
  display: flex; gap: clamp(28px, 6vw, 84px); justify-content: center; flex-wrap: wrap;
  padding-bottom: 78px;
}
/* On narrow phones the stats wrap to two rows and the fixed WhatsApp button
   would sit on top of the third stat — reserve room for it. */
@media (max-width: 640px) {
  .hero-stats { padding-bottom: 120px; }
}
.hstat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hstat-num {
  font-size: clamp(28px, 3.8vw, 40px); font-weight: 900; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hstat-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut); }

/* ==========================================================================
   PLATFORMS
   ========================================================================== */
.auctions { background: linear-gradient(180deg, var(--bg0), var(--bg1)); }
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 960px) { .platform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .platform-grid { grid-template-columns: 1fr; } }

.platform-card {
  position: relative; padding: 30px 28px 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.3s ease, background 0.3s ease;
  transform-style: preserve-3d; will-change: transform;
}
.platform-card:hover { border-color: rgba(255, 178, 36, 0.45); background: var(--card-hi); }
.platform-card:has(.badge-rep):hover { border-color: rgba(110, 140, 255, 0.45); }
.platform-card h3 { font-size: 21px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.01em; }
.platform-logo {
  height: 74px; border-radius: 12px; background: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; padding: 14px;
}
.platform-logo img { max-height: 100%; width: auto; object-fit: contain; }
.badge {
  display: inline-block; margin-bottom: 16px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.badge-direct { background: rgba(255, 178, 36, 0.14); color: var(--amber); border: 1px solid rgba(255, 178, 36, 0.4); }
.badge-rep { background: rgba(110, 140, 255, 0.12); color: #9db1ff; border: 1px solid rgba(110, 140, 255, 0.35); }

.platform-any {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  border-style: dashed; border-color: rgba(255, 255, 255, 0.16); background: transparent;
}
.platform-any .plus {
  font-size: 44px; font-weight: 900; line-height: 1; margin-bottom: 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.platform-any h3 { line-height: 1.2; }

/* ==========================================================================
   HOW IT WORKS — pinned horizontal scroll (desktop)
   ========================================================================== */
.how { background: var(--bg1); padding-bottom: 0; overflow: clip; }
.how-head { padding-bottom: 20px; }
.how-pin { padding: 30px 0 70px; }
.how-track {
  display: flex; gap: 26px;
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  /* Symmetric with the left: on wide screens (~2500px+) all four cards fit in
     the viewport, the scroll distance bottoms out at 0, and the pinned
     animation never engages. The extra travel keeps it alive at any width. */
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  width: max-content; will-change: transform;
}
.step-card {
  position: relative; width: min(430px, 78vw); flex-shrink: 0;
  padding: 44px 38px 40px; border-radius: 24px;
  background: linear-gradient(160deg, var(--card-hi), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); overflow: hidden;
}
.step-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--grad); opacity: 0.9;
}
.step-num {
  display: block; font-size: clamp(72px, 8vw, 110px); font-weight: 900; line-height: 1;
  letter-spacing: -0.04em; margin-bottom: 18px;
  /* Outline digits. The fill must paint OVER the stroke (paint-order) to hide
     Manrope's self-overlapping contours, which -webkit-text-stroke otherwise
     draws as stray triangles inside 2/3/4. Stroke is doubled to 3px because
     the fill covers its inner half: visible weight stays the original 1.5px. */
  color: var(--bg2); -webkit-text-stroke: 3px rgba(255, 178, 36, 0.55);
  paint-order: stroke fill;
  font-variant-numeric: tabular-nums;
}
.step-card h3 { font-size: 26px; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; }
.step-card p { color: var(--mut); font-size: 16.5px; }

@media (max-width: 900px) {
  .how { padding-bottom: 72px; }
  .how-pin { padding-bottom: 0; }
  .how-track {
    flex-direction: column; width: auto; padding-left: 24px;
  }
  .step-card { width: 100%; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { background: linear-gradient(180deg, var(--bg1), var(--bg0)); }
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px;
  align-items: stretch;
}
@media (max-width: 1100px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

/* One-Time Buyer: full-width card above the membership tiers, with the
   title / price / CTA in a horizontal top row and the features below.
   .price-card.price-otb outranks .price-card's display:flex declared later. */
.price-card.price-otb { grid-column: 1 / -1; gap: 22px; }
.price-otb .otb-head { display: flex; align-items: center; flex-wrap: wrap; gap: 18px clamp(28px, 5vw, 80px); padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.price-otb .otb-head .price-amount { order: 1; margin-bottom: 0; }
.price-otb .otb-title { order: 2; margin-inline: auto; text-align: center; }
.price-otb .otb-title h3 { font-size: clamp(30px, 3vw, 44px); }
.price-otb .otb-head .pa-num { font-size: 28px; }
.price-otb .otb-title .price-tier { margin: 4px 0 0; }
.price-otb .otb-cta { order: 3; display: flex; flex-direction: column; gap: 4px; min-width: 250px; }
.price-otb .price-more { margin-top: 6px; }
.price-otb .price-feats { columns: 3; column-gap: 44px; margin-bottom: 0; flex-grow: 0; }
.price-otb .price-feats li { break-inside: avoid; }
@media (max-width: 1100px) { .price-otb .price-feats { columns: 2; } }
@media (max-width: 900px) {
  .price-otb .otb-head { flex-direction: column; align-items: flex-start; }
  .price-otb .otb-head .price-amount, .price-otb .otb-title, .price-otb .otb-cta { order: 0; }
  .price-otb .otb-title { margin-inline: 0; text-align: left; }
  .price-otb .otb-cta { width: 100%; }
  .price-otb .price-feats { columns: 1; }
}

.price-card {
  position: relative; padding: 32px 26px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  will-change: transform; overflow: hidden;
}
.price-card::after { /* shine sweep on hover */
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: skewX(-18deg); transition: left 0.6s ease; pointer-events: none;
}
.price-card:hover::after { left: 130%; }
.price-card:hover { border-color: rgba(255, 255, 255, 0.2); background: var(--card-hi); }

.price-popular {
  border-color: rgba(255, 178, 36, 0.55);
  background: linear-gradient(170deg, rgba(255, 178, 36, 0.07), rgba(255, 106, 26, 0.03));
  box-shadow: 0 24px 70px -30px rgba(255, 140, 30, 0.35);
}
.pop-tag {
  align-self: flex-start; margin-bottom: 14px;
  background: var(--grad); color: #16100a;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.price-card h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; }
.price-tier { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); margin: 4px 0 20px; }
.price-amount { margin-bottom: 22px; }
.pa-num { display: block; font-size: 38px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.pa-num em { font-style: normal; font-size: 17px; font-weight: 600; color: var(--mut); }
.pa-per { display: block; font-size: 14.5px; color: var(--mut); margin-top: 6px; }
.price-local { display: block; font-size: 13px; font-weight: 600; color: var(--mut); margin-top: 4px; letter-spacing: 0; text-transform: none; }
.price-local:empty { display: none; }
.fx-note { margin-top: 18px; font-size: 13.5px; color: var(--mut); }
.fx-note:empty { display: none; margin: 0; }

/* ------- fx price flip (fx-flip.js: USD front, local-currency back) ------- */
.price-amount.fx-has-flip > .pa-num,
.price-amount.fx-has-flip > .pa-per,
.price-amount.fx-has-flip > .price-local { display: none; }
.fx-flip { perspective: 900px; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.fx-flip-inner {
  display: grid;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.5, 0, 0.25, 1);
}
.fx-flip.fx-flipped .fx-flip-inner { transform: rotateY(180deg); }
.fx-flip.fx-instant .fx-flip-inner { transition: none; }
.fx-face {
  grid-area: 1 / 1;
  min-width: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.fx-face.fx-back { transform: rotateY(180deg); }
.fx-face.fx-back .pa-num { color: #ffd88a; }
.fx-flip-tab {
  display: inline-flex;
  align-items: center;
  margin-top: 9px;
  padding: 2px 9px 3px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  border: 1px dashed rgba(255, 178, 36, 0.35);
  border-radius: 999px;
  opacity: 0.85;
}
.fx-flip:focus-visible .fx-flip-tab { box-shadow: 0 0 0 2px rgba(255, 178, 36, 0.5); }
.fx-flip-cap { display: block; margin-top: 6px; font-size: 12px; color: var(--mut); }
@media (prefers-reduced-motion: reduce) { .fx-flip-inner { transition: none; } }

.price-feats { list-style: none; margin-bottom: 26px; flex-grow: 1; }
.price-feats li {
  position: relative; padding: 8px 0 8px 26px; font-size: 15.5px; color: var(--mut);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.price-feats li:last-child { border-bottom: 0; }
.price-feats li::before {
  content: "✓"; position: absolute; left: 2px; top: 8px;
  color: var(--amber); font-weight: 700; font-size: 13px;
}
.feat-hot { color: var(--amber) !important; font-weight: 700; }
.price-more {
  display: block; text-align: center; margin-top: 14px; font-size: 13.5px; font-weight: 600;
  color: var(--mut); text-decoration: none;
}
.price-more:hover { color: var(--amber); }

/* compare table */
.compare { margin-bottom: 80px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line); }
.cmp-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table thead th { font-weight: 800; text-transform: uppercase; font-size: 12.5px; letter-spacing: 0.1em; background: var(--card-hi); }
.cmp-table tbody th { text-align: left; font-weight: 600; color: var(--mut); }
.cmp-table .cmp-pop { background: rgba(255, 178, 36, 0.07); color: var(--ink); font-weight: 700; }
.cmp-table thead .cmp-pop { color: var(--amber); }
.cmp-note { margin-top: 16px; font-size: 14.5px; color: var(--mut); }
.stripe-note { opacity: 0.75; }

/* one-time buyer detail accordions. scroll-margin keeps the heading clear of
   the fixed nav when anchor links jump to #otb-detail (sections don't need it:
   their own padding provides the clearance). */
.otb { max-width: 900px; margin-inline: auto; scroll-margin-top: calc(var(--nav-h) + 18px); }
.acc {
  border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px;
  background: var(--card); overflow: hidden;
  transition: border-color 0.25s ease;
}
.acc[open] { border-color: rgba(255, 178, 36, 0.4); }
.acc summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  user-select: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--amber);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 24px 24px; color: var(--mut); font-size: 15.5px; }
.acc-body p { margin-bottom: 16px; }
.acc-body strong { color: var(--ink); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .opt-grid { grid-template-columns: 1fr; } }
.opt { padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.opt h4 { font-size: 15.5px; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.opt p { margin: 0; font-size: 14.5px; }
.mini-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14.5px; margin-bottom: 4px; }
.mini-table th, .mini-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mini-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); background: rgba(255, 178, 36, 0.06); }
.mini-table td { color: var(--ink); font-variant-numeric: tabular-nums; }
.acc .table-scroll { border: 0; border-radius: 10px; margin-bottom: 16px; }
.dash-list { list-style: none; }
.dash-list li { position: relative; padding: 6px 0 6px 22px; }
.dash-list li::before { content: "•"; position: absolute; left: 0; color: var(--amber); }

/* ==========================================================================
   TRUST BAND
   ========================================================================== */
.band {
  position: relative; padding: 130px 0 0; overflow: clip;
  background: var(--bg2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band-watermark {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  font-size: clamp(140px, 26vw, 380px); font-weight: 900; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  white-space: nowrap; pointer-events: none; will-change: transform; line-height: 1;
}
.band-inner { position: relative; z-index: 1; text-align: center; padding-bottom: 90px; }
.band-title { font-size: clamp(40px, 6.4vw, 76px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 16px; }
.band-sub { color: var(--mut); font-size: 18px; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); padding: 26px 0; }
.marquee-track {
  display: flex; width: max-content; will-change: transform;
  animation: marquee-run 30s linear infinite;
}
.marquee-track span {
  font-size: clamp(22px, 3vw, 32px); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em;
  /* .55 alpha clears WCAG AA large-text contrast (3:1) on the band surface */
  color: rgba(255, 255, 255, 0.55); white-space: nowrap; padding-right: 34px;
}
.marquee-track span::after { content: "✦"; color: var(--amber); font-size: 14px; vertical-align: 6px; margin-left: 34px; opacity: 0.7; }
@keyframes marquee-run { to { transform: translateX(-50%); } }
html.motion-off .marquee-track { animation: none; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--bg0); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy { color: var(--mut); font-size: 17.5px; line-height: 1.75; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.astat {
  padding: 26px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.astat:hover { border-color: rgba(255, 178, 36, 0.4); }
.astat-num {
  display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 900; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-variant-numeric: tabular-nums;
}
.astat-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); }

/* ==========================================================================
   CUSTOMER REVIEWS (self-hosted media cards + Instagram link card)
   ========================================================================== */
.rv-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-bottom: 30px;
}
@media (max-width: 980px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } }
.rv-card {
  margin: 0; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.3s ease, background 0.3s ease;
}
.rv-card:hover { border-color: rgba(255, 178, 36, 0.45); background: var(--card-hi); }
.rv-media {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4;
  overflow: hidden; padding: 0; border: 0; background: #06070b; font: inherit;
}
button.rv-media { cursor: pointer; }
.rv-media img, .rv-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.rv-media img { object-fit: cover; }
.rv-media video { object-fit: contain; background: #06070b; }
.rv-btn {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px;
  border-radius: 50%; background: rgba(6, 7, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4); color: #fff;
  display: grid; place-items: center; font-size: 19px; padding-left: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}
button.rv-media:hover .rv-btn { transform: scale(1.1); background: rgba(255, 106, 26, 0.7); }
.rv-card figcaption { padding: 12px 14px 14px; font-size: 13.5px; line-height: 1.45; color: var(--mut); }
.rv-tag {
  display: inline-block; margin-right: 8px; padding: 2.5px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--grad); color: #16100a; vertical-align: 1px;
}

.ig-card {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  max-width: 720px;
  padding: 28px 32px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.ig-card:hover { border-color: rgba(255, 178, 36, 0.45); background: var(--card-hi); }
.ig-ring {
  flex: 0 0 auto; display: inline-flex; padding: 3px; border-radius: 50%;
  background: var(--grad);
}
.ig-ring img {
  display: block; width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--bg1); background: var(--bg1); object-fit: cover;
}
.ig-meta { flex: 1 1 auto; min-width: 200px; display: grid; gap: 6px; }
.ig-handle { font-weight: 900; font-size: 20px; letter-spacing: 0.01em; }
.ig-tagline { color: var(--mut); font-size: 15px; }
.ig-card .btn { flex: 0 0 auto; }
@media (max-width: 640px) {
  .ig-card { flex-direction: column; text-align: center; }
  .ig-meta { justify-items: center; }
}

/* ==========================================================================
   SIGN-UP FORM
   ========================================================================== */
.signup {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 140, 30, 0.07), transparent 70%),
    var(--bg1);
}
.signup-wrap { max-width: 860px; }
.signup-head { text-align: center; margin-bottom: 40px; }
.signup-head .section-sub { margin-inline: auto; margin-bottom: 10px; }
.signup-note { font-size: 15px; color: var(--mut); opacity: 0.9; }

.form {
  padding: clamp(26px, 4vw, 46px); border-radius: 26px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hp { position: absolute; left: -9999px; opacity: 0; }
.fset { border: 0; margin-bottom: 30px; }
.fset legend {
  font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.frow:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .frow { grid-template-columns: 1fr; } }

.fgroup { display: flex; flex-direction: column; gap: 7px; }
.fgroup label { font-size: 14px; font-weight: 600; color: var(--ink); }
.fgroup label i { color: var(--flame); font-style: normal; }
.fgroup input[type="text"], .fgroup input[type="email"], .fgroup input[type="tel"], .fgroup select {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.045); border: 1.5px solid var(--line);
  /* 16px minimum: anything smaller makes iOS Safari zoom the layout on focus */
  color: var(--ink); font-family: var(--font); font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  appearance: none; -webkit-appearance: none;
}
.fgroup select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa1b5' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.fgroup select option { background: var(--bg2); color: var(--ink); }
.fgroup input:focus, .fgroup select:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 178, 36, 0.12); background: rgba(255, 255, 255, 0.06);
}
.fgroup.invalid input, .fgroup.invalid select { border-color: #ff5252; }
.ferr { display: none; font-size: 13px; color: #ff7a7a; }
.fgroup.invalid .ferr, .agree.invalid .ferr { display: block; }

.phone-row { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 10px; }
/* dial-code combo: the real <select> (full country names in its dropdown) sits
   invisible on top; the span shows the compact "+7"-style value */
.dial-wrap { position: relative; }
.dial-wrap select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.dial-display {
  display: flex; align-items: center; height: 100%; padding: 13px 36px 13px 16px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.045);
  border: 1.5px solid var(--line); color: var(--ink);
  font-size: 16px; white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa1b5' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.dial-wrap:focus-within .dial-display {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 178, 36, 0.12); background: rgba(255, 255, 255, 0.06);
}
/* Solid #9aa1b5 clears WCAG AA 4.5:1 on the field surface; the previous
   0.55-alpha version computed to 2.96:1. */
.dial-display.dial-empty { color: #9aa1b5; }
.fgroup input::placeholder { color: #9aa1b5; }

.seg { display: inline-flex; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg-btn {
  padding: 10px 26px; border: 0; border-radius: 999px; background: transparent;
  color: var(--mut); font-family: var(--font); font-size: 14.5px; font-weight: 700; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.seg-btn.on { background: var(--grad); color: #16100a; }

.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 640px) { .radio-cards { grid-template-columns: 1fr; } }
.rcard {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px;
  border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--mut);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.rcard:has(input:checked) { border-color: var(--amber); color: var(--ink); background: rgba(255, 178, 36, 0.06); }
.rcard input { accent-color: var(--amber); width: 17px; height: 17px; flex-shrink: 0; }

.agree { margin: 4px 0 26px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--mut); cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--amber); flex-shrink: 0; }
.check a { color: var(--amber); }

.submit-error {
  display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px;
  background: rgba(255, 82, 82, 0.1); border: 1px solid rgba(255, 82, 82, 0.35);
  color: #ff9d9d; font-size: 14.5px;
}
.submit-error.show { display: block; }
.submit-error a { color: #ffbdbd; }

.hidden-field { display: none !important; }

.form-success {
  text-align: center; padding: 70px 30px; border-radius: 26px;
  background: rgba(255, 178, 36, 0.05); border: 1px solid rgba(255, 178, 36, 0.35);
}
.fs-mark {
  width: 74px; height: 74px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--grad); color: #16100a; font-size: 34px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.form-success h3 { font-size: 30px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.form-success p { color: var(--mut); }
.fs-contact { margin-top: 18px; }
.fs-contact a { color: var(--amber); text-decoration: none; font-weight: 700; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--bg0); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.f-brand img { height: 28px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.f-brand p { color: var(--mut); font-size: 14.5px; max-width: 280px; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h4 {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 6px;
}
.f-col a { color: var(--mut); text-decoration: none; font-size: 14.5px; transition: color 0.2s ease; width: fit-content; }
.f-col a:hover { color: var(--amber); }
.f-col address { font-style: normal; color: var(--mut); font-size: 14.5px; line-height: 1.6; }
.footer-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--mut);
}
.footer-legal a { color: var(--mut); text-decoration: none; }
.footer-legal a:hover { color: var(--amber); }
/* "Cookie settings" is a <button> (it acts, not navigates); dress it exactly
   like the sibling links. consent.js supplies the base button reset. */
.footer-legal button[data-cookie-settings] { color: var(--mut); text-decoration: none; }
.footer-legal button[data-cookie-settings]:hover { color: var(--amber); }

/* ==========================================================================
   LANGUAGE NOTICE (Polish pages only)
   Injected via i18n placeholder keys — see i18n/translations.js pl dict.
   Slim informational bar, not an alert: same dark surface + muted text as
   the rest of the chrome, no amber/warning treatment.
   ========================================================================== */
.lang-notice {
  position: relative; z-index: 60;
  background: var(--bg2); border-bottom: 1px solid var(--line);
  margin-top: var(--nav-h);
}
.lang-notice-inner { padding: 13px 0; }
.lang-notice p {
  margin: 0; color: var(--mut); font-size: 14px; line-height: 1.5; text-align: center;
}
/* The banner's margin-top already clears the fixed nav, so the hero (which
   normally pads itself by nav-h + 40px to clear the nav on its own) only
   needs its usual 40px breathing room when a notice precedes it. */
.lang-notice ~ main .hero { padding-top: 40px; }

.footer-lang-note { margin-top: 14px; text-align: center; }
.footer-lang-note p { margin: 0; color: var(--mut); font-size: 13.5px; }

/* ==========================================================================
   WHATSAPP CHANNEL — sign-up strip + site-wide floating button.
   Quiet handoff (site.js whatsapp()): the corner button folds away while
   the strip unfolds in place at the sign-up section, and the reverse on
   the way out. Both live on their own layer above surrounding content.
   Served visible; JS hides the strip only once the handoff can run.
   ========================================================================== */
.wa-strip {
  position: relative; z-index: 6;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 15px 18px; border-radius: 16px; margin-bottom: 22px;
  background: rgba(37, 211, 102, 0.06); border: 1px solid rgba(37, 211, 102, 0.25);
  will-change: transform, opacity;
}
.wa-strip.ghost { opacity: 0; visibility: hidden; pointer-events: none; }
.wa-strip .wa-ic { width: 26px; height: 26px; fill: var(--wa); flex-shrink: 0; }
.wa-strip p { margin: 0; flex: 1; min-width: 200px; font-size: 14.5px; font-weight: 600; }
.wa-strip small { display: block; color: var(--mut); font-size: 12.5px; font-weight: 400; }

.wa-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; border-radius: 999px;
  background: var(--wa); color: #062b14; text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -8px rgba(37, 211, 102, 0.45); }
.wa-btn:focus-visible, .wa-fab:focus-visible { outline: 2px solid var(--wa); outline-offset: 2px; }

.wa-fab {
  /* under the fixed nav (100) and the mobile menu overlay (90) */
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; overflow: hidden;
  height: 56px; padding: 0 15px; border-radius: 999px;
  background: var(--wa); color: #062b14; text-decoration: none;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, box-shadow 0.25s ease;
}
.wa-fab .wa-ic { width: 26px; height: 26px; fill: #062b14; flex-shrink: 0; }
.wa-fab b {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 14px; font-weight: 800;
  transition: max-width 0.3s ease, margin 0.3s ease;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(37, 211, 102, 0.6); }
.wa-fab:hover b, .wa-fab:focus-visible b { max-width: 200px; margin-left: 10px; }
.wa-fab.gone { opacity: 0; visibility: hidden; transform: scale(0.5); pointer-events: none; }
/* While the consent banner is up it owns the bottom of the screen (and
   overlaps the button on phones), so keep the button folded until the
   visitor decides. Browsers without :has() simply layer the banner (300)
   above the button (80) — same outcome, no interaction lost. */
body:has(.cookie-banner:not([hidden])) .wa-fab { opacity: 0; visibility: hidden; transform: scale(0.5); pointer-events: none; }
@media (max-width: 640px) {
  .wa-fab { right: 14px; bottom: 14px; height: 52px; padding: 0 13px; }
}
/* iOS only (-webkit-touch-callout matches WebKit-on-iOS): Safari's bottom
   bar overlays the page's bottom edge — expanded, or collapsed into the URL
   pill — clipping a bottom-anchored button. Lift it clear of that zone; the
   env() term picks up the home-indicator inset where available. */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 640px) {
    /* 34px alone clears the collapsed pill / home-indicator band even when
       env() resolves to 0 (viewport-fit is not "cover" on this site). */
    .wa-fab { bottom: calc(34px + env(safe-area-inset-bottom, 0px)); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-strip, .wa-fab, .wa-fab b, .wa-btn { transition: none !important; }
}

/* ==========================================================================
   SHIPPING RATE CHECKER (#shipping-rates)
   A container door that turns around: the lane on the front, every US
   departure port priced on the back. Every class is rc-* prefixed so none
   of it can reach the local-currency flip cards, which own .flip-*.
   ========================================================================== */
/* The card sits centered, so the section's text blocks center with it —
   a left-flush heading over a centered card reads as misalignment. */
.rates .eyebrow, .rates .h2 { text-align: center; }
.rates .section-sub { margin-inline: auto; text-align: center; }
.rates .rates-note { margin-inline: auto; text-align: center; }

.rc-stage { max-width: 520px; perspective: 1400px; margin-inline: auto; }
/* Height is set by rates.js to the face currently showing, so the door can
   hold ten ports or a three-line towing breakdown without scrolling inside
   a fixed box or leaving its bottom half empty. The min-height here is only
   the pre-script fallback. */
.rc-card {
  position: relative; transform-style: preserve-3d; min-height: 560px;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.25, 1), min-height 0.45s ease;
}
.rc-card.is-flipped { transform: rotateY(180deg); }
.rc-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); padding: 30px;
  display: flex; flex-direction: column;
}
.rc-front { background: var(--card); }
.rc-title { font-weight: 900; text-transform: uppercase; font-size: 22px; margin-bottom: 6px; }
.rc-lede { color: var(--mut); font-size: 15px; margin-bottom: 22px; }
.rc-go { margin-top: auto; }
/* While a cold-cache lookup runs the button says so and stops accepting
   repeat presses; the chips still work, so a later pick can still win. */
.rc-go:disabled { opacity: 0.72; cursor: progress; }

/* corrugated container door */
.rc-back {
  transform: rotateY(180deg);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.028) 0 26px, transparent 26px 52px),
    var(--bg2);
  overflow: hidden;
}
.rc-back::before, .rc-back::after {
  content: ''; position: absolute; top: 14px; bottom: 14px; width: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.07);
}
.rc-back::before { left: 16px; }
.rc-back::after { right: 16px; }

.rc-fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.rc-fld > span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mut);
}
.rc-fld select {
  width: 100%; min-width: 0; appearance: none; -webkit-appearance: none;
  background: var(--bg2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  font: 600 16px/1.3 var(--font); padding: 13px 42px 13px 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23ffb224' stroke-width='2'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center;
}
/* All four pickers are real <select>s now. Destination and auction location
   used to be <input list> comboboxes, which could never match: a datalist
   draws its own popup, and Chrome paints an arrow inside the field that no
   CSS reliably removes, so the field showed two. */

/* The hint used to sit inside the destination <label>, where ".rc-fld > span"
   outranked it on specificity and painted every message in the same grey
   uppercase as the field labels — an error that looked like a caption. It is
   a sibling of the label now, so this rule actually applies. Guidance is
   amber; a real error borrows the red the sign-up form already uses. */
.rc-hint {
  color: var(--amber); font-size: 13px; font-weight: 600;
  line-height: 1.4; margin: -8px 0 12px;
}
.rc-hint.is-error { color: #ff7a7a; }

/* AEC publishes a fixed yard list per platform - 75 for ADESA, 234 for
   Copart - and a visitor whose yard is not on it had no way to find that
   out except by scrolling the whole dropdown twice. A <p> and not a <span>:
   .rc-fld > span paints every field label uppercase grey, the same
   specificity trap that swallowed #rcHint before it was moved out. */
.rc-sub { color: var(--mut); font-size: 12px; line-height: 1.4; margin: -8px 0 14px; }
/* Tied to the field by the cascade rather than a second JS toggle, so the
   line cannot outlive the dropdown it belongs to. */
#rcLocFld[hidden] + #rcLocSub { display: none; }
/* The hint stays in the DOM and in the accessibility tree at all times and
   collapses when it has nothing to say. Toggling [hidden] instead meant the
   text was written while the live region was out of the tree, so the
   announcement could be dropped: the same ordering trap already documented
   for #rcLines in rates.js. */
.rc-hint:empty { display: none; }

/* one-tap popular destinations under the destination field */
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.rc-chip {
  border: 1px solid var(--line); background: transparent; color: var(--mut);
  border-radius: 999px; padding: 6px 14px; font: 600 13px var(--font);
  cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease;
}
.rc-chip:hover, .rc-chip.is-active { border-color: var(--amber); color: var(--ink); }
.rc-chip:disabled { opacity: 0.55; cursor: default; }
.rc-chip:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.rc-fld select:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.rc-stencil {
  font: 800 11px var(--mono); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber); opacity: 0.9; margin-bottom: 4px;
}
.rc-route { font-weight: 900; text-transform: uppercase; font-size: 19px; line-height: 1.25; margin-bottom: 10px; }
.rc-explain { color: var(--mut); font-size: 13px; margin-bottom: 12px; }
/* What the results face owes anyone who picked a platform we cannot price the
   pickup for. Amber and bold like the guidance hint on the front face: the
   complaint that started this was that the grey front-face version got missed
   and the port list read as the whole answer. */
.rc-note {
  color: var(--amber); font-size: 13px; font-weight: 600;
  line-height: 1.4; margin-bottom: 10px;
}

.rc-lines {
  flex: 0 1 auto; overflow: auto; margin: 0 6px 14px 0;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,0.25);
}
.rc-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.rc-line:last-child { border-bottom: 0; }
.rc-line .rc-port { font-weight: 700; }
.rc-line .rc-price { font-family: var(--mono); font-weight: 700; }
.rc-line.is-best { background: rgba(255, 178, 36, 0.08); }
.rc-line.is-best .rc-price, .rc-line.is-best .rc-port { color: var(--amber); }
.rc-line .rc-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-left: 8px;
}
.rc-ask { color: var(--amber); font-weight: 700; font-size: 13.5px; }

/* Towing/total breakdown (and the single contact-manager line): a handful
   of rows, so let them breathe and never scroll — the card fits to them. */
.rc-lines-sum { flex: 0 0 auto; overflow: visible; }
.rc-lines-sum .rc-line { padding: 16px; font-size: 15px; }

.rc-fcl {
  border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,0.25);
  padding: 10px 16px 13px; margin: 0 6px 14px 0;
}
.rc-fcl:empty { display: none; }
.rc-fcl-head {
  font: 800 10px var(--mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); opacity: 0.9;
}
.rc-fcl-row { display: flex; gap: 8px; margin-top: 9px; }
.rc-fcl-cell { flex: 1; text-align: center; }
.rc-fcl-cell b { display: block; font-family: var(--mono); font-size: 14.5px; font-weight: 700; }
.rc-fcl-cell span { font-size: 11px; color: var(--mut); }

.rc-ctl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* The vehicle picker on the results face. It had appearance:none and no
   chevron of its own (the background shorthand wipes background-image), so it
   read as a flat box or a second button beside "Change" rather than something
   you can open. Same amber chevron as the four on the front, scaled to this
   smaller control. */
.rc-ctl select {
  flex: 1 1 150px; min-width: 0; appearance: none; -webkit-appearance: none;
  background: var(--bg0); color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; font: 600 14px var(--font); padding: 10px 34px 10px 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23ffb224' stroke-width='2'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
}
.rc-ctl .btn { padding: 10px 20px; font-size: 13.5px; }

.rates-note { color: var(--mut); font-size: 13.5px; margin-top: 26px; max-width: 620px; }
.rates-note strong { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .rc-card { transition: none; } }
