:root {
  --charcoal: #111827;
  --text: #1f2937;
  --muted: #6b7280;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --orange: #f97316;
  --background: #f9fafb;
  --surface: #ffffff;
  --surface-strong: #eef4ff;
  --border: #e5e7eb;
  --border-strong: #cbd5e1;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
  --max-width: 1180px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a:hover {
  color: var(--blue);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--surface);
  padding: 0.7rem 1rem;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--charcoal);
  font-weight: 800;
}

.brand:hover {
  color: var(--charcoal);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--surface);
  background: var(--charcoal);
  border: 2px solid var(--blue);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--charcoal);
  padding: 0.55rem 0.8rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: var(--surface);
  padding: 0.72rem 1rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--surface);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button-secondary {
  background: var(--surface);
  color: var(--charcoal);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background: var(--surface-strong);
  color: var(--charcoal);
  border-color: var(--blue);
}

.button-small {
  min-height: 38px;
  padding: 0.58rem 0.82rem;
  font-size: 0.9rem;
}

.section-band {
  border-bottom: 1px solid var(--border);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  align-items: center;
  gap: 2.5rem;
  min-height: calc(82vh - 72px);
  padding: 3rem max(2rem, calc((100vw - var(--max-width)) / 2)) 2.5rem;
  overflow: hidden;
  background: var(--background);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1,
h2,
h3 {
  color: var(--charcoal);
  line-height: 1.05;
  margin: 0;
}

p,
li,
label,
button,
a {
  overflow-wrap: anywhere;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  white-space: nowrap;
}

h2 {
  font-size: 2.6rem;
  font-weight: 900;
}

h3 {
  font-size: 1.18rem;
  font-weight: 850;
}

.hero-line {
  margin: 1.25rem 0 0;
  color: var(--charcoal);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.2;
}

.hero-text {
  max-width: 600px;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.bracket-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  font-weight: 850;
}

.status-chip,
.metric-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  color: var(--blue);
  background: var(--surface-strong);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.metric-chip {
  color: #9a3412;
  background: #fff3e9;
}

.bracket-board {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
}

.round {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.round-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.matchup {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.85rem;
}

.final-card {
  border-color: rgba(249, 115, 22, 0.45);
}

.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-weight: 750;
}

.choice.is-leading {
  color: var(--charcoal);
}

.choice strong {
  color: inherit;
}

.meter {
  height: 8px;
  margin: 0.58rem 0;
  border-radius: 999px;
  background: #dbeafe;
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.meter-54 span {
  width: 54%;
}

.meter-58 span {
  width: 58%;
}

.meter-62 span {
  width: 62%;
}

.meter-orange {
  background: #ffedd5;
}

.meter-orange span {
  background: var(--orange);
}

.leaderboard-note {
  display: grid;
  gap: 0.6rem;
}

.leaderboard-note span {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.75rem;
  color: var(--charcoal);
  font-weight: 800;
}

.preview-strip,
.how,
.categories,
.vision,
.forms-section {
  padding: 5rem max(2rem, calc((100vw - var(--max-width)) / 2));
}

.preview-strip {
  padding-top: 3.5rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow),
.vision-copy p,
.launch-card p,
.enquiry-card p,
.category-tile p,
.bracket-card p,
.step-card p,
.vision-grid p,
.site-footer p {
  color: var(--muted);
}

.preview-grid,
.steps-grid,
.category-grid,
.vision-grid {
  display: grid;
  gap: 1rem;
}

.preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bracket-card,
.step-card,
.category-tile,
.vision-grid article,
.launch-card,
.enquiry-card,
.content-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.bracket-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 1.25rem;
}

.bracket-card p {
  margin: 0.8rem 0 1.2rem;
}

.bracket-card .metric-chip {
  margin-top: auto;
  align-self: flex-start;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.how {
  background: var(--surface-strong);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 1.45rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  color: var(--surface);
  background: var(--charcoal);
  font-weight: 900;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-tile {
  padding: 1.15rem;
  border-left: 4px solid var(--blue);
}

.category-tile:nth-child(3n) {
  border-left-color: var(--orange);
}

.category-tile span {
  color: var(--charcoal);
  font-weight: 850;
}

.category-tile p {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
}

.vision {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
  background: var(--charcoal);
}

.vision h2,
.vision h3 {
  color: var(--surface);
}

.vision .eyebrow {
  color: #93c5fd;
}

.vision-copy p,
.vision-grid p {
  color: #cbd5e1;
}

.vision-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vision-grid article {
  min-height: 190px;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.forms-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1.5rem;
  align-items: start;
}

.launch-card,
.enquiry-card {
  padding: 1.6rem;
}

.inline-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.stacked-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

label {
  color: var(--charcoal);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0.78rem 0.85rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.form-note {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.form-feedback {
  margin: 1rem 0 0;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--charcoal);
  padding: 0.85rem;
  font-weight: 800;
}

.form-feedback.is-success {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.form-feedback.is-error {
  border-color: #fdba74;
  background: #fff7ed;
  color: #9a3412;
}

.hidden-field,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem max(2rem, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  color: var(--muted);
  font-weight: 700;
}

.copyright {
  margin: 0;
  white-space: nowrap;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 760px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner div {
  display: flex;
  gap: 0.55rem;
}

.page-hero {
  padding: 4.5rem max(2rem, calc((100vw - var(--max-width)) / 2)) 2rem;
  background: var(--surface-strong);
  border-bottom: 1px solid var(--border);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
}

.content-wrap {
  padding: 3rem max(2rem, calc((100vw - var(--max-width)) / 2)) 5rem;
}

.content-card {
  max-width: 860px;
  padding: 2rem;
}

.content-card h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.content-card a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4rem;
  }

  .preview-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vision,
  .forms-section,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
  }

  .site-nav .button {
    margin-top: 0.5rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-line {
    font-size: 1.32rem;
  }

  .hero,
  .preview-strip,
  .how,
  .categories,
  .vision,
  .forms-section,
  .page-hero,
  .content-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .bracket-board,
  .steps-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .inline-form {
    flex-direction: column;
  }

  .hero-actions .button,
  .inline-form .button {
    width: 100%;
  }

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

@media (max-width: 560px) {
  h1 {
    font-size: 2.1rem;
  }

  .preview-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .card-topline,
  .stage-toolbar,
  .choice {
    align-items: flex-start;
  }

  .stage-toolbar,
  .choice {
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .copyright {
    white-space: normal;
  }
}
