:root {
  --bg: #08111f;
  --bg-soft: #101c31;
  --panel: rgba(9, 18, 34, 0.8);
  --panel-strong: rgba(14, 28, 51, 0.92);
  --line: rgba(150, 182, 255, 0.16);
  --text: #edf3ff;
  --muted: #b2c2df;
  --accent: #4dd1ff;
  --accent-strong: #1f8eff;
  --warning: #ffc64d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--warning), var(--accent), #6effc4);
  box-shadow: 0 0 18px rgba(77, 209, 255, 0.35);
}

#sobre,
#hierarquia,
#ingresso,
#ts3,
#setores-especiais,
#alto-comando,
#comando-policial,
#supervisao,
#operacional,
#formacao,
#prf,
#cot {
  scroll-margin-top: 118px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 142, 255, 0.22), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(77, 209, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #08111f 0%, #060b14 100%);
  font-family: "Space Grotesk", sans-serif;
}

.site-badge-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-badge-bg::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(76vw, 980px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -47%);
  background: url("assets/dpf-logo.svg") center/contain no-repeat;
  opacity: 0.12;
  filter: grayscale(0.08) blur(0.2px) drop-shadow(0 0 52px rgba(77, 209, 255, 0.26));
}

.site-badge-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(8, 17, 31, 0.18), rgba(8, 17, 31, 0.72) 62%),
    linear-gradient(180deg, rgba(6, 11, 20, 0.18), rgba(6, 11, 20, 0.32));
}

.js-enabled body.is-loading {
  overflow: hidden;
}

.js-enabled body.is-loading .page-shell {
  opacity: 0;
  transform: translateY(20px) scale(0.99);
  filter: blur(6px);
  pointer-events: none;
}

.js-enabled body.is-loaded .page-shell {
  opacity: 1;
  transform: none;
  filter: none;
}

.loadscreen {
  display: none;
}

.js-enabled .loadscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 14%, rgba(31, 142, 255, 0.28), transparent 45%),
    radial-gradient(circle at 78% 20%, rgba(77, 209, 255, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(2, 8, 18, 0.98), rgba(4, 15, 30, 0.98));
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loadscreen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loadscreen-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 95%);
  opacity: 0.5;
  pointer-events: none;
}

.loadscreen-core {
  position: relative;
  width: min(620px, 100%);
  padding: 34px 28px;
  border: 1px solid rgba(170, 204, 255, 0.22);
  border-radius: 30px;
  background: linear-gradient(170deg, rgba(7, 18, 36, 0.95), rgba(5, 14, 28, 0.94));
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.52),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  text-align: center;
  overflow: hidden;
}

.loadscreen-core::before {
  content: "";
  position: absolute;
  inset: -120% auto auto -40%;
  width: 60%;
  height: 340%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(12deg);
  animation: loadscan 2.6s ease-in-out infinite;
  pointer-events: none;
}

.loadscreen-logo {
  width: 96px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(77, 209, 255, 0.35));
  animation: loadpulse 1.8s ease-in-out infinite;
}

.loadscreen-kicker {
  margin: 12px 0 4px;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.loadscreen-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.loadscreen-text {
  margin: 12px auto 20px;
  max-width: 44ch;
  color: var(--muted);
}

.loadscreen-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.loadscreen-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--warning), var(--accent), #6effc4);
  box-shadow: 0 0 18px rgba(77, 209, 255, 0.42);
  transition: width 180ms linear;
}

.loadscreen-percent {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: rgba(237, 243, 255, 0.82);
}

.loadscreen-checklist {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  text-align: left;
}

.loadscreen-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

.loadscreen-checklist li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(77, 209, 255, 0.5);
  animation: dotpulse 1.2s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: auto -12% -18% auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 198, 77, 0.16), transparent 65%);
  filter: blur(12px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 92%);
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 520ms ease;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 14, 27, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 56px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}

.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(6, 16, 33, 0.88), rgba(8, 22, 45, 0.75));
}

.lang-select-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lang-select {
  min-width: 162px;
  padding: 8px 28px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.8) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color-scheme: dark;
}

.lang-select:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-select:focus-visible {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(255, 198, 77, 0.25);
}

.lang-select option {
  color: var(--text);
  background: #0a162b;
}

.topnav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.topnav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.topnav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.brand-name,
.brand-subtitle,
.eyebrow,
.card-label,
.card-kicker {
  margin: 0;
}

.brand-name {
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
}

.topbar-link,
.cta-primary,
.cta-secondary,
.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.topbar-link {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  padding: 52px 0 26px;
}

.hero-copy,
.hero-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 198, 77, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(77, 209, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-logo {
  width: clamp(120px, 18vw, 170px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.34));
}

.hero-logo-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-kicker {
  margin: 0;
  color: var(--warning);
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.card-kicker,
.card-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  line-height: 1.02;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin-top: 14px;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
}

.hero-text {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hero-metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-metric strong,
.hero-metric span {
  display: block;
}

.hero-metric strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-metric span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cta-primary,
.card-button {
  color: #04111d;
  font-weight: 700;
  background: linear-gradient(135deg, var(--warning), #fff0b0);
  box-shadow: 0 12px 30px rgba(255, 198, 77, 0.28);
}

.cta-primary {
  padding: 16px 26px;
  border-radius: 999px;
}

.cta-secondary {
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
}

.command-marquee {
  margin-top: 16px;
  padding: 14px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding-left: 20px;
  animation: marqueeMove 26s linear infinite;
}

.marquee-track span {
  position: relative;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 28px;
  border-radius: 999px;
  background: var(--warning);
  vertical-align: middle;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  background:
    linear-gradient(160deg, rgba(31, 142, 255, 0.18), transparent 48%),
    var(--panel-strong);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "DPF";
  position: absolute;
  right: -8px;
  bottom: -22px;
  color: rgba(255, 255, 255, 0.04);
  font-family: "Oswald", sans-serif;
  font-size: 7rem;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.hero-card h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero-card p {
  margin: 16px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.status-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7fff9c, #21d96d);
  box-shadow: 0 0 14px rgba(69, 255, 147, 0.5);
}

.card-button {
  width: fit-content;
  padding: 15px 22px;
  border-radius: 18px;
}

.command-strip {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  margin-top: 14px;
}

.command-panel,
.command-links {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.command-panel h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.command-panel p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.command-links {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(155deg, rgba(77, 209, 255, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.03);
}

.command-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.command-link::after {
  content: "->";
  color: var(--warning);
  font-weight: 700;
}

.command-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.manifesto-section {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 198, 77, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.manifesto-lead h2 {
  margin-top: 12px;
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.manifesto-lead p:last-child {
  max-width: 64ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.manifesto-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.manifesto-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #071322;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--warning), #fff0b0);
}

.manifesto-card h3 {
  margin-top: 16px;
  font-size: 1.7rem;
}

.manifesto-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sectors-section {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(77, 209, 255, 0.09), transparent 24%),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.sectors-header h2 {
  margin-top: 12px;
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.sectors-header p:last-child {
  max-width: 66ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.sector-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.16);
}

.sector-prf {
  background:
    linear-gradient(155deg, rgba(110, 255, 196, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.03);
}

.sector-cot {
  background:
    linear-gradient(155deg, rgba(255, 125, 125, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.03);
}

.sector-admin {
  background:
    linear-gradient(155deg, rgba(77, 209, 255, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.03);
}

.sector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sector-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #071322;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--warning), #fff0b0);
}

.sector-label {
  margin: 0;
  color: var(--muted);
  text-align: right;
  font-size: 0.88rem;
}

.sector-card h3 {
  margin-top: 18px;
  font-size: 1.8rem;
}

.sector-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sector-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--text);
  text-decoration: none;
}

.sector-link::after {
  content: "->";
  color: var(--warning);
  font-weight: 700;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.hierarchy-section {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(31, 142, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 198, 77, 0.12), transparent 24%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.hierarchy-header p:not(.eyebrow) {
  max-width: 68ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.hierarchy-header h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.hierarchy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hierarchy-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.hierarchy-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.hierarchy-group {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.group-title h3 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.group-meta {
  margin: 10px 0 0;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hierarchy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.hierarchy-grid-single {
  grid-template-columns: 1fr;
}

.role-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.emphasis-card {
  background:
    linear-gradient(160deg, rgba(77, 209, 255, 0.12), transparent 52%),
    rgba(255, 255, 255, 0.04);
}

.role-rank,
.role-code,
.role-summary {
  margin: 0;
}

.role-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.role-headings {
  min-width: 0;
}

.role-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 10px;
  border-radius: 18px;
  color: #04111d;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.icon-command {
  background: linear-gradient(135deg, #ffc64d, #fff0b0);
}

.icon-admin {
  background: linear-gradient(135deg, #94f0ff, #e2fcff);
}

.icon-prf {
  background: linear-gradient(135deg, #85ffb5, #e0ffe8);
}

.icon-cot {
  background: linear-gradient(135deg, #ff9f7d, #ffe0d2);
}

.icon-support {
  background: linear-gradient(135deg, #d1b3ff, #f0e5ff);
}

.icon-supervision {
  background: linear-gradient(135deg, #7cb9ff, #d9ebff);
}

.icon-ops {
  background: linear-gradient(135deg, #ff7d7d, #ffd4d4);
}

.icon-training {
  background: linear-gradient(135deg, #9be18d, #e6ffd8);
}

.role-rank {
  font-family: "Oswald", sans-serif;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.role-code {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
}

.role-summary {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.role-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.role-list li {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.role-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 198, 77, 0.18);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 198, 77, 0.08);
  line-height: 1.6;
}

.division-tabs-section {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(77, 209, 255, 0.16), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(255, 198, 77, 0.14), transparent 24%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.division-tabs-header p:not(.eyebrow) {
  max-width: 64ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.division-tabs-header h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
}

.division-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.division-tab {
  min-width: 128px;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.division-tab:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
}

.division-tab.is-active {
  color: #04111d;
  background: linear-gradient(135deg, var(--warning), #fff0b0);
  box-shadow: 0 12px 24px rgba(255, 198, 77, 0.24);
}

.division-panels {
  margin-top: 20px;
}

.division-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.division-panel h3 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.division-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.manifesto-card:hover,
.info-card:hover,
.role-card:hover,
.division-panel:hover,
.step-card:hover,
.tutorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.16);
}

.steps-section {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 198, 77, 0.16), transparent 24%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.steps-header p:not(.eyebrow) {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.steps-header h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.step-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #04111d;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--warning), #fff0b0);
}

.step-card h3 {
  margin-top: 18px;
  font-size: 1.8rem;
}

.step-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.steps-cta {
  margin-top: 24px;
}

.tutorial-section {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at left top, rgba(77, 209, 255, 0.14), transparent 26%),
    var(--panel);
  box-shadow: var(--shadow);
}

.tutorial-text,
.tutorial-note p {
  max-width: 66ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.tutorial-copy h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.tutorial-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.tutorial-card h3 {
  margin-top: 18px;
  font-size: 1.7rem;
}

.tutorial-card p {
  margin: 14px 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.tutorial-note {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 198, 77, 0.18);
  border-radius: 20px;
  background: rgba(255, 198, 77, 0.08);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.footer-title,
.footer-text {
  margin: 0;
}

.footer-title {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.footer-text {
  max-width: 58ch;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-credit {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.info-card {
  padding: 28px;
}

.info-card h3 {
  margin-top: 12px;
  font-size: 1.8rem;
}

.info-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.accent-card {
  background:
    linear-gradient(160deg, rgba(77, 209, 255, 0.15), transparent 48%),
    var(--panel-strong);
}

.topbar-link:hover,
.cta-primary:hover,
.cta-secondary:hover,
.card-button:hover {
  transform: translateY(-2px);
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes loadscan {
  0% {
    transform: translateX(-200%) rotate(12deg);
  }
  100% {
    transform: translateX(300%) rotate(12deg);
  }
}

@keyframes loadpulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

@keyframes dotpulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

.topbar-link:hover,
.cta-secondary:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.cta-primary:hover,
.card-button:hover {
  box-shadow: 0 18px 36px rgba(255, 198, 77, 0.35);
}

@media (max-width: 920px) {
  .hero,
  .command-strip,
  .manifesto-grid,
  .sectors-grid,
  .info-grid,
  .hierarchy-grid,
  .steps-grid,
  .tutorial-grid {
    grid-template-columns: 1fr;
  }

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

  .topnav,
  .site-footer {
    width: 100%;
  }

  .lang-select-wrap {
    margin-left: auto;
  }

  h1 {
    max-width: none;
  }

  .role-top {
    flex-direction: column;
  }

  .hero-logo-wrap,
  .site-footer {
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .site-badge-bg::before {
    width: min(94vw, 680px);
    transform: translate(-50%, -44%);
    opacity: 0.1;
  }

  .loadscreen-core {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .loadscreen-logo {
    width: 80px;
    height: 94px;
  }

  .loadscreen-kicker {
    letter-spacing: 0.12em;
  }

  .loadscreen-checklist li {
    font-size: 0.84rem;
  }

  .page-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 10px;
  }

  .topbar,
  .hero-copy,
  .hero-card,
  .info-card,
  .hierarchy-section,
  .role-card,
  .steps-section,
  .tutorial-section,
  .step-card {
    border-radius: 22px;
  }

  .hero-copy,
  .hero-card,
  .info-card,
  .hierarchy-section,
  .steps-section,
  .tutorial-section {
    padding: 24px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-logo {
    width: 48px;
    height: 58px;
  }

  .topnav {
    flex-wrap: wrap;
    width: 100%;
  }

  .lang-select-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .lang-select {
    width: 100%;
    min-width: 0;
  }

  .division-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .division-tab {
    flex: 1;
    min-width: 0;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary,
  .card-button,
  .topbar-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loadscreen-core::before,
  .loadscreen-logo,
  .loadscreen-checklist li::before {
    animation: none;
  }

  .loadscreen,
  .page-shell,
  .loadscreen-progress-bar {
    transition: none;
  }
}
