:root {
  --draft-navy: #0f2d52;
  --draft-teal: #00b8b0;
  --draft-orange: #ff8a00;
  --draft-white: #ffffff;
  --draft-soft: #f4f6f8;
  --draft-text: #333333;
  --draft-muted: #6c7a89;
  --draft-line: rgba(15, 45, 82, 0.1);
  --draft-shadow-lg: 0 24px 72px rgba(15, 45, 82, 0.14);
  --draft-shadow-md: 0 18px 42px rgba(15, 45, 82, 0.1);
}

body {
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 184, 176, 0.09), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(15, 45, 82, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 44%, #f4f6f8 100%);
  color: var(--draft-text);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

body::before {
  height: 144px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 72%, rgba(255, 255, 255, 0) 100%);
}

.site-shell {
  width: min(1440px, calc(100% - 28px));
  overflow-x: clip;
}

.topbar {
  padding: 14px 24px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(15, 45, 82, 0.98) 0%, rgba(13, 40, 72, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(15, 45, 82, 0.18);
  backdrop-filter: blur(12px);
  border-radius: 0 0 34px 34px;
}

.brand {
  position: relative;
  padding: 8px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.brand::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 184, 176, 0.92) 0%, rgba(255, 138, 0, 0.92) 100%);
  opacity: 0.72;
}

.topbar::before {
  background: linear-gradient(180deg, rgba(15, 45, 82, 1) 0%, rgba(13, 40, 72, 0.96) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar::after {
  left: 28px;
  right: 28px;
  background: linear-gradient(90deg, rgba(0, 184, 176, 0) 0%, rgba(0, 184, 176, 0.65) 28%, rgba(255, 138, 0, 0.7) 72%, rgba(255, 138, 0, 0) 100%);
}

.brand-full {
  height: 82px;
  width: auto;
  filter: saturate(0.98) contrast(1.02);
}

.nav {
  color: rgba(255, 255, 255, 0.86);
  gap: 1px;
  margin-left: 26px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  min-height: 44px;
  border-radius: 16px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-link.is-active,
.nav-link[aria-current="page"] {
  background: linear-gradient(180deg, rgba(0, 184, 176, 0.18) 0%, rgba(0, 184, 176, 0.12) 100%);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 184, 176, 0.32), 0 10px 22px rgba(0, 184, 176, 0.12);
}

.nav-link::after {
  background: var(--draft-teal);
}

.submenu {
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(15, 45, 82, 0.1);
  box-shadow: 0 26px 46px rgba(15, 45, 82, 0.16);
}

.submenu a {
  color: var(--draft-text);
}

.submenu a:hover {
  background: rgba(0, 184, 176, 0.08);
  color: var(--draft-navy);
}

.lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.lang-switch a,
.lang-switch span {
  color: rgba(255, 255, 255, 0.72);
}

.lang-switch .active {
  background: #ffffff;
  color: var(--draft-navy);
}

.button {
  background: linear-gradient(135deg, var(--draft-orange) 0%, #ffa42d 100%);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(255, 138, 0, 0.24);
}

.button:hover {
  box-shadow: 0 20px 40px rgba(255, 138, 0, 0.3);
}

.button-outline,
.button-ghost {
  border-color: rgba(15, 45, 82, 0.12);
}

.hero .button-ghost,
.page-hero .button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.hero .button-ghost:hover,
.page-hero .button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.topbar .button-outline {
  background: linear-gradient(135deg, var(--draft-orange) 0%, #ffa42d 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(255, 138, 0, 0.24);
}

.topbar .button-outline:hover {
  background: linear-gradient(135deg, #f37f00 0%, #ff9b1f 100%);
  box-shadow: 0 20px 40px rgba(255, 138, 0, 0.3);
}

.button-highlight {
  background: linear-gradient(135deg, var(--draft-teal) 0%, #17d4cb 100%);
  box-shadow: 0 16px 34px rgba(0, 184, 176, 0.2);
}

.hero,
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 45, 82, 0.98) 0%, rgba(11, 35, 63, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 74px rgba(15, 45, 82, 0.18);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 184, 176, 0.18), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(255, 138, 0, 0.12), transparent 22%);
  pointer-events: none;
}

.hero > *,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.page-hero-copy h1 {
  color: #ffffff;
  max-width: 12ch;
}

.hero-copy .hero-text,
.page-hero-copy p,
.hero-copy .slogan-box,
.hero-copy .quote-box {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  color: var(--draft-teal);
}

.hero-panel-visual,
.section-visual-frame,
.page-card,
.signal-card,
.case-card,
.timeline-step,
.academy-card,
.aside-panel,
.insight-card,
.quiz-card,
.contact-form,
.contact-metric,
.gateway-card,
.panel-grid article,
.feature-story-card,
.feature-preview,
.stat-box,
.metric-card {
  background: #ffffff;
  border: 1px solid var(--draft-line);
  box-shadow: var(--draft-shadow-md);
}

.panel-grid article,
.page-card,
.signal-card,
.metric-card {
  backdrop-filter: none;
}

.panel-grid article p,
.page-card p,
.signal-card p,
.metric-card p {
  color: var(--draft-muted);
}

.metric-card.accent,
.accent {
  background: linear-gradient(180deg, rgba(15, 45, 82, 0.98) 0%, rgba(0, 184, 176, 0.92) 100%);
  color: #ffffff;
}

.metric-card.accent p,
.accent p,
.metric-card.accent span,
.accent span {
  color: rgba(255, 255, 255, 0.82);
}

.section {
  background: #f4f6f8;
  border: 1px solid rgba(15, 45, 82, 0.06);
  box-shadow: 0 18px 44px rgba(15, 45, 82, 0.06);
}

.section:nth-of-type(even):not(.dark-section) {
  background: #ffffff;
}

.dark-section {
  background: linear-gradient(180deg, #0f2d52 0%, #0b2442 100%);
}

.dark-section .section-heading h2,
.dark-section .section-heading p,
.dark-section .case-card h3,
.dark-section .case-card p,
.dark-section .case-card span {
  color: #ffffff;
}

.dark-section .case-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.hero-photo-card,
.page-hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 280px;
  background: var(--draft-navy);
  box-shadow: var(--draft-shadow-lg);
}

.hero-photo-card img,
.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-card::after,
.page-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 45, 82, 0.76) 0%, rgba(15, 45, 82, 0.28) 54%, rgba(0, 184, 176, 0.18) 100%);
}

.hero-photo-overlay,
.page-hero-photo-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(15, 45, 82, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-photo-overlay .eyebrow,
.page-hero-photo-overlay .eyebrow {
  color: var(--draft-teal);
}

.hero-photo-overlay strong,
.page-hero-photo-overlay strong {
  display: block;
  margin: 8px 0 4px;
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.3;
}

.hero-photo-overlay p,
.page-hero-photo-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.ticker-track span,
.filter,
.service-tabs button,
.start-guide-topics button,
.quiz-categories button,
.service-tabs .active,
.filter.active,
.start-guide-topics .active,
.quiz-categories .active {
  border-radius: 999px;
}

.filter.active,
.service-tabs .active,
.start-guide-topics .active,
.quiz-categories .active {
  background: var(--draft-navy);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 45, 82, 0.18);
}

.content-table thead {
  background: rgba(15, 45, 82, 0.05);
}

.content-table th {
  color: var(--draft-navy);
}

.content-table td {
  color: var(--draft-text);
}

.footer {
  background: linear-gradient(180deg, #0f2d52 0%, #0b2442 100%);
  color: rgba(255, 255, 255, 0.8);
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
}

.footer a:hover,
.gateway-card a,
.feature-story-link,
.insight-card a {
  color: var(--draft-teal);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid rgba(15, 45, 82, 0.12);
}

@media (max-width: 980px) {
  .hero-photo-card,
  .page-hero-photo {
    min-height: 240px;
  }

  .site-shell {
    width: min(100%, calc(100% - 12px));
  }
}

.academy-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.academy-library-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 246, 248, 0.94) 100%);
  border: 1px solid rgba(15, 45, 82, 0.08);
  box-shadow: 0 18px 40px rgba(15, 45, 82, 0.08);
}

.academy-library-head h3 {
  margin: 10px 0 10px;
  color: var(--draft-navy);
  font-size: 1.4rem;
  line-height: 1.25;
}

.academy-library-head p {
  margin: 0;
  color: var(--draft-muted);
}

.academy-level-links {
  display: grid;
  gap: 14px;
}

.academy-level-link {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(15, 45, 82, 0.08);
  box-shadow: 0 10px 24px rgba(15, 45, 82, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.academy-level-link strong {
  color: var(--draft-navy);
  font-size: 1rem;
}

.academy-level-link span {
  color: var(--draft-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.academy-level-link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 184, 176, 0.28);
  box-shadow: 0 16px 32px rgba(15, 45, 82, 0.09);
}

@media (max-width: 980px) {
  .academy-library-grid {
    grid-template-columns: 1fr;
  }
}
