@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
  --blue: #4ea6ea;
  --muted: rgba(255, 255, 255, 0.62);
  --quiet: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.2);
  --pill-line: rgba(255, 255, 255, 0.48);
}

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

html {
  background: var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.wordmark {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-i {
  color: var(--blue);
}

.wordmark:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  padding: clamp(32px, 3.4vw, 48px) 0 clamp(48px, 5vw, 72px);
}

.hero-copy {
  position: sticky;
  top: 32px;
}

.eyebrow,
.cluster-label {
  margin: 0;
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 730px;
  margin: 16px 0 14px;
  font-family: "Newsreader", serif;
  font-size: clamp(3.1rem, 4.4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.intro {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.process-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.access-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.025);
}

.field {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 13px 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  line-height: 1.45;
  transition: border-color 160ms ease;
}

textarea {
  min-height: 68px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
  opacity: 1;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  margin-top: 4px;
}

button {
  min-height: 48px;
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
  font: 700 0.8rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.form-actions p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.78rem;
}

.form-actions a {
  color: var(--muted);
  text-underline-offset: 3px;
}

.support {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-card {
  min-height: 168px;
  padding: 32px 30px;
}

.support-card + .support-card {
  border-left: 1px solid var(--line);
}

.support-card h2 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-card p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.credibility {
  display: grid;
  gap: 48px;
  padding: clamp(56px, 6vw, 88px) 0 clamp(56px, 6vw, 80px);
}

.credibility-cluster {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.cluster-label {
  padding-top: 4px;
}

.wordmark-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 20px 30px;
  align-items: center;
}

.wordmark-row span {
  color: var(--muted);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header,
  main {
    width: min(100% - 32px, 1320px);
  }

  .site-header {
    min-height: 60px;
  }

  .hero {
    gap: 36px;
    padding: 28px 0 48px;
  }

  h1 {
    font-size: clamp(2.85rem, 12.5vw, 4rem);
  }

  .process-list {
    margin-top: 26px;
  }

  .access-form {
    grid-template-columns: 1fr;
    gap: 22px;
    border-radius: 22px;
  }

  .field-wide {
    grid-column: auto;
  }

  .support {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 0;
    padding: 26px 0;
  }

  .support-card + .support-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .credibility-cluster {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wordmark-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }
}

@media (max-width: 420px) {
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .wordmark-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Partner + background marks. Sourced from each organisation's own brand asset,
   normalised to a single optical height and rendered white-on-black so the row
   reads as one system rather than seven different lockups. gambling.com keeps
   its red .com chip because that chip is the mark. */
.wordmark-logo {
  height: 26px;
  width: auto;
  opacity: .58;
  filter: grayscale(100%);
  transition: opacity 200ms ease, filter 200ms ease;
}

.wordmark-logo:hover {
  opacity: .95;
  filter: none;
}

@media (max-width: 640px) {
  .wordmark-logo { height: 20px; }
}
