/* Layout shared with the Wavo Klipo marketing site; BundleAI brand colors. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/site/archivo-latin-ext.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: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/site/archivo-latin.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 {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-text: #201e1d;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);
  --color-accent: #6d319d;
  --color-accent-100: #f4ecfc;
  --color-accent-600: #592681;
  --color-accent-700: #592681;
  --color-accent-800: #452064;
  --grad: linear-gradient(135deg, #52278b 0%, #6d319d 55%, #9b561a 100%);
  --grad-hover: linear-gradient(135deg, #41216e 0%, #592681 55%, #80440f 100%);
  --dot: linear-gradient(135deg, #6434a5, #9b287f 55%, #dc8b26);
  --brand-ink: #1e0a2a;
  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;
  --space-3: 12px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --hair: 1px solid color-mix(in srgb, #1e0a2a 11%, transparent);
  --lift:
    0 1px 2px rgba(30, 10, 42, 0.04), 0 18px 40px -24px rgba(30, 10, 42, 0.28);
  --muted: color-mix(in srgb, var(--color-text) 72%, transparent);
  --muted-2: color-mix(in srgb, var(--color-text) 70%, transparent);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  margin: 0;
}
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: inherit;
}
figure {
  margin: 0;
}
a {
  color: var(--color-accent-700);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--color-accent);
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
::selection {
  background: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

html[data-lang="it"] .lang-en {
  display: none !important;
}
html[data-lang="en"] .lang-it {
  display: none !important;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 30;
  background: var(--color-bg);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14.4px;
  border-radius: 8px;
}
.btn-primary {
  background-image: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(109, 49, 157, 0.45);
}
.btn-primary:hover {
  background-image: var(--grad-hover);
  color: #fff;
}
.btn-secondary {
  border-color: var(--color-divider);
}
.btn-secondary:hover {
  background: color-mix(in srgb, var(--color-text) 7%, transparent);
  color: var(--color-text);
}
.btn-ghost {
  color: var(--color-accent-700);
  padding-inline: 4px;
}
.btn-ghost:hover {
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
}
.btn-block {
  width: 100%;
  justify-content: flex-start;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px max(24px, 50% - 576px);
  border-bottom: var(--hair);
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 18px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.nav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.nav-links > a:not(.btn) {
  color: inherit;
  white-space: nowrap;
  font-size: 14px;
  text-decoration: none;
}
.nav-links > a:not(.btn):hover {
  color: var(--color-accent-700);
}
.lang {
  display: flex;
  border: 2px solid var(--color-divider);
}
.lang button {
  border: 0;
  padding: 5px 10px;
  font: 600 12px/1 var(--font-heading);
  letter-spacing: 0.08em;
  cursor: pointer;
  background: transparent;
  color: var(--color-text);
}
html[data-lang="it"] #btn-it,
html[data-lang="en"] #btn-en {
  background: var(--color-accent);
  color: #fff;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: color-mix(in srgb, var(--brand-ink) 11%, transparent);
}
.sec {
  padding: 84px 0;
  scroll-margin-top: 64px;
}
.kicker {
  display: block;
  font-size: 13px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-700);
  margin: 0 0 14px;
}
.h1 {
  font-size: clamp(42px, 6.2vw, 84px);
  line-height: clamp(44.5px, 6.57vw, 89px);
  letter-spacing: -0.028em;
  text-box: cap alphabetic;
}
.h1 span,
.cta-title span {
  display: block;
}
.grad-text {
  background: var(--dot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h2 {
  font-size: 32px;
  line-height: 42px;
  letter-spacing: -0.015em;
}
.lead {
  font-size: 17px;
  line-height: 28px;
  max-width: 58ch;
  margin-top: 28px;
  text-box: cap alphabetic;
}
.body {
  font-size: 15.5px;
  line-height: 28px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 48ch;
}
.actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: 28px;
}
.label {
  font-size: 13px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 42px 28px;
}
.stat-n {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 56px;
  color: var(--color-accent);
}

.feat {
  display: grid;
  grid-template-columns: minmax(40px, 88px) minmax(220px, 1fr) minmax(
      300px,
      1.4fr
    );
  gap: 28px clamp(24px, 4vw, 72px);
  align-items: baseline;
  padding: 42px 0;
}
.feat + .feat {
  border-top: var(--hair);
}
.feat-n {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 15px;
  line-height: 28px;
  font-feature-settings: "tnum";
}
.feat h2 {
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.01em;
}
.feat p:last-child {
  font-size: 15.5px;
  line-height: 28px;
  color: var(--muted);
  max-width: 52ch;
}

.two {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 28px clamp(24px, 5vw, 96px);
  align-items: start;
}
.two-57 {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  padding: 28px 0 56px;
}
.shot {
  border: var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--lift);
  background: #f1f1f1;
}
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 42px 28px;
}
.cap {
  font-size: 13px;
  line-height: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 28px;
  margin-top: 42px;
  counter-reset: step;
}
.card {
  border: var(--hair);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  box-shadow: var(--lift);
}
.step-n {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 15px;
  line-height: 28px;
  color: var(--color-accent-700);
  font-feature-settings: "tnum";
}
.card h3 {
  font-size: 20px;
  line-height: 28px;
  margin-top: 14px;
}
.card h3:first-child {
  margin-top: 0;
}
.card .body {
  max-width: none;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 28px;
  margin-top: 56px;
}
.plan {
  display: flex;
  flex-direction: column;
}
.plan-name {
  font-size: 13px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.price {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 48px;
  line-height: 56px;
  color: var(--color-accent);
  margin-top: 14px;
}
.price small {
  font-size: 15px;
  line-height: 28px;
  color: var(--color-text);
  letter-spacing: 0;
  font-weight: 400;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
  font-size: 15.5px;
  line-height: 28px;
  flex: 1;
  align-content: start;
}
.ticks li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 14px;
  align-items: baseline;
}
.ticks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--dot);
  display: block;
}
.plan .btn {
  margin-top: 28px;
}
.note {
  font-size: 13px;
  line-height: 24px;
  color: var(--muted-2);
  margin-top: 28px;
}

.faq {
  margin-top: 28px;
  border-bottom: var(--hair);
}
.faq details {
  border-top: var(--hair);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 28px;
  align-items: baseline;
  padding: 28px 0;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 20px;
  line-height: 28px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 24px;
  color: var(--color-accent-700);
  text-align: center;
}
.faq details[open] summary::after {
  content: "–";
}
.faq summary:hover {
  color: var(--color-accent-700);
}
.faq details p {
  font-size: 15.5px;
  line-height: 28px;
  color: var(--muted);
  max-width: 70ch;
  padding: 0 0 28px;
}

.cta {
  background: linear-gradient(140deg, #251337 0%, #492469 55%, #773e62 100%);
  color: #fff;
  border-radius: 12px;
  margin: 28px clamp(20px, 5vw, 72px) 56px;
  overflow: hidden;
}
.cta-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px clamp(24px, 4vw, 64px);
}
.cta img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin: 0 0 42px;
}
.cta-title {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: clamp(36px, 4.45vw, 59.4px);
  letter-spacing: -0.025em;
}
.cta .btn-primary {
  background: #fff;
  color: #452064;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
}
.cta .btn-primary:hover {
  background: #f4ecfc;
  color: #452064;
}

footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 72px);
}
.foot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  align-items: start;
}
.foot-brand {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 20px;
  line-height: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.foot-h {
  font-size: 13px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 14px;
}
.foot-links {
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 24px;
}
.foot-links a {
  text-decoration: none;
}
.small {
  font-size: 13px;
  line-height: 24px;
  color: var(--muted-2);
}

@media (max-width: 1080px) {
  .feat {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .two,
  .two-57 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    justify-content: start;
  }
}
@media (max-width: 820px) {
  .nav-links > a:not(.btn) {
    display: none;
  }
}
@media (max-width: 380px) {
  .nav {
    gap: 10px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-brand {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.wavo-chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #202223;
  color: #fff;
  font:
    600 14px/1.3 system-ui,
    sans-serif;
  box-shadow: 0 4px 16px #0003;
  cursor: pointer;
}
.wavo-chat-launcher:focus-visible,
.wavo-chat-header button:focus-visible {
  outline: 3px solid #005bd3;
  outline-offset: 3px;
}
.wavo-chat-dialog {
  position: fixed;
  inset: auto 20px 20px auto;
  margin: 0;
  width: min(420px, calc(100vw - 32px));
  height: min(720px, calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 16px;
  box-shadow: 0 16px 64px #0004;
  overflow: hidden;
  background: #fff;
  color: #202223;
}
.wavo-chat-dialog[open] {
  display: flex;
  flex-direction: column;
}
.wavo-chat-dialog::backdrop {
  background: #0003;
}
.wavo-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  font:
    14px system-ui,
    sans-serif;
}
.wavo-chat-header button {
  border: 0;
  background: transparent;
  font:
    26px/1 system-ui,
    sans-serif;
  cursor: pointer;
  padding: 5px 10px;
  color: inherit;
}
.wavo-chat-dialog iframe {
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 0;
}
.wavo-chat-fallback {
  padding: 8px 16px;
  font:
    12px/1.4 system-ui,
    sans-serif;
  color: #005bd3;
  text-align: center;
}
@media (max-width: 480px) {
  .wavo-chat-dialog {
    inset: auto 8px 8px auto;
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
  }
  .wavo-chat-launcher {
    right: 12px;
    bottom: 12px;
  }
}

.wavo-chat-launcher {
  background: var(--color-accent-700);
}
@media (max-width: 480px) {
  .nav {
    padding-inline: 12px;
    gap: 8px;
  }
  .nav-brand {
    font-size: 16px;
    gap: 6px;
  }
  .nav-brand img {
    width: 26px;
    height: 26px;
  }
  .nav-links {
    gap: 8px;
  }
  .nav .btn {
    padding: 8px 10px;
  }
  .lang button {
    padding: 5px 7px;
  }
}

.chat-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
