@font-face {
  font-family: Inter;
  src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #08121f;
  --navy2: #0d1c2d;
  --navy3: #102338;
  --gold: #d8b36a;
  --white: #f8f5ee;
  --muted: #e2e6eb;
  --off: #f8f5ee;
  --footer: #c4ccd5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body.modal-open { overflow: hidden; }


.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 2.6rem;
}
.wordmark {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0;
}
.wordmark-product {
  display: block;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}
.wordmark-by {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vh, 4rem) 0 clamp(3rem, 8vh, 5rem);
}
.hero-art,
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  background: var(--navy);
}
.hero-art {
  opacity: 0.66;
  filter: saturate(0.78) contrast(1.06);
}
.hero-poster { z-index: -3; }
.scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,18,31,0.97) 0%, rgba(8,18,31,0.90) 48%, rgba(8,18,31,0.62) 100%),
    linear-gradient(0deg, rgba(8,18,31,0.94) 0%, rgba(8,18,31,0.18) 64%);
}
.hero .wrap { position: relative; width: min(1120px, 100%); }
.hero-copy { max-width: 760px; padding-top: 2rem; }

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  font-weight: 750;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
}
.dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 0.65rem 0.08rem 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 14ch;
  margin: 0 0 1.4rem;
  font-weight: 750;
}
.hero h1 .term {
  white-space: nowrap;
}
.hero h1 em {
  display: block;
  color: var(--gold);
  font-style: normal;
}

.subhead {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.36;
  max-width: 42ch;
  color: var(--white);
  margin: 0 0 1.25rem;
}

.positioning {
  color: var(--gold);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 36ch;
  margin: 0 0 2rem;
}

.button {
  display: inline-block;
  appearance: none;
  border: 0;
  border-radius: 3px;
  background: var(--gold);
  color: #08121f;
  font: inherit;
  font-weight: 750;
  padding: 0.95rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.hero-cta { margin: 0; }

/* Shared sections */
.section {
  padding: clamp(3rem, 8vh, 5.5rem) 0;
}
.section-navy2 { background: var(--navy2); }
.section-navy3 { background: var(--navy3); }

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.04em;
  margin: 0 0 2rem;
  font-weight: 750;
  line-height: 1.1;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  border-top: 1px solid rgba(216, 179, 106, 0.7);
  padding-top: 1.15rem;
}
.card strong,
.step-num {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  font-weight: 750;
}
.card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  font-weight: 750;
  line-height: 1.25;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Form */
.interest {
  background: rgba(8, 18, 31, 0.82);
  border: 1px solid rgba(216, 179, 106, 0.7);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 760px;
}
.interest h2 { margin-bottom: 0.4rem; font-size: 1.8rem; }
.interest-lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.interest-lead a { color: var(--gold); }

.form-group { margin: 0 0 1.15rem; }
.form-group label,
.legend {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.req { color: var(--gold); }
.optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(216, 179, 106, 0.55);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font: inherit;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23d8b36a' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

fieldset {
  border: 0;
  margin: 0 0 1.15rem;
  padding: 0;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--white);
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  cursor: pointer;
}
.check input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.form-actions { margin-top: 1.5rem; }
.button[type="submit"] { width: auto; }

.thanks {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.thanks[hidden],
.interest-form[hidden] { display: none; }
.thanks-logo {
  display: block;
  width: min(220px, 72%);
  height: auto;
  margin: 0 auto;
}
.thanks h3 {
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--white);
}
.thanks p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
  max-width: 36ch;
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 2.5rem;
  color: var(--footer);
  font-size: 0.9rem;
  line-height: 1.55;
  background: var(--navy);
  border-top: 1px solid rgba(216, 179, 106, 0.35);
}
.compliance {
  max-width: 72ch;
  margin: 0 0 1.25rem;
}
.footer-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  align-items: baseline;
}
.footer-meta span,
.footer-meta a {
  color: inherit;
}
.footer-meta a { color: var(--gold); }
.footer-meta span:not(:last-child)::after,
.footer-meta a:not(:last-child)::after {
  content: "·";
  margin: 0 0.7rem;
  color: var(--footer);
  speak: never;
}

@media (max-width: 760px) {
  .wrap { padding: 0 1rem; }
  .hero {
    min-height: auto;
    padding: 1.5rem 0 2.5rem;
    align-items: flex-start;
  }
  .hero-art { display: none; }
  .hero-poster { display: block; object-position: center; }
  .scrim {
    background:
      linear-gradient(90deg, rgba(8,18,31,0.97) 0%, rgba(8,18,31,0.94) 55%, rgba(8,18,31,0.88) 100%),
      linear-gradient(0deg, rgba(8,18,31,0.96) 0%, rgba(8,18,31,0.72) 100%);
  }
  .hero-copy { padding-top: 1.5rem; }
  .hero h1 {
    font-size: clamp(2.05rem, 9.4vw, 3.2rem);
    max-width: none;
  }
  .subhead { font-size: 1.15rem; }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .checks { grid-template-columns: 1fr; }
  .button { white-space: normal; }
  .section { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art { display: none; }
  .hero-poster { display: block; }
}

@media (max-width: 760px) {
  .form-actions .button { width: 100%; }
}

.card h3 .sub-title {
  display: block;
  font-size: 1em;
  font-weight: 750;
  letter-spacing: inherit;
  margin-top: 0.15rem;
}
@media (max-width: 760px) {
  .footer-meta {
    flex-direction: column;
    gap: 0.4rem;
  }
  .footer-meta span:not(:last-child)::after,
  .footer-meta a:not(:last-child)::after {
    content: none;
    margin: 0;
  }
}

/* Tally interest modal, matching the UK coming soon pattern */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 31, 0.86);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 100%);
  overflow: auto;
  background: var(--off);
  color: #08121f;
  border: 1px solid rgba(216, 179, 106, 0.5);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #08121f;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(216, 179, 106, 0.25);
  outline: 2px solid var(--gold);
  outline-offset: 0;
}
.modal-title {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin: 0 2.5rem 0.35rem 0;
  color: #08121f;
}
.modal-lead {
  color: #3d4a5a;
  font-size: 0.95rem;
  margin: 0 2.5rem 1.1rem 0;
}
.modal-lead a {
  color: #08121f;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.tally-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
}
.tally-frame {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: transparent;
}
.tally-note {
  color: #3d4a5a;
  font-size: 0.85rem;
  margin: 0;
}
.tally-note a {
  color: #08121f;
  font-weight: 600;
  text-decoration: underline;
}
.tally-thanks {
  text-align: center;
  padding: 12px 8px 8px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tally-thanks[hidden] { display: none; }
.tally-thanks svg { color: var(--gold); }
.tally-thanks h3 {
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  outline: none;
  margin: 0;
  letter-spacing: -0.03em;
}
.tally-thanks p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}
.thanks-logo {
  display: block;
  width: min(220px, 72%);
  height: auto;
  margin: 0 auto;
}
.thanks-product {
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.thanks-product em {
  color: var(--gold);
  font-style: normal;
}
.thanks-close { margin-top: 0.7rem; }
.modal-dialog.is-thanks {
  background: var(--navy);
  color: var(--white);
  border-color: rgba(216, 179, 106, 0.7);
}
.modal-dialog.is-thanks .modal-close { color: var(--gold); }

@media (max-width: 760px) {
  .modal { padding: 0; }
  .modal-dialog {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    border: 0;
    border-top: 4px solid var(--gold);
  }
  .tally-frame { min-height: 520px; }
}
