* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  font: 15px/1.65 var(--font-family);
  color: var(--text);
  background: white;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
p {
  color: var(--muted);
}
.wrap {
  width: min(1200px, 90%);
  margin: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 30px;
  font-weight: 780;
  letter-spacing: -1.8px;
  line-height: 1;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 10px;
}
.accent {
  color: var(--accent);
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: white;
}
.links,
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.links {
  font-size: 13px;
  color: var(--muted);
}
.actions {
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 650;
  font-size: 13px;
  transition: 0.2s;
}
.btn:hover {
  background: #3931c8;
  transform: translateY(-2px);
}
.outline {
  background: white;
  border-color: #dce1ea;
  color: var(--text);
}
.outline:hover {
  background: #eeedff;
  color: var(--accent);
}
.hero {
  text-align: center;
  padding: 80px 0 35px;
  background:
    radial-gradient(ellipse at 50% 85%, #dfe2ff, transparent 65%),
    linear-gradient(180deg, white, #f5f6ff);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfdff5;
  background: #f7f7ff;
  color: var(--accent);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  font-size: clamp(38px, 6.3vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 24px 0 20px;
  font-weight: 780;
}
.lead {
  max-width: 650px;
  margin: 0 auto 28px;
  font-size: 18px;
}
.hero .actions {
  justify-content: center;
}
.monitor {
  max-width: 960px;
  margin: 50px auto 0;
}
.frame {
  background: #172035;
  border: 2px solid #50586b;
  border-radius: 19px;
  padding: 13px 10px 18px;
  box-shadow: 0 25px 65px #343b8050;
  text-align: left;
}
.camera {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #687085;
  margin: -8px auto 5px;
}
.screen {
  overflow: hidden;
  border-radius: 5px;
  background: #f6f7fb;
}
.screen img {
  display: block;
  width: 100%;
  height: auto;
}
.status {
  color: #12865e;
  background: #e6f8ef;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}
.wait {
  background: #fff3dd;
  color: #a47719;
}
.chin {
  height: 15px;
  background: linear-gradient(#d5d9e2, #9ca5b5);
  border-radius: 0 0 10px 10px;
  margin: -11px 2px 0;
  position: relative;
}
.stand {
  height: 45px;
  width: 13%;
  background: linear-gradient(90deg, #aeb6c4, #e2e5ed, #aeb6c4);
  margin: auto;
  clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
}
.foot {
  width: 25%;
  height: 7px;
  background: linear-gradient(#d8dce6, #9fa9bc);
  margin: auto;
  border-radius: 8px;
  box-shadow: 0 8px 18px #3e42643b;
}
section {
  padding: 85px 0;
  scroll-margin-top: 15px;
}
.sectionhead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.15vw, 16px);
  color: var(--accent);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker::before,
.kicker::after {
  content: '';
  flex: none;
  width: clamp(16px, 2.4vw, 32px);
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
h2 {
  font-size: clamp(29px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin: 12px 0 16px;
}
h3 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  margin: 15px 0 10px;
}
h4 {
  font-size: 17px;
  line-height: 1.35;
}
.grid2,
.grid3 {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.module,
.benefit,
.price {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px;
  background: white;
}
.module {
  background: linear-gradient(160deg, white, #fafaff);
}
.ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eeedff;
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: #43516a;
  font-size: 14px;
}
li {
  margin: 9px 0;
}
li:before {
  content: '✓';
  color: var(--accent);
  margin-right: 9px;
  font-weight: 700;
}
.mini {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px;
  margin: 24px 0 0;
  font-size: 12px;
  box-shadow: 0 5px 18px #26356608;
}
.miniline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.miniline:last-child {
  border: 0;
}
.miniline .status {
  margin-left: auto;
}
.calcbar {
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: #e9e8f6;
  margin: 13px 0;
}
.calcbar i {
  display: block;
  width: 82%;
  height: 100%;
  background: var(--accent);
}
.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.process {
  background: var(--soft);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  margin-top: 45px;
}
.timeline:before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 25px;
  border-top: 1px dashed #b6b5dd;
}
.step {
  position: relative;
  text-align: center;
}
.num {
  position: relative;
  margin: 0 auto 18px;
  width: 51px;
  height: 51px;
  border: 5px solid var(--soft);
  box-shadow: 0 0 0 1px #dadbf0;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step p {
  font-size: 13px;
  margin-top: 8px;
}
.benefit h4 {
  margin: 16px 0 8px;
}
.benefit p,
.audcard p {
  font-size: 14px;
}
.audience {
  background: var(--dark);
  color: white;
}
.audience .kicker {
  color: #b4afff;
}
.audience p {
  color: #b2bcd5;
}
.audcard {
  padding: 26px;
  border: 1px solid #ffffff20;
  background: #ffffff06;
  border-radius: 12px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.audcard .ico {
  background: #ffffff10;
  color: #b9b5ff;
}
.audcard h4 {
  margin: 0 0 6px;
}
@media (width > 650px) {
  .audience-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .audience-grid > .audcard {
    grid-column: span 2;
  }
  .audience-grid > .audcard:last-child {
    grid-column: 2 / 4;
  }
}
.price {
  display: flex;
  flex-direction: column;
  position: relative;
}
.featured {
  border: 1.5px solid var(--accent);
  background: linear-gradient(180deg, #f6f5ff, white 55%);
  box-shadow: 0 10px 30px #5149e510;
}
.amount {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -1px;
  margin: 22px 0 0;
}
.price ul {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-bottom: 25px;
}
.price .btn {
  margin-top: auto;
}
.contact {
  background: #f6f7fc;
}
.contactgrid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}
.contactcopy {
  padding-top: 20px;
}
.contactnote {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 25px;
}
.contactform {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 35px #24304a08;
}
.contactform h3 {
  margin-top: 0;
}
.field {
  margin-bottom: 16px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
input:not([type='checkbox']),
select,
textarea {
  width: 100%;
  border: 1px solid #dce1eb;
  border-radius: 7px;
  padding: 11px;
  background: white;
  color: var(--text);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #5149e550;
  border-color: var(--accent);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 20px;
}
.consent input {
  accent-color: var(--accent);
}
.notice {
  background: #f1f0ff;
  color: var(--accent);
  padding: 12px;
  border-radius: 7px;
  margin-top: 12px;
  font-size: 13px;
}
.notice[data-state='error'] {
  background: #fff1f2;
  color: #9f1239;
}
.contact-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}
footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
svg {
  vertical-align: middle;
}
@media (max-width: 1000px) {
  .nav .links {
    display: none;
  }
}
@media (max-width: 650px) {
  .nav {
    gap: 8px;
  }
  .nav .btn {
    font-size: 11px;
    padding: 8px 10px;
  }
  .nav .actions {
    gap: 5px;
  }
  .logo {
    font-size: 23px;
  }
  .mark {
    width: 26px;
    height: 26px;
  }
  .hero {
    padding-top: 45px;
  }
  .lead {
    font-size: 15px;
  }
  .grid2,
  .grid3,
  .contactgrid {
    grid-template-columns: 1fr;
  }
  .monitor {
    margin-top: 30px;
  }
  .stand {
    height: 25px;
  }
  section {
    padding: 50px 0;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 25px;
  }
  .timeline:before {
    left: 25px;
    right: auto;
    top: 15px;
    bottom: 15px;
    border-top: 0;
    border-left: 1px dashed #b6b5dd;
  }
  .step {
    text-align: left;
    display: grid;
    grid-template-columns: 51px 1fr;
    gap: 15px;
  }
  .num {
    margin: 0;
  }
  .contactgrid {
    gap: 20px;
  }
  .contactform .grid2 {
    gap: 0;
  }
  .copyright {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

/* Originae — refined typography and visual system */
body {
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
}
.nav {
  padding: 22px 0;
  gap: 24px;
}
.logo {
  font-size: 29px;
  font-weight: 740;
  letter-spacing: -1.6px;
}
.links {
  font-size: 14px;
  gap: 24px;
  font-weight: 500;
}
.nav .actions {
  flex-wrap: nowrap;
}
.btn {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 13px 20px;
  border-radius: 8px;
  white-space: nowrap;
  min-height: 44px;
}
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid #8279ff;
  outline-offset: 4px;
}
.btn:hover {
  transform: translateY(-1px);
}
.hero {
  padding: 84px 0 42px;
  background:
    radial-gradient(ellipse at 50% 88%, #e0e3fa, transparent 70%),
    linear-gradient(180deg, #fff 10%, #f7f8fd);
}
.pill {
  font-size: 11px;
  letter-spacing: 0.085em;
  font-weight: 650;
  line-height: 1.5;
  padding: 7px 14px;
}
h1 {
  font-size: clamp(40px, 5.1vw, 68px);
  font-weight: 730;
  line-height: 1.09;
  letter-spacing: -0.048em;
  margin: 24px 0 22px;
}
.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 30px;
}
.monitor {
  max-width: 980px;
  margin-top: 54px;
}
.frame {
  border-color: #394359;
  box-shadow: 0 24px 64px #26355035;
}
section {
  padding: 96px 0;
}
.sectionhead {
  max-width: 760px;
  margin-bottom: 48px;
}
.sectionhead p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 650px;
  margin-inline: auto;
}
h2 {
  font-size: clamp(32px, 3.55vw, 45px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.038em;
  margin: 12px 0 18px;
  text-wrap: balance;
}
.kicker + h2 {
  margin-top: clamp(22px, 2.5vw, 36px);
}
h3 {
  font-size: 25px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.028em;
  margin: 18px 0 12px;
}
h4 {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.018em;
}
.grid2,
.grid3 {
  gap: 24px;
}
.module,
.benefit,
.price {
  border-radius: 16px;
  padding: 32px;
}
.module {
  background: linear-gradient(155deg, #fff 45%, #fafaff);
}
.ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eeedfc;
}
.module ul,
.price ul {
  font-size: 15px;
  line-height: 1.65;
}
.mini {
  font-size: 13px;
  padding: 18px;
}
.mini .status {
  font-size: 11px;
}
.step h4 {
  font-size: 17px;
  line-height: 1.35;
}
.step p {
  font-size: 15px;
  line-height: 1.6;
}
.num {
  font-size: 14px;
}
.benefit p,
.audcard p {
  font-size: 16px;
  line-height: 1.65;
}
.benefit h4 {
  margin-top: 19px;
}
.audcard {
  padding: 30px;
  border-radius: 14px;
}
.audience p {
  color: #c3cbdc;
}
.audience .kicker {
  color: #c5c2ff;
}
.amount {
  font-size: 31px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.amount,
.amount + p {
  text-align: center;
}
.amount span {
  color: var(--muted);
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: normal;
}
.price-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.price-heading h3 {
  margin: 0;
  font-size: 24px;
}
.price p {
  font-size: 15px;
}
.featured {
  box-shadow: 0 12px 32px #4843cf0d;
}
.contactcopy p {
  font-size: 17px;
  line-height: 1.7;
}
.contactform {
  padding: 34px;
}
.contactform h3 {
  font-size: 24px;
}
.field {
  margin-bottom: 18px;
}
label {
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 7px;
}
input:not([type='checkbox']),
select,
textarea {
  font-size: 16px;
  padding: 12px 13px;
  min-height: 46px;
}
.consent {
  font-size: 13px;
  line-height: 1.55;
}
.notice {
  font-size: 14px;
}
.copyright {
  font-size: 13px;
}
footer {
  padding: 36px 0;
}
@media (max-width: 1120px) {
  .nav .links {
    display: none;
  }
  .timeline {
    gap: 16px;
  }
  .module,
  .benefit,
  .price {
    padding: 26px;
  }
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 48px);
  }
  section {
    padding: 72px 0;
  }
  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #prezzi .grid3 {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 600px;
    margin-inline: auto;
  }
  .timeline:before {
    left: 25px;
    right: auto;
    top: 15px;
    bottom: 15px;
    border-top: 0;
    border-left: 1px dashed #b6b5dd;
  }
  .step {
    text-align: left;
    display: grid;
    grid-template-columns: 51px 1fr;
    gap: 18px;
  }
  .num {
    margin: 0;
  }
  .contactgrid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contactcopy {
    padding-top: 0;
  }
}
@media (max-width: 650px) {
  html {
    scroll-padding-top: 76px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .nav {
    padding: 15px 0;
    gap: 10px;
  }
  .nav .logo {
    font-size: 24px;
    gap: 6px;
  }
  .nav .btn {
    font-size: 12px;
    padding: 9px 10px;
    min-height: 40px;
  }
  .nav .actions {
    gap: 6px;
  }
  .hero {
    padding: 55px 0 30px;
  }
  h1 {
    font-size: clamp(35px, 8.5vw, 48px);
    letter-spacing: -0.045em;
  }
  .hero .lead {
    font-size: 17px;
  }
  .hero .pill {
    font-size: 10px;
  }
  .monitor {
    margin-top: 34px;
  }
  .frame {
    padding: 9px 5px 13px;
    border-radius: 11px;
  }
  .camera {
    margin: -5px auto 3px;
  }
  .chin {
    height: 10px;
    margin-top: -7px;
  }
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  section {
    padding: 58px 0;
  }
  .sectionhead {
    margin-bottom: 30px;
  }
  .sectionhead p {
    font-size: 16px;
  }
  h2 {
    font-size: clamp(30px, 7vw, 37px);
  }
  h3 {
    font-size: 23px;
  }
  h4 {
    font-size: 18px;
  }
  .module,
  .benefit,
  .price,
  .audcard,
  .contactform {
    padding: 23px;
  }
  .contactform .grid2 {
    gap: 0 !important;
  }
  .contactcopy p {
    font-size: 16px;
  }
  .mini {
    padding: 12px;
  }
  .copyright {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .nav {
    flex-wrap: wrap;
  }
  .nav .actions {
    margin-left: auto;
  }
  .nav .btn {
    font-size: 11px;
  }
  .hero .actions .btn {
    font-size: 13px;
    padding: 11px 13px;
  }
  .mini {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

@media (max-width: 650px) {
  .nav {
    flex-wrap: wrap;
  }
  .nav .actions {
    margin-left: auto;
  }
  .miniline {
    flex-wrap: wrap;
  }
  .miniline .status {
    margin-left: 0;
  }
  .contactform,
  .module,
  .price,
  .benefit,
  .audcard {
    min-width: 0;
  }
  .contactform input,
  .contactform select,
  .contactform textarea {
    min-width: 0;
  }
  .grid2 > * {
    min-width: 0;
  }
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-links a:hover {
  color: var(--text);
}

/* Stili degli elementi della landing e del mockup */
.icon-definitions {
  position: absolute;
}
.logo .logo-dot {
  margin-left: -8px;
}
.mini .declaration-type {
  color: #8791a3;
}
.mini .calculation-caption {
  margin-top: 12px;
}
.mini .calculation-value {
  font-size: 30px;
}
.contactform .contact-intro {
  margin-bottom: 22px;
}
.contactform .contact-fields {
  gap: 12px;
}
.contactform .contact-submit {
  width: 100%;
}
.footer-tagline {
  font-size: 13px;
  margin-top: 8px;
}

.trade-map-section {
  background: var(--soft);
}
.trade-map-wrap {
  width: min(1480px, calc(100% - clamp(24px, 7vw, 104px)));
}
.trade-map-frame {
  display: block;
  width: 100%;
  height: clamp(530px, 61vw, 840px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 35px #24304a08;
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.faq-list details + details {
  margin-top: 12px;
}
.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9px;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(16px, 3vw, 26px);
  border-radius: 15px;
  list-style: none;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
}
.faq-list details[open] summary,
.faq-list summary:hover {
  color: var(--accent);
}
.faq-list details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}
.faq-list summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.faq-list p {
  padding: 0 clamp(16px, 3vw, 26px) 20px;
}
.faq-list p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
