:root {
  --ink: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --tint: #f5f6f9;
  --line: #dfe3ea;
  --navy: #0b1530;
  --navy-soft: #16224a;
  --accent: #e9c46a;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 750;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.narrow {
  max-width: 46rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.875rem;
}

.wordmark {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.site-nav a {
  padding-block: 0.25rem;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 85% 10%, var(--navy-soft) 0%, var(--navy) 55%);
  color: #fff;
}

.hero__inner {
  position: relative;
  padding-block: clamp(5rem, 14vw, 10rem);
}

.hero h1 {
  max-width: 12ch;
}

.hero__moon {
  position: absolute;
  right: max(-6rem, calc(50% - 44rem));
  top: 50%;
  width: clamp(16rem, 42vw, 34rem);
  transform: translateY(-50%);
  filter: drop-shadow(0 0 5rem rgb(233 196 106 / 0.35));
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.eyebrow {
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--light {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8125rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

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

.button--accent {
  background: var(--accent);
  color: var(--navy);
}

.button--ghost {
  border-color: rgb(255 255 255 / 0.55);
  color: #fff;
}

.button--primary {
  background: var(--navy);
  color: #fff;
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.hero :focus-visible {
  outline-color: #fff;
}

.section {
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  scroll-margin-top: 4.5rem;
}

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

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

.section strong {
  color: var(--ink);
}

.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

.cards--values .card {
  grid-column: span 2;
}

.cards--values .card:nth-child(n + 4) {
  grid-column: span 3;
}

.cards--services {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.card {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 0.25rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--accent);
}

.card--service {
  background: var(--navy);
  border-color: var(--navy);
}

.section .card--service h3 {
  color: #fff;
}

.section .card--service p {
  color: #c9d1e4;
}

.split {
  display: grid;
  gap: 2.5rem 4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: start;
}

.split h3 {
  margin-top: 1.5rem;
}

.split > div > h3:first-child {
  margin-top: 0;
}

.benefits {
  display: grid;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}

.form {
  display: grid;
  gap: 1.125rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  display: grid;
  gap: 0.375rem;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 650;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: var(--bg);
  border: 1px solid #b6bfcc;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .button {
  justify-self: start;
}

.form__status {
  min-height: 1.65em;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.section .form__status {
  color: var(--ink);
}

.section .form__status[data-state="error"] {
  color: #b42318;
}

.section .form__status[data-state="success"] {
  color: #146c43;
}

.site-footer {
  background: var(--navy);
  color: #c9d1e4;
  font-size: 0.9375rem;
}

.site-footer a {
  color: #fff;
}

.site-footer :focus-visible {
  outline-color: #fff;
}

.site-footer__inner {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  padding-block: 3.5rem 2.5rem;
}

.site-footer address {
  font-style: normal;
}

.site-footer p {
  margin: 0;
}

.site-footer__label {
  margin-bottom: 0.375rem;
  color: #fff;
  font-weight: 700;
}

.site-footer p.site-footer__label {
  margin-bottom: 0.375rem;
}

.site-footer__links {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.875rem;
}

.legal {
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
}

.legal__body {
  max-width: 44rem;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.legal h3 {
  margin-top: 1.75rem;
}

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

.legal strong {
  color: var(--ink);
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal__date {
  font-weight: 600;
}

.notfound {
  padding-block: clamp(5rem, 16vw, 10rem);
  text-align: center;
}

.notfound h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1.75rem;
}

@media (max-width: 56rem) {
  .cards--values .card,
  .cards--values .card:nth-child(n + 4) {
    grid-column: span 3;
  }

  .cards--values .card:last-child {
    grid-column: span 6;
  }
}

@media (max-width: 36rem) {
  .site-header {
    position: static;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
    font-size: 0.875rem;
  }

  .section {
    scroll-margin-top: 1rem;
  }

  .cards--values .card,
  .cards--values .card:nth-child(n + 4) {
    grid-column: span 6;
  }

  .hero__moon {
    right: -7rem;
    top: auto;
    bottom: -9.5rem;
    transform: none;
    opacity: 0.5;
  }
}

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

  .button {
    transition: none;
  }
}
