/* ==========================================================================
   NXRADIO — theme styles
   Design tokens live in :root. Change colors/fonts here only.
   ========================================================================== */

:root {
  --bg:        #0A0B0D;
  --bg-2:      #111318;
  --bg-3:      #171A20;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);
  --text:      #F2F3F5;
  --muted:     #9AA1AB;
  --accent:    #FFCB14;   /* signal yellow */
  --accent-2:  #FFD84D;
  --ok:        #3DDC84;
  --alert:     #FF4D4D;
  --paper:     #F4F4F1;
  --ink:       #0A0B0D;
  --ink-muted: #5B616B;
  --ink-line:  rgba(10,11,13,.1);

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --r-sm: 8px;
  --r:    16px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
h1 { font-size: clamp(3rem, 8.5vw, 7rem); letter-spacing: -.045em; line-height: .95; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40ch; }

.mono, .eyebrow {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255,203,20,.18); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22252c; }
.btn-sm { height: 42px; padding: 0 20px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10,11,13,.9);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; }
.brand-lockup { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.brand .brand-logo { width: clamp(210px, 32vw, 400px); height: auto; display: block; }
.brand-powered { font-family: var(--f-mono); font-weight: 400; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); line-height: 1; }
.brand-lockup.is-large .brand-logo { width: clamp(240px, 44vw, 520px); }
.brand-lockup.is-large .brand-powered { font-size: .66rem; }
@media (max-width: 900px) { .brand .brand-logo { width: min(330px, calc(100vw - 110px)); } }
@media (max-width: 420px) { .brand-powered { font-size: .5rem; letter-spacing: .14em; } }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: .92rem; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; transition: transform .3s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav .btn { margin-top: 16px; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .site-header { background: var(--bg); }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head p { color: var(--muted); max-width: 46ch; justify-self: end; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } .section-head p { justify-self: start; } }

.light { background: var(--paper); color: var(--ink); }
.light .section-head p, .light p.lead { color: var(--ink-muted); }
.light .eyebrow { color: var(--ink); }
.light .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(255,203,20,.35); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 75% 45%, rgba(255,203,20,.11), transparent 70%);
}

/* Kinetic grid (assets/js/kinetic-grid.js) — sits behind the section's content. */
[data-kinetic-grid] { isolation: isolate; }
.kgrid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  mask-image: radial-gradient(90% 85% at 55% 45%, #000 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(90% 85% at 55% 45%, #000 40%, transparent 95%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .dim { color: #4A4F57; }
.hero .lead { margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.waves { position: absolute; inset: 0; display: grid; place-items: center; }
.waves span {
  position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,203,20,.55);
  animation: ripple 4.2s var(--ease) infinite;
  opacity: 0;
}
.waves span:nth-child(2) { animation-delay: 1.05s; }
.waves span:nth-child(3) { animation-delay: 2.1s; }
.waves span:nth-child(4) { animation-delay: 3.15s; }
@keyframes ripple { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.hero-radio { position: relative; width: 42%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.65)); animation: float 6s ease-in-out infinite; }
.device { position: relative; width: 46%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.tx-dot { animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.eq rect { animation: eq 1.1s ease-in-out infinite; transform-origin: center bottom; transform-box: fill-box; }
.eq rect:nth-child(2) { animation-delay: .15s; } .eq rect:nth-child(3) { animation-delay: .3s; }
.eq rect:nth-child(4) { animation-delay: .45s; } .eq rect:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 50% { transform: scaleY(.35); } }

.hero-tag {
  position: absolute; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(17,19,24,.85); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px;
  display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(8px);
}
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.hero-tag.t1 { top: 18%; left: 2%; }
.hero-tag.t2 { bottom: 22%; right: 0; }
.hero-tag.t2 i { background: var(--accent); }

.stats { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { padding: 28px 24px 34px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; width: 100%; margin: 10px auto 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 36px 30px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.feature:hover { background: var(--bg-2); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 44px; color: var(--accent); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .93rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .features { grid-template-columns: 1fr; } .feature .ico { margin-bottom: 24px; } }

/* ---------- Radio (product) ---------- */
.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.device-stage { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #F9F9F6; display: grid; place-items: center; border: 1px solid var(--ink-line); }
.device-stage img.product { width: 92%; height: 92%; object-fit: contain; }
.device-stage .badge { position: absolute; top: 22px; left: 22px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--accent); border-radius: 999px; padding: 8px 14px; }
.price { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 18px; }
.price strong { font-family: var(--f-display); font-size: 3.4rem; letter-spacing: -.04em; font-weight: 600; }
.price span { color: var(--ink-muted); }
.price strong sup, .stats strong sup { font-size: .45em; vertical-align: top; position: relative; top: .2em; margin-left: 2px; color: var(--accent); }
.light .price strong sup { color: #B88A00; }
.price-note { margin: -6px 0 24px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--ink-line); border-left: 3px solid var(--accent); font-size: .88rem; color: var(--ink-muted); max-width: 46ch; }
.price-note b { color: var(--ink); }
.price-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.swatches { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.swatches button {
  width: 30px; height: 30px; border-radius: 50%; background: var(--c); cursor: pointer; padding: 0;
  border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--paper), 0 0 0 4px transparent;
  transition: box-shadow .2s, transform .2s var(--ease);
}
.swatches button { position: relative; }
.swatches button::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; } /* 44px touch area */
.swatches button:hover { transform: scale(1.08); }
@media (max-width: 600px) { .swatches { gap: 14px; } .swatches .swatch-name { flex-basis: 100%; margin: 4px 0 0; } }
.swatches button[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.swatches .swatch-name { margin-left: 8px; font-size: .92rem; font-weight: 600; }
.device-stage img.product { transition: opacity .25s; }

/* ---------- Color gallery: 3D round carousel (assets/js/round-carousel.js) ---------- */
.gallery { overflow: hidden; padding-bottom: clamp(64px, 8vw, 110px); }
.ring-carousel { --card-w: clamp(150px, 19vw, 250px); --card-h: calc(var(--card-w) * 1.22); --card-radius: 22px; position: relative; }
.ring-viewport {
  position: relative; height: calc(var(--card-h) * 1.55); display: grid; place-items: center;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none;
}
.ring-viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: -8px; border-radius: var(--r); }
.ring-carousel.is-dragging .ring-viewport { cursor: grabbing; }
.ring { position: relative; width: var(--card-w); height: var(--card-h); transform-style: preserve-3d; will-change: transform; }
.ring-card { position: absolute; inset: 0; margin: 0; transform-style: preserve-3d; }
.ring-card .face {
  position: absolute; inset: 0; border-radius: var(--card-radius); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(80% 70% at 50% 35%, #23262E 0%, #121419 100%);
  border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center;
}
.ring-card .face img { width: 80%; height: 80%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.ring-card .face.back { transform: rotateY(180deg); filter: brightness(var(--inner-dim, .35)); }
.ring-card .face.back img { transform: scaleX(-1); }
.ring-card figcaption {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(10,11,13,.75); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 10px; color: var(--text);
}
.ring-card figcaption i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.ring-hint { text-align: center; color: var(--muted); margin-top: 8px; }
.ring-carousel:not(.is-ready) .ring-card:not(:first-child) { display: none; }
.specs { list-style: none; border-top: 1px solid var(--ink-line); margin-bottom: 32px; }
.specs li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--ink-line); font-size: .93rem; }
.specs li span:first-child { color: var(--ink-muted); }
.specs li span:last-child { font-weight: 500; text-align: right; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .device-grid { grid-template-columns: 1fr; } }

/* ---------- Offer ---------- */
.offer { padding: 0 0 clamp(72px, 9vw, 120px); }
.offer-card { display: grid; grid-template-columns: 1.3fr .9fr; border-radius: var(--r-lg); overflow: hidden; background: var(--accent); color: var(--ink); }
.offer-copy { padding: clamp(28px, 4vw, 56px); }
.offer-tag { display: inline-block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--accent); padding: 7px 12px; border-radius: 999px; margin-bottom: 22px; }
.offer h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.offer-copy p { max-width: 44ch; font-size: 1.05rem; margin-bottom: 26px; }
.offer-math { list-style: none; max-width: 380px; }
.offer-math li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(10,11,13,.18); font-size: .95rem; }
.offer-math li.save { font-weight: 700; }
.offer-price { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.offer-price s { color: var(--muted); font-family: var(--f-display); font-size: 1.4rem; }
.offer-price .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(4.4rem, 9vw, 7rem); letter-spacing: -.05em; line-height: .9; color: var(--accent); }
.offer-price .big sup { font-size: .38em; vertical-align: top; position: relative; top: .3em; }
.offer-price .mono { color: var(--muted); margin-bottom: 14px; }
.offer-price .btn-dark { background: var(--accent); color: var(--ink); align-self: flex-start; }
.offer-price .btn-dark:hover { background: var(--accent-2); }
.offer-price small { color: var(--muted); font-size: .8rem; margin-top: 8px; max-width: 34ch; }
@media (max-width: 860px) { .offer-card { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 34px 30px 40px; border-radius: var(--r); background: #fff; border: 1px solid var(--ink-line); }
.step .num { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-muted); display: block; margin-bottom: 64px; }
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--ink-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step .num { margin-bottom: 28px; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; }
.plan { position: relative; padding: 40px 36px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg-2); display: flex; flex-direction: column; }
.plan.featured { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.plan .mono { color: var(--muted); }
.plan.featured .mono { color: rgba(10,11,13,.65); }
.plan .amount { font-family: var(--f-display); font-size: clamp(3.6rem, 7vw, 5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin: 30px 0 6px; }
.plan .amount sup { font-size: .4em; vertical-align: top; position: relative; top: .35em; margin-right: 2px; letter-spacing: 0; }
.plan .per { color: var(--muted); margin-bottom: 30px; }
.plan.featured .per { color: rgba(10,11,13,.7); }
.plan ul { list-style: none; margin-bottom: 36px; flex: 1; }
.plan li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.plan.featured li { border-color: rgba(10,11,13,.14); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.plan.featured li svg { color: var(--ink); }
.plan .ribbon { position: absolute; top: 24px; right: 24px; background: var(--ink); color: var(--accent); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.plans-note { margin-top: 28px; color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(96px, 12vw, 160px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); position: relative; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 50%, rgba(255,203,20,.08), transparent 70%); }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.045em; max-width: 16ch; margin: 0 auto 22px; }
.cta-band p { color: var(--muted); max-width: 50ch; margin: 0 auto 36px; }

/* ---------- Enterprise & network ---------- */
.enterprise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 20px; }
.enterprise > div { background: var(--bg); padding: 30px 28px; }
.enterprise .mono { color: var(--accent); display: block; margin-bottom: 30px; }
.enterprise b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: 8px; }
.enterprise p { color: var(--muted); font-size: .93rem; }
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.markets > div { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: var(--bg-2); }
.markets strong { display: block; font-family: var(--f-display); font-size: 3.4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.markets .mono { color: var(--muted); display: block; margin-bottom: 16px; }
.markets p { font-size: .92rem; color: #C9CDD3; line-height: 1.8; }
.markets.light-cards > div { background: #fff; border-color: var(--ink-line); }
.markets.light-cards .mono { color: var(--ink-muted); }
.markets.light-cards p, .markets.light-cards strong { color: var(--ink); }
@media (max-width: 860px) { .enterprise, .markets { grid-template-columns: 1fr; } }

/* ---------- Social section (parts/social.php) ---------- */
.social-section { border-top: 1px solid var(--line); }
.social-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.social-card {
  position: relative; display: flex; align-items: center; gap: 24px; overflow: hidden;
  padding: 26px 28px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line-2);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.social-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 12% 50%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%);
  opacity: .7; transition: opacity .35s;
}
.social-card > * { position: relative; z-index: 1; }
.social-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 30px 60px -30px rgba(255,203,20,.35); }
.social-card:hover::before { opacity: 1; }
.social-icon {
  position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: #000; color: #fff; border: 1px solid var(--line-2);
}
.social-icon svg { width: 28px; height: 28px; position: relative; z-index: 2; }
/* "Signal" rings around the icon, like a radio transmitting. */
.social-icon i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ripple 3s var(--ease) infinite; }
.social-icon i:last-child { animation-delay: 1.5s; }
.social-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.social-text .mono { color: var(--muted); }
.social-text strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.social-text > span:last-child { color: var(--muted); font-size: .92rem; }
.social-cta {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 600; font-size: .95rem;
}
.social-cta svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.social-card:hover .social-cta svg { transform: translateX(4px); }
/* TikTok: its two-tone (cyan + red) shadow on the logo. */
.social-card[href*="tiktok"] .social-icon svg { filter: drop-shadow(-2px -1px 0 #25F4EE) drop-shadow(2px 1px 0 #FE2C55); }

/* Only one network: one big, wide card. */
.social-grid[data-count="1"] { grid-template-columns: 1fr; }
.social-grid[data-count="1"] .social-card { padding: clamp(28px, 4vw, 48px); gap: clamp(20px, 3vw, 40px); }
.social-grid[data-count="1"] .social-icon { width: clamp(76px, 9vw, 112px); height: clamp(76px, 9vw, 112px); }
.social-grid[data-count="1"] .social-icon svg { width: 44%; height: 44%; }
.social-grid[data-count="1"] .social-text strong { font-size: clamp(2rem, 5vw, 3.6rem); }
.social-grid[data-count="1"] .social-cta { height: 56px; padding: 0 30px; font-size: 1.05rem; }

@media (max-width: 640px) {
  .social-card, .social-grid[data-count="1"] .social-card { flex-wrap: wrap; }
  .social-cta { margin-left: 0; width: 100%; justify-content: center; }
}

/* ---------- Values / about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.about-grid p.big { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; letter-spacing: -.02em; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.values div { background: var(--bg); padding: 28px; }
.values .mono { color: var(--accent); display: block; margin-bottom: 26px; }
.values b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
.contact-lines { list-style: none; margin-top: 40px; }
.contact-lines li { padding: 20px 0; border-top: 1px solid var(--ink-line); }
.contact-lines li:last-child { border-bottom: 1px solid var(--ink-line); }
.contact-lines .mono { color: var(--ink-muted); display: block; margin-bottom: 6px; font-size: .68rem; }
.contact-lines a { font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; transition: color .2s; }
.contact-lines a:hover { color: #B88600; }
.contact-lines a.small { font-size: 1.05rem; }
.contact-lines a.wa { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: 8px; vertical-align: 2px; border-radius: 50%; background: #25D366; color: #fff; }
.contact-lines a.wa svg { width: 18px; height: 18px; }
.contact-lines a.wa:hover { color: #fff; filter: brightness(.95); }

.form { background: #fff; border: 1px solid var(--ink-line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .82rem; font-weight: 600; margin: 18px 0 8px; }
.form input, .form select, .form textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--ink-line); background: var(--paper); color: var(--ink); font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.form textarea { height: 130px; padding: 14px 16px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form .btn { margin-top: 26px; width: 100%; }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 12px; font-weight: 500; margin-bottom: 8px; font-size: .92rem; }
.notice.ok { background: #E8F8EF; color: #157347; }
.notice.err { background: #FDECEC; color: #B42318; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 36px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 60px; }
.footer-top p { color: var(--muted); max-width: 34ch; margin-top: 16px; font-size: .92rem; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--f-mono); font-weight: 400; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-cols a { display: block; font-size: .93rem; padding: 5px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.socials { display: flex; gap: 10px; align-items: center; }
.socials .handle { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); margin-right: 6px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 19px; height: 19px; }
.socials.dark { margin-top: 8px; }
.socials.dark a { border-color: var(--ink-line); color: var(--ink); }
.socials.dark a:hover { border-color: var(--ink); color: var(--ink); background: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }
.wordmark { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 10.5vw, 10rem); letter-spacing: -.05em; white-space: nowrap; line-height: .8; color: var(--bg-3); text-align: center; margin: 20px 0 56px; user-select: none; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: 180px 0 80px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 20%, rgba(255,203,20,.12), transparent 70%); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -.045em; line-height: .98; margin-bottom: 22px; }
.page-hero h1 .dim { color: #4A4F57; }
.prose { max-width: 720px; padding: 64px 0 120px; color: #C9CDD3; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.8rem; color: var(--text); margin-top: 2em; }
.prose h3 { color: var(--text); margin-top: 1.6em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
