:root {
  --ink: #1d1d1b;
  --ink-muted: #454545;
  --caption: #5c5c5c;
  --primary: #228be6;
  --primary-dark: #1971c2;
  --cta: #16a34a;
  --cta-hover: #15803d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: 'Kantumruy Pro', system-ui, sans-serif;
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.logo {
  display: block;
  height: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  width: auto;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 36rem;
  width: 100%;
  text-align: center;
}

.eyebrow {
  font-size: clamp(0.6875rem, 0.65rem + 0.1vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caption);
  margin: 0 0 1rem;
}

.title {
  font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}

.lede {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--cta);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cta:hover {
  background: var(--cta-hover);
}

.cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.cta__arrow {
  font-size: 1.1em;
  line-height: 1;
}

.footer {
  padding: 1rem 1.25rem 1.5rem;
  text-align: center;
}

.footer__note {
  margin: 0;
  font-size: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
  color: var(--caption);
}

.footer__note a {
  color: var(--primary);
  text-decoration: none;
}

.footer__note a:hover {
  text-decoration: underline;
}

@media (min-width: 40em) {
  .hero {
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 48em) {
  .header__inner,
  .main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .header__inner {
    max-width: 56rem;
  }

  .hero {
    max-width: 38rem;
  }
}

/* /unsubscribe — un solo messaggio a tutto schermo */
.unsubscribe-main {
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.unsubscribe-giant {
  margin: 0;
  max-width: min(95vw, 14em);
  text-align: center;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw + 0.65rem, 2.125rem);
  text-wrap: balance;
}
