/* ─────────────────────────────────────────────────────────────────────────────
   Orbita — design system Orixon (proposta di restyle, ottobre 2026)

   L'anello del simbolo e dello sfondo diventa il motivo di tutto il sito:
   - colori presi dall'anello (magenta → viola → indigo → ciano) su notte profonda
   - Geist leggero per i titoli, Geist Mono per i dettagli
     per l'anima IRC: #canali, nick, numeri dal vivo
   - superfici di vetro sottili, bordi a filo, un solo bagliore per sezione

   Scritto a mano come style.css, niente build: le pagine restyle usano solo classi ox-*.
   Header e footer (src/) sono ox-* e funzionano anche sulle pagine non ancora restyle.
   Le pagine restyle mettono class="ox" sul body.
   ───────────────────────────────────────────────────────────────────────────── */

/* Geist e Geist Mono (Vercel, SIL Open Font License 1.1), ospitati in locale:
   nessuna richiesta a Google Fonts. Solo latin + latin-ext, file variabili. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/Geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/Geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("/assets/fonts/GeistMono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("/assets/fonts/GeistMono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ox-ink:      #05061a;
  --ox-night:    #0b0c2a;
  --ox-deep:     #12143d;

  --ox-magenta:  #ec4899;
  --ox-violet:   #8b5cf6;
  --ox-indigo:   #6366f1;
  --ox-blue:     #3b82f6;
  --ox-cyan:     #22d3ee;
  --ox-live:     #22c55e;

  --ox-text:     #eef0ff;
  --ox-muted:    rgba(226, 229, 255, .64);
  --ox-faint:    rgba(226, 229, 255, .54);
  --ox-line:     rgba(255, 255, 255, .08);
  --ox-line-2:   rgba(255, 255, 255, .14);
  --ox-surface:  rgba(255, 255, 255, .035);
  --ox-surface-2:rgba(255, 255, 255, .06);

  --ox-ring:     conic-gradient(from 210deg, #ec4899, #8b5cf6 22%, #6366f1 40%, #3b82f6 60%, #22d3ee 78%, #ec4899);
  --ox-grad:     linear-gradient(100deg, #f472b6 0%, #a78bfa 38%, #818cf8 62%, #67e8f9 100%);

  --ox-sans:     "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ox-mono:     "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ox-radius:   20px;
  --ox-wrap:     1200px;
}

/* ── Base pagina restyle ─────────────────────────────────────────────────── */
body.ox {
  margin: 0;
  font-family: var(--ox-sans) !important;
  color: var(--ox-text);
  background:
    radial-gradient(60rem 42rem at 8% -12%, rgba(236, 72, 153, .14), transparent 62%),
    radial-gradient(56rem 44rem at 104% 18%, rgba(59, 130, 246, .13), transparent 60%),
    radial-gradient(48rem 34rem at 50% 112%, rgba(34, 211, 238, .08), transparent 60%),
    var(--ox-ink) !important;
  background-attachment: fixed !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* campo di stelle appena percettibile, fisso */
body.ox::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 38% 64%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 88% 72%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1px 1px at 22% 86%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 56% 34%, rgba(255,255,255,.3), transparent 60%);
  background-size: 640px 640px;
}
body.ox a { color: inherit; text-decoration: none; }
body.ox ::selection { background: rgba(139, 92, 246, .45); color: #fff; }

.ox-wrap { max-width: var(--ox-wrap); margin: 0 auto; padding: 0 24px; }
.ox-mono { font-family: var(--ox-mono); }

/* ── Tipografia ──────────────────────────────────────────────────────────── */
.ox-display {
  font-weight: 300;
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0 0 24px;
}
.ox-h2 {
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}
.ox-h3 { font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; margin: 0 0 8px; line-height: 1.3; }
.ox-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ox-muted); line-height: 1.6; max-width: 34rem; margin: 0 0 36px; }
.ox-body { color: var(--ox-muted); line-height: 1.65; margin: 0; }
.ox-grad-text {
  background: var(--ox-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Etichetta mono: "● LIVE · RETE IRC ITALIANA" */
.ox-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ox-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ox-faint);
  margin: 0 0 22px;
}
.ox-eyebrow b { color: var(--ox-text); font-weight: 600; }
.ox-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ox-live);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: ox-pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes ox-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  80%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Intestazione di sezione: "01 — Come si entra" */
.ox-sec { padding: 120px 0; position: relative; }
.ox-sec-head { margin-bottom: 56px; max-width: 40rem; }
.ox-sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ox-sec-num {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ox-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ox-faint); margin-bottom: 18px;
}
.ox-sec-head--center .ox-sec-num { justify-content: center; }
.ox-sec-num::before { content: ""; width: 28px; height: 1px; background: var(--ox-grad); }

/* ── Bottoni ─────────────────────────────────────────────────────────────── */
/* Piatti: niente ombre colorate né aloni. Il colore resta all'anello, i tasti sono neutri. */
.ox-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 500; font-size: .95rem; letter-spacing: -.005em;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.ox-btn svg { transition: transform .2s ease; }
.ox-btn:hover svg { transform: translateX(2px); }
.ox-btn--primary {
  color: var(--ox-ink) !important;
  background: var(--ox-text);
}
.ox-btn--primary:hover { background: #fff; }
.ox-btn--ghost {
  color: var(--ox-text) !important;
  background: transparent;
  border-color: var(--ox-line-2);
}
.ox-btn--ghost:hover { border-color: rgba(255,255,255,.4); }
.ox-btn--sm { padding: 9px 16px; font-size: .88rem; }
.ox-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Superfici ───────────────────────────────────────────────────────────── */
.ox-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--ox-line);
  border-radius: var(--ox-radius);
  padding: 28px;
  overflow: hidden;
}
/* filo di luce sul bordo alto */
.ox-card::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}
.ox-card--hover { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.ox-card--hover:hover { transform: translateY(-3px); border-color: var(--ox-line-2); }

/* ── Chip canale: "#dillo 70" ────────────────────────────────────────────── */
.ox-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ox-mono); font-size: .86rem;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(12, 14, 44, .72);
  border: 1px solid var(--ox-line-2);
  color: var(--ox-text) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.ox-chip:hover { border-color: rgba(167, 139, 250, .6); background: rgba(30, 27, 75, .85); }
.ox-chip__hash { color: #a78bfa; }
.ox-chip__n { color: var(--ox-faint); font-size: .78rem; }
.ox-chip__n::before { content: "● "; color: var(--ox-live); font-size: .6rem; vertical-align: 1px; }

/* ── L'anello ────────────────────────────────────────────────────────────────
   Non è più disegnato in CSS: è l'anello vero dello sfondo Orixon (/orixon-bg.webp),
   ritagliato con background-size/position e sfumato ai bordi. Nell'immagine
   (1536×1024) l'anello ha centro ~(731, 482) e raggio ~330: il quadrato di 700px
   attorno al centro riempie l'elemento.                                        */
.ox-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: url("/orixon-bg.webp") no-repeat;
  background-size: 219.4% auto;
  background-position: 45.46% 40.74%;
  -webkit-mask: radial-gradient(closest-side, #000 84%, transparent 100%);
          mask: radial-gradient(closest-side, #000 84%, transparent 100%);
  mix-blend-mode: screen;
  animation: ox-spin 180s linear infinite;
}
/* bagliore: lo stesso anello sfocato che deborda, come la luce attorno al simbolo */
.ox-ring--haze { inset: -8%; filter: blur(42px) saturate(1.3); opacity: .3; animation-duration: 240s; animation-direction: reverse; }
.ox-ring--glow { display: none; } /* tenuto per compatibilità con il markup esistente */
.ox-ring--thin { background: none; -webkit-mask: none; mask: none; inset: -9%; border: 1px solid rgba(255,255,255,.06); animation: none; }
@keyframes ox-spin { to { transform: rotate(360deg); } }


@media (prefers-reduced-motion: reduce) {
  .ox-ring, .ox-live-dot { animation: none !important; }
  .ox-card--hover:hover { transform: none; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────────────────────────────────────── */
.ox-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 20px;
  transition: padding .25s ease;
  font-family: var(--ox-sans);
}
.ox-nav__bar {
  max-width: var(--ox-wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ox-nav.is-scrolled { padding-top: 10px; }
.ox-nav.is-scrolled .ox-nav__bar,
.ox-nav__bar:hover {
  background: rgba(8, 9, 30, .72);
  border-color: var(--ox-line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.6);
}
.ox-nav__logo img { width: 84px; height: auto; display: block; }
.ox-nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ox-nav__links a, .ox-nav__links button {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(238, 240, 255, .72); font: inherit; font-size: .92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.ox-nav__links a:hover, .ox-nav__links button:hover { color: #fff; background: rgba(255,255,255,.06); }
.ox-nav__links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.ox-nav__right { display: flex; align-items: center; gap: 10px; }
.ox-nav__login { color: rgba(238,240,255,.72); font-weight: 600; font-size: .93rem; padding: 8px 12px; transition: color .2s; }
.ox-nav__login:hover { color: #fff; }
.ox-nav__user { position: relative; }
.ox-nav__user-btn {
  display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer;
  color: rgba(238,240,255,.9); font: inherit; font-size: .9rem; font-weight: 600; padding: 4px 8px;
}
.ox-avatar {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; color: #fff; background: var(--ox-indigo);
  box-shadow: 0 0 0 2px var(--ox-ink), 0 0 0 3px rgba(167,139,250,.7);
}
.ox-avatar--lg { width: 42px; height: 42px; font-size: .9rem; }
.ox-nav__menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 200px; z-index: 60;
  background: rgba(10, 11, 34, .96); border: 1px solid var(--ox-line-2); border-radius: 16px;
  padding: 6px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.ox-nav__menu a { display: block; padding: 10px 12px; border-radius: 10px; font-size: .9rem; color: rgba(238,240,255,.88); }
.ox-nav__menu a:hover { background: rgba(255,255,255,.06); }
.ox-nav__menu a.is-danger { color: #fda4af; }
.ox-nav__burger {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  align-items: center; justify-content: center; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid var(--ox-line); cursor: pointer;
}
.ox-nav__cta-short { display: none; }

@media (max-width: 900px) {
  .ox-nav { padding: 10px 12px; }
  .ox-nav__bar { padding: 6px 6px 6px 16px; background: rgba(8, 9, 30, .72); border-color: var(--ox-line);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .ox-nav__links, .ox-nav__login, .ox-nav__user-name, .ox-nav__cta-long, .ox-nav__user-chev { display: none; }
  .ox-nav__cta-short { display: inline; }
  .ox-nav__burger { display: inline-flex; }
  .ox-nav__right .ox-btn { padding: 10px 16px; font-size: .88rem; }
}

/* Pannelli a schermo intero (menu mobile, prodotti) */
.ox-panel {
  position: fixed; inset: 0; z-index: 70; overflow-y: auto;
  background: rgba(5, 6, 26, .9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  color: var(--ox-text); padding: 20px 24px 40px;
  font-family: var(--ox-sans);
}
.ox-panel__inner { max-width: 960px; margin: 0 auto; }
.ox-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.ox-panel__title { font-family: var(--ox-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ox-faint); margin: 0; font-weight: 500; }
.ox-panel__close {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ox-line-2);
  background: rgba(255,255,255,.05); color: #fff; font-size: 1rem; cursor: pointer;
}
.ox-panel__close:hover { background: rgba(255,255,255,.1); }
.ox-panel__nav { list-style: none; padding: 0; margin: 0 0 28px; }
.ox-panel__nav li { border-bottom: 1px solid var(--ox-line); }
.ox-panel__nav a, .ox-panel__nav button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 18px 0; font: inherit; font-size: 1.6rem; font-weight: 300; letter-spacing: -.02em;
  color: rgba(238,240,255,.88); background: none; border: 0; cursor: pointer; text-align: left;
}
.ox-panel__nav a:hover, .ox-panel__nav button:hover { color: #fff; }
.ox-panel__nav span { font-family: var(--ox-mono); font-size: .75rem; color: var(--ox-faint); }
.ox-panel__user { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--ox-surface); border: 1px solid var(--ox-line); margin-bottom: 20px; }
.ox-panel__user p { margin: 0; font-weight: 700; }
.ox-panel__user nav { display: flex; gap: 16px; font-size: .88rem; margin-top: 2px; }
.ox-panel__user nav a { color: #a5b4fc; }
.ox-panel__user nav a.is-danger { color: #fda4af; }
.ox-panel .ox-btn { width: 100%; margin-bottom: 12px; }

.ox-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.ox-app {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 18px;
  border-radius: 18px; background: var(--ox-surface); border: 1px solid var(--ox-line);
  transition: border-color .2s, background .2s;
}
.ox-app:hover { border-color: var(--ox-line-2); background: var(--ox-surface-2); }
.ox-app img { width: 26px; height: 26px; }
.ox-app b { font-weight: 700; }
.ox-app small { display: block; color: var(--ox-faint); font-family: var(--ox-mono); font-size: .72rem; font-weight: 400; }
.ox-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.ox-links a { display: block; padding: 16px 0; border-bottom: 1px solid var(--ox-line); }
.ox-links a b { display: block; font-weight: 600; }
.ox-links a span { color: var(--ox-faint); font-size: .88rem; }
.ox-links a:hover b { color: #c4b5fd; }
@media (max-width: 700px) {
  .ox-apps { grid-template-columns: repeat(2, 1fr); }
  .ox-links { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.ox-foot {
  position: relative; color: var(--ox-text); padding: 96px 24px 0; overflow: hidden;
  font-family: var(--ox-sans);
}
.ox-foot::before { /* linea ad anello in cima */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1200px, calc(100% - 48px)); height: 1px; background: var(--ox-grad); opacity: .5;
}
.ox-foot__grid { max-width: var(--ox-wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.ox-foot__brand p { color: var(--ox-muted); line-height: 1.6; max-width: 18rem; margin: 18px 0 24px; font-size: .95rem; }
.ox-foot__brand img { width: 120px; }
.ox-foot h4 {
  font-family: var(--ox-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ox-faint); margin: 0 0 18px;
}
.ox-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ox-foot ul a { color: rgba(238,240,255,.74); font-size: .93rem; transition: color .2s; }
.ox-foot ul a:hover { color: #fff; }
.ox-foot__social { display: flex; gap: 8px; flex-wrap: wrap; }
.ox-foot__social a {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ox-surface); border: 1px solid var(--ox-line); transition: border-color .2s, background .2s;
}
.ox-foot__social a:hover { border-color: rgba(167,139,250,.6); background: var(--ox-surface-2); }
.ox-foot__social img { width: 15px; height: 15px; filter: invert(1); opacity: .85; }
.ox-foot__lang {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: .88rem; font-weight: 600; color: var(--ox-text);
  background: var(--ox-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-opacity='.6' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--ox-line-2); border-radius: 999px; padding: 9px 36px 9px 16px; margin-top: 20px; cursor: pointer;
}
.ox-foot__lang option { background: var(--ox-night); }
.ox-foot__bottom {
  max-width: var(--ox-wrap); margin: 64px auto 0; padding: 22px 0; border-top: 1px solid var(--ox-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--ox-mono); font-size: .74rem; color: var(--ox-faint); letter-spacing: .04em;
}
.ox-foot__word {
  font-weight: 200; letter-spacing: -.05em; line-height: .8; text-align: center;
  font-size: clamp(6rem, 22vw, 20rem); margin: 32px 0 -0.12em; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
@media (max-width: 900px) {
  .ox-foot__grid { grid-template-columns: 1fr 1fr; }
  .ox-foot__brand { grid-column: 1 / -1; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   PAGINE INTERNE
   ───────────────────────────────────────────────────────────────────────────── */

/* Testata pagina: eyebrow mono + titolo leggero + sottotitolo, con l'anello sfumato dietro */
.ox-page-hero { position: relative; padding: 160px 0 64px; overflow-x: clip; }
.ox-page-hero--center { text-align: center; }
.ox-page-hero--center .ox-lead { margin-left: auto; margin-right: auto; }
.ox-page-hero__ring {
  position: absolute; right: -180px; top: -220px; width: 620px; aspect-ratio: 1;
  opacity: .45; pointer-events: none; z-index: -1;
}
.ox-page-hero--center .ox-page-hero__ring { right: auto; left: 50%; transform: translateX(-50%); top: -300px; }
.ox-page-hero .ox-display { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.ox-page-hero .ox-lead { margin-bottom: 0; }
.ox-page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-family: var(--ox-mono); font-size: .76rem; color: var(--ox-faint); }

/* Testo lungo (pagine legali, guide) */
.ox-prose { color: var(--ox-muted); font-size: 1.02rem; line-height: 1.75; max-width: 46rem; }
.ox-prose > :first-child { margin-top: 0; }
.ox-prose h2 {
  color: var(--ox-text); font-size: 1.55rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.25;
  margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--ox-line); scroll-margin-top: 110px;
}
.ox-prose h3 { color: var(--ox-text); font-size: 1.05rem; font-weight: 700; margin: 32px 0 10px; }
.ox-prose p { margin: 0 0 18px; }
.ox-prose strong { color: var(--ox-text); }
.ox-prose a { color: #c4b5fd; text-decoration: underline; text-decoration-color: rgba(196,181,253,.35); text-underline-offset: 3px; }
.ox-prose a:hover { color: #fff; text-decoration-color: #fff; }
.ox-prose ul, .ox-prose ol { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ox-prose ol { counter-reset: oxli; }
.ox-prose li { position: relative; padding-left: 26px; }
.ox-prose ul > li::before {
  content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ox-grad);
}
.ox-prose ol > li { padding-left: 38px; }
.ox-prose ol > li::before {
  counter-increment: oxli; content: counter(oxli, decimal-leading-zero);
  position: absolute; left: 0; top: .2em; font-family: var(--ox-mono); font-size: .76rem; color: #a78bfa;
}
.ox-prose li ul { margin: 10px 0 0; }
.ox-prose code {
  font-family: var(--ox-mono); font-size: .86em; color: #e9d5ff;
  background: rgba(139,92,246,.12); border: 1px solid rgba(167,139,250,.22); border-radius: 6px; padding: 1px 6px;
}
.ox-prose .ox-note {
  margin: 28px 0; padding: 18px 22px; border-radius: 16px; color: var(--ox-text);
  background: rgba(99,102,241,.08); border: 1px solid rgba(129,140,248,.25);
}

/* Layout legale: indice laterale fisso + testo */
.ox-legal { display: grid; grid-template-columns: 240px 1fr; gap: 72px; padding-bottom: 120px; align-items: start; }
.ox-toc { position: sticky; top: 110px; }
.ox-toc__title { font-family: var(--ox-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ox-faint); margin: 0 0 14px; }
.ox-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--ox-line); }
.ox-toc a {
  display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent;
  font-size: .9rem; color: var(--ox-faint); line-height: 1.35; transition: color .2s, border-color .2s;
}
.ox-toc a:hover { color: var(--ox-text); }
.ox-toc a.is-active { color: var(--ox-text); border-left-color: #a78bfa; }
.ox-legal__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ox-legal__nav a { font-size: .85rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ox-line); color: var(--ox-muted); transition: border-color .2s, color .2s; }
.ox-legal__nav a:hover { color: #fff; border-color: var(--ox-line-2); }
.ox-legal__nav a[aria-current="page"] { color: #fff; border-color: rgba(167,139,250,.6); background: rgba(139,92,246,.12); }
@media (max-width: 900px) {
  .ox-legal { grid-template-columns: 1fr; gap: 0; }
  .ox-toc { display: none; }
  .ox-page-hero { padding-top: 130px; }
}

/* Copertine del blog senza immagine: emoji o anello su un fondo del colore del tag */
.ox-cover { --tone: 139, 92, 246; position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 90% at 30% 20%, rgba(var(--tone), .42), transparent 70%), radial-gradient(60% 80% at 85% 100%, rgba(var(--tone), .22), transparent 70%), #0b0c2a; }
.ox-cover--updates { --tone: 139, 92, 246; }
.ox-cover--news { --tone: 34, 211, 238; }
.ox-cover--comunicati { --tone: 245, 158, 11; }
.ox-cover--security { --tone: 34, 197, 94; }
.ox-cover--partnership { --tone: 236, 72, 153; }
.ox-cover__emoji { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; filter: drop-shadow(0 12px 30px rgba(0,0,0,.45)); transition: transform .5s ease; }
.ox-cover__ring { position: relative; width: 42%; aspect-ratio: 1; opacity: .9; }
a:hover .ox-cover__emoji { transform: scale(1.08) rotate(-4deg); }

/* Pagine sulle funzioni della chat (guida, guarda insieme, eventi) */
.fx-win { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: #0b0c2a; box-shadow: 0 40px 90px -36px rgba(0,0,0,.9); }
.fx-win img, .fx-phone img { display: block; width: 100%; height: auto; }
.fx-phone { overflow: hidden; border: 7px solid #15163a; border-radius: 32px; background: #0b0c2a; box-shadow: 0 34px 80px -30px rgba(0,0,0,.9); }
.fx-sec { padding-block: clamp(72px, 10vw, 120px); scroll-margin-top: 96px; }
.fx-sec + .fx-sec { border-top: 1px solid var(--ox-line); }
.fx-eyebrow { margin: 0 0 14px; font-family: var(--ox-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #a78bfa; }
.fx-h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 250; line-height: 1.05; letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.fx-sub { margin: 16px 0 0; max-width: 42rem; color: var(--ox-muted); font-size: 1.08rem; line-height: 1.6; }
.fx-row { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: 36px; }
.fx-row--rev > :first-child { order: 2; }
.fx-media { position: relative; }
.fx-media--phone { padding-right: 18%; }
.fx-media--phone .fx-phone { position: absolute; right: 0; bottom: -28px; width: 26%; min-width: 110px; }
.fx-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.fx-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 46rem; }
.fx-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.fx-list--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.fx-list li { padding-left: 18px; border-left: 1px solid rgba(167,139,250,.45); }
.fx-list b { display: block; color: #fff; font-weight: 500; }
.fx-list span { display: block; margin-top: 4px; color: var(--ox-muted); font-size: .96rem; line-height: 1.55; }
.fx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.fx-card { padding: 24px; border: 1px solid var(--ox-line); border-radius: 18px; background: rgba(255,255,255,.025); }
.fx-card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 500; color: #fff; }
.fx-card p { margin: 0; color: var(--ox-muted); line-height: 1.55; }
.fx-more { display: inline-flex; margin-top: 24px; color: #c4b5fd; font-weight: 600; }
.fx-more:hover { color: #fff; }
.fx-faq { max-width: 52rem; }
.fx-faq details { border-top: 1px solid var(--ox-line); }
.fx-faq details:last-child { border-bottom: 1px solid var(--ox-line); }
.fx-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 1.1rem; color: var(--ox-text); }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; flex-shrink: 0; color: var(--ox-faint); }
.fx-faq details[open] summary::after { content: "−"; }
.fx-faq details p { margin: 0 0 22px; max-width: 44rem; color: var(--ox-muted); line-height: 1.7; }
.fx-end { position: relative; display: grid; place-items: center; min-height: calc(min(680px, 130vw) * 1.25); padding: 0 20px; overflow-x: clip; text-align: center; }
.fx-end__ring { position: absolute; left: 50%; top: 50%; width: min(680px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.fx-end > div:last-child { position: relative; }
.fx-end h2 { margin: 0 0 18px; font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 250; line-height: 1; letter-spacing: -.05em; color: #fff; }
.fx-end p { margin: 0 auto 30px; max-width: 32rem; color: var(--ox-text); font-size: 1.15rem; }
.fx-end .ox-actions { justify-content: center; }
@media (max-width: 860px) {
  .fx-row, .fx-row--rev { grid-template-columns: minmax(0, 1fr); }
  .fx-row--rev > :first-child { order: 0; }
  .fx-list--row, .fx-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .fx-duo { grid-template-columns: minmax(0, 1fr); }
  .fx-media--phone { padding-right: 0; }
  .fx-media--phone .fx-phone { display: none; }
  .fx-phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -24px; padding: 0 24px 8px; }
  .fx-phones > * { flex: 0 0 64%; scroll-snap-align: center; }
}

/* Lingua: menu in alto e nel pannello del telefono */
.ox-lang { position: relative; }
.ox-lang summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 999px; color: var(--ox-muted); font-size: .82rem; font-weight: 500; letter-spacing: .04em; cursor: pointer; list-style: none; transition: color .2s, background .2s; }
.ox-lang summary::-webkit-details-marker { display: none; }
.ox-lang summary:hover, .ox-lang[open] summary { color: #fff; background: rgba(255,255,255,.06); }
.ox-lang summary:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
.ox-lang__menu { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; display: grid; min-width: 150px; padding: 6px; border: 1px solid var(--ox-line-2); border-radius: 14px; background: #0b0c2a; box-shadow: 0 24px 60px -24px rgba(0,0,0,.9); }
.ox-lang__menu a { padding: 9px 12px; border-radius: 9px; color: var(--ox-muted); font-size: .9rem; }
.ox-lang__menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.ox-lang__menu a[aria-current="true"] { color: #fff; font-weight: 500; }
.ox-panel__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ox-panel__langs a { padding: 8px 14px; border: 1px solid var(--ox-line-2); border-radius: 999px; color: var(--ox-muted); font-size: .88rem; }
.ox-panel__langs a[aria-current="true"] { color: var(--ox-ink); background: #fff; border-color: #fff; }
@media (max-width: 760px) { .ox-lang { display: none; } }

/* Barra in alto con il menu della lingua: niente si schiaccia alle larghezze intermedie */
.ox-nav__logo, .ox-lang, .ox-nav__right .ox-btn { flex: none; }
.ox-nav__login, .ox-nav__links a, .ox-nav__links button { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1240px) {
  .ox-nav__bar { gap: 10px; padding-left: 16px; }
  .ox-nav__links a, .ox-nav__links button { padding: 8px 10px; font-size: .9rem; }
  .ox-nav__right { gap: 4px; }
  .ox-nav__login { padding: 8px 8px; }
  .ox-lang summary span { display: none; }
  .ox-lang summary { width: 36px; padding: 0; justify-content: center; }
  .ox-nav__cta-long { display: none; }
  .ox-nav__cta-short { display: inline; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  .ox-nav__bar { padding-left: 12px; gap: 6px; }
  .ox-nav__links a, .ox-nav__links button { padding: 8px 7px; font-size: .88rem; }
  .ox-nav__login { font-size: .88rem; padding: 8px 6px; }
}
