/* Bussola Capitale — Italian six-screen edition */
:root {
  --cream: #f2eee5;
  --paper: #fcf8f0;
  --ink: #0b1f2e;
  --muted: #56625f;
  --line: #d7d6c8;
  --teal: #1c4054;
  --teal-deep: #0b1f2e;
  --mint: #d4e0d8;
  --terra: #b4533a;
  --yellow: #c49a52;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.hero-media {
  background-image: url("assets/hero-desk.webp");
  background-position: center 54%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 22, 32, .96) 0%, rgba(11, 31, 46, .86) 50%, rgba(11, 31, 46, .56) 100%),
    linear-gradient(0deg, rgba(7, 22, 32, .94) 0%, transparent 58%, rgba(7, 22, 32, .8) 100%);
}

.hero-content {
  width: min(880px, 100%);
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 7vw, 5.7rem);
}

.hero-lead {
  max-width: 600px;
  margin-top: 20px;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.hero-actions {
  margin-top: 26px;
}

.hero-disclosure {
  max-width: 560px;
  margin-top: 24px;
  padding: 10px 14px;
}

.hero-disclosure span {
  margin-top: 3px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.screen-footer .brand-mark {
  width: 28px;
  height: 28px;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: #f8f2e6;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--yellow);
  background: rgba(196, 154, 82, .12);
  color: var(--yellow);
  outline: none;
}

.menu-toggle span {
  display: none;
}

.menu-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.section-form {
  background: #eadfd2;
}

.alloc-visual-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  height: clamp(300px, 42vw, 460px);
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(196, 154, 82, .38);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(196, 154, 82, .18), transparent 42%),
    linear-gradient(145deg, #0b1f2e 0%, #123449 100%);
  color: #f8f3e8;
}

.alloc-visual-card::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(196, 154, 82, .18);
  border-radius: 50%;
  pointer-events: none;
}

.alloc-visual-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #d8c49a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.alloc-visual-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
}

.alloc-visual-rows {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.alloc-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 10px;
}

.alloc-visual-row b {
  color: var(--yellow);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.alloc-visual-row i {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: 3px;
  margin-top: 2px;
  background: rgba(255, 255, 255, .12);
}

.alloc-visual-row i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--yellow);
}

.alloc-visual-card > p {
  margin: 13px 0 0;
  color: rgba(255, 250, 240, .62);
  font-size: 9px;
  line-height: 1.45;
}

.qualify-form {
  max-width: 620px;
  margin-top: 20px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cdbfb0;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 24px 55px rgba(74, 55, 39, .14);
  counter-reset: field;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 13px 18px;
  border: 0;
  background: var(--teal-deep);
  color: #f8f3e8;
  font: 800 10px/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-heading small {
  color: rgba(248, 243, 232, .6);
  font: 500 9px/1.2 var(--sans);
  letter-spacing: .02em;
  text-transform: none;
}

.form-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 10px 18px 0;
}

.form-progress span {
  height: 3px;
  border-radius: 99px;
  background: #e3d9c9;
}

.form-progress span:first-child {
  background: var(--yellow);
}

.qualify-form fieldset {
  counter-increment: field;
  min-width: 0;
  margin: 0;
  padding: 11px 18px;
  border: 0;
  border-top: 1px solid #e7dfd3;
}

.qualify-form fieldset:first-of-type {
  border-top: 0;
}

.qualify-form legend {
  display: block;
  width: 100%;
  margin: 0 0 7px;
  color: var(--ink);
  font: 700 14px/1.2 var(--serif);
  letter-spacing: -.015em;
}

.qualify-form legend::before {
  content: "0" counter(field);
  display: inline-block;
  margin-right: 8px;
  color: var(--terra);
  font: 800 9px/1 var(--sans);
  letter-spacing: .08em;
  vertical-align: middle;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.choice {
  padding: 7px 10px;
  border: 1px solid #d7cbbb;
  border-radius: 8px;
  background: #fffdf9;
  color: #455652;
  font: 11.5px/1.2 var(--sans);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.choice:hover {
  border-color: var(--teal);
  background: #f4ede2;
  color: var(--teal-deep);
}

.choice.active {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  color: #fffaf0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 18px 12px;
  padding-top: 10px;
  border-top: 1px solid #e7dfd3;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
}

.consent .check {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  border: 1px solid #a9b5ad;
  border-radius: 4px;
  background: #fff;
}

.consent input:checked + .check {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: inset 0 0 0 4px #fff;
}

.consent a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit {
  width: calc(100% - 36px);
  min-height: 46px;
  margin: 0 18px;
  border-color: var(--terra);
  background: var(--terra);
  color: #fff;
}

.submit:disabled {
  background: #b8b4a9;
  border-color: #b8b4a9;
  color: #f3f0e8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin: 8px 18px 15px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

.cookie-banner {
  position: fixed;
  z-index: 55;
  left: 50%;
  bottom: 14px;
  width: min(calc(100% - 24px), 760px);
  padding: 14px 16px;
  border: 1px solid rgba(196, 154, 82, .55);
  border-radius: 16px;
  background: rgba(11, 31, 46, .98);
  color: #f8f2e6;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .38);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner strong {
  display: block;
  color: var(--yellow);
  font: 700 12px/1.2 var(--sans);
  letter-spacing: .04em;
}

.cookie-banner p {
  max-width: 58ch;
  margin: 4px 0 0;
  color: rgba(255, 250, 240, .75);
  font-size: 11px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.cookie-actions button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--teal-deep);
  font: 800 10.5px/1 var(--sans);
  cursor: pointer;
}

.cookie-actions a {
  padding: 8px 4px;
  color: #f8f2e6;
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions button:hover,
.cookie-actions button:focus-visible {
  background: #d8b16c;
  outline: none;
}

html.cookie-open .floating-cta {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
}

@media (max-width: 47.4375rem) {
  .hero h1 {
    font-size: clamp(2.9rem, 10.5vw, 3.55rem);
  }

  .hero-lead {
    margin-top: 17px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-disclosure {
    margin-top: 20px;
    padding: 9px 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .alloc-visual-card {
    height: 170px;
    padding: 12px;
    border-radius: 14px;
  }

  .alloc-visual-title {
    margin-top: 6px;
    font-size: 1.25rem;
  }

  .alloc-visual-rows {
    gap: 4px;
    margin-top: 6px;
  }

  .alloc-visual-row {
    gap: 6px;
    padding-bottom: 2px;
    font-size: 9px;
  }

  .alloc-visual-row b {
    font-size: 9px;
  }

  .alloc-visual-card > p {
    margin-top: 6px;
    font-size: 8px;
  }

  .form-screen .section-intro p {
    max-width: 52ch;
  }

  .qualify-form {
    margin-top: 13px;
  }

  .form-heading {
    padding: 11px 14px;
  }

  .form-progress {
    padding: 9px 14px 0;
  }

  .qualify-form fieldset {
    padding: 9px 14px;
  }

  .qualify-form legend {
    font-size: 13px;
  }

  .consent {
    margin: 0 14px 10px;
    padding-top: 8px;
  }

  .submit {
    width: calc(100% - 28px);
    min-height: 43px;
    margin: 0 14px;
  }

  .form-note {
    margin: 7px 14px 13px;
  }

  .screen-footer .brand-mark {
    width: 26px;
    height: 26px;
  }

  .cookie-banner {
    bottom: 10px;
    padding: 12px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-actions {
    justify-content: space-between;
  }

  .cookie-actions button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta,
  .cookie-banner {
    transition: none;
  }
}

/* Final hero, access screen, and y-mode refinements */
.hero-media {
  filter: saturate(.82) contrast(1.03) brightness(.94);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 22, 32, .88) 0%, rgba(11, 31, 46, .72) 50%, rgba(11, 31, 46, .38) 100%),
    linear-gradient(0deg, rgba(7, 22, 32, .86) 0%, transparent 58%, rgba(7, 22, 32, .64) 100%);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  max-width: 620px;
  margin: 14px auto 0;
  padding: 0;
  list-style: none;
  color: #e9f0eb;
  font-size: 10.5px;
  line-height: 1.45;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.floating-cta {
  border-color: rgba(196, 154, 82, .8);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.floating-cta:hover {
  border-color: var(--terra);
  background: #fffdf9;
  color: var(--ink);
}

.floating-cta .floating-cta-label {
  color: var(--ink);
}

.floating-cta .floating-cta-orb {
  background: var(--terra);
  color: #fffaf0;
}

.floating-cta .floating-cta-orb::after {
  border-color: rgba(180, 83, 58, .38);
}

html.mode-y #watchlist {
  display: grid !important;
}

.access-card {
  max-width: 620px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #cdbfb0;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 24px 55px rgba(74, 55, 39, .13);
}

.access-kicker {
  margin-bottom: 7px;
  color: var(--terra);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.access-card h3 {
  max-width: 16ch;
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.access-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e7dfd3;
}

.access-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #e7dfd3;
}

.access-list li > span {
  padding-top: 2px;
  color: var(--terra);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}

.access-list strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.access-list small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.access-cta {
  width: 100%;
  margin-top: 16px;
}

.access-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

.access-note a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 47.4375rem) {
  .hero-points {
    gap: 4px 10px;
    margin-top: 10px;
    font-size: 9.5px;
  }

  .access-card {
    margin-top: 13px;
    padding: 14px;
  }

  .access-card h3 {
    font-size: 1.45rem;
  }

  .access-list li {
    padding: 8px 0;
  }

  .access-list strong {
    font-size: 14px;
  }

  .access-list small {
    font-size: 10px;
  }

  .access-cta {
    margin-top: 12px;
  }
}

