:root {
  color-scheme: light dark;

  /* palette — carta da spogliatoio: chalk, turf, inchiostro */
  --chalk: #f6f4ec;
  --paper: #fffdf8;
  --paper-line: #ddd6c4;
  --turf-900: #0d2f22;
  --turf-700: #145c3d;
  --turf-500: #1f7a4d;
  --turf-100: #e4efe6;
  --accent: #1f7a4d;
  --ink: #142019;
  --ink-soft: #55604f;
  --ink-faint: #8a9186;
  --blue: #2f6fed;
  --teal: #17b39a;
  --amber: #f0ab00;
  --amber-ink: #6b4a00;
  --rose: #d94b4b;

  --shadow-card: 0 1px 2px rgba(20, 32, 25, 0.06), 0 12px 28px -12px rgba(20, 32, 25, 0.18);
  --shadow-pop: 0 20px 45px -18px rgba(13, 47, 34, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --chalk: #0e130f;
    --paper: #161c16;
    --paper-line: #2b332a;
    --turf-100: #1a2b21;
    --accent: #4fdb95;
    --ink: #eef1ea;
    --ink-soft: #aab4a5;
    --ink-faint: #6d766a;
    --blue: #6c9bff;
    --teal: #3fe2c6;
    --amber: #ffc94d;
    --amber-ink: #2a1e00;
    --rose: #ff8686;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 28px -12px rgba(0, 0, 0, 0.5);
    --shadow-pop: 0 20px 45px -18px rgba(0, 0, 0, 0.6);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--chalk) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-line);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--turf-500);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
}

.lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-soft);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="page"] {
  background: var(--turf-100);
  color: var(--ink);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--turf-500);
  color: #fff;
  box-shadow: var(--shadow-pop);
}

.btn-primary:hover {
  background: var(--turf-700);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--paper-line);
}

.btn-ghost:hover {
  border-color: var(--ink-faint);
}

/* ---------- hero ---------- */

.hero {
  padding: 76px 0 40px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.06;
  margin: 18px 0 20px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-copy p.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--ink-faint);
}

.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--paper-line);
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-msg {
  font-size: 13.5px;
  min-height: 1.3em;
  margin: 10px 0 0;
}

.waitlist-msg.success {
  color: var(--teal);
}

.waitlist-msg.error {
  color: var(--rose);
}

.waitlist-form-cta {
  max-width: 460px;
  margin: 0 auto;
}

.waitlist-form-cta .waitlist-input {
  background: #fff;
  color: var(--turf-900);
  border-color: transparent;
}

.final-cta .waitlist-msg {
  color: color-mix(in srgb, #fff 70%, transparent);
}

.final-cta .waitlist-msg.success {
  color: var(--teal);
}

.final-cta .waitlist-msg.error {
  color: #ffb3b3;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-line);
}

.hero-stats div strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  color: var(--ink);
}

.hero-stats div span {
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---------- distinta (signature visual) ---------- */

.distinta-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.distinta {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--paper);
  border-radius: 14px;
  padding: 26px 24px 30px;
  box-shadow: var(--shadow-pop);
  transform: rotate(-3.5deg);
  border: 1px solid var(--paper-line);
}

.distinta::before,
.distinta::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 46px;
  height: 22px;
  background: color-mix(in srgb, var(--amber) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber-ink) 20%, transparent);
  opacity: 0.75;
}

.distinta::before {
  left: 18px;
  transform: rotate(-8deg);
}

.distinta::after {
  right: 18px;
  transform: rotate(6deg);
}

.distinta-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.distinta-head .tag {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.distinta-head .title {
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.distinta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--paper-line);
}

.distinta-row .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.distinta-row .line {
  flex: 1;
  height: 1px;
  background: var(--paper-line);
}

.distinta-row .check {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 1.5px solid var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.distinta-row.checked .check {
  background: var(--teal);
  border-color: var(--teal);
}

.distinta-row.checked .check svg {
  width: 11px;
  height: 11px;
  stroke: #fff;
}

.distinta-fine {
  position: absolute;
  right: -14px;
  bottom: 78px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--amber-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 13px;
  transform: rotate(9deg);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--paper);
}

.distinta-note {
  position: absolute;
  left: -30px;
  top: 168px;
  font-family: "Caveat", cursive;
  font-size: 20px;
  color: var(--blue);
  transform: rotate(-7deg);
}

.distinta-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--ink-faint);
}

.distinta-foot .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent);
}

/* ---------- generic section chrome ---------- */

section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 14px 0 12px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- problem ---------- */

.problem {
  background: var(--turf-100);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  padding: 26px 22px;
}

.problem-card .glyph {
  font-family: "Caveat", cursive;
  font-size: 26px;
  color: var(--rose);
  display: block;
  margin-bottom: 10px;
}

.problem-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}

/* ---------- features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--paper-line));
}

.jersey {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  display: block;
}

.jersey svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.jersey path {
  fill: var(--turf-900);
}

.jersey text {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 13px;
  fill: #fff;
  text-anchor: middle;
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- how it works ---------- */

.how {
  background: var(--turf-900);
  color: #fff;
}

.how .eyebrow {
  color: var(--teal);
}

.how .eyebrow::before {
  background: var(--teal);
}

.how .section-head h2 {
  color: #fff;
}

.how .section-head p {
  color: color-mix(in srgb, #fff 68%, transparent);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  counter-reset: step;
}

.how-step {
  position: relative;
  padding: 26px 20px 0;
  border-top: 2px solid color-mix(in srgb, #fff 18%, transparent);
}

.how-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.how-step h3 {
  color: #fff;
  font-size: 16.5px;
  margin-bottom: 8px;
}

.how-step p {
  color: color-mix(in srgb, #fff 65%, transparent);
  font-size: 14px;
  margin: 0;
}

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}

.price-card.premium {
  border-color: var(--amber);
  background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 10%, var(--paper)), var(--paper) 40%);
  position: relative;
  box-shadow: var(--shadow-card);
}

.price-card .badge {
  position: absolute;
  top: -13px;
  right: 26px;
  background: var(--amber);
  color: var(--amber-ink);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.price-card .plan-name {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.price-card .plan-for {
  color: var(--ink-faint);
  font-size: 13.5px;
  margin: 4px 0 22px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price-amount .amount {
  font-family: "Oswald", sans-serif;
  font-size: 42px;
  font-weight: 600;
}

.price-amount .period {
  color: var(--ink-faint);
  font-size: 14px;
}

.price-sub {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 24px;
}

.price-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}

.price-list li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--accent);
}

.price-card.premium .price-list li svg {
  stroke: var(--amber);
}

/* ---------- final cta ---------- */

.final-cta {
  text-align: center;
}

.final-cta .container {
  background: var(--turf-900);
  border-radius: 28px;
  padding: 64px 32px;
  color: #fff;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 14px;
}

.final-cta p {
  color: color-mix(in srgb, #fff 70%, transparent);
  max-width: 46ch;
  margin: 0 auto 30px;
  font-size: 16px;
}

.final-cta .btn-primary {
  background: var(--teal);
}

.final-cta .btn-primary:hover {
  background: color-mix(in srgb, var(--teal) 82%, black);
}

/* ---------- footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--paper-line);
  padding: 48px 0 36px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand p {
  color: var(--ink-faint);
  font-size: 13.5px;
  max-width: 32ch;
  margin: 10px 0 0;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: "Oswald", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- app preview (phone mockups) ---------- */

.screens {
  background: var(--turf-100);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  overflow: hidden;
}

.screens-row {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.screens-row::-webkit-scrollbar {
  height: 6px;
}

.screens-row::-webkit-scrollbar-thumb {
  background: var(--paper-line);
  border-radius: 999px;
}

.screen-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.screen-caption {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-align: center;
}

.screen-caption strong {
  color: var(--ink);
  font-weight: 600;
}

.phone {
  width: 248px;
  height: 536px;
  background: #0b0c0e;
  border-radius: 38px;
  padding: 8px;
  box-shadow: var(--shadow-pop);
  flex-shrink: 0;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--m-canvas, #f8f9fd);
  border-radius: 30px;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  color: var(--m-ink, #0f172a);
  --m-blue: #3451e0;
  --m-slate900: #0f172a;
  --m-slate700: #334155;
  --m-slate600: #475569;
  --m-slate500: #64748b;
  --m-slate400: #94a3b8;
  --m-slate200: #e2e8f0;
  --m-slate100: #f1f5f9;
  --m-slate50: #f8fafc;
  --m-green: #059669;
  --m-green-legend: #22c55e;
  --m-green-tint: #ecfdf5;
  --m-amber: #f59e0b;
  --m-amber-tint: #fef3c7;
  --m-rose: #e11d48;
  --m-rose-tint: #fff1f2;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 20px;
  background: #0b0c0e;
  border-radius: 999px;
  z-index: 5;
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 14px 8px;
  background: color-mix(in srgb, var(--m-canvas, #f8f9fd) 92%, transparent);
}

.phone-team {
  display: flex;
  align-items: center;
  gap: 7px;
}

.phone-crest {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--m-blue), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}

.phone-team-name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--m-slate900);
}

.phone-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--m-slate700);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-icon-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m-slate600);
  font-size: 12px;
  position: relative;
}

.phone-icon-btn .dot {
  position: absolute;
  top: 2px;
  right: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--m-rose);
  border: 1.5px solid var(--m-canvas, #f8f9fd);
}

.phone-body {
  padding: 10px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow: hidden;
  height: calc(100% - 62px);
}

.phone-card {
  background: #fff;
  border: 1px solid var(--m-slate100);
  border-radius: 13px;
  padding: 11px;
  box-shadow: 0 2px 10px -3px rgba(15, 23, 42, 0.05);
}

.phone-hero {
  position: relative;
  overflow: hidden;
}

.phone-hero::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(239, 246, 255, 0.9);
}

.phone-hero-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}

.phone-crest-lg {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3851e0, #5570f2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-hero-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--m-slate900);
}

.phone-hero-sub {
  font-size: 9.5px;
  color: var(--m-slate500);
  margin-top: 1px;
}

.phone-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--m-slate400);
  margin-bottom: 1px;
}

.phone-eyebrow span.link {
  color: var(--m-blue);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.phone-date-badge {
  width: 32px;
  height: 34px;
  border-radius: 8px;
  background: var(--m-slate50);
  border: 1px solid var(--m-slate100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1.1;
}

.phone-date-badge .wd {
  font-size: 6px;
  font-weight: 700;
  color: var(--m-slate400);
  letter-spacing: 0.04em;
}

.phone-date-badge .d {
  font-size: 12px;
  font-weight: 800;
  color: var(--m-slate900);
}

.phone-event-row {
  display: flex;
  gap: 9px;
}

.phone-event-meta {
  font-size: 8.5px;
  color: var(--m-slate500);
  margin-bottom: 2px;
}

.phone-event-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--m-slate900);
}

.phone-event-venue {
  font-size: 8.5px;
  color: var(--m-slate500);
  margin-top: 1px;
}

.phone-pill {
  font-size: 7.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--m-green-tint);
  color: var(--m-green);
  flex-shrink: 0;
  height: fit-content;
}

.phone-rsvp {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}

.phone-rsvp span {
  flex: 1;
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  padding: 5px 0;
  border-radius: 999px;
  background: var(--m-slate50);
  color: var(--m-slate600);
  border: 1px solid var(--m-slate100);
}

.phone-rsvp span.active {
  background: var(--m-blue);
  color: #fff;
  border-color: var(--m-blue);
}

.phone-rings {
  display: flex;
  gap: 7px;
}

.phone-ring-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--m-slate100);
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  box-shadow: 0 2px 10px -3px rgba(15, 23, 42, 0.05);
}

.phone-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 auto 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 800;
}

.phone-ring::after {
  content: "";
  position: absolute;
}

.phone-ring-inner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6.5px;
  font-weight: 800;
}

.phone-ring-label {
  font-size: 7.5px;
  font-weight: 700;
  color: var(--m-slate900);
}

.phone-ring-value {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--m-slate900);
  margin: 1px 0;
}

.phone-ring-note {
  font-size: 6.5px;
  color: var(--m-slate400);
}

.phone-ring-note.warn {
  color: var(--m-amber);
}

.phone-list {
  background: #fff;
  border: 1px solid var(--m-slate100);
  border-radius: 13px;
  overflow: hidden;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--m-slate50);
}

.phone-row:last-child {
  border-bottom: none;
}

.phone-row-title {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--m-slate900);
  line-height: 1.3;
}

.phone-row-meta {
  font-size: 7.5px;
  color: var(--m-slate400);
  margin-top: 1px;
}

.phone-chip {
  font-size: 6.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  flex-shrink: 0;
}

.phone-chip.success {
  background: var(--m-green-tint);
  color: var(--m-green);
}

.phone-chip.warning {
  background: var(--m-amber-tint);
  color: var(--m-amber);
}

.phone-chip.danger {
  background: var(--m-rose-tint);
  color: var(--m-rose);
}

.phone-cta {
  background: var(--m-blue);
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  padding: 10px;
  border-radius: 999px;
  box-shadow: 0 8px 16px -4px rgba(52, 81, 224, 0.35);
}

/* multe / certificati specific */

.phone-header-flat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 12px 8px;
}

.phone-header-flat .title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--m-slate900);
}

.phone-filters {
  display: flex;
  gap: 5px;
  overflow: hidden;
}

.phone-filter {
  font-size: 7.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--m-slate50);
  color: var(--m-slate600);
  border: 1px solid var(--m-slate100);
  white-space: nowrap;
}

.phone-filter.active {
  background: var(--m-slate900);
  color: #fff;
  border-color: var(--m-slate900);
}

.phone-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-summary-amount {
  font-size: 17px;
  font-weight: 800;
  color: var(--m-slate900);
  letter-spacing: -0.4px;
}

.phone-summary-badge {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--m-amber-tint);
  color: var(--m-amber);
}

.phone-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--m-slate100);
  margin-top: 8px;
  overflow: hidden;
}

.phone-progress i {
  display: block;
  height: 100%;
  background: var(--m-green);
  border-radius: 999px;
}

.phone-progress-foot {
  display: flex;
  justify-content: space-between;
  font-size: 6.8px;
  color: var(--m-slate400);
  margin-top: 5px;
}

.phone-fine-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--m-slate50);
}

.phone-fine-row:last-child {
  border-bottom: none;
}

.phone-fine-amount {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--m-slate900);
}

.phone-metrics {
  display: flex;
  gap: 8px;
}

.phone-metric {
  flex: 1;
  background: #fff;
  border: 1px solid var(--m-slate100);
  border-radius: 12px;
  padding: 8px 9px;
}

.phone-metric .label {
  font-size: 7px;
  color: var(--m-slate500);
}

.phone-metric .value {
  font-size: 12px;
  font-weight: 800;
  color: var(--m-slate900);
  margin: 2px 0;
}

.phone-metric .trend {
  font-size: 6.8px;
  font-weight: 700;
}

.phone-metric .trend.up {
  color: var(--m-green);
}

.phone-metric .trend.down {
  color: var(--m-rose);
}

.phone-fab {
  position: absolute;
  right: 12px;
  bottom: 18px;
  background: #2f54eb;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 18px -4px rgba(47, 84, 235, 0.45);
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-donut-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-donut {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(
    var(--m-green-legend) 0% 80%,
    var(--m-amber) 80% 90%,
    var(--m-rose) 90% 100%
  );
}

.phone-donut-inner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-donut-inner b {
  font-size: 10px;
  font-weight: 800;
  color: var(--m-slate900);
}

.phone-donut-inner span {
  font-size: 5.5px;
  color: var(--m-slate400);
}

.phone-legend {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.phone-legend-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: var(--m-slate600);
}

.phone-legend-row .sw {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}

.phone-legend-row b {
  margin-left: auto;
  color: var(--m-slate900);
  font-size: 8.5px;
}

.phone-cert-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--m-slate50);
}

.phone-cert-row:last-child {
  border-bottom: none;
}

/* ---------- comparison ---------- */

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 16px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--paper-line);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table thead th {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  background: var(--turf-100);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 34%;
}

.compare-table td {
  color: var(--ink-soft);
}

.compare-table td.bad::before {
  content: "✕ ";
  color: var(--rose);
  font-weight: 700;
}

.compare-table td.good {
  color: var(--ink);
  font-weight: 500;
}

.compare-table td.good::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 700;
}

/* ---------- faq ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 62ch;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .distinta-wrap {
    order: -1;
  }

  .distinta {
    max-width: 300px;
  }

  .problem-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  .how-step {
    border-top: none;
    border-left: 2px solid color-mix(in srgb, #fff 18%, transparent);
    padding: 0 0 0 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .table-scroll {
    overflow-x: auto;
  }

  .compare-table {
    min-width: 640px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 620px) {
  .nav-links {
    display: none;
  }

  .nav-right {
    gap: 10px;
  }

  /* su telefono resta solo il link alla lingua alternativa, per far stare la CTA */
  .lang-switch {
    padding: 0;
    border: none;
  }

  .lang-switch a {
    padding: 7px 11px;
    border: 1px solid var(--paper-line);
  }

  .lang-switch a[aria-current="page"] {
    display: none;
  }

  .nav-cta {
    padding: 8px 13px;
    font-size: 13px;
  }

  section {
    padding: 64px 0;
  }

  .problem-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    row-gap: 18px;
  }

  .footer-grid {
    flex-direction: column;
  }
}
