:root {
  --navy: #0d1b2a;
  --navy-2: #162331;
  --ink: #17202b;
  --muted: #5d6874;
  --line: #e5dfd4;
  --gold: #c9a05a;
  --gold-text: #7a5520;
  --gold-2: #dbb87a;
  --cream: #faf8f4;
  --paper: #ffffff;
  --mist: #f3f0ea;
  --blue: #5c7899;
  --coral: #d98b70;
  --green: #4f8a6a;
  --shadow: 0 24px 80px rgba(13, 27, 42, 0.14);
  --nav-height: 60px;
  --nav-offset: 72px;
  --font: "Hanken Grotesk", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Hanken Grotesk", "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 80%;
  scroll-padding-top: var(--nav-offset);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  font-size: 0.92rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.7rem 0.9rem;
  border-radius: 7px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--nav-height);
  padding: 0 4vw;
  background: rgba(250, 248, 244, 0.92);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5em;
  color: var(--navy);
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  background: #000 url("/components/ladder4.png?v=1") center / cover no-repeat;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.85rem, 2.2vw, 2.1rem);
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1;
}

.nav-cta,
.button.primary {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.nav-language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 40px;
}

.nav-language-control::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  color: var(--navy);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.nav-language-select {
  appearance: none;
  min-height: 40px;
  width: 7.8rem;
  padding: 0 1.25rem 0 1.45rem;
  border: none;
  border-radius: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230d1b2a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 10px auto no-repeat;
  color: var(--navy);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1;
}

.nav-language-select:focus {
  outline: 2px solid rgba(201, 160, 90, 0.45);
  outline-offset: 3px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  border: 1px solid rgba(13, 27, 42, 0.16);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - var(--nav-height)));
  display: grid;
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4.2rem) 4vw;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: grid;
  place-items: center;
  opacity: 0.2;
}

.hero-media img {
  width: min(880px, 86vw);
  max-height: 80vh;
  object-fit: contain;
  filter: saturate(1.05);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 42%, rgba(0, 0, 0, 0.72) 56%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 0 42%, rgba(0, 0, 0, 0.72) 56%, transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(250, 248, 244, 0.98) 0%, rgba(250, 248, 244, 0.88) 42%, rgba(250, 248, 244, 0.66) 100%),
    radial-gradient(circle at 72% 34%, rgba(201, 160, 90, 0.16), transparent 34%);
}

.hero-aurora {
  position: absolute;
  inset: -15% -10%;
  z-index: -1;
  pointer-events: none;
  filter: blur(24px);
  opacity: 0.88;
  overflow-x: clip;
  overflow-y: visible;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform, opacity;
}

.aurora-blob.a {
  left: 56%;
  top: 34%;
  width: min(88vw, 1320px);
  height: min(110vh, 1300px);
  background: radial-gradient(closest-side, rgba(219, 184, 122, 0.34), transparent 72%);
  animation: aurora-a 22s ease-in-out infinite;
}

.aurora-blob.b {
  left: 40%;
  top: 28%;
  width: min(64vw, 880px);
  height: min(95vh, 1080px);
  background: radial-gradient(closest-side, rgba(92, 120, 153, 0.24), transparent 72%);
  animation: aurora-b 16s ease-in-out infinite;
}

.aurora-blob.c {
  left: 74%;
  top: 52%;
  width: min(62vw, 860px);
  height: min(60vh, 700px);
  background: radial-gradient(closest-side, rgba(217, 139, 112, 0.2), transparent 72%);
  animation: aurora-c 18s ease-in-out infinite;
}

@keyframes aurora-a {
  0%, 100% { transform: translate(-50%, -50%) translate(-13%, -3%) scale(0.82, 1); opacity: 0.82; }
  50% { transform: translate(-50%, -50%) translate(11%, 4%) scale(1.38, 1.06); opacity: 1; }
}

@keyframes aurora-b {
  0%, 100% { transform: translate(-50%, -50%) translate(15%, 3%) scale(1.32, 0.96); opacity: 0.68; }
  50% { transform: translate(-50%, -50%) translate(-17%, -5%) scale(0.84, 1.08); opacity: 1; }
}

@keyframes aurora-c {
  0%, 100% { transform: translate(-50%, -50%) translate(-15%, 5%) scale(0.88, 1.04); opacity: 0.76; }
  50% { transform: translate(-50%, -50%) translate(16%, -4%) scale(1.42, 0.94); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob {
    animation: none;
  }
}

.hero-content {
  position: relative;
  width: min(660px, 100%);
}

.hero-ladder-mark {
  position: absolute;
  top: calc(clamp(3rem, 6vw, 5.2rem) - 0.5in);
  right: calc(100% + 1.75rem - 0.1875in);
  width: clamp(170px, 18vw, 270px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 4.35rem);
  line-height: 0.98;
  max-width: 11ch;
}

h2 {
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.35vw, 2.65rem);
  line-height: 1.02;
  margin-bottom: 0.85rem;
}

h3 {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.hero-copy {
  width: min(560px, 100%);
  color: #33414f;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-signup {
  position: relative;
  z-index: 1;
  justify-self: start;
  width: min(100%, 390px);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(13, 27, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-signup-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-signup h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 1rem;
}

.hero-signup-form,
.hero-signin-form {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.hero-signin-form {
  margin-top: 0.7rem;
}

.hero-signin-form[hidden],
.hero-signed-in[hidden] {
  display: none;
}

.hero-signup-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(13, 27, 42, 0.16);
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  font: inherit;
}

.hero-signup-input:focus {
  outline: none;
  border-color: var(--gold-text);
  box-shadow: 0 0 0 3px rgba(201, 160, 90, 0.2);
}

.hero-signup-input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.hero-signup-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--navy);
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.hero-signup-btn:hover {
  filter: brightness(1.06);
}

.hero-signup-msg {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-signup-msg[data-state="error"] {
  color: #b14d35;
}

.hero-signup-msg[data-state="ok"] {
  color: var(--green);
}

.hero-signup-toggle {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-text);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.hero-signup-toggle:hover,
.hero-workspace-link:hover {
  text-decoration: underline;
}

.hero-signed-in {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  color: var(--muted);
}

.hero-signed-in strong,
.hero-workspace-link {
  color: var(--navy);
}

.hero-signed-in strong {
  overflow-wrap: anywhere;
}

.hero-workspace-link {
  font-weight: 900;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.section,
.final-cta {
  scroll-margin-top: var(--nav-offset);
}

.trust-strip span {
  display: grid;
  gap: 0.08rem;
  align-content: center;
  justify-items: center;
  min-height: 66px;
  padding: 1rem;
  background: #fff;
  color: var(--navy);
  text-align: center;
  font-weight: 800;
}

.trust-strip strong,
.trust-strip small {
  display: block;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.08;
}

.trust-strip small {
  max-width: 28ch;
  color: var(--muted);
}

.trust-strip--dark {
  background: rgba(219, 184, 122, 0.28);
  border-block-color: rgba(219, 184, 122, 0.28);
}

.trust-strip--dark span {
  background: rgba(255, 255, 255, 0.07);
  color: #f1ece2;
}

.trust-strip--dark small {
  color: #f8f3e8;
}

.section {
  padding: clamp(2.7rem, 5vw, 4.5rem) 4vw;
}

.page-section {
  display: grid;
  gap: clamp(1.5rem, 2.6vw, 2.25rem);
  border-top: 1px solid rgba(13, 27, 42, 0.06);
}

.page-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-copy {
  max-width: 720px;
}

.section-copy.centered {
  margin-inline: auto;
  text-align: center;
  margin-bottom: 0.25rem;
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.problem-grid,
.steps,
.outcome-list,
.pathway-grid,
.employer-grid,
.standards-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.problem-grid {
  grid-template-columns: 1fr;
}

.problem-grid article,
.steps article,
.outcome-list article,
.pathway-grid a,
.employer-grid article,
.standards-grid article,
.faq-grid article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 12px 36px rgba(13, 27, 42, 0.05);
}

.problem-grid p,
.steps p,
.outcome-list p,
.pathway-grid p,
.employer-grid p,
.standards-grid p,
.faq-grid p,
.proof-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.pathways,
.faq {
  background: var(--mist);
}

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

.employers h2,
.employers h3 {
  color: #fff;
}

.how .eyebrow,
.proof .eyebrow,
.employers .eyebrow {
  color: #f8f3e8;
}

.employers .outcomes p,
.employers .employer-grid p,
.employers .outcome-list p {
  color: #f1ece2;
}

.employers .outcome-list article,
.employers .employer-grid article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

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

.how h2,
.how h3 {
  color: #fff;
}

.how .problem-grid article,
.how .steps article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.how .problem-grid p,
.how .steps p {
  color: #f1ece2;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.steps span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

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

.employer-grid span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.standards {
  background: #fff;
}

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

.standards-grid article {
  min-height: 172px;
}

.outcomes {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.outcome-list {
  grid-template-columns: 1fr;
}

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

.proof h2,
.proof h3 {
  color: #fff;
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 5vw, 4rem);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 3.2vw, 2.4rem);
  border: 1px solid rgba(219, 184, 122, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 10%, rgba(219, 184, 122, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.04);
}

.proof-card p {
  color: #f1ece2;
}

.proof-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.proof-list div {
  padding: 1rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-list dt {
  color: var(--gold-2);
  font-weight: 900;
}

.proof-list dd {
  margin: 0.2rem 0 0;
  color: #f1ece2;
}

.pathway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.pathway-grid a {
  min-height: 145px;
}

.pathway-grid a:hover {
  border-color: rgba(201, 160, 90, 0.55);
  transform: translateY(-2px);
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1100px, 100%);
  margin: 0 auto;
}

.faq-grid h3 {
  margin-bottom: 0.7rem;
}

.policy-docs {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(13, 27, 42, 0.05);
}

.policy-docs h3 {
  margin-bottom: 0.75rem;
}

.policy-docs ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  margin: 0;
  padding-left: 1.2rem;
}

.policy-docs a {
  color: var(--gold-text);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.final-cta {
  padding: clamp(1.5rem, 3.6vw, 3rem);
  border-radius: 8px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(201, 160, 90, 0.16), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(92, 120, 153, 0.16), transparent 30%),
    #ffffff;
}

.final-cta h2 {
  width: min(820px, 100%);
  margin-inline: auto;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  padding: 1.5rem 4vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span:first-child {
  color: var(--navy);
  font-weight: 900;
}

@media (max-width: 900px) {
  :root {
    --nav-offset: 70px;
  }

  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-ladder-mark {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(250, 248, 244, 0.98) 0%, rgba(250, 248, 244, 0.86) 100%),
      radial-gradient(circle at 50% 10%, rgba(201, 160, 90, 0.18), transparent 34%);
  }

  .problem,
  .outcomes,
  .proof-card {
    grid-template-columns: 1fr;
  }

  .steps,
  .pathway-grid,
  .employer-grid,
  .standards-grid,
  .faq-grid,
  .policy-docs ul,
  .trust-strip {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  :root {
    --nav-height: 58px;
    --nav-offset: 66px;
  }

  .site-nav {
    padding-inline: 1rem;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
  }

  .hero {
    padding-inline: 1rem;
  }

  .hero-signup-form,
  .hero-signin-form {
    flex-direction: column;
  }

  .hero-signup-btn {
    width: 100%;
  }

  .section,
  .final-cta {
    padding-inline: 1rem;
  }
}
