:root {
  --ink: #101828;
  --muted: #5d6678;
  --line: #dfe4ec;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --brand: #155eef;
  --brand-dark: #0b3b94;
  --accent: #12b76a;
  --warm: #fdb022;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(21, 94, 239, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(18, 183, 106, 0.10), transparent 30rem),
    var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 228, 236, 0.8);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
}

.brand-mark circle {
  fill: #ffffff;
}

.brand-mark path {
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand em {
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.section {
  padding: 92px 0;
}

.hero {
  padding-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.cta-card {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(21, 94, 239, 0.24);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.light {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: none;
}

.button.small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0 0;
}

.quick-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-facts dd {
  margin: 5px 0 0;
  font-weight: 800;
  line-height: 1.25;
}

.hero-panel,
.tool-card,
.contact-card,
.card {
  border: 1px solid rgba(223, 228, 236, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -22% 18%;
  height: 210px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(135deg, rgba(21, 94, 239, 0.18), rgba(18, 183, 106, 0.22));
  z-index: -1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.status-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(18, 183, 106, 0.14);
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.pillar-grid article {
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.pillar-grid span,
.card-icon {
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--brand-dark);
  font-weight: 900;
}

.pillar-grid strong {
  display: block;
  margin-bottom: 6px;
}

.pillar-grid p,
.card p,
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.logo-strip {
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.94rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 24px;
  box-shadow: none;
}

.card.featured {
  background: var(--ink);
  color: #ffffff;
}

.card.featured p,
.card.featured li {
  color: rgba(255, 255, 255, 0.74);
}

.card.featured .card-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 650;
}

.card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 950;
}

.muted {
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.82), rgba(244, 247, 251, 0.96)),
    var(--soft);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  gap: 56px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: none;
}

.timeline {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 950;
}

.tools-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.tool-card,
.contact-card {
  padding: 26px;
}

.score-form,
.calc-form,
#enquiryForm {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--brand);
}

textarea {
  resize: vertical;
}

.form-intro {
  margin-bottom: 0;
  color: var(--muted);
}

.enquiry-output .button {
  margin: 6px 6px 0 0;
}

.score-result {
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: var(--soft);
}

.score-result strong {
  display: block;
  margin-bottom: 4px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.score-result span {
  color: var(--muted);
  font-weight: 650;
}

.cta {
  padding: 0;
}

.cta-card {
  justify-content: space-between;
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--ink), #183b73);
  color: #ffffff;
}

.cta-card > div {
  max-width: 740px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-card .eyebrow {
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.contact-details {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  border-radius: 0 20px 20px 0;
  font-style: normal;
  font-weight: 650;
}

.contact-details a {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-dark);
  font-weight: 900;
}

.enquiry-output {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.enquiry-output h4 {
  margin: 0 0 8px;
}

.enquiry-output p {
  color: var(--muted);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 1040px) {
  .hero-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid .section-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 99px;
  }

  .nav-menu {
    position: absolute;
    inset: 78px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .quick-facts,
  .pillar-grid,
  .cards,
  .tools-grid,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-card {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .cta-card {
    padding: 28px;
  }

  .footer-grid {
    display: grid;
  }
}

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

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
