:root {
  --ink: #07111f;
  --ink-soft: #17243a;
  --paper: #f4f7f8;
  --white: #ffffff;
  --electric: #42efb4;
  --electric-dark: #0d9e77;
  --line: rgba(7, 17, 31, 0.15);
  --muted: #5d6877;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.site-header,
main > section,
footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: square;
}

.header-link {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding: 78px 0 110px;
}

.eyebrow,
.section-label,
.phase-time {
  margin: 0 0 22px;
  color: var(--electric-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 24px;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-intro {
  max-width: 690px;
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--electric); }
.button-secondary { background: transparent; }

.signal-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 22px 22px 0 var(--electric);
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(66,239,180,.13), transparent 42%);
  pointer-events: none;
}

.signal-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status { color: var(--electric); }

.signal-flow {
  position: relative;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
}

.signal-flow li {
  display: grid;
  grid-template-columns: 42px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.signal-flow li:last-child { border-bottom: 0; }
.signal-flow span { grid-row: span 2; color: var(--electric); font: 700 0.82rem ui-monospace, monospace; }
.signal-flow strong { font-size: 1.1rem; }
.signal-flow small { margin-top: 3px; color: rgba(255,255,255,.65); font-size: 0.9rem; }

.point {
  padding: 118px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.point h2 { max-width: 930px; }
.point > p:last-child { max-width: 790px; margin-bottom: 0; color: var(--muted); font-size: 1.25rem; }

.programme { padding: 118px 0; }
.section-heading { max-width: 800px; margin-bottom: 52px; }

.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.phase-card {
  min-height: 420px;
  padding: 34px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.46);
}

.phase-card:last-child { border-right: 0; }
.phase-card.featured { color: var(--white); background: var(--ink); }
.phase-number { display: block; margin-bottom: 62px; color: var(--electric-dark); font: 700 0.82rem ui-monospace, monospace; }
.featured .phase-number, .featured .phase-time { color: var(--electric); }

.phase-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.featured li { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.17); }

.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 10vw, 140px);
  padding: 118px 0;
  border-top: 1px solid var(--line);
}

.fit-list p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.06rem;
  font-weight: 650;
}

.fit-list p:first-child { border-top: 1px solid var(--line); }

.cta {
  width: 100%;
  max-width: none;
  padding: 112px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.cta h2 { max-width: 850px; }
.cta > p:not(.section-label) { max-width: 620px; margin-bottom: 36px; color: rgba(255,255,255,.7); font-size: 1.2rem; }
.button-light { border-color: var(--electric); color: var(--ink); background: var(--electric); }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  padding: 42px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

footer p { margin: 0; }
footer nav { display: flex; gap: 20px; }
footer a { text-underline-offset: 4px; }
.footer-brand { color: var(--ink); font-size: 0.76rem; }
.footer-brand .brand-mark { width: 25px; height: 25px; }

.legal-page main {
  width: min(calc(100% - 48px), 820px);
  margin: 70px auto 120px;
}

.legal-page h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.legal-page h2 { margin-top: 54px; font-size: 1.55rem; letter-spacing: -0.02em; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-page .back { display: inline-block; margin-bottom: 40px; font-weight: 700; text-underline-offset: 4px; }

:focus-visible { outline: 3px solid var(--electric-dark); outline-offset: 4px; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .signal-panel { max-width: 620px; box-shadow: 14px 14px 0 var(--electric); }
  .phase-grid { grid-template-columns: 1fr; }
  .phase-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .phase-card:last-child { border-bottom: 0; }
  .phase-number { margin-bottom: 36px; }
  .fit { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 560px) {
  .site-header, main > section, footer { width: min(calc(100% - 32px), var(--max)); }
  .site-header { min-height: 74px; }
  .header-link { display: none; }
  .hero { min-height: auto; padding: 52px 0 88px; gap: 58px; }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .point, .programme, .fit { padding: 84px 0; }
  .phase-card { padding: 28px 24px; }
  .cta { width: 100%; padding: 84px 16px; }
  footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
