:root{
    --navy-950:#0a1226;
    --navy-900:#0e1830;
    --navy-800:#131f3d;
    --navy-700:#1c2c4e;
    --navy-line: rgba(255,255,255,0.10);
    --orange-500:#F0662C;
    --orange-600:#DC5620;
    --grey-50:#F6F7F9;
    --grey-100:#EEF0F4;
    --grey-200:#E3E6EC;
    --ink-900:#0E1523;
    --ink-600:#525A6B;
    --ink-400:#8891A3;
    --white:#FFFFFF;
    --radius-lg:18px;
    --radius-md:12px;
    --container:1280px;
    --shadow-soft: 0 20px 45px -25px rgba(14,21,35,0.25);
  }

  *{ box-sizing:border-box; margin:0; padding:0; }
  html{ scroll-behavior:smooth; }
  body{
    font-family:'Inter', sans-serif;
    color:var(--ink-900);
    background:var(--white);
    -webkit-font-smoothing:antialiased;
    line-height:1.5;
  }
  img{ max-width:100%; display:block; }
  a{ color:inherit; text-decoration:none; }
  ul{ list-style:none; }
  button{ font-family:inherit; cursor:pointer; border:none; }

  h1,h2,h3{
    font-family:'Space Grotesk', sans-serif;
    font-weight:700;
    letter-spacing:-0.02em;
    line-height:1.08;
    color:var(--ink-900);
  }

  .wrap{
    max-width:var(--container);
    margin:0 auto;
    padding:0 32px;
  }

  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:600;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--orange-500);
  }
  .eyebrow::before{
    content:"";
    width:6px; height:6px;
    background:var(--orange-500);
    border-radius:50%;
    display:inline-block;
  }
  .eyebrow.on-dark{ color:#FFB088; }

  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 24px;
    border-radius:999px;
    font-size:14px;
    font-weight:600;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space:nowrap;
  }
  .btn:active{ transform:translateY(1px); }
  .btn-primary{
    background:var(--white);
    color:var(--navy-900);
  }
  .btn-primary:hover{ background:var(--grey-100); }
  .btn-outline{
    background:transparent;
    border:1px solid var(--navy-line);
    color:var(--white);
  }
  .btn-outline:hover{ border-color:rgba(255,255,255,0.35); background:rgba(255,255,255,0.05); }
  .btn-navy{
    background:var(--navy-900);
    color:var(--white);
  }
  .btn-navy:hover{ background:var(--navy-800); }
  .btn-ghost-light{
    background:transparent;
    border:1px solid rgba(255,255,255,0.55);
    color:var(--white);
  }
  .btn-ghost-light:hover{ background:rgba(255,255,255,0.12); }

  /* ===== HEADER ===== */
  header.site{
    background:var(--navy-950);
    position:sticky;
    top:0;
    z-index:50;
    border-bottom:1px solid var(--navy-line);
  }
  .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:76px;
    gap:24px;
  }
  .logo{
    display:flex;
    align-items:center;
    line-height:1.1;
  }
  .logo-img{
    height:34px;
    width:auto;
    display:block;
    /* il logo originale è blu navy: lo rendiamo bianco per l'header scuro */
    filter:brightness(0) invert(1);
  }
  .nav-links{
    display:flex;
    align-items:center;
    gap:28px;
    font-size:14px;
    font-weight:500;
    color:rgba(255,255,255,0.75);
  }
  .nav-links a{ transition:color .15s ease; }
  .nav-links a:hover{ color:var(--white); }
  .lang{
    display:flex; align-items:center; gap:6px;
    color:rgba(255,255,255,0.75);
    font-size:14px; font-weight:500;
  }
  .nav-actions{ display:flex; align-items:center; gap:14px; }
  .nav-help{
    font-size:14px; color:rgba(255,255,255,0.75); margin-right:6px;
  }
  .burger{
    display:none;
    width:38px; height:38px;
    border-radius:8px;
    border:1px solid var(--navy-line);
    background:transparent;
    align-items:center; justify-content:center;
    flex-direction:column; gap:4px;
  }
  .burger span{ width:16px; height:2px; background:var(--white); display:block; }

  /* ===== HERO ===== */
  .hero{
    position:relative;
    background:var(--navy-950);
    overflow:hidden;
    padding:88px 0 110px;
  }
  .hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    opacity:0.95;
  }
  .hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(900px 500px at 78% -10%, rgba(240,102,44,0.14), transparent 60%),
      linear-gradient(90deg, rgba(35,53,106,0.92) 0%, rgba(35,53,106,0.68) 38%, rgba(35,53,106,0.12) 78%, rgba(35,53,106,0.05) 100%);
    pointer-events:none;
  }
  .hero-inner{ position:relative; z-index:1; }
  .hero h1{
    font-size:68px;
    color:var(--white);
    margin:20px 0 22px;
  }
  .hero p{
    font-size:17px;
    color:rgba(255,255,255,0.62);
    max-width:480px;
    margin-bottom:0;
  }

  /* ===== INTRO SECTION ===== */
  .section{ padding:100px 0; }
  .section.tight{ padding-top:80px; }
  .grid-2{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:64px;
    align-items:center;
  }
  .intro-copy h2{ font-size:38px; margin:14px 0 18px; color:var(--ink-900); }
  .intro-copy p{ color:var(--ink-600); font-size:15.5px; max-width:460px; }

  .media-card{
    position:relative;
    border-radius:var(--radius-lg);
    overflow:hidden;
    aspect-ratio:4/3.1;
    background:#060a15;
  }
  .media-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  .feature-row{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
    margin-top:56px;
  }
  .feature-card{
    border:1px solid var(--grey-200);
    border-radius:var(--radius-md);
    padding:24px;
  }
  .feature-card .icon{
    width:38px; height:38px;
    border-radius:10px;
    background:var(--grey-100);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:22px;
  }
  .feature-card .icon svg{ width:18px; height:18px; stroke:var(--navy-900); }
  .feature-card .tag{
    font-size:10px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase;
    color:var(--ink-400); display:block; margin-bottom:14px;
  }
  .feature-card h3{ font-size:16px; font-weight:600; font-family:'Inter',sans-serif; margin-bottom:8px; }
  .feature-card p{ font-size:13.5px; color:var(--ink-600); line-height:1.55; }

  /* ===== VANTAGGI (grey) ===== */
  .section-grey{ background:var(--grey-50); }
  .vantaggi-head{ max-width:560px; margin-bottom:48px; }
  .vantaggi-head h2{ font-size:34px; margin-top:14px; }
  .vantaggi-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
  }
  .vcard{
    background:var(--white);
    border:1px solid var(--grey-200);
    border-radius:var(--radius-md);
    padding:26px;
  }
  .vcard .icon{
    width:36px; height:36px;
    border-radius:9px;
    background:var(--grey-100);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:18px;
  }
  .vcard .icon svg{ width:17px; height:17px; stroke:var(--navy-900); }
  .vcard h3{ font-size:15px; font-weight:600; font-family:'Inter',sans-serif; margin-bottom:8px; }
  .vcard p{ font-size:13.5px; color:var(--ink-600); line-height:1.55; }

  .vantaggi-note{
    margin-top:36px;
    padding-top:28px;
    border-top:1px solid var(--grey-200);
    font-size:14.5px;
    color:var(--ink-600);
    max-width:820px;
  }
  .vantaggi-note b{ color:var(--ink-900); font-weight:600; }

  /* ===== WALLET / CRYPTO ===== */
  .wallet-grid{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:64px;
    align-items:center;
  }
  .prism-card{
    position:relative;
    border-radius:var(--radius-lg);
    overflow:hidden;
    aspect-ratio:4/3.4;
    background:#050810;
  }
  .prism-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
  .prism-tag{
    position:absolute; z-index:2;
    font-size:10px; font-weight:600; letter-spacing:0.06em;
    padding:6px 10px; border-radius:6px;
    background:rgba(255,255,255,0.08);
    color:rgba(255,255,255,0.85);
    backdrop-filter:blur(6px);
  }
  .prism-tag.usd{ bottom:16px; left:16px; }
  .prism-tag.usdt{ bottom:16px; right:16px; background:rgba(240,102,44,0.85); color:#fff; }

  .wallet-copy h2{ font-size:34px; margin:14px 0 16px; }
  .wallet-copy > p{ color:var(--ink-600); font-size:15px; max-width:500px; margin-bottom:30px; }

  .wallet-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
  }
  .wallet-item{
    border:1px solid var(--grey-200);
    border-radius:var(--radius-md);
    padding:18px 18px 18px 16px;
    display:flex;
    gap:12px;
  }
  .wallet-item .icon{
    flex:none;
    width:32px; height:32px;
    border-radius:8px;
    background:var(--grey-100);
    display:flex; align-items:center; justify-content:center;
  }
  .wallet-item .icon svg{ width:15px; height:15px; stroke:var(--navy-900); }
  .wallet-item h4{ font-size:14px; font-weight:600; margin-bottom:4px; }
  .wallet-item p{ font-size:12.5px; color:var(--ink-600); line-height:1.5; }
  .wallet-item.small p{ margin:0; }
  .wallet-item.small h4{ margin-bottom:2px; }

  /* ===== CARTA DI DEBITO ===== */
  .card-grid{
    display:grid;
    grid-template-columns:1fr 0.9fr;
    gap:64px;
    align-items:center;
  }
  .card-copy h2{ font-size:36px; margin:14px 0 16px; }
  .card-copy > p{ color:var(--ink-600); font-size:15px; max-width:460px; margin-bottom:26px; }
  .checklist{ display:flex; flex-direction:column; gap:16px; margin-bottom:34px; }
  .checklist li{ display:flex; gap:12px; align-items:flex-start; }
  .checklist .dot{
    flex:none; width:20px; height:20px; border-radius:50%;
    background:var(--grey-100);
    display:flex; align-items:center; justify-content:center;
    margin-top:2px;
  }
  .checklist .dot svg{ width:10px; height:10px; stroke:var(--navy-900); }
  .checklist b{ font-weight:600; font-size:14.5px; }
  .checklist span{ display:block; font-size:13.5px; color:var(--ink-600); margin-top:2px; }

  .debit-visual{
    position:relative;
    border-radius:var(--radius-lg);
    overflow:hidden;
    aspect-ratio:4/3.6;
    background:#05070d;
  }
  .debit-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  /* ===== PROSPETTI DI ADESIONE ===== */
  .section-pricing{
    position:relative;
    background:var(--navy-950);
    overflow:hidden;
  }
  .pricing-rings{
    position:absolute;
    inset:0;
    pointer-events:none;
    background-image:
      repeating-radial-gradient(circle at 50% 8%, transparent 0, transparent 79px, rgba(255,255,255,0.06) 80px, rgba(255,255,255,0.06) 81px),
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: auto, 64px 64px, 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black 0%, transparent 75%);
  }
  .pricing-head{
    position:relative;
    max-width:640px;
    margin:0 auto 56px;
    text-align:center;
  }
  .pricing-head .eyebrow{ justify-content:center; }
  .pricing-head h2{
    color:var(--white);
    font-size:34px;
    margin-top:14px;
  }

  .pricing-grid{
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    max-width:900px;
    margin:0 auto;
    border:1px solid var(--navy-line);
    border-radius:var(--radius-lg);
    overflow:hidden;
  }
  .pricing-card{
    padding:40px 36px 44px;
    background:transparent;
  }
  .pricing-card + .pricing-card{
    border-left:1px solid var(--navy-line);
  }
  .pricing-card.is-featured{
    background:var(--navy-700);
  }
  .pricing-card h3{
    font-family:'Space Grotesk', sans-serif;
    font-size:22px;
    font-weight:700;
    letter-spacing:0.04em;
    text-transform:uppercase;
    color:var(--white);
    padding-bottom:20px;
    margin-bottom:28px;
    border-bottom:1px solid var(--navy-line);
  }
  .pricing-row{ padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid var(--navy-line); }
  .pricing-row:last-child{ padding-bottom:0; margin-bottom:0; border-bottom:none; }
  .pricing-label{
    display:block;
    font-size:11px;
    font-weight:600;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.5);
    margin-bottom:12px;
  }
  .pricing-value{
    display:flex;
    align-items:baseline;
    gap:6px;
    line-height:1;
  }
  .pricing-value .amount{
    font-family:'Space Grotesk', sans-serif;
    font-weight:700;
    font-size:44px;
    color:var(--white);
    letter-spacing:-0.02em;
  }
  .pricing-value .currency{
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
    font-size:20px;
    color:rgba(255,255,255,0.7);
  }
  .pricing-period{
    display:block;
    font-size:13px;
    color:rgba(255,255,255,0.55);
    margin-top:8px;
  }

  /* ===== CTA BANNER ===== */
  .cta{
    background:linear-gradient(120deg, var(--orange-500), var(--orange-600));
    padding:70px 0;
    position:relative;
    overflow:hidden;
  }
  .cta::before{
    content:"";
    position:absolute; inset:0;
    background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.18), transparent 45%);
  }
  .cta-inner{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
  }
  .cta-left h2{
    color:var(--white);
    font-size:32px;
    max-width:460px;
    margin-bottom:14px;
  }
  .cta-left p{
    color:rgba(255,255,255,0.85);
    font-size:14.5px;
    max-width:440px;
    margin-bottom:26px;
  }
  .cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }
  .cta-stats{ display:flex; gap:36px; }
  .stat b{
    display:block;
    font-family:'Space Grotesk', sans-serif;
    font-size:30px;
    color:var(--white);
    font-weight:700;
  }
  .stat span{
    display:block;
    font-size:11px;
    color:rgba(255,255,255,0.8);
    margin-top:6px;
    max-width:90px;
    line-height:1.35;
  }

  /* ===== FOOTER ===== */
  footer.site{
    background:var(--navy-950);
    padding:64px 0 30px;
    color:rgba(255,255,255,0.7);
  }
  .footer-top{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr auto;
    gap:40px;
    padding-bottom:44px;
    border-bottom:1px solid var(--navy-line);
  }
  .footer-top h3{
    color:var(--white);
    font-size:24px;
    max-width:280px;
    margin-bottom:20px;
  }
  .footer-col h4{
    font-size:11px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--ink-400);
    margin-bottom:16px;
    font-weight:600;
  }
  .footer-col ul{ display:flex; flex-direction:column; gap:11px; font-size:14px; }
  .footer-col a:hover{ color:var(--white); }
  .footer-col .status{ display:flex; align-items:center; gap:8px; }
  .footer-col .status::before{
    content:""; width:7px; height:7px; border-radius:50%; background:#3DDC84; display:inline-block;
  }
  .footer-partner-btn{ align-self:start; }
  .footer-partner-btn,
  .footer-partner-btn:hover{ background:var(--navy-700); }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:24px;
    font-size:12.5px;
    color:var(--ink-400);
    flex-wrap:wrap;
    gap:12px;
  }
  .footer-bottom a{ color:var(--ink-400); }
  .footer-bottom a:hover{ color:var(--white); }
  .footer-legal{ display:flex; gap:18px; }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1080px){
    .wrap{ padding:0 24px; }
    .hero h1{ font-size:52px; }
    .grid-2, .wallet-grid, .card-grid{ grid-template-columns:1fr; gap:40px; }
    .grid-2 .media-card{ order:-1; }
    .card-grid .debit-visual{ order:-1; }
    .footer-top{ grid-template-columns:1fr 1fr; }
    .footer-partner-btn{ grid-column:1 / -1; }
  }

  @media (max-width: 860px){
    .nav-links, .nav-help{ display:none; }
    .burger{ display:flex; }
    .hero{ padding:56px 0 70px; }
    .hero h1{ font-size:42px; }
    .section{ padding:64px 0; }
    .feature-row, .vantaggi-cards{ grid-template-columns:1fr; }
    .wallet-list{ grid-template-columns:1fr; }
    .cta-inner{ flex-direction:column; align-items:flex-start; }
    .cta-stats{ gap:28px; }
    .footer-top{ grid-template-columns:1fr; }
    .pricing-grid{ grid-template-columns:1fr; }
    .pricing-card + .pricing-card{ border-left:none; border-top:1px solid var(--navy-line); }
  }

  @media (max-width: 520px){
    .wrap{ padding:0 18px; }
    .hero h1{ font-size:34px; }
    .intro-copy h2, .wallet-copy h2, .vantaggi-head h2{ font-size:26px; }
    .card-copy h2{ font-size:28px; }
    .cta-left h2{ font-size:26px; }
    .nav-actions .btn-outline{ display:none; }
    .stat b{ font-size:24px; }
    .pricing-head h2{ font-size:26px; }
    .pricing-card{ padding:32px 24px 36px; }
    .pricing-value .amount{ font-size:36px; }
  }

/* Stato menu mobile aperto */
@media (max-width: 860px){
    .nav-links.is-open{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:16px;
      position:absolute;
      top:76px;
      left:0;
      right:0;
      background:var(--navy-950);
      padding:20px 24px 28px;
      border-bottom:1px solid var(--navy-line);
    }
  }

/* ===== SELETTORE LINGUA CUSTOM (Google Translate) ===== */
body{ top:0 !important; }
.goog-te-banner-frame.skiptranslate{ display:none !important; }
.goog-tooltip, .goog-tooltip:hover{ display:none !important; }
.goog-text-highlight{ background:none !important; box-shadow:none !important; }
#google_translate_element{ display:none !important; }

.lang-switch{ position:relative; }
.lang-switch-btn{
  display:flex; align-items:center; gap:6px;
  background:transparent;
  border:none;
  color:rgba(255,255,255,0.75);
  font-family:'Inter', sans-serif;
  font-size:14px;
  font-weight:500;
  padding:0;
  transition:color .15s ease;
}
.lang-switch-btn:hover{ color:var(--white); }
.lang-switch-btn .icon-globe{ width:15px; height:15px; stroke:currentColor; }
.lang-switch-btn .icon-caret{ width:11px; height:11px; stroke:currentColor; transition:transform .18s ease; }
.lang-switch.is-open .lang-switch-btn .icon-caret{ transform:rotate(180deg); }

.lang-switch-menu{
  position:absolute;
  top:calc(100% + 16px);
  left:50%;
  transform:translateX(-50%) translateY(-6px);
  background:var(--navy-900);
  border:1px solid var(--navy-line);
  border-radius:var(--radius-md);
  padding:6px;
  min-width:150px;
  box-shadow:var(--shadow-soft);
  opacity:0;
  visibility:hidden;
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index:60;
}
.lang-switch.is-open .lang-switch-menu{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}
.lang-switch-menu button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  padding:9px 12px;
  border-radius:8px;
  background:transparent;
  color:rgba(255,255,255,0.75);
  font-family:'Inter', sans-serif;
  font-size:13.5px;
  font-weight:500;
  text-align:left;
  transition:background .15s ease, color .15s ease;
}
.lang-switch-menu button:hover{ background:var(--navy-800); color:var(--white); }
.lang-switch-menu button.is-active{ color:var(--orange-500); }
.lang-switch-menu button.is-active::after{
  content:"";
  width:5px; height:5px;
  border-radius:50%;
  background:var(--orange-500);
  flex:none;
}

@media (max-width: 860px){
  .lang-switch-menu{
    left:0;
    transform:translateY(-6px);
  }
  .lang-switch.is-open .lang-switch-menu{ transform:translateY(0); }
}

/* ===== PAGE HERO (pagine interne, es. FAQ) ===== */
.page-hero{
  background:var(--navy-950);
  padding:64px 0 56px;
  position:relative;
  overflow:hidden;
}
.page-hero::after{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(700px 380px at 85% -10%, rgba(240,102,44,0.12), transparent 60%);
  pointer-events:none;
}
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero h1{ color:var(--white); font-size:42px; margin:16px 0 14px; }
.page-hero p{ color:rgba(255,255,255,0.62); font-size:16px; max-width:560px; }

/* ===== FAQ ===== */
.faq-wrap{ max-width:820px; margin:0 auto; }
.faq-cat{ margin-bottom:52px; }
.faq-cat:last-child{ margin-bottom:0; }
.faq-cat-title{
  font-family:'Space Grotesk', sans-serif;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--orange-500);
  margin-bottom:18px;
}
.faq-item{
  border:1px solid var(--grey-200);
  border-radius:var(--radius-md);
  background:var(--white);
  overflow:hidden;
  transition:border-color .15s ease;
}
.faq-item + .faq-item{ margin-top:12px; }
.faq-item[open]{ border-color:#D8DCE4; }
.faq-item summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px;
  font-family:'Inter', sans-serif;
  font-weight:600;
  font-size:15px;
  color:var(--ink-900);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ background:var(--grey-50); }
.faq-chevron{ flex:none; width:18px; height:18px; stroke:var(--ink-400); transition:transform .2s ease; }
.faq-item[open] .faq-chevron{ transform:rotate(180deg); stroke:var(--orange-500); }
.faq-item[open] summary{ border-bottom:1px solid var(--grey-200); }
.faq-answer{ padding:20px 2px 22px 20px; font-size:14.5px; color:var(--ink-600); line-height:1.65; }
.faq-answer p + p{ margin-top:10px; }

@media (max-width: 520px){
  .page-hero h1{ font-size:30px; }
  .faq-item summary{ padding:16px 18px; font-size:14px; }
  .faq-answer{ padding:0 18px 16px; font-size:13.5px; }
}

/* ===== LEGAL CONTENT (Privacy, Cookie Policy) ===== */
.legal-content{ max-width:760px; margin:0 auto; }
.legal-updated{ font-size:12.5px; color:var(--ink-400); margin-bottom:8px; }
.legal-note{
  background:var(--grey-50);
  border:1px solid var(--grey-200);
  border-radius:var(--radius-md);
  padding:18px 20px;
  font-size:13.5px;
  color:var(--ink-600);
  line-height:1.6;
  margin:24px 0 44px;
}
.legal-note strong{ color:var(--ink-900); }
.legal-content h2{
  font-family:'Space Grotesk', sans-serif;
  font-size:21px;
  font-weight:700;
  color:var(--ink-900);
  margin:46px 0 14px;
  padding-top:2px;
}
.legal-content > .legal-content-body > h2:first-child{ margin-top:0; }
.legal-content h3{
  font-family:'Inter', sans-serif;
  font-size:15.5px;
  font-weight:600;
  color:var(--ink-900);
  margin:24px 0 10px;
}
.legal-content p{ font-size:14.5px; color:var(--ink-600); line-height:1.7; margin-bottom:14px; }
.legal-content ul{ margin:0 0 16px 0; }
.legal-content li{
  font-size:14.5px;
  color:var(--ink-600);
  line-height:1.65;
  padding-left:18px;
  position:relative;
  margin-bottom:8px;
}
.legal-content li::before{ content:"–"; position:absolute; left:0; color:var(--orange-500); }
.legal-content strong{ color:var(--ink-900); font-weight:600; }
.legal-content a{ color:var(--orange-500); font-weight:600; }
.legal-content table{
  width:100%;
  border-collapse:collapse;
  margin:8px 0 22px;
  font-size:13.5px;
}
.legal-content th, .legal-content td{
  text-align:left;
  vertical-align:top;
  padding:10px 12px;
  border-bottom:1px solid var(--grey-200);
  color:var(--ink-600);
}
.legal-content th{ color:var(--ink-900); font-weight:600; font-size:12.5px; text-transform:uppercase; letter-spacing:0.04em; }

@media (max-width: 520px){
  .legal-content table{ font-size:12.5px; }
  .legal-content th, .legal-content td{ padding:8px; }
}


/* ===== POPUP RICHIESTA PARTNERSHIP ===== */
body:has(dialog[open]){ overflow:hidden; }

.partner-modal{
  border:none;
  padding:0;
  margin:auto;
  width:min(580px, calc(100% - 32px));
  max-height:calc(100vh - 32px);
  overflow:auto;
  border-radius:var(--radius-lg);
  background:var(--white);
  color:var(--ink-900);
  box-shadow:0 30px 80px -20px rgba(10,18,38,0.55);
}
.partner-modal::backdrop{
  background:rgba(10,18,38,0.72);
  backdrop-filter:blur(3px);
}
.partner-modal[open]{ animation:partner-pop .22s ease; }
@keyframes partner-pop{
  from{ opacity:0; transform:translateY(10px) scale(.98); }
  to{ opacity:1; transform:none; }
}

.partner-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:28px 32px 24px;
  background:var(--navy-950);
  color:var(--white);
}
.partner-modal-head h2{
  color:var(--white);
  font-size:26px;
  margin:10px 0 8px;
}
.partner-modal-head p{
  font-size:14px;
  color:rgba(255,255,255,0.7);
}
.partner-modal-close{
  flex:none;
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:grid; place-items:center;
  transition:background .18s ease;
}
.partner-modal-close:hover{ background:rgba(255,255,255,0.18); }
.partner-modal-close svg{ width:18px; height:18px; stroke:var(--white); }

.partner-form{ padding:26px 32px 32px; }
.partner-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.pf-full{ grid-column:1 / -1; }
.pf-field label{
  display:block;
  font-size:12.5px;
  font-weight:600;
  color:var(--ink-600);
  margin-bottom:6px;
}
.pf-field input,
.pf-field textarea{
  width:100%;
  font-family:inherit;
  font-size:15px;
  color:var(--ink-900);
  background:var(--grey-50);
  border:1px solid var(--grey-200);
  border-radius:var(--radius-md);
  padding:12px 14px;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.pf-field textarea{ resize:vertical; min-height:110px; }
.pf-field input:focus,
.pf-field textarea:focus{
  outline:none;
  background:var(--white);
  border-color:var(--orange-500);
  box-shadow:0 0 0 3px rgba(240,102,44,0.15);
}
.pf-field.has-error input,
.pf-field.has-error textarea{ border-color:#D64545; }

/* campo trappola anti-spam: fuori schermo, non display:none */
.pf-hp{
  position:absolute;
  left:-9999px;
  width:1px; height:1px;
  overflow:hidden;
}

.pf-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:18px;
  font-size:13px;
  line-height:1.45;
  color:var(--ink-600);
  cursor:pointer;
}
.pf-consent input{
  flex:none;
  width:17px; height:17px;
  margin-top:2px;
  accent-color:var(--orange-500);
}
.pf-consent a{ color:var(--ink-900); text-decoration:underline; }

.pf-status{
  margin:20px 32px 0;
  font-size:14px;
  font-weight:500;
  min-height:0;
}
.pf-status:empty{ display:none; }
.pf-status.is-error{
  color:#B42323;
  background:#FDEDED;
  border-radius:var(--radius-md);
  padding:12px 14px;
}
.pf-status.is-success{
  color:#146C43;
  background:#E8F6EE;
  border-radius:var(--radius-md);
  padding:14px 16px;
}
.pf-submit{ width:100%; margin-top:18px; padding:15px 24px; }
.pf-close-ok{ display:flex; margin:16px 32px 28px; width:calc(100% - 64px); }
.pf-close-ok[hidden]{ display:none; }
.pf-submit[disabled]{ opacity:.6; cursor:wait; }

@media (max-width: 520px){
  .partner-modal-head{ padding:22px 20px 20px; }
  .partner-modal-head h2{ font-size:22px; }
  .partner-form{ padding:20px 20px 24px; }
  .pf-status{ margin:16px 20px 0; }
  .pf-close-ok{ margin:14px 20px 22px; width:calc(100% - 40px); }
  .partner-fields{ grid-template-columns:1fr; }
}


/* ===== SEZIONE GOOGLE AUTHENTICATOR (2FA) ===== */
.twofa-copy h2{ font-size:36px; margin:14px 0 16px; }
.twofa-copy > p{ color:var(--ink-600); font-size:15.5px; max-width:500px; }
.twofa-facts{ display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.twofa-fact{
  border:1px solid var(--grey-200);
  border-radius:var(--radius-md);
  padding:14px 20px;
  min-width:118px;
}
.twofa-fact b{
  display:block;
  font-family:'Space Grotesk', sans-serif;
  font-size:24px;
  letter-spacing:-0.02em;
  color:var(--ink-900);
}
.twofa-fact span{ font-size:12px; color:var(--ink-400); }

.twofa-steps-title{
  font-family:'Inter', sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--ink-400);
  margin-bottom:16px;
  line-height:1.4;
}
.twofa-steps{ list-style:none; display:flex; flex-direction:column; gap:14px; }
.twofa-step{
  display:flex;
  gap:18px;
  align-items:flex-start;
  background:var(--grey-50);
  border:1px solid var(--grey-200);
  border-radius:var(--radius-md);
  padding:22px;
}
.twofa-num{
  flex:none;
  width:36px; height:36px;
  border-radius:50%;
  background:var(--navy-900);
  color:var(--white);
  display:grid; place-items:center;
  font-family:'Space Grotesk', sans-serif;
  font-weight:700;
  font-size:15px;
}
.twofa-step h3{ font-size:15px; font-weight:600; font-family:'Inter', sans-serif; margin-bottom:4px; }
.twofa-step p{ font-size:13.5px; color:var(--ink-600); line-height:1.55; }

@media (max-width: 520px){
  .twofa-copy h2{ font-size:26px; }
  .twofa-step{ padding:18px; gap:14px; }
}

/* Pulsanti store (step 1 sezione 2FA) */
.twofa-stores{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.store-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--navy-900);
  color:var(--white);
  border-radius:10px;
  padding:9px 16px 9px 12px;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  transition:background .18s ease, transform .18s ease;
}
.store-btn:hover{ background:var(--navy-700); }
.store-btn:active{ transform:translateY(1px); }
.store-btn svg{ width:20px; height:20px; stroke:var(--white); flex:none; }
.store-btn small{ display:block; font-size:10.5px; font-weight:500; opacity:.7; }
