@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-text);
  color: var(--dark);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: -0.005em;
  color: var(--dark);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { max-width: 68ch; text-wrap: pretty; }
p + p { margin-top: 1em; }

a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color var(--ease); }
a:hover { color: var(--teal); }

strong { font-weight: 600; }

.lead { font-size: var(--fs-lg); color: var(--gray-900); }
.muted { color: var(--gray-500); }

.hl {
  text-decoration: underline;
  text-decoration-color: var(--turquoise);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--gray-100); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lead, .section--dark p { color: #D5D9DE; }

.section__head { display: grid; gap: 1rem; margin-bottom: 2.5rem; max-width: 50rem; }
.section__head p { color: var(--gray-900); }
.section--dark .section__head p { color: #C9CED4; }
@media (min-width: 1024px) {
  .section__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 4rem; max-width: none; margin-bottom: 4rem; }
  .section__head > :only-child { grid-column: 1 / -1; max-width: 22ch; }
  .section__head p { font-size: 1.0625rem; padding-bottom: 0.35rem; }
}

.stack > * + * { margin-top: 1rem; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(4, 228, 236, 0.45);
  border-radius: 4px;
}
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--turquoise); box-shadow: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--radius);
  background: var(--dark); color: var(--white); font-weight: 600; text-decoration: none;
  transition: top var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform var(--ease), background-color var(--ease), box-shadow var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .icon--arrow { transition: transform var(--ease); }
.btn:hover .icon--arrow, .link-arrow:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); box-shadow: 0 8px 18px rgba(0, 90, 96, 0.28); }
.btn--ghost { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn--ghost:hover { background: var(--dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--turquoise); color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn--lg { min-height: 3.5rem; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--teal); text-decoration: none;
  transition: gap var(--ease), color var(--ease), transform var(--ease);
}
.link-arrow:hover { gap: 0.7rem; color: var(--teal-dark); }
.section--dark .link-arrow { color: var(--turquoise); }

.form { display: grid; gap: 1.25rem; }
.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.9375rem; color: var(--dark); }
.field .opt { font-weight: 400; color: var(--gray-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 0.9rem;
  border: 1.5px solid #9AA1AB; border-radius: var(--radius);
  background: var(--white); color: var(--dark); font-size: 1rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23353535' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-900); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--teal); outline-offset: 0; border-radius: var(--radius); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: var(--fs-sm); color: var(--gray-500); }
.field__error { font-size: var(--fs-sm); font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }

.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.9375rem; }
.check input { width: 1.375rem; height: 1.375rem; margin-top: 0.15rem; accent-color: var(--teal); }

.form__legal { font-size: var(--fs-sm); color: var(--gray-500); }
.form__status { font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-error { padding: 0.9rem 1rem; border-left: 4px solid var(--error); background: #FEF3F2; color: var(--error); border-radius: 4px; }
.form__status.is-pending { color: var(--gray-900); }

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

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card-link:hover { transform: none; }
}
