/* Manrope in locale (latin + latin-ext per le lingue future) */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-400-normal.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:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-500-normal.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:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-600-normal.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:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-700-normal.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:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-ext-800-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/manrope/manrope-latin-800-normal.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}

:root {
  --y: #ffd400;
  --y-soft: #fff3c2;
  --o: #ff4f31;
  --o-deep: #b83820;
  --ink: #24221e;
  --dark: #181714;
  --muted: #625e56;
  --line: #e7e1d7;
  --cream: #f7f3eb;
  --wa: #17664e;
  --g: #32CC77;   /* verde di supporto */
  --b: #6788FF;   /* blu di supporto */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 16px/1.65 "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0 0 16px; }
h1, h2, h3 { font-weight: 800; line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(40px, 5.2vw, 74px); line-height: 1.02; }
h1 em, h2 em, .art-heading em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--o-deep);
  letter-spacing: -.04em;
}
h2 { font-size: clamp(32px, 4.1vw, 54px); }
h3 { font-size: 21px; letter-spacing: -.025em; }
p { color: var(--muted); }

.wrap { width: min(1200px, 90%); margin: 0 auto; }
section { padding: 96px 0; position: relative; }

.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--y);
  z-index: 50;
}

header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 243, 235, .88);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
header.scrolled {
  background: rgba(255, 255, 255, .94);
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(36, 34, 30, .06);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 21px; letter-spacing: -.04em;
}
.brand-mark img { display: block; width: 180px; height: auto; }
@media (max-width: 560px) { .brand-mark img { width: 140px; } }
.brand-badge {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--y); border: 1.5px solid var(--ink);
  display: grid; place-items: center; color: var(--ink); font-size: 15px;
}
.links {
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700;
}
.links a { padding: 8px 13px; border-radius: 999px; transition: background .2s; }
.links a:hover { background: var(--y-soft); }
.navend { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border: 0; border-radius: 10px;
  background: var(--y); color: var(--ink); font-size: 14px; font-weight: 800;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 184, 0, .35); }
.btn i { transition: transform .25s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { box-shadow: 0 12px 26px rgba(36, 34, 30, .24); }
.btn.outline { background: #fff; border: 1px solid var(--line); }
.btn.sm { padding: 11px 17px; font-size: 13px; }

.eyebrow {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 800; color: #8e3828; margin-bottom: 16px; display: block;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 800; color: #8e3828; margin-bottom: 14px;
}
.tag:before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--o);
}

.scribble { position: relative; display: inline-block; }
.scribble svg {
  position: absolute; left: -3%; bottom: -.08em; width: 106%; height: .22em;
  overflow: visible; pointer-events: none;
}
.scribble path {
  fill: none; stroke: var(--y); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 140; stroke-dashoffset: 140;
  animation: draw 1s cubic-bezier(.6, .1, .2, 1) .4s forwards;
  vector-effect: non-scaling-stroke;
}
.art-heading .scribble path { stroke: var(--o); stroke-width: 3.5; animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.toggle { display: none; border: 0; background: none; font-size: 22px; color: var(--ink); }

/* Hero */
.hero {
  background: var(--cream);
  padding: 64px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 52px; align-items: center;
}
.lead { font-size: 18px; max-width: 560px; }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 26px 0 20px; }
.textlink { font-weight: 800; font-size: 14px; color: var(--ink); }
.textlink:hover { color: var(--o-deep); }
.micro { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.micro span { display: inline-flex; align-items: center; gap: 6px; }
.micro i { color: var(--g); }

/* Interactive Phone */
.hero-art {
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.art-heading {
  text-align: center; font-size: 28px; font-weight: 800;
  line-height: 1.06; letter-spacing: -.04em;
}
.phone-stage {
  position: relative; width: 100%; max-width: 380px;
  display: grid; place-items: center; padding: 8px 0;
}
.phone {
  position: relative; width: 284px; background: #efe9df;
  border: 8px solid #1b1b1b; border-radius: 38px; overflow: hidden;
  box-shadow: 0 32px 68px rgba(36, 34, 30, .22);
  transform: rotate(-3deg); transition: transform .5s var(--ease);
}
.phone:hover { transform: rotate(-1deg) translateY(-4px); }
.notch {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 20px; border-radius: 20px; background: #1b1b1b; z-index: 2;
}
.phone-head {
  background: var(--wa); color: #fff; display: flex; align-items: center;
  gap: 11px; padding: 34px 16px 13px; font-weight: 700; font-size: 14.5px;
}
.phone-head i { font-size: 24px; }
.phone-head small { display: block; font-weight: 500; font-size: 11px; opacity: .85; }
.chat {
  padding: 14px 12px; min-height: 300px;
  background: radial-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px) 0 0/14px 14px;
  display: flex; flex-direction: column;
}
.chat .row {
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.chat .row.show { opacity: 1; transform: none; }
.chat small { font-size: 9px; font-weight: 800; letter-spacing: .08em; color: #7a7a7a; }
.bubble {
  font-size: 12.5px; background: #fff; padding: 10px 12px;
  border-radius: 12px 12px 12px 3px; margin: 4px 0 11px;
  color: #222; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); max-width: 88%;
}
.bubble.me {
  background: #d9fdd3; margin-left: auto;
  border-radius: 12px 12px 3px 12px;
}
.chat .reward {
  align-self: center; font-size: 11px; font-weight: 700;
  background: #fff6cc; color: #7a5d00; padding: 6px 12px;
  border-radius: 999px; margin-top: 4px;
}
.phone-foot {
  background: #fff; margin: 8px; padding: 10px 14px; border-radius: 20px;
  font-size: 12px; color: #888; display: flex; justify-content: space-between; align-items: center;
}
.phone-foot i { color: var(--wa); }

.chips-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 440px;
}
.chip {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 13px; display: flex; gap: 10px;
  align-items: center; font-size: 12px; line-height: 1.3;
  box-shadow: 0 12px 26px rgba(36, 34, 30, .08);
}
.chip .ic {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-size: 13px; flex: none;
}
.c1 .ic { background: #fff0eb; color: var(--o); }
.c2 .ic { background: #e7f9ee; color: #1f9d59; }
.c3 .ic { background: #fff6cc; color: #9c7700; }

.scenes {
  display: flex; gap: 5px; padding: 4px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(36, 34, 30, .06);
}
.scenes button {
  border: 0; background: none; padding: 8px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; transition: .25s;
}
.scenes button.on { background: var(--ink); color: #fff; }
.scenes button.on i { color: var(--y); }
.art-note { font-size: 11px; color: #8a8a8a; }

/* Manifesto strip */
.manifesto { background: var(--ink); color: #fff; padding: 24px 0; }
.manifesto .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; font-size: 15px; font-weight: 600;
}
.manifesto b { color: var(--y); }

/* Percorso: In store -> A casa */
.intro { max-width: 780px; margin-bottom: 44px; }
.intro p { font-size: 17px; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.journey-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  background: #fff; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.journey-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(36, 34, 30, .08); }
.step-pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--y-soft); color: var(--ink); padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.symbol {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; background: var(--c); font-size: 20px; margin-bottom: 18px;
}
.journey-card p { font-size: 15px; margin-bottom: 18px; }
.mini {
  margin-top: auto; background: var(--cream); border-radius: 14px;
  padding: 13px; font-size: 12px;
}
.mini .wa {
  color: #167c44; font-weight: 800; font-size: 10.5px; letter-spacing: .05em;
  text-transform: uppercase; display: flex; align-items: center; gap: 6px;
}
.mini .bubble { max-width: 100%; margin: 6px 0 0; }

/* Ecosistema Quii.it & Quiipago.it */
.ecosystem { background: var(--cream); }
.eco-box {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 36px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.eco-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.eco-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: var(--y-soft); border: 1px solid #ebd26a; color: var(--ink);
}
.eco-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.eco-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); font-weight: 600; }
.eco-list i {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--y); display: grid; place-items: center; font-size: 10px; margin-top: 3px;
}
.qstats {
  background: var(--ink); color: #fff; border-radius: 22px; padding: 30px;
}
.qs { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.qs:last-of-type { border-bottom: 0; }
.qs b { display: block; font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.qs span { display: block; font-size: 13px; color: #cfcac0; margin-top: 6px; }

/* Integrazioni: loghi, vantaggi e numeri */
.eco-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.eco-logo-card {
  display: grid; place-items: center; height: 68px; padding: 0 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.eco-logo-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36, 34, 30, .08); }
.eco-logo { height: 40px; width: auto; display: block; }
.eco-logo.qp { height: 46px; }
.eco-feats { display: grid; gap: 14px; margin: 22px 0 28px; }
.eco-feat { display: flex; gap: 14px; align-items: flex-start; }
.eco-feat > i {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--fb); color: var(--fc); font-size: 16px;
}
.eco-feat b { display: block; font-size: 16px; color: var(--ink); }
.eco-feat span { font-size: 14.5px; color: var(--muted); }
.qs-y b { color: var(--y); }
.qs-g b { color: var(--g); }
.tp-stars { display: flex; gap: 4px; margin-bottom: 10px; }
.tp-stars i { width: 24px; height: 24px; display: grid; place-items: center; background: #00b67a; color: #fff; font-size: 12px; border-radius: 3px; }
.tp-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; font-weight: 700; color: #fff; }
.tp-link:hover { color: var(--y); }
.tp-link[hidden] { display: none; }
.qs-note.demo { color: var(--y); }
.qs-note { display: block; font-size: 11px; color: #9a958b; margin-top: 10px; }

/* Dashboard showcase */
.dash-section { background: #fff; }
.dash-frame {
  background: var(--cream); border: 1px solid var(--line); border-radius: 26px;
  padding: 24px; box-shadow: 0 24px 60px rgba(36, 34, 30, .08);
}
.dash-bar-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap; font-size: 13px; font-weight: 700;
}
.dots { display: inline-flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #d6cfc2; }
.dots span:first-child { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }
.dash-img-wrap {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #181714;
}
.dash-img-wrap img {
  display: block; width: 100%; height: auto;
}
.dash-highlights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px;
}
.dash-hl {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.dash-hl b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.dash-hl span { font-size: 13.5px; color: var(--muted); }

/* Fedeltà & Moduli */
.loyalty { background: #fff3d1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks p { margin: 12px 0; display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checks i {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--y); display: grid; place-items: center;
  font-size: 10px; margin-top: 3px;
}
/* Carta fedeltà: formato carta di credito, nera, a tinta unita */
.card-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lcard {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 85.6 / 54;
  border-radius: 20px; padding: 26px 28px; color: #fff; background: #141311;
  box-shadow: 0 30px 60px rgba(20, 19, 17, .30), inset 0 0 0 1px rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-3deg); transition: transform .5s var(--ease);
}
.lcard:hover { transform: rotate(0) translateY(-4px); }
.lc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.merchant-logo {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px;
  border: 1.5px dashed rgba(255, 255, 255, .45); border-radius: 12px;
  font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #fff;
}
.merchant-logo .mk {
  width: 34px; height: 34px; border-radius: 9px; background: var(--y); color: var(--ink);
  display: grid; place-items: center; font-size: 15px;
}
.lc-type { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--y); text-align: right; line-height: 1.5; }
.lc-mid { display: flex; align-items: center; gap: 14px; }
.emv { width: 42px; height: 32px; border-radius: 6px; background: #d9b44a; position: relative; flex: none; }
.emv:before { content: ""; position: absolute; inset: 7px 0; border-top: 1px solid #a8862c; border-bottom: 1px solid #a8862c; }
.emv:after { content: ""; position: absolute; inset: 0 13px; border-left: 1px solid #a8862c; border-right: 1px solid #a8862c; }
.lc-mid .fa-wifi { transform: rotate(90deg); color: rgba(255, 255, 255, .6); font-size: 18px; }
.points { margin-left: auto; text-align: right; font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.points small { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 700; color: #bdb8ae; margin-top: 4px; }
.lc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.lc-num { font-size: 15px; letter-spacing: .18em; font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-name { font-size: 11px; letter-spacing: .14em; color: #bdb8ae; margin-top: 6px; }
.bar { width: 120px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; margin-top: 8px; }
.bar span { display: block; height: 100%; width: 83%; background: var(--y); }
.lc-goal { font-size: 10px; color: #bdb8ae; text-align: right; letter-spacing: .06em; }
.card-caption { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.card-caption i { color: var(--o); }
@media (max-width: 560px) {
  .lcard { padding: 18px 20px; border-radius: 16px; transform: rotate(-1.5deg); max-width: 92%; }
  .merchant-logo { font-size: 9px; } .merchant-logo .mk { width: 28px; height: 28px; }
  .points { font-size: 26px; } .lc-num { font-size: 12.5px; } .emv { width: 34px; height: 26px; }
}

.tools { background: var(--cream); }
.toolgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 22px; min-height: 188px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tool:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(36, 34, 30, .07); }
.tool > i {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ic-bg, #fff1d6); color: var(--ic-fg, var(--o)); font-size: 17px; margin-bottom: 16px;
}
.tool h3 { font-size: 18px; margin-bottom: 8px; }
.tool p { font-size: 14px; margin: 0; }
.tool.soon { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool.soon > i { background: var(--y); color: var(--ink); }
.tool.soon p { color: #c9c5bc; }
.soon-badge {
  position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .12);
  color: var(--y); padding: 5px 10px; border-radius: 999px;
}

/* Trasparenza & Crediti */
.pricing { background: var(--y); padding: 92px 0; }
.pricing p { color: #3a2f00; }
.threezeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0; }
.threezeros > div { border-top: 2px solid var(--ink); padding-top: 20px; }
.threezeros strong { font-size: clamp(46px, 7.5vw, 90px); line-height: 1; letter-spacing: -.07em; display: block; color: var(--ink); }
.threezeros h3 { margin-top: 10px; }
.credits-banner {
  background: #fff; border: 1.5px solid var(--ink); border-radius: 20px;
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.credits-banner p { color: var(--muted); margin: 4px 0 0; font-size: 14.5px; }

/* FAQ & Footer */
.faq { max-width: 840px; margin: 0 auto; }
details {
  border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px;
  margin-bottom: 12px; background: #fff;
}
summary {
  cursor: pointer; font-weight: 700; font-size: 16.5px; padding: 15px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary:after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--y-soft); display: grid; place-items: center; font-size: 18px;
}
details[open] summary:after { content: "×"; background: var(--y); }
details p { margin: 0 0 16px; font-size: 15px; }

.end { background: var(--ink); color: #fff; text-align: center; }
.end p { color: #d4d0c8; font-size: 17px; max-width: 640px; margin: 0 auto 24px; }
.end .actions { justify-content: center; }

footer {
  background: var(--dark); color: #aba69c;
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 32px 0; font-size: 13px;
}
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a:hover { color: #fff; }

dialog {
  border: 0; border-radius: 22px; padding: 28px; max-width: 430px; width: 92%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .4);
}
dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
.close { float: right; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); }
dialog input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; margin: 8px 0 14px;
}
dialog .btn { width: 100%; }

@media (max-width: 960px) {
  .links {
    display: none; position: absolute; top: 76px; left: 5%; right: 5%;
    flex-direction: column; background: #fff; padding: 14px; border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
  }
  .links.open { display: flex; }
  .toggle { display: inline-flex; }
  .navend .login { display: none; }
  .hero-grid, .split, .eco-box, .journey-grid, .threezeros, .dash-highlights { grid-template-columns: 1fr; gap: 28px; }
  .toolgrid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .toolgrid { grid-template-columns: 1fr; }
  .scenes { flex-wrap: wrap; border-radius: 18px; justify-content: center; }
  .eco-box, .dash-frame { padding: 20px; }
}
  
/* Footer: dati societari, link legali, lingua */
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.foot-legal nav { display: flex; gap: 18px; flex-wrap: wrap; min-height: 0; align-items: center; justify-content: flex-start; }
.foot-legal a:hover { color: #fff; }
.lang { display: inline-flex; gap: 6px; align-items: center; }
.lang a[aria-current] { color: #fff; font-weight: 800; }
footer .foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .wrap { display: block; }
/* Pagine legali */
.legal { padding: 70px 0 100px; }
.legal h1 { font-size: clamp(34px, 4vw, 52px); }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal .updated { font-size: 13px; color: var(--muted); }
.legal .todo { background: var(--y-soft); border: 1px dashed #d9b400; border-radius: 14px; padding: 18px 20px; font-size: 14.5px; color: var(--ink); }
.back { font-weight: 800; font-size: 14px; }
.foot-bill { margin: 14px 0 0; font-size: 11.5px; line-height: 1.55; color: #8d887e; max-width: 900px; }
.legal ol, .legal ul { padding-left: 22px; color: var(--muted); }
.legal li { margin: 6px 0; }
.legal .toc { background: var(--cream); border-radius: 14px; padding: 18px 22px; margin: 26px 0; min-height: 0; display: block; }
.legal .toc ol { margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; font-size: 14.5px; }
.legal .toc a:hover { color: var(--o-deep); }
.legal .bill { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-size: 14px; }
@media (max-width: 560px) { .legal .toc ol { grid-template-columns: 1fr; } }
