:root {
  --bg: #f6faf9;
  --panel: #ffffff;
  --ink: #0f1f1d;
  --muted: #61736f;
  --line: #dfe9e6;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --navy: #243c7a;
  --navy-dark: #172554;
  --green: #4f9f67;
  --soft-teal: #e7f4f1;
  --soft-blue: #eef3ff;
  --soft-green: #edf7ef;
  --warning: #fff8ed;
  --danger: #a6342a;
  --soft-danger: #fff2f0;
  --shadow: 0 24px 70px rgba(15, 31, 29, 0.1);
  --shadow-soft: 0 16px 46px rgba(15, 31, 29, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 4%, rgba(15, 118, 110, 0.16), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(36, 60, 122, 0.13), transparent 30%),
    linear-gradient(180deg, #f7fbfa 0%, #f4f8f7 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
iframe:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 60, 122, 0.62);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--navy-dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

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

.page-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 36px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 208px;
  max-width: min(48vw, 208px);
  height: auto;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

nav > a,
nav > span:not(.lang-switch):not([data-digitaltr-primary-cta]) {
  color: var(--muted);
  text-decoration: none;
  font-weight: 780;
  font-size: 0.94rem;
}

nav > a:hover {
  color: var(--teal-dark);
}

nav details {
  position: relative;
}

nav summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 780;
}

nav summary:hover,
nav details[open] > summary {
  color: var(--teal-dark);
}

.nav-programs-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  left: 50%;
  width: 250px;
  transform: translateX(-50%);
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav-programs-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 740;
  text-decoration: none;
}

.nav-programs-panel a:hover,
.nav-programs-panel a:focus-visible {
  background: var(--soft-teal);
  color: var(--teal-dark);
}

nav [data-contact-link] a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 780;
  text-decoration: none;
}

nav [data-contact-link] a:hover {
  color: var(--teal-dark);
}

[data-contact-link],
[data-digitaltr-primary-cta] {
  display: contents;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 820;
  line-height: 1.2;
  text-decoration: none;
}

a.nav-cta:hover {
  background: var(--teal-dark);
  color: #fff;
}

nav > a.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal-dark);
}

nav > a.nav-contact:hover {
  border-color: var(--teal);
  background: var(--soft-teal);
  color: var(--teal-dark);
}

.nav-cta--inactive {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  cursor: default;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(15, 31, 29, 0.05);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.lang-switch a.active {
  background: var(--teal);
  color: #fff;
}

.lang-switch a:not(.active):hover {
  background: var(--soft-teal);
  color: var(--teal-dark);
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
  align-items: center;
  padding: 58px 0 44px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 6.2vw, 5.6rem);
  line-height: 0.97;
  letter-spacing: -0.072em;
}

.lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.27rem);
  line-height: 1.65;
}

.window-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 22px;
  padding: 8px 13px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 840;
}

.hero-actions,
.card-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 860;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

a.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(15, 118, 110, 0.24);
  background: transparent;
  color: var(--teal-dark);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 249, 0.86));
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 999px;
  content: "";
}

.hero-visual::before {
  top: -90px;
  right: -90px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 68%);
}

.hero-visual::after {
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(36, 60, 122, 0.14), transparent 70%);
}

.tree-bg {
  position: absolute;
  z-index: 0;
  right: -110px;
  bottom: -120px;
  width: min(680px, 92%);
  height: auto;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}

.visual-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hub-card {
  grid-column: 1 / -1;
  min-height: 164px;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--teal-dark), var(--navy));
  box-shadow: 0 20px 54px rgba(23, 37, 84, 0.22);
  color: #fff;
}

.hub-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-card strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hub-card p {
  max-width: 660px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.mini-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.mini-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.mini-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.metric-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.visual-metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.visual-metric strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.45rem;
  letter-spacing: -0.055em;
}

.visual-metric span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

main > section {
  margin-top: 44px;
  scroll-margin-top: 24px;
}

.section-title {
  margin-bottom: 22px;
  text-align: center;
}

.section-title h2,
.content-card h2,
.position-card h2,
.cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.section-title p {
  max-width: 800px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.content-card,
.audience-card,
.service-card,
.logic-card,
.application-shell,
.funding-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.content-card {
  padding: 34px;
  border-radius: 30px;
}

.stack-top {
  margin-top: 18px;
}

.content-card p,
.audience-card p,
.service-card p,
.funding-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.content-card p:first-of-type {
  margin-top: 18px;
}

.content-card p:last-child,
.audience-card p:last-child,
.service-card p:last-child,
.funding-panel p:last-child {
  margin-bottom: 0;
}

.two-column,
.audience-grid,
.service-grid,
.preparation-grid,
.role-grid {
  display: grid;
  gap: 18px;
}

.two-column,
.preparation-grid,
.role-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.audience-card,
.service-card {
  padding: 28px;
  border-radius: 26px;
}

.audience-card h3,
.service-card h3,
.logic-card h3,
.application-notice h3,
.preparation-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

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

.service-card {
  min-height: 230px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-weight: 920;
}

.service-card p {
  margin: 0;
}

.inline-callout {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 22px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-weight: 720;
  line-height: 1.6;
}

.logic-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.logic-card {
  min-height: 270px;
  padding: 24px;
  border-radius: 24px;
}

.logic-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-weight: 920;
}

.logic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.preparation-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 3px solid var(--soft-teal);
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.document-note {
  display: flex;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(36, 60, 122, 0.18);
  border-radius: 28px;
  background: var(--soft-blue);
  color: var(--navy-dark);
  font-size: 1.05rem;
  font-weight: 720;
  line-height: 1.65;
}

.application-shell {
  min-height: 260px;
  padding: 0;
  border-radius: 30px;
  overflow: hidden;
}

.position-card {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy-dark), var(--teal-dark));
  box-shadow: var(--shadow);
  color: #fff;
}

.position-card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.position-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.position-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 820;
}

.role-details {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.authority-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 4px solid var(--navy);
  border-radius: 0 14px 14px 0;
  background: var(--soft-blue);
  color: var(--navy-dark);
  line-height: 1.6;
}

.cta {
  padding: 38px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(36, 60, 122, 0.12));
  text-align: center;
}

.cta p {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

.funding-panel {
  padding: 28px 30px;
  border-radius: 24px;
}

.funding-panel strong {
  display: block;
  color: var(--navy-dark);
  font-size: 1.08rem;
  line-height: 1.45;
}

.funding-panel p {
  margin: 10px 0 0;
  font-size: 0.93rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

footer a {
  color: var(--teal-dark);
  font-weight: 820;
  text-decoration: none;
}

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


.application-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.application-route-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.application-route-card--program {
  border-color: rgba(36, 60, 122, 0.2);
  background: linear-gradient(145deg, rgba(238, 243, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.application-route-card--direct {
  border-color: rgba(15, 118, 110, 0.22);
  background: linear-gradient(145deg, rgba(231, 244, 241, 0.96), rgba(255, 255, 255, 0.96));
}

.application-route-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.application-route-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.route-badge {
  align-self: flex-start;
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.route-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.route-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.route-list li::before {
  position: absolute;
  top: 0.55em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.application-route-card .card-actions {
  margin-top: auto;
  padding-top: 26px;
}

.hero--compact {
  min-height: auto;
  grid-template-columns: minmax(0, 860px);
  padding: 56px 0 20px;
}

.hero--compact h1 {
  font-size: clamp(2.55rem, 5.7vw, 5rem);
}

@media (max-width: 700px) {
  .application-route-grid {
    grid-template-columns: 1fr;
  }

  .application-route-card {
    padding: 26px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    gap: 14px;
  }
}

@media (max-width: 1040px) {
  .hero,
  .two-column,
  .preparation-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .logic-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(calc(100% - 28px), 1160px);
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    gap: 12px;
  }

  nav details {
    position: static;
  }

  .nav-programs-panel {
    position: static;
    width: min(100%, 300px);
    margin-top: 10px;
    transform: none;
  }

  .nav-cta {
    padding: 9px 13px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 34px;
  }

  .hero-visual {
    min-height: auto;
    padding: 20px;
    border-radius: 28px;
  }

  .visual-grid,
  .metric-row,
  .logic-strip,
  .audience-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .content-card,
  .audience-card,
  .service-card,
  .logic-card,
  .preparation-card,
  .document-note,
  .position-card,
  .role-details,
  .cta,
  .funding-panel {
    padding: 26px 20px;
  }

  .brand-logo {
    width: 184px;
    max-width: 72vw;
  }

  .tree-bg {
    right: -140px;
    bottom: -90px;
    width: 520px;
    opacity: 0.045;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 2.55rem;
  }

  nav {
    gap: 9px;
  }

  .lang-switch a {
    min-width: 34px;
    padding: 0 8px;
  }
}
