:root {
  --ink: #111514;
  --paper: #f5efe5;
  --paper-2: #fffaf1;
  --wine: #823a4c;
  --gold: #c38b45;
  --forest: #254d43;
  --line: rgba(17, 21, 20, 0.14);
  --line-dark: rgba(255, 250, 241, 0.16);
  --radius: 8px;
  --gutter: clamp(18px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
}

.funnel-header,
.sticky-funnel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gutter);
}

.optin-page .funnel-header {
  color: var(--ink);
}

.optin-page .header-link {
  color: var(--forest);
}

.sticky-funnel-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.funnel-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.funnel-brand span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.header-link {
  color: var(--forest);
  background: transparent;
  border: 0;
  font-weight: 900;
  border-bottom: 2px solid currentColor;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 950;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--wine), #65303d);
  box-shadow: 0 18px 34px rgba(130, 58, 76, 0.28);
}

.button.ghost {
  color: var(--forest);
  background: var(--paper-2);
  border-color: var(--line);
}

.button.small {
  min-height: 42px;
  padding: 10px 14px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.optin-hero {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #f7f7f8 0%, #ffffff 30%, #ffffff 100%),
    radial-gradient(circle at 50% 0%, rgba(195, 139, 69, 0.14), transparent 34%);
}

.optin-page {
  overflow-x: hidden;
}

.optin-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  width: min(100%, 1060px);
  margin: 0 auto;
  min-height: calc(100svh - 82px);
  padding: clamp(34px, 7vh, 70px) var(--gutter) 22px;
  text-align: center;
}

.optin-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.optin-copy h1,
.sales-copy h1,
.sales-section h2 {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.03em;
}

.optin-copy h1 {
  max-width: 940px;
  color: var(--ink);
  font-size: clamp(2rem, 3.05vw, 3.05rem);
  line-height: 1.04;
}

.optin-copy p:not(.kicker),
.sales-copy p,
.booking-copy p {
  max-width: 720px;
  color: rgba(17, 21, 20, 0.68);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.optin-highlight {
  max-width: 780px;
  margin: 6px auto 0;
  padding: 9px 16px 10px;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.08;
}

.optin-copy .optin-subclaim {
  margin: 0;
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
}

.optin-copy p:not(.kicker) {
  max-width: 680px;
  margin-block: 0;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 0;
}

.proof-row span {
  padding: 5px 10px;
  color: #3f4654;
  background: #ffffff;
  border: 1px solid rgba(195, 139, 69, 0.2);
  border-radius: 999px;
  font-weight: 850;
}

.optin-copy .button {
  min-height: 44px;
  margin-top: 2px;
  padding: 10px 18px;
}

.optin-panel {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: min(100%, 620px);
  padding: 11px;
  text-align: left;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(17, 21, 20, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(17, 21, 20, 0.12);
}

.optin-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: var(--radius);
}

.optin-panel h2 {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 950;
  line-height: 1.05;
}

.optin-panel ul {
  display: grid;
  gap: 2px;
  margin: 6px 0 0;
  padding-left: 20px;
  color: rgba(17, 21, 20, 0.66);
  font-size: 0.8rem;
}

.modal-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  background: rgba(17, 21, 20, 0.74);
}

.modal-backdrop[hidden] {
  display: none;
}

.lead-modal {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100svh - 28px);
  padding: 24px;
  overflow: auto;
  background: var(--paper-2);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.lead-modal h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.lead-modal p:not(.kicker) {
  margin: 10px 0 0;
  color: rgba(17, 21, 20, 0.68);
  font-size: 0.94rem;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.4rem;
}

.lead-capture {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.lead-capture label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  background: rgba(245, 239, 229, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(195, 139, 69, 0.18);
}

.panel-dark,
.method-band {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(245, 239, 229, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(195, 139, 69, 0.14), transparent 34%);
}

.vsl-style-page {
  background: #ffffff;
}

.vsl-style-page .panel-dark {
  background: linear-gradient(180deg, #f7f7f8 0%, #ffffff 30%, #ffffff 100%);
}

.sales-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-height: 100svh;
  padding: 28px var(--gutter) 56px;
  text-align: center;
}

.access-timer {
  display: flex;
  align-items: center;
  gap: 24px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(195, 139, 69, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 52px rgba(17, 21, 20, 0.1);
}

.access-timer span {
  display: block;
  color: #8a92a2;
  font-weight: 800;
  line-height: 1.05;
}

.access-timer > div:first-child strong {
  color: var(--wine);
  font-size: 1.15rem;
}

.timer-boxes {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(195, 139, 69, 0.12);
  border: 1px solid rgba(195, 139, 69, 0.24);
  border-radius: 999px;
}

.timer-boxes span {
  min-width: 48px;
  color: #7b8495;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.timer-boxes strong {
  display: block;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1;
}

.sales-copy h1 {
  max-width: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 4.7vw, 5.05rem);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.sales-copy p {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(17, 21, 20, 0.68);
}

.vsl-style-page .sales-copy .kicker {
  color: var(--forest);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  text-transform: none;
}

.blue-claim {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 8px;
  padding: 10px 18px 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--wine), #a4475d);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(130, 58, 76, 0.2);
  font-size: clamp(2rem, 4.2vw, 4.35rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.035em;
}

.blue-subclaim {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.55rem, 3.2vw, 3.1rem);
  font-weight: 950;
  line-height: 1;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 4px 0 4px;
}

.hero-checks span {
  padding: 8px 13px;
  color: #3f4654;
  background: #fffaf1;
  border: 1px solid rgba(195, 139, 69, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
}

.sales-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
}

.vsl-card {
  width: min(100%, 1180px);
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(17, 21, 20, 0.1);
  border-radius: 10px;
  box-shadow: 0 24px 74px rgba(15, 23, 42, 0.12);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 7.7;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.7)),
    url("assets/stefano-caselli.jpg") center 18% / cover;
  border-radius: 8px;
}

.play-button {
  width: 84px;
  height: 84px;
  color: var(--ink);
  background: var(--paper-2);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.watch-badge {
  position: absolute;
  top: 28px;
  left: 48px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100% - 96px);
  padding: 18px 28px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--wine), #b85b6d);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(130, 58, 76, 0.28);
  font-size: clamp(1.4rem, 2.5vw, 2.6rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.watch-badge span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0;
  color: var(--wine);
  background: #ffffff;
  border-radius: 50%;
}

.video-frame span {
  display: block;
  margin-top: 20px;
  font-weight: 950;
  text-transform: uppercase;
}

.video-frame p {
  max-width: 420px;
  color: rgba(255, 250, 241, 0.78);
}

.vsl-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.vsl-points span {
  padding: 10px;
  text-align: center;
  color: rgba(17, 21, 20, 0.68);
  background: rgba(245, 239, 229, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 900;
}

.sales-section {
  padding: clamp(76px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.sales-section h2 {
  max-width: 980px;
  font-size: clamp(2.3rem, 5vw, 5rem);
}

.pain-grid,
.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.pain-grid article,
.proof-cards article,
.booking-card,
.sales-note {
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pain-grid strong,
.proof-cards strong {
  display: block;
  font-size: 1.25rem;
}

.pain-grid p,
.proof-cards span,
.sales-note p {
  color: rgba(17, 21, 20, 0.66);
}

.split-sales,
.booking-section,
.proof-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.method-list span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.method-list p {
  margin: 16px 0 0;
  color: rgba(17, 21, 20, 0.68);
  font-size: 1.08rem;
}

.calendar-placeholder {
  display: grid;
  gap: 12px;
  min-height: 280px;
  place-items: center;
  padding: 28px;
  text-align: center;
  background: rgba(37, 77, 67, 0.08);
  border: 1px dashed rgba(37, 77, 67, 0.34);
  border-radius: var(--radius);
}

.calendar-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 420px);
}

.slot-grid button {
  min-height: 44px;
  color: var(--forest);
  background: var(--paper-2);
  border: 1px solid rgba(37, 77, 67, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 950;
}

.slot-grid button:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(17, 21, 20, 0.08);
}

.calendar-note {
  margin: 12px 0 0;
  color: rgba(17, 21, 20, 0.58);
  font-size: 0.88rem;
}

.funnel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px var(--gutter);
  color: rgba(17, 21, 20, 0.72);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.funnel-footer strong {
  display: block;
  color: var(--ink);
}

.funnel-footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 900;
}

.footer-links a {
  color: var(--forest);
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(calc(100% - 36px), 860px);
  margin: 0 auto;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.98);
  border: 1px solid rgba(17, 21, 20, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(17, 21, 20, 0.24);
}

.cookie-banner strong {
  display: block;
  font-size: 1rem;
}

.cookie-banner p {
  margin: 6px 0 0;
  color: rgba(17, 21, 20, 0.68);
  font-size: 0.9rem;
}

.cookie-banner a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

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

.cookie-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 950;
}

.cookie-button.primary {
  color: #ffffff;
  background: var(--wine);
  border-color: var(--wine);
}

.cookie-button.ghost {
  color: var(--ink);
  background: transparent;
}

@media (max-width: 920px) {
  :root {
    --gutter: clamp(18px, 5vw, 38px);
  }

  .optin-grid,
  .sales-hero,
  .split-sales,
  .booking-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .optin-grid {
    justify-content: center;
  }

  .pain-grid,
  .proof-cards,
  .method-list {
    grid-template-columns: 1fr;
  }

  .vsl-points {
    grid-template-columns: 1fr;
  }

  .access-timer {
    flex-direction: column;
    gap: 10px;
    border-radius: 18px;
    text-align: center;
  }

  .watch-badge {
    left: 18px;
    top: 18px;
    max-width: calc(100% - 36px);
    padding: 14px 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .funnel-header,
  .sticky-funnel-nav {
    padding-inline: var(--gutter);
  }

  .header-link {
    display: none;
  }

  .optin-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .optin-panel img {
    width: min(100%, 150px);
    margin: 0 auto;
  }

  .optin-panel ul {
    padding-left: 0;
    list-style: none;
  }

  .button,
  .sales-actions {
    width: 100%;
  }

  .button,
  .sales-actions .button {
    justify-content: center;
  }

  .blue-claim {
    width: 100%;
    font-size: clamp(1.45rem, 9vw, 2.45rem);
  }

  .timer-boxes {
    flex-wrap: wrap;
    justify-content: center;
  }

  .video-frame {
    aspect-ratio: 4 / 3;
    padding: 18px;
  }

  .watch-badge {
    font-size: 1rem;
  }

  .watch-badge span {
    width: 36px;
    height: 36px;
  }

  .slot-grid,
  .vsl-points {
    grid-template-columns: 1fr;
  }

  .funnel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .cookie-actions {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
  }
}

@media (max-width: 420px) {
  .funnel-brand {
    gap: 9px;
  }

  .funnel-brand span {
    width: 38px;
    height: 38px;
  }

  .optin-grid {
    padding-top: 22px;
  }

  .lead-modal {
    padding: 20px;
  }

  .access-timer,
  .timer-boxes {
    width: 100%;
  }
}
