/* ============================================================
   PlayTune — landing styles
   Navy + gradiente PlayTune, glassmorphism. Self-contained, no CDN.
   ============================================================ */

:root {
  /* PlayTune design tokens — unica fonte di verità della landing, allineata a
     brand-kit/DESIGN.md e a fe/src/index.css. Nessun hex vive fuori da qui.
     Il gradiente canonico corre a 135°: blu → ciano → verde, mai ruotato. */
  --pt-blue: #1668E3;
  --pt-cyan: #12C6D9;
  --pt-green: #34C36B;
  --pt-navy: #131A3D;
  --pt-navy-800: #1B2450;
  --pt-navy-600: #2C3766;
  --pt-navy-900: color-mix(in oklab, var(--pt-navy) 82%, #000000);
  --pt-surface: #FFFFFF;
  --pt-danger: #E4483C;
  --pt-gradient: linear-gradient(135deg, var(--pt-blue) 0%, var(--pt-cyan) 52%, var(--pt-green) 100%);
  /* verde WhatsApp: marchio di terzi, non fa parte della palette PlayTune */
  --wa: #25d366;

  /* text — su fondo navy il ciano è l'accento leggibile (8.13:1).
     --muted è già il livello più tenue possibile: 5.59:1 sul navy. Attenuarlo
     ancora con l'alpha scende sotto AA, quindi va usato sempre pieno. */
  --fg: #EDF1FA;
  /* #8A93B8 dà 4.43:1 sulla superficie glass più chiara: schiarito del 2%
     verso --fg per superare AA su tutti i fondi della pagina (4.54:1). */
  --muted: color-mix(in oklab, #8A93B8 98%, var(--fg));
  --ink: var(--pt-navy); /* testo sopra una superficie di accento piena */

  /* glass surface + elevation (single consistent scale) */
  --glass-bg: color-mix(in oklab, var(--pt-surface) 5.5%, transparent);
  --glass-bg-strong: color-mix(in oklab, var(--pt-surface) 8.5%, transparent);
  --glass-border: color-mix(in oklab, var(--pt-surface) 12%, transparent);
  --shadow-sm: 0 2px 10px color-mix(in oklab, var(--pt-navy-900) 25%, transparent);
  --shadow-md: 0 10px 30px color-mix(in oklab, var(--pt-navy-900) 35%, transparent);
  --shadow-lg: 0 24px 60px color-mix(in oklab, var(--pt-navy-900) 45%, transparent);
  --glow-accent:
    0 0 0 1px color-mix(in oklab, var(--pt-cyan) 30%, transparent),
    0 16px 50px color-mix(in oklab, var(--pt-blue) 22%, transparent);

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

  /* spacing rhythm (4/8) */
  --gap: 24px;
  --container: 1200px;

  /* fluid type scale */
  --fs-h1: clamp(2.3rem, 1.4rem + 4vw, 4rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --fs-h3: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.5vw, 1.25rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: dark;
}


* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background:
    radial-gradient(1100px 600px at 80% -10%, color-mix(in oklab, var(--pt-cyan) 10%, transparent), transparent 55%),
    radial-gradient(900px 500px at 0% 15%, color-mix(in oklab, var(--pt-green) 8%, transparent), transparent 50%),
    linear-gradient(180deg, var(--pt-navy) 0%, var(--pt-navy-900) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--pt-cyan); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* keyboard focus visibility everywhere */
:focus-visible { outline: 3px solid var(--pt-cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- reusable glass ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* CTA su fondo navy: il ciano è l'unico accento con contrasto (8.13:1 con il
   testo navy). L'hover schiarisce invece di scurire, come da brand kit. */
.btn--primary { background: var(--pt-cyan); color: var(--ink); box-shadow: var(--glow-accent); }
.btn--primary:hover { background: color-mix(in oklab, var(--pt-cyan) 78%, var(--pt-surface)); transform: translateY(-2px); }

.btn--ghost { background: var(--glass-bg); color: var(--fg); border-color: var(--glass-border); }
.btn--ghost:hover { background: var(--glass-bg-strong); border-color: color-mix(in oklab, var(--pt-cyan) 50%, transparent); transform: translateY(-2px); }

/* ============================== NAV ============================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--pt-navy-900) 60%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--pt-surface) 7%, transparent);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__word {
  display: inline-flex; align-items: flex-end; gap: 4px;
  font-family: 'DM Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.045em;
}
/* "Tune" in gradiente, con il colore pieno come fallback dove
   background-clip:text non è supportato. */
.brand__tune { color: var(--pt-cyan); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .brand__tune {
    background-image: var(--pt-gradient);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
}
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 0.95rem; }
.nav__links a { color: var(--muted); padding: 6px 2px; transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--fg); }
.nav__cta { margin-left: 0; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ============================== HERO ============================== */
.hero { position: relative; padding: clamp(48px, 7vw, 110px) 0 clamp(40px, 6vw, 90px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--pt-cyan); font-weight: 600; font-size: 0.85rem;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow__icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.hero__title { font-size: var(--fs-h1); margin-bottom: 20px; }
.hero__title .accent {
  background: linear-gradient(120deg, var(--pt-cyan), var(--pt-cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead { font-size: var(--fs-lead); color: var(--muted); max-width: 56ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.92rem; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips svg { width: 18px; height: 18px; fill: none; stroke: var(--pt-cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* decorative glows */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; }
.glow--a { width: 420px; height: 420px; background: color-mix(in oklab, var(--pt-cyan) 16%, transparent); top: -120px; right: -80px; }
.glow--b { width: 360px; height: 360px; background: color-mix(in oklab, var(--pt-green) 14%, transparent); bottom: -140px; left: -100px; }
.glow--c { width: 480px; height: 320px; background: color-mix(in oklab, var(--pt-cyan) 14%, transparent); top: -60px; left: 30%; }
.hero .container { position: relative; z-index: 1; }

/* hero visual */
.hero__visual { position: relative; display: grid; gap: 18px; }
.panel { padding: 20px; }
.panel--dash { box-shadow: var(--shadow-lg); }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel__title { font-weight: 600; font-size: 0.95rem; }
.pill { font-size: 0.72rem; color: var(--muted); background: color-mix(in oklab, var(--pt-surface) 6%, transparent); border: 1px solid var(--glass-border); padding: 4px 10px; border-radius: 999px; }
.pill--live { color: var(--pt-cyan); display: inline-flex; align-items: center; gap: 7px; }
.pill--live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pt-cyan); box-shadow: 0 0 0 0 color-mix(in oklab, var(--pt-cyan) 60%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--pt-cyan) 50%, transparent); } 70% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--pt-cyan) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--pt-cyan) 0%, transparent); } }

.panel__kpis { display: flex; gap: 22px; margin-bottom: 16px; }
.panel__kpis div { display: flex; flex-direction: column; }
.panel__kpis strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.panel__kpis span { font-size: 0.72rem; color: var(--muted); }

/* charts */
.chart { width: 100%; height: auto; display: block; }
.chart__grid line { stroke: color-mix(in oklab, var(--pt-surface) 7%, transparent); stroke-width: 1; }
.chart__bars rect { fill: color-mix(in oklab, var(--pt-cyan) 22%, transparent); }
.chart__bars rect:last-child { fill: color-mix(in oklab, var(--pt-cyan) 45%, transparent); }
.chart__line { stroke: var(--pt-cyan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px color-mix(in oklab, var(--pt-cyan) 40%, transparent)); }
.chart__area { fill: url(#none); fill: color-mix(in oklab, var(--pt-cyan) 10%, transparent); }

/* whatsapp card */
.panel--wa { padding: 16px 18px; }
.wa__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.wa__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.wa__avatar svg { width: 20px; height: 20px; fill: none; stroke: var(--pt-surface); stroke-width: 2; stroke-linejoin: round; }
.wa__head strong { display: block; font-size: 0.9rem; }
.wa__head span { font-size: 0.72rem; color: var(--muted); }
.wa__msg { font-size: 0.86rem; padding: 9px 13px; border-radius: 14px; margin-bottom: 8px; max-width: 88%; }
.wa__msg--in { background: color-mix(in oklab, var(--pt-surface) 8%, transparent); border-top-left-radius: 4px; }
.wa__msg--out { background: color-mix(in oklab, var(--wa) 18%, transparent); border: 1px solid color-mix(in oklab, var(--wa) 30%, transparent); margin-left: auto; border-top-right-radius: 4px; }
.wa__status { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--pt-cyan); margin-top: 4px; }
.wa__status svg { width: 16px; height: 16px; fill: none; stroke: var(--pt-cyan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
}

/* ============================== TRUST / KPI ============================== */
.trust { padding: clamp(40px, 5vw, 64px) 0; border-block: 1px solid color-mix(in oklab, var(--pt-surface) 6%, transparent); }
.trust__lead { text-align: center; color: var(--muted); margin-bottom: 28px; font-size: 1.05rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.kpi { padding: 26px 20px; text-align: center; }
.kpi__num { display: block; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; color: var(--pt-cyan); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi__label { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.trust__note { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 22px; }

@media (max-width: 780px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

/* ============================== SECTIONS ============================== */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--alt { background: color-mix(in oklab, var(--pt-surface) 1.8%, transparent); }
.section__head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.kicker { display: inline-block; color: var(--pt-cyan); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.section__head h2 { font-size: var(--fs-h2); margin-bottom: 14px; }
.section__head p { color: var(--muted); font-size: var(--fs-lead); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { padding: 26px 22px; position: relative; }
.step__n { position: absolute; top: 18px; right: 20px; font-size: 0.8rem; font-weight: 700; color: var(--ink); background: var(--pt-cyan); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.step__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in oklab, var(--pt-cyan) 12%, transparent); margin-bottom: 16px; }
.step__icon svg, .feature__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--pt-cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3, .feature h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.step p, .feature p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.feature { padding: 28px 24px; transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.feature:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--pt-cyan) 35%, transparent); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in oklab, var(--pt-cyan) 12%, transparent); margin-bottom: 18px; }

.features__aside { color: var(--muted); font-size: 0.92rem; margin: 34px 0 14px; }
.features--minor { gap: 16px; }
.feature--minor { padding: 20px 20px 22px; }
.feature--minor .feature__icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px; }
.feature--minor .feature__icon svg { width: 19px; height: 19px; }
.feature--minor h3 { font-size: 1rem; }
.feature--minor p { font-size: 0.86rem; }

@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- data-viz showcase ---------- */
.showcase { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.showcase__copy h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.showcase__copy > p { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 22px; }
.ticklist { display: grid; gap: 12px; }
.ticklist li { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.ticklist svg { width: 20px; height: 20px; fill: none; stroke: var(--pt-cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.panel--showcase { padding: 24px; box-shadow: var(--shadow-lg); }
.heatmap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-bottom: 14px; }
.heatmap span { aspect-ratio: 1; border-radius: 5px; background: color-mix(in oklab, var(--pt-surface) 5%, transparent); }
.heatmap span.h1 { background: color-mix(in oklab, var(--pt-cyan) 18%, transparent); }
.heatmap span.h2 { background: color-mix(in oklab, var(--pt-cyan) 38%, transparent); }
.heatmap span.h3 { background: color-mix(in oklab, var(--pt-cyan) 62%, transparent); }
.heatmap span.h4 { background: color-mix(in oklab, var(--pt-cyan) 92%, transparent); }
.heat-legend { display: flex; align-items: center; gap: 10px; font-size: 0.74rem; color: var(--muted); margin-bottom: 18px; }
.heat-legend__scale { flex: 1; height: 8px; border-radius: 999px; background: linear-gradient(90deg, color-mix(in oklab, var(--pt-surface) 6%, transparent), color-mix(in oklab, var(--pt-cyan) 95%, transparent)); }
.chart--wide { margin-top: 4px; }

@media (max-width: 920px) { .showcase { grid-template-columns: 1fr; } }

/* ============================== PRICING ============================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.price { padding: 32px 28px; display: flex; flex-direction: column; position: relative; transition: transform 0.2s var(--ease); }
.price--featured { border-color: color-mix(in oklab, var(--pt-cyan) 52%, transparent); box-shadow: var(--glow-accent), var(--shadow-lg); background: var(--glass-bg-strong); }
.price__name { font-size: 1.3rem; margin-bottom: 6px; }
.price__desc { color: var(--muted); font-size: 0.9rem; min-height: 2.6em; margin-bottom: 18px; }
.price__amount { display: flex; align-items: baseline; gap: 3px; margin-bottom: 22px; }
.price__val { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price__amount--custom .price__val { font-size: 1.8rem; }
.price__list { display: grid; gap: 12px; margin-bottom: 26px; }
.price__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--fg); font-size: 0.92rem; }
.price__list svg { width: 18px; height: 18px; fill: none; stroke: var(--pt-cyan); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; margin-top: 3px; }
.price .btn { margin-top: auto; }

.pricing--single { grid-template-columns: minmax(0, 520px); justify-content: center; }
@media (max-width: 920px) { .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

/* ============================== TRUST BADGES ============================== */
.badges { padding: clamp(30px, 4vw, 50px) 0; }
.badges__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 0.9rem; color: var(--fg); border-radius: 999px; }
.badge svg { width: 20px; height: 20px; fill: none; stroke: var(--pt-cyan); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ============================== FINAL CTA ============================== */
.cta { padding: clamp(50px, 7vw, 100px) 0; }
.cta__card { position: relative; overflow: hidden; padding: clamp(34px, 5vw, 56px); text-align: center; max-width: 720px; margin-inline: auto; }
.cta__card h2 { font-size: var(--fs-h2); margin-bottom: 12px; position: relative; z-index: 1; }
.cta__card > p { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 28px; position: relative; z-index: 1; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; z-index: 1; }
.cta__card > .cta__note { color: var(--muted); font-size: 0.86rem; margin: 18px 0 0; position: relative; z-index: 1; }

/* ============================== FOOTER ============================== */
.footer { border-top: 1px solid color-mix(in oklab, var(--pt-surface) 7%, transparent); padding: 48px 0 32px; background: color-mix(in oklab, var(--pt-navy-900) 50%, transparent); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; margin-bottom: 32px; }
.footer__brand { max-width: 340px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.footer__stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer__stores a { transition: opacity 0.2s var(--ease); }
.footer__stores a:hover { opacity: 0.8; }
.footer__stores img { height: 40px; width: auto; display: block; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer__nav a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--fg); }
.footer__company { display: flex; flex-direction: column; gap: 6px; max-width: 280px; font-style: normal; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.footer__company-name { color: var(--fg); font-weight: 600; }
.footer__company a { color: var(--muted); transition: color 0.2s var(--ease); }
.footer__company a:hover { color: var(--fg); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-top: 20px; border-top: 1px solid color-mix(in oklab, var(--pt-surface) 6%, transparent); color: var(--muted); font-size: 0.8rem; }

/* ============================== NAV LANGUAGE SWITCH ============================== */
.nav__lang { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 0.9rem; font-weight: 600; }
.nav__lang a, .nav__lang-current { padding: 4px 9px; border-radius: var(--radius-sm); transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.nav__lang a { color: var(--muted); }
.nav__lang a:hover { color: var(--fg); background: var(--glass-bg); }
.nav__lang-current { color: var(--ink); background: var(--pt-cyan); }
.nav__lang + .nav__cta { margin-left: 16px; }

/* ============================== LEGAL / PRIVACY ============================== */
.legal { padding: clamp(90px, 12vw, 130px) 0 64px; }
.legal__card { max-width: 860px; margin-inline: auto; padding: clamp(24px, 5vw, 56px); }
.legal__title { font-size: var(--fs-h1); margin-top: 12px; }
.legal__updated { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.legal__intro { color: var(--muted); margin-top: 20px; font-size: var(--fs-lead); }
.legal__section { margin-top: 36px; }
.legal__section h2 { font-size: var(--fs-h3); color: var(--fg); margin-bottom: 12px; }
.legal__section p { color: var(--muted); margin-top: 12px; }
.legal__section ul { color: var(--muted); margin: 12px 0 0; padding-left: 22px; }
.legal__section li { margin-top: 8px; }
.legal__section strong { color: var(--fg); font-weight: 600; }
.legal__section a { color: var(--pt-cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal__section a:hover { color: var(--pt-cyan); }
.legal__controller { font-style: normal; color: var(--muted); margin-top: 12px; line-height: 1.8; }
.legal__controller a { color: var(--pt-cyan); }

/* ============================== REVEAL ANIMATION ============================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .pill--live .dot { animation: none; }
  .btn, .feature, .price { transition: none; }
  * { scroll-behavior: auto !important; }
}
