@font-face {
  font-family: "Open Sans GP";
  src: url("../fonts/OpenSans-VariableFont_wdthwght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand GP";
  src: url("../fonts/Quicksand-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --hp-orange: #f60;
  --hp-orange-on-light: #bd4b00;
  --hp-orange-dark: #9a3c00;
  --hp-ink: #1a1a1a;
  --hp-ink-soft: #3a3a3a;
  --hp-muted: #666;
  --hp-line: #d9d9d9;
  --hp-surface: #f6f6f6;
  --hp-white: #fff;
  --hp-success: #18753c;
  --hp-error: #b42318;
  --hp-radius: 14px;
  --hp-shadow: 0 18px 50px rgb(0 0 0 / 9%);
  --hp-content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hp-ink);
  background: var(--hp-white);
  font-family: "Open Sans GP", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.hp-nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.hp-skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--hp-white);
  background: var(--hp-ink);
  border-radius: 6px;
  transform: translateY(-180%);
}

.hp-skip-link:focus {
  transform: translateY(0);
}

.hp-container {
  width: min(calc(100% - 2.5rem), var(--hp-content));
  margin-inline: auto;
}

.hp-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgb(26 26 26 / 96%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  backdrop-filter: blur(10px);
}

.hp-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hp-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.hp-brand img {
  display: block;
  width: 180px;
  height: auto;
}

.hp-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.hp-nav a {
  color: var(--hp-white);
  font-weight: 650;
  text-decoration: none;
}

.hp-nav a:hover,
.hp-nav a:focus-visible {
  color: var(--hp-orange);
}

.hp-language-link {
  min-width: 48px;
  padding: 0.45rem 0.7rem;
  text-align: center;
  border: 1px solid var(--hp-white);
  border-radius: 999px;
}

.hp-nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--hp-white);
  background: transparent;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 8px;
  cursor: pointer;
}

.hp-nav-toggle-lines,
.hp-nav-toggle-lines::before,
.hp-nav-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.hp-nav-toggle-lines {
  position: relative;
}

.hp-nav-toggle-lines::before {
  position: absolute;
  top: -7px;
}

.hp-nav-toggle-lines::after {
  position: absolute;
  top: 7px;
}

.hp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  color: var(--hp-white);
  background:
    radial-gradient(circle at 80% 12%, rgb(255 102 0 / 28%), transparent 34%),
    linear-gradient(135deg, #1a1a1a, #3a3a3a);
}

.hp-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 28rem;
  height: 28rem;
  border: 2px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  content: "";
}

.hp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hp-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--hp-orange-on-light);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hp-hero .hp-eyebrow {
  color: var(--hp-orange);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Quicksand GP", Arial, sans-serif;
  line-height: 1.15;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.hp-hero-wordmark-title {
  max-width: none;
}

.hp-hero-wordmark {
  width: min(100%, 39.35rem);
  display: block;
}

.hp-hero-wordmark img {
  width: 100%;
  height: auto;
  display: block;
}

.hp-hero-wordmark:focus-visible {
  outline: 3px solid var(--hp-orange);
  outline-offset: 0.5rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
}

.hp-lead {
  max-width: 760px;
  margin: 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hp-actions-center {
  justify-content: center;
}

.hp-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.hp-button:focus-visible,
.hp-nav-toggle:focus-visible,
.hp-input:focus-visible {
  outline: 3px solid var(--hp-orange-on-light);
  outline-offset: 3px;
}

.hp-button-primary {
  color: var(--hp-white);
  background: var(--hp-orange-on-light);
}

.hp-button-primary:hover {
  background: var(--hp-orange-dark);
}

.hp-button-secondary {
  color: var(--hp-white);
  background: transparent;
  border-color: rgb(255 255 255 / 62%);
}

.hp-button-secondary:hover {
  border-color: var(--hp-white);
}

.hp-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.hp-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  scroll-margin-top: 90px;
}

.hp-section-muted {
  background: var(--hp-surface);
}

.hp-section-heading {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.hp-section-heading p:last-child {
  margin-bottom: 0;
  color: var(--hp-muted);
  font-size: 1.1rem;
}

.hp-training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.hp-training-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  box-shadow: 0 10px 30px rgb(0 0 0 / 5%);
}

.hp-training-card-featured {
  border-top: 5px solid var(--hp-orange);
}

.hp-training-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.hp-training-meta li {
  padding: 0.3rem 0.65rem;
  color: var(--hp-ink-soft);
  background: var(--hp-surface);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hp-training-card p:last-child {
  margin-bottom: 0;
}

.hp-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.hp-form-intro {
  position: sticky;
  top: 110px;
}

.hp-form-card {
  padding: clamp(1.3rem, 4vw, 2.5rem);
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
}

.hp-fieldset {
  min-width: 0;
  margin: 0 0 1.8rem;
  padding: 0;
  border: 0;
}

.hp-legend,
.hp-label {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 800;
}

.hp-required {
  color: var(--hp-error);
}

.hp-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hp-choice-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-choice-grid-one {
  grid-template-columns: 1fr;
}

.hp-choice {
  position: relative;
  min-width: 0;
}

.hp-choice[hidden] {
  display: none;
}

.hp-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.hp-choice span {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  background: var(--hp-white);
  border: 2px solid var(--hp-line);
  border-radius: 8px;
  cursor: pointer;
}

.hp-choice input:checked + span {
  color: var(--hp-white);
  background: var(--hp-ink-soft);
  border-color: var(--hp-ink-soft);
}

.hp-choice input:disabled + span {
  color: var(--hp-muted);
  background: #f3f3f3;
  cursor: not-allowed;
  opacity: 0.65;
}

.hp-choice input:focus-visible + span {
  outline: 3px solid var(--hp-orange);
  outline-offset: 2px;
}

.hp-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.hp-field-full {
  grid-column: 1 / -1;
}

.hp-input {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.85rem;
  color: var(--hp-ink);
  background: var(--hp-white);
  border: 2px solid #c8c8c8;
  border-radius: 8px;
}

.hp-input[aria-invalid="true"] {
  border-color: var(--hp-error);
}

.hp-help {
  display: block;
  margin-top: 0.35rem;
  color: var(--hp-muted);
  font-size: 0.88rem;
}

.hp-field-error {
  min-height: 1.25em;
  display: block;
  margin-top: 0.35rem;
  color: var(--hp-error);
  font-size: 0.9rem;
  font-weight: 700;
}

.hp-error-summary,
.hp-form-status {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
}

.hp-error-summary {
  color: var(--hp-error);
  background: #fff1f0;
  border: 1px solid #f0a9a3;
}

.hp-form-status[data-state="success"] {
  color: var(--hp-success);
  background: #ecfdf3;
  border: 1px solid #86d5a8;
}

.hp-form-status[data-state="error"] {
  color: var(--hp-error);
  background: #fff1f0;
  border: 1px solid #f0a9a3;
}

.hp-form-status:empty,
.hp-error-summary[hidden],
.hp-conditional[hidden] {
  display: none;
}

.hp-privacy {
  margin: 1rem 0 0;
  color: var(--hp-muted);
  font-size: 0.9rem;
}

.hp-privacy a {
  color: var(--hp-ink);
  font-weight: 700;
}

.hp-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.hp-footer {
  padding: 2.5rem 0;
  color: var(--hp-white);
  background: var(--hp-ink);
}

.hp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hp-footer img {
  display: block;
  width: 220px;
  height: auto;
}

.hp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.hp-footer a:hover,
.hp-footer a:focus-visible {
  color: var(--hp-orange);
}

@media (max-width: 900px) {
  .hp-nav-toggle {
    display: block;
  }

  .hp-nav {
    position: fixed;
    inset: 77px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--hp-ink);
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    box-shadow: 0 20px 35px rgb(0 0 0 / 12%);
  }

  .hp-nav[data-open="true"] {
    display: flex;
  }

  .hp-nav a {
    padding: 0.75rem;
  }

  .hp-language-link {
    margin-top: 0.5rem;
  }

  .hp-training-grid,
  .hp-form-layout {
    grid-template-columns: 1fr;
  }

  .hp-form-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .hp-container {
    width: min(calc(100% - 1.5rem), var(--hp-content));
  }

  .hp-brand img {
    width: 155px;
  }

  .hp-hero {
    padding-block: 4.5rem;
  }

  .hp-actions,
  .hp-footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hp-button {
    width: 100%;
  }

  .hp-choice-grid,
  .hp-choice-grid-two,
  .hp-field-grid {
    grid-template-columns: 1fr;
  }

  .hp-footer-inner,
  .hp-footer-links {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
