:root {
  --color-primary: #2F6BFF;
  --color-secondary: #19C6A4;
  --color-accent: #FFB020;
  --color-background: #0B1020;
  --color-surface: #121A2E;
  --color-text: #EAF0FF;
  --color-text-muted: #A9B4D6;
  --color-border: #2A3556;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --maxw: 1120px;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-system);
  background-color: var(--color-background);
  color: var(--color-text);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--color-secondary);
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
}

h1 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

header .header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

header .site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

header .site-name a {
  color: var(--color-text);
}

header .site-name a:hover {
  color: var(--color-primary);
}

header nav {
  width: 100%;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

header nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

header nav a:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-primary);
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

section, aside {
  margin-bottom: 3rem;
}

section h2, aside h2 {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumbs nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs span {
  color: var(--color-text-muted);
}

details {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 1rem;
  transition: background-color 0.2s ease;
}

details:hover {
  background-color: rgba(18, 26, 46, 0.8);
}

details[open] {
  background-color: rgba(18, 26, 46, 0.9);
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.2s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "▶";
  color: var(--color-primary);
  font-size: 0.875rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

details[open] summary::before {
  transform: rotate(90deg);
}

summary:hover {
  color: var(--color-primary);
}

summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

details p {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  padding: 1rem;
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: 1.125rem;
}

thead {
  background-color: rgba(47, 107, 255, 0.15);
}

th {
  text-align: left;
  padding: 1rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-border);
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

tbody tr:nth-child(odd) {
  background-color: rgba(18, 26, 46, 0.5);
}

tbody tr:nth-child(even) {
  background-color: rgba(18, 26, 46, 0.8);
}

tbody tr:hover {
  background-color: rgba(47, 107, 255, 0.1);
  transition: background-color 0.2s ease;
}

blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: linear-gradient(135deg, rgba(18, 26, 46, 0.9) 0%, rgba(47, 107, 255, 0.05) 100%);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--color-text);
  box-shadow: var(--shadow);
}

blockquote p:last-child {
  margin-bottom: 0;
}

.value-pillars, .what-we-offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-pillars > div, .what-we-offer > div {
  background-color: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-pillars > div:hover, .what-we-offer > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.value-pillars h3, .what-we-offer h3 {
  color: var(--color-primary);
  margin-top: 0;
}

.trust-signals, .authority-links {
  background-color: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.trust-signals ul, .authority-links ul {
  list-style: none;
  padding: 0;
}

.trust-signals li, .authority-links li {
  margin-bottom: 0.75rem;
}

.trust-signals a, .authority-links a {
  color: var(--color-secondary);
  border-bottom: 1px solid transparent;
}

.trust-signals a:hover, .authority-links a:hover {
  border-bottom-color: var(--color-secondary);
}

.cta {
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.15) 0%, rgba(25, 198, 164, 0.1) 100%);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
  margin: 3rem 0;
}

.cta h2 {
  border-bottom: none;
  margin-bottom: 1rem;
}

footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2rem 1rem;
  margin-top: auto;
}

footer .footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  html {
    font-size: 17px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  header .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  header nav {
    width: auto;
  }

  main {
    padding: 3rem 2rem;
  }

  .value-pillars, .what-we-offer {
    grid-template-columns: repeat(2, 1fr);
  }

  table {
    display: table;
  }

  thead {
    position: sticky;
    top: 0;
    z-index: 10;
  }

  th {
    position: sticky;
    top: 0;
    background-color: rgba(47, 107, 255, 0.15);
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  main {
    padding: 4rem 2rem;
  }

  .value-pillars, .what-we-offer {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  summary::before {
    transition: none;
  }

  details {
    transition: none;
  }

  a {
    transition: none;
  }

  tbody tr:hover {
    transition: none;
  }

  .value-pillars > div:hover, .what-we-offer > div:hover {
    transform: none;
  }
}

@media print {
  body {
    background-color: white;
    color: black;
  }

  header {
    position: static;
    box-shadow: none;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  details {
    border: 1px solid black;
  }

  details[open] summary::before {
    content: "";
  }

  table {
    box-shadow: none;
  }

  thead {
    position: static;
  }

  .no-print {
    display: none;
  }
}