:root {
  --soc-ink: #142033;
  --soc-muted: #5e6878;
  --soc-bg: #f5f0e6;
  --soc-surface: rgba(255, 255, 255, 0.88);
  --soc-border: rgba(20, 32, 51, 0.12);
  --soc-accent: #1f3d63;
  --soc-accent-rgb: 31, 61, 99;
  --soc-accent-2: #c86b19;
  --soc-shadow: 0 20px 50px rgba(18, 25, 40, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 61, 99, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(200, 107, 25, 0.10), transparent 24%),
    linear-gradient(180deg, #faf7f1 0%, var(--soc-bg) 100%);
  color: var(--soc-ink);
  padding-top: 78px;
}

@media (min-width: 992px) {
  body {
    padding-top: 88px;
  }
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
}

.navbar {
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(10, 18, 31, 0.12);
}

.navbar-brand .brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(5, 10, 20, 0.24);
}

@media (max-width: 575.98px) {
  .navbar-brand .brand-mark {
    width: 34px;
    height: 34px;
  }
}

.nav-link-history {
  color: rgba(255, 255, 255, 0.68);
}

.nav-link-history.active {
  color: rgba(255, 255, 255, 0.7);
}

.nav-link-history:hover,
.nav-link-history:focus-visible {
  color: rgba(255, 255, 255, 0.88);
}

.soc-logo {
  width: 92px;
  max-width: 28vw;
  height: auto;
  object-fit: contain;
  border-radius: 999px;
  background: transparent;
  padding: 0;
  box-shadow: 0 8px 22px rgba(12, 22, 36, 0.18);
}

.context-logo {
  height: 22px;
  width: auto;
  max-width: 46%;
  object-fit: contain;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 24rem;
  height: 24rem;
  right: -7rem;
  top: -6rem;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 66%);
}

.hero::after {
  width: 18rem;
  height: 18rem;
  left: -6rem;
  bottom: -5rem;
  background: radial-gradient(circle, rgba(200, 107, 25, 0.16), transparent 68%);
}

.hero-panel,
.surface-card,
.info-card {
  background: var(--soc-surface);
  border: 1px solid var(--soc-border);
  box-shadow: var(--soc-shadow);
  backdrop-filter: blur(10px);
}

.hero-panel {
  border-radius: 1.5rem;
}

.surface-card,
.info-card {
  border-radius: 1.25rem;
}

.section-pad {
  padding: 4.5rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(var(--soc-accent-rgb), 0.12);
  color: var(--soc-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.muted-label {
  color: var(--soc-muted);
  font-size: 0.92rem;
}

.feature-link {
  color: inherit;
  text-decoration: none;
}

.feature-link:hover,
.feature-link:focus-visible {
  color: inherit;
}

.feature-card {
  height: 100%;
  border: 1px solid var(--soc-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: rgba(232, 236, 242, 0.88);
  box-shadow: var(--soc-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(18, 25, 40, 0.16);
}

.feature-card--highlight {
  border-color: rgba(var(--soc-accent-rgb), 0.36);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
  box-shadow: 0 28px 62px rgba(18, 25, 40, 0.18);
}

.feature-card--highlight:hover {
  box-shadow: 0 32px 68px rgba(18, 25, 40, 0.2);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--soc-accent-rgb), 0.18), rgba(200, 107, 25, 0.13));
  color: var(--soc-accent);
  font-size: 1.3rem;
}

.timeline-card {
  border-left: 4px solid var(--soc-accent);
}

.soft-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 32, 51, 0.16), transparent);
}

.footer {
  background: #0b1522;
  color: #d3dce9;
}

.footer a {
  color: inherit;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero .hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.small-caps {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--soc-muted);
}
