:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5d6677;
  --line: #dce2ea;
  --paper: #ffffff;
  --soft: #f3f7f6;
  --tech: #2f73d6;
  --teal: #0d8c7d;
  --saffron: #df8a19;
  --red: #bd3b3b;
  --green: #23835a;
  --shadow: 0 22px 60px rgba(23, 32, 51, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 226, 234, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--tech), var(--teal));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

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

.site-nav .nav-cta {
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section-pad {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(32px, 7vw, 84px);
  min-height: calc(100vh - 76px);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: 34px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 6vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 4.25rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text,
.section-heading p,
.martial-section p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.btn.primary {
  color: #ffffff;
  background: var(--teal);
}

.btn.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: 5% -7% -6% 8%;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(47, 115, 214, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(223, 138, 25, 0.18), transparent 45%),
    var(--soft);
  border-radius: 8px;
}

.hero-media img {
  width: min(100%, 620px);
  margin-inline: auto;
  filter: drop-shadow(0 24px 36px rgba(23, 32, 51, 0.14));
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px) 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-strip div {
  padding: 22px;
  background: #ffffff;
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 640px;
  margin-bottom: 0;
}

.section-heading p {
  margin: 18px 0 0;
}

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

.service-card {
  min-height: 330px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.05);
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 800;
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 8px;
}

.icon.tech {
  background: var(--tech);
}

.icon.events {
  background: var(--saffron);
}

.icon.martial {
  background: var(--red);
}

.muted {
  background: var(--soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.program-panel {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  font-weight: 800;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.tab.is-active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.program-list {
  display: grid;
  gap: 12px;
}

.program-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.program-item[hidden] {
  display: none;
}

.program-item span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.martial-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.martial-visual {
  min-height: 460px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(189, 59, 59, 0.14), transparent 42%),
    linear-gradient(315deg, rgba(13, 140, 125, 0.16), transparent 40%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mat {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 412px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(135deg, #26364d, #101827);
  background-size: 42px 42px, 42px 42px, auto;
  border-radius: 8px;
}

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

.mat::before {
  width: 170px;
  height: 170px;
  background: rgba(189, 59, 59, 0.72);
}

.mat::after {
  width: 92px;
  height: 92px;
  background: #ffffff;
}

.mat span {
  position: absolute;
  z-index: 2;
  display: block;
  width: 190px;
  height: 14px;
  background: var(--saffron);
  border-radius: 999px;
}

.mat span:nth-child(1) {
  transform: rotate(34deg) translateY(-36px);
}

.mat span:nth-child(2) {
  background: var(--teal);
  transform: rotate(-34deg) translateY(36px);
}

.mat span:nth-child(3) {
  width: 104px;
  background: #ffffff;
  transform: rotate(90deg);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 20px;
  height: 20px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  content: "";
  background: var(--teal);
  border-radius: 999px;
}

.check-list li::after {
  position: absolute;
  left: 7px;
  top: 6px;
  width: 5px;
  height: 9px;
  content: "";
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.app-card {
  min-height: 250px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-card p {
  color: var(--muted);
}

.policy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-band strong,
.policy-band span {
  display: block;
}

.policy-band span {
  max-width: 760px;
  margin-top: 4px;
  color: var(--muted);
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 4px;
  max-width: 420px;
  margin-top: 32px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: var(--ink);
}

.site-footer p {
  max-width: 640px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  align-self: start;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.legal-hero {
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(47, 115, 214, 0.12), transparent 44%),
    linear-gradient(315deg, rgba(13, 140, 125, 0.16), transparent 42%),
    var(--soft);
}

.legal-date {
  display: inline-flex;
  margin: 26px 0 0;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 100px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-summary strong {
  display: block;
  margin-bottom: 10px;
}

.legal-summary p {
  margin: 0;
  color: var(--muted);
}

.legal-summary a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 900;
}

.legal-content {
  display: grid;
  gap: 22px;
  max-width: 920px;
}

.legal-content h2 {
  margin-top: 10px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
}

.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .martial-section,
  .contact-section,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-width: 640px;
  }

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

  .legal-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 70px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav.policy-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav.policy-nav a {
    padding: 10px;
  }

  .hero-stats,
  .service-strip,
  .service-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .tabs,
  .policy-actions {
    flex-direction: column;
  }

  .btn,
  .tab {
    width: 100%;
  }

  .policy-band {
    align-items: stretch;
    flex-direction: column;
  }

  .service-strip {
    margin-inline: 18px;
  }

  .martial-visual {
    min-height: 320px;
  }

  .mat {
    min-height: 270px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  h2 {
    font-size: 1.9rem;
  }

  .brand small {
    display: none;
  }

  .section-pad {
    padding-inline: 16px;
  }
}
