/* Correzioni condivise 2026-07-28: prestazioni, accessibilità e consenso. */
body {
  font-family: Arial, Helvetica, system-ui, sans-serif;
}

h1,
h2,
h3,
.brand-lockup,
.footer-brand strong {
  font-family: Impact, "Arial Black", Arial, sans-serif;
  letter-spacing: .015em;
}

.brand-header a,
.button,
button {
  min-height: 44px;
}

.brand-lockup img {
  width: 54px;
  height: auto;
}

.brand-hero-v2 {
  align-items: center;
}

.brand-hero-v2 .hero-copy > p {
  max-width: 700px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.home-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin-top: 24px;
}

.home-path {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 156px;
  padding: 20px;
  text-decoration: none;
  border: var(--line);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}

.home-path:hover,
.home-path:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.home-path strong {
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.home-path span {
  display: block;
  margin-top: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.home-path small {
  display: block;
  margin-top: 16px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-path-husband {
  background: #ffb7a5;
}

.home-path-office {
  background: var(--mustard);
}

.intent-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1050px, calc(100% - 32px));
  margin: 38px auto;
}

.intent-strip a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 18px 22px;
  color: var(--white);
  background: var(--ink);
  border: var(--line);
  box-shadow: 5px 5px 0 var(--red);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
  text-decoration: none;
}

.intent-strip a::after {
  content: "→";
  font-size: 1.5em;
}

.choice-card-link {
  color: inherit;
  text-decoration: none;
}

.choice-card-link .button {
  pointer-events: none;
}

.purchase-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: .88rem;
  font-weight: 800;
}

.purchase-note::before {
  content: "✓";
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 50%;
}

.brand-footer {
  row-gap: 18px;
}

.footer-description {
  max-width: 420px;
  margin: 8px 0 0;
}

.footer-links {
  flex-wrap: wrap;
}

.footer-links button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  width: min(980px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  margin-inline: auto;
  padding: 18px;
  overflow: auto;
  color: var(--ink);
  background: var(--white);
  border: var(--line);
  box-shadow: 8px 8px 0 var(--ink);
}

.cookie-notice[hidden],
.cookie-settings[hidden] {
  display: none;
}

.cookie-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.cookie-notice p {
  margin: 0 0 4px;
}

.cookie-notice a,
.cookie-settings a {
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-actions .button {
  min-width: 112px;
  padding: 10px 14px;
  font-size: .8rem;
}

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 23, 20, .72);
}

.cookie-settings-panel {
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  padding: clamp(22px, 4vw, 38px);
  overflow: auto;
  background: var(--paper);
  border: var(--line);
  box-shadow: 10px 10px 0 var(--ink);
}

.cookie-settings-heading,
.cookie-category,
.cookie-settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cookie-settings-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.cookie-settings-close {
  flex: 0 0 48px;
  width: 48px;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  font-size: 1.7rem;
  cursor: pointer;
}

.cookie-category {
  margin-top: 18px;
  padding: 18px;
  background: var(--white);
  border: 2px solid var(--ink);
}

.cookie-category p {
  margin: 4px 0 0;
  font-size: .95rem;
}

.cookie-category input {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  accent-color: var(--teal-dark);
}

.cookie-always-on {
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cookie-settings-actions {
  margin-top: 24px;
}

body.has-modal {
  overflow: hidden;
}

.share-toast:not(:empty) {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 180;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--white);
}

@media (max-width: 900px) {
  .home-paths {
    grid-template-columns: 1fr;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .intent-strip {
    grid-template-columns: 1fr;
  }

  .cookie-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 14px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-actions .button {
    width: 100%;
    min-width: 0;
  }

  .cookie-actions .button:last-child {
    grid-column: 1 / -1;
  }

  .cookie-category,
  .cookie-settings-heading,
  .cookie-settings-actions {
    align-items: flex-start;
  }

  .cookie-settings-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* MOBILE OVERFLOW HOTFIX 2026-07-28 */
.tool-sales-bridge {
  margin-top: 18px;
  font-weight: 900;
}

.tool-sales-bridge a {
  text-underline-offset: 4px;
}

.legal-alert {
  margin: 24px 0;
  padding: 18px;
  background: #fff1bf;
  border: 2px solid var(--ink);
  font-weight: 700;
}

.gift-section {
  overflow: hidden;
}

@media (max-width: 640px) {
  .gift-sticker {
    right: 8px;
    max-width: 112px;
    transform: rotate(4deg);
  }
}

