:root{
  --brand:#14d692;
  --ink:#070807;
  --gutter:clamp(30px,4.2vw,80px);
  --section-y:100px;
}

.page-legal{
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.page-legal .editorial-inner{
  max-width:1380px;
  margin:0 auto;
  width:100%;
}

.legal-hero{padding:0}
.legal-hero .hero-v7-banner{
  position:relative;
  overflow:hidden;
  width:100%;
  height:min(56dvh,480px);
  min-height:360px;
  color:#fff;
  background:#111412;
}
.legal-hero .hero-v7-media{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
}
.legal-hero .hero-v7-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 35%;
}
.legal-hero .hero-v7-overlay{position:absolute;inset:0;pointer-events:none}
.legal-hero .hero-v7-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  max-width:min(720px,90%);
  height:100%;
  padding:120px var(--gutter) 48px;
}
.legal-eyebrow{
  margin:0 0 14px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
}
.legal-hero .hero-v7-copy h1{
  margin:0 0 18px;
  font-size:clamp(40px,5.4vw,72px);
  font-weight:800;
  line-height:.95;
  letter-spacing:-.055em;
  color:#fff;
}
.legal-hero .hero-v7-copy h1 span{display:block}
.legal-hero .hero-v7-copy h1 .hero-v7-accent{
  font-style:normal;
  color:var(--brand);
}
.legal-hero .hero-v7-lead{
  margin:0;
  max-width:480px;
  color:#e4ebe7;
  font-size:16px;
  line-height:1.55;
}

.legal-kicker{
  margin:0 0 10px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#087c53;
}

.legal-intro{
  padding:var(--section-y) var(--gutter);
  background:#fff;
  border-bottom:1px solid rgba(7,8,7,.1);
}
.legal-intro h2{
  margin:0 0 24px;
  font-size:clamp(28px,3.4vw,44px);
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1.05;
}
.legal-intro p{
  margin:0 0 18px;
  max-width:920px;
  color:#3f4541;
  font-size:17px;
  line-height:1.65;
}
.legal-intro p:last-child{margin-bottom:0}
.legal-intro strong{color:var(--ink)}

.legal-docs,
.legal-istituti,
.legal-usura,
.legal-societa,
.legal-section{
  padding:var(--section-y) var(--gutter);
  background:#fff;
  border-top:1px solid rgba(7,8,7,.1);
}

.legal-docs h2,
.legal-istituti h2,
.legal-usura h2,
.legal-societa h2,
.legal-section h2{
  margin:0 0 28px;
  font-size:clamp(28px,3.4vw,44px);
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1.05;
}

.legal-section h3{
  margin:28px 0 12px;
  font-size:clamp(18px,1.8vw,22px);
  font-weight:800;
  letter-spacing:-.03em;
}
.legal-section h3:first-of-type{margin-top:0}
.legal-section p{
  margin:0 0 16px;
  max-width:920px;
  color:#3f4541;
  font-size:16px;
  line-height:1.65;
}
.legal-section p:last-child{margin-bottom:0}
.legal-section strong{color:var(--ink)}
.legal-section ul{
  margin:0 0 18px;
  padding:0 0 0 1.15em;
  max-width:920px;
  color:#3f4541;
  font-size:16px;
  line-height:1.6;
}
.legal-section li{margin:0 0 8px}
.legal-section a{
  color:var(--ink);
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid var(--brand);
}
.legal-note{
  margin:20px 0 0;
  padding:18px 22px;
  border-left:3px solid var(--brand);
  background:#f3f4f3;
  border-radius:0 8px 8px 0;
  color:#3f4541;
  font-size:15px;
  line-height:1.55;
}
.legal-toc{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin:0 0 8px;
  padding:0;
  list-style:none;
}
.legal-toc a{
  font-size:14px;
  font-weight:700;
  color:var(--ink);
  text-decoration:none;
  border-bottom:1px solid rgba(7,8,7,.2);
}
.legal-toc a:hover{border-color:var(--brand);color:#087c53}


.legal-section-lead{
  margin:-12px 0 28px;
  max-width:640px;
  color:#505852;
  font-size:16px;
  line-height:1.55;
}

.legal-doc-block{margin-bottom:36px}
.legal-doc-block:last-child{margin-bottom:0}
.legal-doc-block h3{
  margin:0 0 14px;
  font-size:clamp(20px,2vw,26px);
  font-weight:800;
  letter-spacing:-.03em;
}

.legal-doc-list{
  list-style:none;
  margin:0;
  padding:0;
  border:1px solid rgba(7,8,7,.12);
  border-radius:12px;
  overflow:hidden;
  background:#f7f7f7;
}
.legal-doc-list li{border-top:1px solid rgba(7,8,7,.1)}
.legal-doc-list li:first-child{border-top:0}
.legal-doc-list a{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:54px;
  padding:14px 20px;
  color:var(--ink);
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  transition:background-color 160ms ease;
}
.legal-doc-list a:hover{background:#fff}
.legal-doc-list .icon{
  width:18px;
  height:18px;
  flex-shrink:0;
  color:var(--brand);
}

.legal-table-wrap{
  overflow-x:auto;
  border:1px solid rgba(7,8,7,.12);
  border-radius:12px;
}
.legal-table{
  width:100%;
  min-width:640px;
  border-collapse:collapse;
  background:#fff;
}
.legal-table th,
.legal-table td{
  padding:16px 20px;
  text-align:left;
  font-size:15px;
  line-height:1.45;
  border-bottom:1px solid rgba(7,8,7,.1);
  vertical-align:middle;
}
.legal-table th{
  background:#f4f5f4;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6f7672;
}
.legal-table tr:last-child td{border-bottom:0}
.legal-table td{color:#3f4541}
.legal-table strong{color:var(--ink);font-weight:700}
.legal-table a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--ink);
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid var(--brand);
}
.legal-table a .icon{
  width:16px;
  height:16px;
  color:var(--brand);
  transition:transform 180ms;
}
.legal-table a:hover .icon{transform:translateX(3px)}

.legal-usura{background:#fff}
.legal-usura-card{
  padding:clamp(28px,3vw,40px);
  border-left:3px solid var(--brand);
  background:#f3f4f3;
  border-radius:0 12px 12px 0;
}
.legal-usura-card h2{margin-bottom:14px}
.legal-usura-card p{
  margin:0 0 22px;
  max-width:720px;
  color:#3f4541;
  font-size:16px;
  line-height:1.6;
}
.legal-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  font-size:15px;
  font-weight:700;
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid var(--brand);
}
.legal-cta .icon{
  width:17px;
  height:17px;
  color:var(--brand);
  transition:transform 180ms;
}
.legal-cta:hover .icon{transform:translateX(4px)}

.legal-info-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0;
  border:1px solid rgba(7,8,7,.12);
  border-radius:12px;
  overflow:hidden;
}
.legal-info-grid > div{
  padding:22px 24px;
  border-right:1px solid rgba(7,8,7,.1);
  border-bottom:1px solid rgba(7,8,7,.1);
  background:#fff;
}
.legal-info-grid > div:nth-child(4n){border-right:0}
.legal-info-grid > div:nth-last-child(-n+4){border-bottom:0}
.legal-info-grid dt{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#6f7672;
}
.legal-info-grid dd{
  margin:0;
  font-size:15px;
  font-weight:600;
  line-height:1.45;
  color:var(--ink);
}
.legal-info-grid a{
  color:inherit;
  text-decoration:none;
}
.legal-info-grid a:hover{color:var(--brand)}

@media(max-width:1100px){
  :root{--section-y:72px}
  .legal-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .legal-info-grid > div:nth-child(4n){border-right:1px solid rgba(7,8,7,.1)}
  .legal-info-grid > div:nth-child(2n){border-right:0}
  .legal-info-grid > div:nth-last-child(-n+4){border-bottom:1px solid rgba(7,8,7,.1)}
  .legal-info-grid > div:nth-last-child(-n+2){border-bottom:0}
}

.legal-form-section .legal-form-wrap{
  max-width:820px;
  margin-top:8px;
}
.legal-field-hint{
  display:block;
  margin-top:8px;
  font-size:13px;
  color:#6f7672;
  line-height:1.45;
}
.legal-form-wrap input[type="file"]{
  padding:12px 0;
  border:0;
  background:transparent;
  font-size:14px;
}

@media(max-width:850px){
  :root{--section-y:60px}
  .legal-hero .hero-v7-copy{
    max-width:100%;
    height:100%;
    padding:110px var(--gutter) 36px;
    background:transparent;
    justify-content:flex-end;
  }
  .legal-info-grid{grid-template-columns:1fr}
  .legal-info-grid > div{
    border-right:0;
  }
  .legal-info-grid > div:nth-last-child(-n+2){border-bottom:1px solid rgba(7,8,7,.1)}
  .legal-info-grid > div:last-child{border-bottom:0}
}
