:root {
  color-scheme: light;
  --navy: #082d73;
  --navy-deep: #041d4d;
  --green: #56df2f;
  --green-deep: #2c9e19;
  --ink: #10213f;
  --muted: #56647c;
  --surface: #ffffff;
  --surface-soft: #f3f8ff;
  --border: #dbe5f2;
  --shadow: 0 20px 55px rgb(8 45 115 / 12%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgb(86 223 47 / 14%), transparent 24rem),
    radial-gradient(circle at 10% 20%, rgb(8 45 115 / 9%), transparent 28rem),
    var(--surface);
  font-size: 1rem;
  line-height: 1.65;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: break-word;
}

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 0.3rem;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--surface);
  background: var(--navy-deep);
  border-radius: 0.5rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgb(219 229 242 / 85%);
  background: rgb(255 255 255 / 92%);
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 9rem;
  height: auto;
}

.site-nav ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--green-deep);
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: 34rem;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.hero > *,
.contact-card > *,
.feature-card {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.65rem;
  height: 0.65rem;
  content: "";
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgb(86 223 47 / 17%);
}

h1,
h2,
h3 {
  color: var(--navy-deep);
  line-height: 1.15;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
}

.lead {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-card,
.contact-card,
.legal-card {
  border: 1px solid rgb(219 229 242 / 90%);
  background: rgb(255 255 255 / 88%);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.hero-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-size: 1.4rem;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.beta-badge {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.45rem 0.8rem;
  color: var(--navy-deep);
  background: rgb(86 223 47 / 17%);
  border: 1px solid rgb(44 158 25 / 28%);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section-intro {
  max-width: 68ch;
  margin-bottom: 2rem;
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 10rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1rem;
}

.feature-number {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.1rem;
  place-items: center;
  color: var(--navy-deep);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.75rem, 5vw, 3rem);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  color: var(--navy-deep);
  background: var(--green);
  border: 1px solid var(--green-deep);
  border-radius: 0.8rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 0.65rem 1.5rem rgb(44 158 25 / 18%);
}

.button-link:hover {
  color: var(--navy-deep);
  background: #6bed48;
}

.page-hero {
  max-width: 760px;
  padding-block: clamp(3.5rem, 8vw, 6rem) 2rem;
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.updated {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-card {
  max-width: 880px;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.legal-card section + section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.legal-card p,
.legal-card li {
  color: #33425d;
}

.legal-card ul {
  padding-left: 1.3rem;
}

.legal-card li + li {
  margin-top: 0.55rem;
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 0.3rem solid var(--green);
  background: var(--surface-soft);
  border-radius: 0 0.7rem 0.7rem 0;
}

.site-footer {
  color: #d9e5f7;
  background: var(--navy-deep);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 800px) {
  .header-inner,
  .site-footer-inner,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding-block: 1rem;
  }

  .site-nav ul {
    gap: 0.5rem 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    display: flex;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 7.5rem;
  }

  .site-nav {
    font-size: 0.9rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
