/* Palette taken from the Rise Initiative leaflet */
:root {
  --navy: #012060;
  --navy-2: #0a3282;
  --orange: #fe9900;
  --orange-dark: #e07b00;
  --blue: #1e7fd6;
  --green: #2e9a4d;
  --purple: #6b2f9e;
  --tint: #eef2f9;
  --cream: #fff4e0;
  --ink: #222222;
  --muted: #5a5a5a;
  --white: #ffffff;
  --radius: 14px;
  --wrap: 1120px;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy-2);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
}

.btn-primary:hover {
  background: #ffad33;
}

.btn-ghost {
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-2);
}

.btn-small {
  padding: 0.55em 1.1em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a:not(.btn) {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:not(.btn):hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 999px;
  padding: 0.4em 1em;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: clamp(64px, 11vw, 140px) 0 clamp(72px, 12vw, 150px);
}

.hero-sun {
  position: absolute;
  right: -8%;
  bottom: -46%;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-photo {
  flex: none;
  width: clamp(220px, 24vw, 290px);
  margin-right: clamp(0px, 6vw, 90px);
  border-radius: 999px 999px 20px 20px;
  border: 6px solid var(--white);
  object-fit: cover;
}

.photo {
  width: 100%;
  border-radius: var(--radius);
}

.hero h1 {
  color: var(--white);
  max-width: 12ch;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 34em;
  margin-bottom: 1.6em;
}

.hero-note {
  margin: 1.6em 0 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.eyebrow {
  margin: 0 0 0.8em;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-2);
}

.hero .eyebrow,
.section-navy .eyebrow {
  color: var(--orange);
}

/* Sections */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-tint {
  background: var(--tint);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-intro {
  max-width: 44em;
  font-size: 1.15rem;
  margin-bottom: 2em;
}

.statement {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.statement span {
  display: block;
  color: var(--orange-dark);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.split-center {
  align-items: center;
}

.intro-split {
  margin-bottom: 2em;
}

.intro-split .section-intro {
  margin-bottom: 0;
}

.light-link {
  color: var(--white);
  font-weight: 700;
}

.plain-note {
  border-left: 4px solid var(--orange);
  padding-left: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* Cards */
.cards {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid #dbe2ef;
  display: flex;
  flex-direction: column;
}

.card p {
  flex: 1;
}

.card-accent {
  background: var(--cream);
  border-color: #f6d9a3;
}

.card-dark {
  background: var(--navy-2);
  border-color: transparent;
}

.card-dark h3 {
  color: var(--orange);
}

.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
}

.card-link::after {
  content: " \2192";
}

.card-link:hover {
  text-decoration: underline;
}

/* Journey */
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.stage {
  --stage: var(--navy);
  background: var(--white);
  border: 1px solid #dbe2ef;
  border-top: 8px solid var(--stage);
  border-radius: var(--radius);
  padding: 20px 18px;
  font-size: 0.97rem;
}

.stage h3 {
  font-size: 1.5rem;
  color: var(--stage);
}

.stage-when {
  margin: 0 0 0.4em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.stage ul {
  margin: 0;
  padding-left: 1.1em;
}

.stage li {
  margin-bottom: 0.35em;
}

.stage-discover { --stage: var(--blue); }
.stage-develop { --stage: var(--green); }
.stage-connect { --stage: var(--orange-dark); }
.stage-lead { --stage: var(--purple); }
.stage-progress { --stage: var(--navy); }

/* Lists */
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ticks li {
  background: var(--white);
  border: 1px solid #dbe2ef;
  border-left: 6px solid var(--orange);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.ticks strong {
  color: var(--navy);
}

.sub-heading {
  margin-top: 2.2em;
}

.chips {
  list-style: none;
  margin: 0 0 2em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.45em 1em;
  font-weight: 500;
}

.gains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gains li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 18px;
  border: 1px solid #dbe2ef;
}

.gains strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.3em;
}

.quote {
  margin: 40px auto 0;
  max-width: 760px;
  text-align: center;
}

.quote blockquote {
  margin: 0 0 0.6em;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.quote figcaption {
  color: var(--muted);
  font-weight: 700;
}

/* Form */
.form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: grid;
  gap: 8px;
}

.form label {
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
}

.form .optional {
  font-weight: 400;
  color: var(--muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  padding: 0.7em 0.8em;
  border: 1.5px solid #b9c3d6;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.form button {
  margin-top: 16px;
  justify-self: start;
}

.form-status {
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--navy);
}

.form-status:empty {
  display: none;
}

.form-note {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Footer */
.site-footer {
  background: #011847;
  color: var(--white);
  padding: 44px 0 32px;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand p {
  margin: 0;
}

.footer-tagline {
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer a {
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.footer-legal {
  margin: 0;
  opacity: 0.75;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* Privacy policy */
.policy h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.policy h2 {
  font-size: 1.4rem;
  margin-top: 2em;
}

.policy li {
  margin-bottom: 0.3em;
}

.policy-date {
  color: var(--muted);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1000px) {
  .journey,
  .gains {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 20px 20px;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

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

  .site-nav a:not(.btn) {
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .site-nav .btn {
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .split,
  .cards-3,
  .cards-4,
  .journey,
  .gains {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    display: none;
  }

  .hero-sun {
    width: 80vw;
    right: -40%;
    bottom: -230px;
  }

  .hero {
    padding-bottom: 190px;
  }
}

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

  .btn {
    transition: none;
  }
}
