/* CyberSun design tokens */
:root {
  --navy: #001D40;
  --navy-2: #051F4D;
  --navy-soft: #0B2A5C;
  --blue: #055FAF;
  --blue-soft: #2A7FCC;
  --blue-tint: #E6F0FB;
  --orange: #FC9F1B;
  --orange-soft: #FFB54B;
  --orange-tint: #FFF2DD;
  --white: #FFFFFF;
  --light: #F5F8FC;
  --line: #E3EBF3;
  --line-soft: #EEF3F8;
  --ink: #0B1726;
  --ink-2: #2B3A4E;
  --muted: #6B7A8C;
  --muted-2: #94A1B2;
  --success: #1AA37A;
  --shadow-sm: 0 1px 2px rgba(11, 23, 38, 0.04), 0 1px 1px rgba(11, 23, 38, 0.03);
  --shadow-md: 0 8px 24px -10px rgba(0, 29, 64, 0.16), 0 2px 6px rgba(0, 29, 64, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(0, 29, 64, 0.25), 0 12px 30px -12px rgba(0, 29, 64, 0.15);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
::selection { background: var(--orange); color: var(--navy); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--blue);
}
.eyebrow.on-dark { color: var(--orange); }
.eyebrow.on-dark::before { background: var(--orange); }

h1, h2, h3, h4 { font-family: inherit; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.1; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 16px; font-weight: 600; }
p { margin: 0; }

.section {
  padding: 96px 0;
  position: relative;
}
.section.compact { padding: 72px 0; }
.section.dark {
  background: var(--navy);
  color: #D8E3F2;
}
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: var(--white); }
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { margin: 14px 0 14px; }
.section-head p {
  color: var(--muted);
  font-size: 17px;
}
.section.dark .section-head p { color: #98ADC8; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  background: transparent;
  color: inherit;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 6px 18px -8px rgba(252, 159, 27, 0.6);
}
.btn.primary:hover { background: var(--orange-soft); box-shadow: 0 10px 24px -8px rgba(252, 159, 27, 0.7); }
.btn.dark {
  background: var(--navy);
  color: var(--white);
}
.btn.dark:hover { background: var(--navy-soft); }
.btn.outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.btn.outline:hover { border-color: var(--navy); }
.btn.ghost { color: var(--ink); }
.btn.ghost:hover { color: var(--blue); }
.btn.on-dark.outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn.on-dark.outline:hover { border-color: var(--orange); color: var(--orange); }
.btn.lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card.hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 95, 175, 0.18);
}
.card.dark {
  background: linear-gradient(180deg, #062A5C 0%, #03204A 100%);
  border-color: rgba(255, 255, 255, 0.07);
  color: #D8E3F2;
  box-shadow: none;
}
.card.dark.hover:hover { border-color: rgba(252, 159, 27, 0.35); }

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 18px;
}
.icon-tile.orange {
  background: var(--orange-tint);
  color: var(--orange);
}
.icon-tile.dark {
  background: rgba(252, 159, 27, 0.12);
  color: var(--orange);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: border-color .2s ease;
}
.site-header.scrolled { border-color: var(--line); }
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand img { width: 36px; height: 36px; }
.brand .sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.brand .stack { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.nav-main {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-main a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-main a:hover { color: var(--orange); }
.nav-main a.active { color: var(--navy); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }

/* Footer */
.site-footer {
  background: #02132E;
  color: #98ADC8;
  padding: 64px 0 32px;
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-footer .brand { color: var(--white); }
.site-footer .desc { color: #98ADC8; font-size: 14px; max-width: 320px; margin-top: 16px; line-height: 1.6; }
.site-footer h5 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: #98ADC8; font-size: 14px; transition: color .15s ease; }
.site-footer ul a:hover { color: var(--orange); }
.site-footer .bot {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.site-footer .legal { display: flex; gap: 28px; }

/* Mobile */
@media (max-width: 1024px) {
  .nav-main, .header-cta { display: none; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
  }
  .section { padding: 72px 0; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .bot { flex-direction: column; gap: 14px; align-items: flex-start; }
}

/* Utility */
.center { text-align: center; }
.muted { color: var(--muted); }
.orange { color: var(--orange); }
.navy { color: var(--navy); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) {
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}
