/* NukePOS · public website: header, hero, home page sections, intro loader, world map, dealers, shop,
   cart and checkout. Loaded after base.css on website pages. */

/* Hero illustration colours (dark defaults) */
:root {
  --hg-ring-a: #2c7a45; --hg-ring-b: #0e3a22; --hg-ring-c: #061a0f;
  --hg-inner: rgba(255,255,255,.06);
  --hg-wheel: #12402a; --hg-hub: #0b2416; --hg-spoke: rgba(185,232,196,.35);
  --hg-belt: #0d3a20;
  --hg-top-a: #3f9a57; --hg-top-b: #1a4b2c;
  --hg-front-a: #174a2b; --hg-front-b: #082214;
  --hg-side: #072014; --hg-edge: rgba(143,232,160,.5);
  --hg-key: #0b2a18; --hg-hinge: #0b2416; --hg-bezel: #12301f;
}
/* ---------- Header (pill nav from the reference) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 0; transition: background-color .25s ease, backdrop-filter .25s ease, padding .25s ease; }
.site-header.is-scrolled { background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 12px; }
/* small speech-bubble tail, as on the reference logo pill */
.nav-links {
  display: flex; align-items: center; gap: 2px; padding: 4px;
  background: var(--tint-2); border: 1px solid var(--line); border-radius: 12px;
}
.nav-links a { padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: background-color .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--tint-3); color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-right .link { padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav-right .link:hover { color: var(--text); }
.cart-link { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); }
.cart-link:hover { background: var(--tint-3); color: var(--text); }
.cart-link svg { width: 20px; height: 20px; }
.cart-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #03150a; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed; inset: 72px 16px auto 16px; flex-direction: column; align-items: stretch;
    background: var(--surface-2); padding: 8px; border-radius: 16px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-right .hide-sm { display: none; }
}
/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 0; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% 0 30%; z-index: -1;
  background:
    radial-gradient(42% 46% at 62% 42%, var(--glow-a), transparent 70%),
    radial-gradient(30% 30% at 85% 70%, var(--glow-b), transparent 70%),
    radial-gradient(50% 60% at 40% 20%, var(--glow-c), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 620px; }
.hero h1 { font-size: clamp(38px, 4.5vw, 66px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 .hl { background: linear-gradient(90deg, var(--hl-a), var(--hl-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 24px; max-width: 520px; color: var(--text-2); font-size: 17px; }
/* Composite "input + button" pill from the reference, reused as the download CTA */
.combo {
  margin-top: 40px; display: flex; align-items: center; gap: 8px; max-width: 520px;
  padding: 6px; border-radius: 14px; background: var(--tint-2); border: 1px solid var(--line-2);
}
.combo .chip { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--tint-3); display: grid; place-items: center; color: var(--text-2); }
.combo .chip svg { width: 18px; height: 18px; }
.combo .label { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo .label strong { color: var(--text); font-weight: 600; }
.combo .btn { min-height: 40px; border-radius: 10px; }
.hero-alt { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-alt a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.hero-alt a:hover { border-color: var(--brand-hi); }
.hero-art { position: relative; aspect-ratio: 640 / 600; width: 100%; max-width: 640px; justify-self: end; }
.hero-art > svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 40px 60px var(--drop)); }
.bubble {
  position: absolute; z-index: 2; padding: 9px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1.25;
  box-shadow: 0 16px 30px -12px var(--drop); max-width: 220px; text-align: center;
  opacity: 0; transform: translateY(10px) scale(.92); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.9,.3,1.3);
}
.bubble.on { opacity: 1; transform: none; }
.bubble.light { background: #fff; color: #12221a; border: 2px solid #d9e7de; }
.bubble.green { background: linear-gradient(180deg, #4fd14a, #26a32e); color: #fff; border: 2px solid rgba(255,255,255,.35); text-shadow: 0 1px 0 rgba(0,0,0,.15); }
/* Tails point back at the machine */
.bubble::after { content: ''; position: absolute; bottom: -7px; width: 12px; height: 12px; transform: rotate(45deg); border-radius: 2px; background: inherit; border: inherit; border-top: 0; border-left: 0; }
.bubble.tail-left::after { left: 22px; }
.bubble.tail-right::after { right: 22px; }
.bubble .tick { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.25); margin-right: 4px; font-size: 11px; vertical-align: -2px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; }
  .hero-art { justify-self: center; max-width: 520px; margin-top: 12px; }
  .bubble { font-size: 12px; padding: 7px 10px; max-width: 170px; }
}
@media (max-width: 520px) {
  .combo { flex-wrap: wrap; }
  .combo .label { flex-basis: calc(100% - 50px); }
  .combo .btn { width: 100%; }
}
/* ---------- Testimonial strip ---------- */
.proof {
  margin-top: 8px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px;
  padding: 28px 32px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--tint-2), var(--tint-1));
  border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.proof blockquote { margin: 0; }
.proof .quote { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.02em; }
.proof .who { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.proof .who strong { color: var(--text); font-weight: 600; display: block; }
.proof .who .avatar { width: 34px; height: 34px; }
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.logo-tile {
  height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--tint-1); border: 1px solid var(--line);
  color: var(--text-2); font-size: 18px; letter-spacing: -0.01em; text-align: center; padding: 0 8px; line-height: 1.05;
}
.logo-tile.serif { font-family: Georgia, 'Times New Roman', serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.logo-tile.heavy { font-weight: 900; font-size: 15px; text-transform: lowercase; }
.logo-tile.dot::before { content: '●'; font-size: 10px; margin-right: 6px; vertical-align: 2px; }
@media (max-width: 960px) {
  .proof { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- Slideshow ---------- */
.tour { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.tour-tabs { display: flex; flex-direction: column; gap: 8px; }
.tour-tab {
  position: relative; overflow: hidden; text-align: left; cursor: pointer; padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--tint-1); transition: background-color .25s, border-color .25s;
}
.tour-tab:hover { background: var(--tint-2); }
.tour-tab h3 { font-size: 16px; font-weight: 600; color: var(--muted); transition: color .25s; }
.tour-tab p { font-size: 14px; color: var(--faint); margin-top: 6px; display: none; }
.tour-tab[aria-selected="true"] { background: var(--surface-2); border-color: var(--line-2); }
.tour-tab[aria-selected="true"] h3 { color: var(--text); }
.tour-tab[aria-selected="true"] p { display: block; color: var(--muted); }
.tour-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand-hi); }
.tour-tab[aria-selected="true"] .bar { animation: tourBar var(--slide-ms, 6000ms) linear forwards; }
.tour.is-paused .tour-tab .bar { animation-play-state: paused; }
@keyframes tourBar { to { width: 100%; } }
.stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-2); box-shadow: var(--shadow); padding-top: 36px; align-self: start;
}
.stage .chrome { position: absolute; inset: 0 0 auto 0; height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--inset); border-bottom: 1px solid var(--line); z-index: 2; }
.stage .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.stage .chrome i:nth-child(2) { background: #febc2e; }
.stage .chrome i:nth-child(3) { background: #28c840; }
.stage .chrome span { margin: 0 auto; font-size: 12px; color: var(--faint); padding-right: 42px; }
.slides { position: relative; aspect-ratio: 16 / 9; }
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .7s ease, transform 1.2s ease; }
.slide.is-active { opacity: 1; transform: none; }
.slide img { width: 100%; height: 100%; object-fit: contain; background: #090a0b; }
.slide-caption { display: none; }
.stage-controls { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: flex; gap: 8px; align-items: center; }
.dots { display: flex; gap: 6px; padding: 0 8px; }
@media (max-width: 960px) {
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour-tabs { order: 2; flex-direction: row; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .tour-tab { flex: 0 0 78%; scroll-snap-align: start; }
  .tour-tab p { display: block; }
}
/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.feature .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(51,178,47,.12); color: var(--brand-hi); border: 1px solid rgba(51,178,47,.25); }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin-top: 20px; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s; }
.product-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(70% 70% at 50% 60%, rgba(51,178,47,.22), transparent 70%), var(--surface-2); display: grid; place-items: center; padding: 24px; }
.product-media img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 20px 30px var(--drop)); }
.product-media .badge { position: absolute; top: 14px; left: 14px; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 18px; }
.product-body p { color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 12px; }
.price strong { font-size: 22px; font-weight: 700; }
.price s { color: var(--faint); font-size: 14px; }
.product-actions { display: flex; gap: 8px; margin-top: 14px; }
.product-actions form { flex: 1; }
.product-actions .btn { width: 100%; }
@media (max-width: 960px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .products { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.plan.featured { background: linear-gradient(180deg, rgba(51,178,47,.16), var(--surface) 60%); border-color: rgba(79,209,74,.45); box-shadow: 0 30px 80px -40px rgba(51,178,47,.6); }
.plan .badge { position: absolute; top: 20px; right: 20px; }
.plan h3 { font-size: 22px; }
.plan .sub { color: var(--muted); margin-top: 6px; font-size: 15px; min-height: 48px; }
.plan .amount { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; }
.plan .amount strong { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.plan .amount span { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.check { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(51,178,47,.16); color: var(--brand-hi); margin-top: 2px; }
.check svg { width: 12px; height: 12px; }
.plan form { margin-top: auto; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; color: var(--faint); font-size: 14px; }
.pay-note img { height: 18px; width: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }
/* ---------- Downloads ---------- */
.platforms { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.platform { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.platform.is-you { border-color: rgba(79,209,74,.45); background: linear-gradient(180deg, rgba(51,178,47,.12), var(--surface) 70%); }
.platform .os-icon { width: 44px; height: 44px; margin-bottom: 10px; color: var(--text); }
.platform h3 { font-size: 19px; }
.platform .meta { color: var(--muted); font-size: 14px; }
.platform .btn { margin-top: 16px; }
@media (max-width: 860px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--brand-hi); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }
/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; padding: 64px; border-radius: 32px; text-align: center;
  background: radial-gradient(60% 120% at 50% 0%, rgba(79,209,74,.35), transparent 70%), var(--surface-2); border: 1px solid var(--line-2);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 500; }
.cta-band p { color: var(--text-2); margin: 14px auto 0; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 620px) { .cta-band { padding: 40px 22px; } }
/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 80px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { color: var(--text); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* =====================================================================================
   Intro loader, adapted from the NukePOS intro splash (stitch_app_intro_logo_animation).
   Light splash that runs ~3 s on the first page view of a browser session, then fades
   into the dark site. It hides itself with CSS even if JavaScript never runs.
   ===================================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 24px; overflow: hidden; user-select: none; color: #0f172a;
  font-family: 'Plus Jakarta Sans', var(--font);
  background: linear-gradient(180deg, #ffffff, #f8fafc 55%, #f1f5f9);
  animation: introAutoHide .6s ease 3.4s forwards; /* safety net if JS never runs */
}
.intro-seen .intro { display: none; }
.intro.is-leaving { animation: introLeave .65s cubic-bezier(.7,0,.3,1) forwards; }
html.intro-active, html.intro-active body { overflow: hidden; }
@keyframes introAutoHide { to { opacity: 0; visibility: hidden; } }
@keyframes introLeave { to { opacity: 0; visibility: hidden; transform: scale(1.04); filter: blur(4px); } }
.intro-bg { position: absolute; inset: 0; pointer-events: none; }
.intro-aura { position: absolute; top: 33%; left: 50%; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; background: linear-gradient(45deg, rgba(167,243,208,.25), rgba(220,252,231,.4), rgba(240,253,250,.2)); filter: blur(80px); animation: introGlow 4s ease-in-out infinite; }
.intro-aura.two { top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; background: rgba(209,250,229,.3); filter: blur(60px); animation: none; }
.intro-dots { position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(#cbd5e1 1px, transparent 1px); background-size: 24px 24px; }
.intro-top { position: relative; z-index: 1; width: 100%; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; gap: 12px; }
.intro-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); backdrop-filter: blur(4px); }
.intro-pill.ready { background: rgba(236,253,245,.8); border: 1px solid rgba(167,243,208,.7); color: #065f46; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.intro-pill.ready i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.intro-pill.ready i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #10b981; animation: introPing 1s cubic-bezier(0,0,.2,1) infinite; }
.intro-pill.speed { background: rgba(241,245,249,.9); border: 1px solid rgba(226,232,240,.8); color: #334155; font-family: ui-monospace, Consolas, monospace; font-weight: 600; }
.intro-pill.speed svg { width: 14px; height: 14px; color: #059669; }
.intro-stage { position: relative; z-index: 1; margin: auto 0; width: 100%; max-width: 340px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro-ring { position: absolute; top: -16px; width: 224px; height: 224px; border-radius: 50%; border: 1px solid rgba(52,211,153,.4); pointer-events: none; animation: introRing 3s cubic-bezier(.1,.8,.3,1) forwards; }
.intro-logo { position: relative; width: 208px; height: 208px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; filter: drop-shadow(0 12px 24px rgba(16,185,129,.12)); animation: introLogo 3s cubic-bezier(.2,.9,.3,1) forwards; }
.intro-logo .mark { width: 188px; height: auto; }
.intro-logo .full { width: 100%; height: 100%; object-fit: contain; }
.intro-logo .wordmark { font-size: 34px; color: #08341a; letter-spacing: -0.015em; }
.intro-logo .wordmark b { color: #26a32e; }
.intro-ping { position: absolute; top: 18px; right: 4px; width: 40px; height: 40px; border-radius: 50%; background: rgba(16,185,129,.2); border: 1px solid rgba(52,211,153,.4); pointer-events: none; animation: introChime 3s ease-out forwards; }
.intro-streaks { position: absolute; left: -24px; top: 80px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; animation: introStreaks 3s cubic-bezier(.16,1,.3,1) forwards; }
.intro-streaks i { height: 4px; border-radius: 999px; background: linear-gradient(90deg, transparent, #10b981); opacity: .8; }
.intro-streaks i:nth-child(1) { width: 32px; }
.intro-streaks i:nth-child(2) { width: 48px; background: linear-gradient(90deg, transparent, #16a34a); opacity: .6; }
.intro-streaks i:nth-child(3) { width: 24px; background: linear-gradient(90deg, transparent, #34d399); opacity: .9; }
.intro-copy { margin-top: 16px; }
.intro-copy h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.025em; display: flex; gap: 6px; justify-content: center; animation: introText 3s cubic-bezier(.2,.9,.3,1) forwards; }
.intro-copy h2 .a { color: #0f172a; }
.intro-copy h2 .b { color: #059669; }
.intro-copy h2 .c { background: linear-gradient(90deg, #059669, #16a34a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-copy p { margin: 6px auto 0; max-width: 220px; font-size: 12px; letter-spacing: .025em; color: #64748b; font-weight: 500; animation: introTag 3s cubic-bezier(.2,.9,.3,1) forwards; }
.intro-skip { margin-top: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #6ee7b7; color: #047857; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: background-color .2s, border-color .2s, transform .1s; animation: introTag 3s cubic-bezier(.2,.9,.3,1) forwards; }
.intro-skip:hover { background: #ecfdf5; border-color: #34d399; }
.intro-skip:active { transform: scale(.95); }
.intro-skip svg { width: 14px; height: 14px; }
.intro-foot { position: relative; z-index: 1; width: 100%; max-width: 340px; padding-bottom: 16px; display: grid; gap: 10px; }
.intro-track { height: 6px; border-radius: 999px; overflow: hidden; background: rgba(226,232,240,.9); border: 1px solid rgba(203,213,225,.6); box-shadow: inset 0 1px 2px rgba(0,0,0,.06); }
.intro-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #059669, #22c55e, #34d399); animation: introProgress 3s linear forwards; }
.intro-status { display: flex; justify-content: space-between; font-size: 11px; color: #64748b; font-weight: 500; padding: 0 2px; }
.intro-status .label { display: flex; align-items: center; gap: 6px; color: #475569; }
.intro-status .label i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; }
.intro-status .label.done { color: #047857; font-weight: 600; }
.intro-status .label.done i { background: #10b981; }
.intro-status .count { font-family: ui-monospace, Consolas, monospace; color: #047857; font-weight: 700; }
@keyframes introGlow { 0%, 100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.25); opacity: .8; } }
@keyframes introPing { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes introLogo {
  0% { opacity: 0; transform: scale(.65) translateY(24px); filter: blur(10px); }
  25% { opacity: 1; transform: scale(1.04) translateY(-4px); filter: blur(0); }
  35% { transform: scale(.98) translateY(0); }
  45%, 100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes introStreaks {
  0% { opacity: 0; transform: translateX(-30px) scaleX(.2); }
  20% { opacity: .85; transform: translateX(0) scaleX(1); }
  35% { opacity: 1; transform: translateX(4px); }
  70% { opacity: .7; transform: translateX(0); }
  100% { opacity: .85; transform: translateX(0); }
}
@keyframes introChime { 0%, 30% { opacity: 0; transform: scale(.7); } 38% { opacity: 1; transform: scale(1.2); } 48%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes introText { 0%, 20% { opacity: 0; transform: translateY(18px); letter-spacing: -0.05em; } 45%, 100% { opacity: 1; transform: none; letter-spacing: -0.025em; } }
@keyframes introTag { 0%, 40% { opacity: 0; transform: translateY(10px); } 60%, 100% { opacity: 1; transform: none; } }
@keyframes introProgress { to { width: 100%; } }
@keyframes introRing { 0% { transform: scale(.7); opacity: 0; } 30% { opacity: .45; } 70% { transform: scale(1.4); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }
/* ---------- Hero machine motion ---------- */
.hero-art .spin-slow { transform-box: fill-box; transform-origin: center; animation: heroSpin 18s linear infinite; }
.hero-art .belt-move { animation: heroBelt 1.2s linear infinite; }
.hero-art .blink { animation: heroBlink 1.6s ease-in-out infinite; }
.hero-art .receipt { transform-box: fill-box; transform-origin: 50% 100%; animation: heroReceipt 6s cubic-bezier(.34,1.3,.64,1) infinite; }
.hero-art .bob { animation: heroBob 4.5s ease-in-out infinite; }
.hero-art .waves path { animation: heroWave 1.8s ease-out infinite; }
.hero-art .waves path:nth-child(2) { animation-delay: .25s; }
.hero-art .pay-chip { animation: heroChip 3s ease-in-out infinite; }
@keyframes heroSpin { to { transform: rotate(360deg); } }
@keyframes heroBelt { to { stroke-dashoffset: -20; } }
@keyframes heroBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes heroReceipt { 0%, 8% { transform: scaleY(.15); opacity: 0; } 22%, 85% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes heroBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes heroWave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes heroChip { 0%, 100% { fill: #33b22f; } 50% { fill: #4fd14a; } }
/* =====================================================================================
   World map ("Global reach")
   ===================================================================================== */
:root {
  --map-dot: rgba(170, 230, 190, .34);
  --map-l1: #1f5a35; --map-l2: #2a8a3f; --map-l3: #3fb83c; --map-l4: #72e26c;
  --map-stroke: rgba(4, 12, 8, .7);
  --map-arc: #4fd14a;
  --map-top: #ffc83d;
  --map-label-bg: rgba(8, 20, 13, .92);
}
:root[data-theme="light"] {
  --map-dot: rgba(10, 70, 35, .17);
  --map-l1: #c3e9c6; --map-l2: #84d384; --map-l3: #3fb83c; --map-l4: #1c8a25;
  --map-stroke: #ffffff;
  --map-arc: #26a32e;
  --map-top: #f0a500;
  --map-label-bg: rgba(255, 255, 255, .96);
}
.reach { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: stretch; }
.wmap-wrap { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 18px 14px; border-radius: var(--radius-lg); background: radial-gradient(60% 70% at 60% 40%, rgba(51,178,47,.12), transparent 70%), var(--surface); border: 1px solid var(--line); overflow: hidden; }
.wmap { width: 100%; height: auto; overflow: visible; margin: auto 0; }
.wm-dot { fill: var(--map-dot); }
.wm-base path { fill: url(#wmDots); opacity: 0; transition: opacity 1.2s ease; }
.wm-served path { stroke: var(--map-stroke); stroke-width: .6; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.85);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.9,.3,1.2), filter .2s; transition-delay: calc(var(--i) * 110ms + 300ms); cursor: pointer; }
.wm-served .lvl-1 { fill: var(--map-l1); }
.wm-served .lvl-2 { fill: var(--map-l2); }
.wm-served .lvl-3 { fill: var(--map-l3); }
.wm-served .lvl-4 { fill: var(--map-l4); }
.wm-served path.is-top { stroke: var(--map-top); stroke-width: 1.4; }
.wm-served path.is-hover { filter: brightness(1.18) drop-shadow(0 0 6px rgba(79,209,74,.6)); }
.wm-arc { fill: none; stroke: var(--map-arc); stroke-width: 1.3; stroke-linecap: round; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(.6,0,.2,1); transition-delay: calc(var(--i) * 140ms + 1000ms); }
.wm-spark { fill: #fff; opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--i) * 140ms + 2400ms); filter: drop-shadow(0 0 3px var(--map-arc)); }
:root[data-theme="light"] .wm-spark { fill: #1c8a25; }
.wm-mk { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center; transition: opacity .4s ease, transform .6s cubic-bezier(.3,1.6,.5,1);
  transition-delay: calc(var(--i) * 110ms + 700ms); cursor: pointer; outline: none; }
.wm-mk .core { fill: #fff; stroke: var(--map-l3); stroke-width: 2.5; }
.wm-mk .ring { fill: none; stroke: var(--map-arc); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.wm-mk .hit { fill: transparent; }
.wm-mk.top .core { fill: var(--map-top); stroke: #fff; stroke-width: 2.5; }
.wm-mk.top .ring { stroke: var(--map-top); stroke-width: 2; }
.wm-top-stop { stop-color: var(--map-top); stop-opacity: .55; }
.wm-mk:focus-visible .core, .wm-mk.is-hover .core { stroke-width: 4; }
.wm-toplabel { opacity: 0; transform: translateY(var(--ty)); transition: opacity .6s ease 2.2s, transform .7s cubic-bezier(.2,.9,.3,1.3) 2.2s; pointer-events: none; }
.wm-toplabel rect { fill: var(--map-label-bg); stroke: var(--map-top); stroke-width: 1.5; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.wm-toplabel .t1 { font-family: var(--font); font-size: 10px; font-weight: 800; letter-spacing: .08em; fill: var(--map-top); }
.wm-toplabel .t2 { font-family: var(--font); font-size: 13px; font-weight: 700; fill: var(--text); }
.wm-toplabel-line { stroke: var(--map-top); stroke-width: 1.5; stroke-dasharray: 3 3; }
/* In view: play the sequence */
.reach.in .wm-base path { opacity: 1; }
.reach.in .wm-served path { opacity: 1; transform: none; }
.reach.in .wm-arc { stroke-dashoffset: 0; }
.reach.in .wm-spark { opacity: 1; }
.reach.in .wm-mk { opacity: 1; transform: none; }
.reach.in .wm-mk .ring { animation: wmPulse 2.6s ease-out infinite; animation-delay: calc(var(--i) * 110ms + 1.4s); }
.reach.in .wm-mk .ring.two { animation-delay: calc(var(--i) * 110ms + 2.7s); }
.reach.in .wm-mk.top .halo { animation: wmHalo 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.reach.in .wm-toplabel { opacity: 1; transform: none; }
@keyframes wmPulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }
@keyframes wmHalo { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
.wm-tip { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); padding: 10px 14px; border-radius: 12px; min-width: 150px;
  background: var(--map-label-bg); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.wm-tip strong { display: block; font-size: 15px; }
.wm-tip .muted { font-size: 12px; }
.wm-tip .tag { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 800; color: var(--map-top); letter-spacing: .05em; }
.wm-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--muted); }
.wm-legend i { width: 22px; height: 10px; border-radius: 3px; }
.wm-legend i.lvl-1 { background: var(--map-l1); }
.wm-legend i.lvl-2 { background: var(--map-l2); }
.wm-legend i.lvl-3 { background: var(--map-l3); }
.wm-legend i.lvl-4 { background: var(--map-l4); }
.wm-legend .sep { width: 1px; height: 14px; background: var(--line-2); margin: 0 6px; }
.wm-legend .lg-top { width: 10px; height: 10px; border-radius: 50%; background: var(--map-top); box-shadow: 0 0 0 3px rgba(255,200,61,.3); }
.wm-legend .lg-arc { width: 22px; height: 2px; background: var(--map-arc); border-radius: 2px; }
.reach-side { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.reach-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reach-stats div { padding: 14px; border-radius: 14px; background: var(--tint-2); border: 1px solid var(--line); }
.reach-stats strong { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.reach-stats span { font-size: 13px; color: var(--muted); }
.reach-top { display: grid; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid rgba(255,200,61,.4); background: linear-gradient(135deg, rgba(255,200,61,.14), transparent 70%); }
.reach-top .badge { justify-self: start; }
.reach-top strong { font-size: 22px; font-weight: 700; margin-top: 4px; }
.reach-side h3 { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.reach-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.reach-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 14px; cursor: default; border-radius: 8px; }
.reach-list li.is-hover .nm { color: var(--brand-hi); }
.reach-list .rk { font-weight: 800; color: var(--faint); font-size: 12px; }
.reach-list li:first-child .rk { color: var(--map-top); }
.reach-list .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reach-list .nm em { font-style: normal; font-size: 10px; font-weight: 800; color: var(--brand-hi); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; margin-left: 4px; vertical-align: 1px; }
.reach-list .ct { font-weight: 700; font-variant-numeric: tabular-nums; }
.reach-list .bar { grid-column: 2 / -1; height: 6px; border-radius: 3px; background: var(--tint-3); overflow: hidden; }
.reach-list .bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--map-l2), var(--map-l4)); transition: width 1.2s cubic-bezier(.2,.8,.2,1) 1.2s; }
.reach-list li:first-child .bar i { background: linear-gradient(90deg, #ffb703, var(--map-top)); }
.reach.in .reach-list .bar i { width: var(--w); }
@media (max-width: 1060px) { .reach { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .wmap-wrap { padding: 10px; }
  /* Phones: draw the map wider and let it pan sideways (pre-scrolled to the top market). */
  .wmap-scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -10px; padding: 0 10px; }
  .wmap-scroll::-webkit-scrollbar { display: none; }
  .wmap-scroll .wmap { width: 720px; max-width: none; }
}
/* =====================================================================================
   Top dealers
   ===================================================================================== */
.dealers { position: relative; }
.dealer-track { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding: 8px 16px 20px; }
.dealers.is-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.dealers.is-marquee .dealer-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: dealerScroll var(--dur) linear infinite; }
.dealers.is-marquee:hover .dealer-track, .dealers.is-marquee:focus-within .dealer-track { animation-play-state: paused; }
@keyframes dealerScroll { to { transform: translateX(-50%); } }
.dealer {
  position: relative; flex: none; width: 240px; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2,.9,.3,1.3), border-color .25s, box-shadow .25s;
}
.dealer:hover, .dealer:focus-visible { transform: translateY(-6px); border-color: rgba(79,209,74,.55); box-shadow: 0 24px 50px -24px rgba(51,178,47,.55); }
/* Logos are designed for white backgrounds, so each one sits on a white plate in both themes. */
.dealer-logo { height: 96px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 0; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(10,50,25,.06); }
.dealer-logo img { display: block; height: 100%; width: 100%; max-height: none; max-width: none; object-fit: cover; transition: transform .3s ease; }
.dealer:hover .dealer-logo img { transform: scale(1.05); }
.dealer-meta { display: grid; gap: 2px; padding: 0 4px; line-height: 1.3; }
.dealer-meta strong { font-size: 15px; font-weight: 700; }
.dealer-meta span { font-size: 13px; color: var(--muted); }
.dealer-visit { position: absolute; right: 14px; bottom: 14px; font-size: 12px; font-weight: 700; color: var(--brand-hi); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.dealer:hover .dealer-visit, .dealer:focus-visible .dealer-visit { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .dealers.is-marquee { -webkit-mask-image: none; mask-image: none; }
  .dealers.is-marquee .dealer-track { width: auto; flex-wrap: wrap; justify-content: center; animation: none; }
  .dealers.is-marquee .dealer[aria-hidden="true"] { display: none; }
  .reach .wm-base path, .reach .wm-served path, .reach .wm-mk, .reach .wm-toplabel, .reach .wm-spark { opacity: 1; transform: none; }
  .reach .wm-arc { stroke-dashoffset: 0; }
  .reach .reach-list .bar i { width: var(--w); }
}
/* =====================================================================================
   Full-screen home banner
   ===================================================================================== */
/* Keep uploaded artwork intact; the header overlays only its top edge. */
body:has(.banner) .site-header {
  background: color-mix(in srgb, var(--header-bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
body:has(.banner) #main { margin-top: -76px; }
.banner { position: relative; height: auto; min-height: 0; max-height: none; background: var(--surface); }
.banner img { display: block; width: 100%; height: auto; object-fit: contain; }
.banner-next {
  position: absolute; left: 50%; bottom: -22px; z-index: 2; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); color: var(--text); border: 1px solid var(--line-2);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.45); animation: bannerNudge 2.4s ease-in-out infinite;
}
.banner-next:hover { background: var(--brand); color: #03150a; border-color: var(--brand); }
.banner-next svg { width: 20px; height: 20px; }
@keyframes bannerNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.banner + .hero { padding-top: 64px; }
/* =====================================================================================
   Footer contact, social icons, contact page
   ===================================================================================== */
.footer-grid.has-contact { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
.footer-contact .ci { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ci svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--brand-hi); }
.footer-contact a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.socials a:hover { background: var(--brand); color: #03150a; border-color: var(--brand); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.socials.big { justify-content: center; gap: 10px; }
.socials.big a { width: auto; height: 46px; padding: 0 18px; border-radius: 999px; display: inline-flex; gap: 10px; font-size: 14px; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(51,178,47,.12); color: var(--brand-hi); border: 1px solid rgba(51,178,47,.25); }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 19px; margin-top: 8px; }
.contact-card p { color: var(--text-2); }
.contact-card a:not(.btn) { color: var(--text); border-bottom: 1px solid var(--line-2); }
.contact-card a:not(.btn):hover { border-color: var(--brand-hi); }
.contact-card .btn { margin-top: 6px; }
.contact-card .btn svg { width: 16px; height: 16px; }
.contact-list { margin: 0; width: 100%; display: grid; }
.contact-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-list div:last-child { border-bottom: 0; }
.contact-list dt { color: var(--muted); font-size: 14px; }
.contact-list dd { margin: 0; font-size: 14px; word-break: break-all; }
.contact-social { margin-top: 56px; text-align: center; }
.contact-social h2 { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
@media (max-width: 1060px) { .footer-grid.has-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-grid.has-contact .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer-grid.has-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Map land is easier to read with a soft fill under the dots (most noticeable in the light theme). */
:root { --map-land: rgba(160, 220, 180, .045); }
:root[data-theme="light"] { --map-land: #e1ece4; --map-dot: rgba(10, 70, 35, .3); }
.wm-land { fill: var(--map-land); }
/* Light theme: black dots on the world map */
:root[data-theme="light"] { --map-dot: rgba(10, 14, 12, .62); --map-land: #edf1ee; }
