:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eff4fa;
  --text: #122033;
  --muted: #5a6a7e;
  --line: #d8e1ec;
  --accent: #0b5cab;
  --accent-dark: #084a89;
  --shadow: 0 18px 44px rgba(10, 38, 69, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    linear-gradient(rgba(246, 248, 251, 0.9), rgba(246, 248, 251, 0.95)),
    url("assets/ragv-background.jpg") center top / cover fixed no-repeat,
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 225, 236, 0.8);
}

.nav,
.footer-grid,
.cta-box,
.hero-layout,
.hero-main,
.category-grid,
.split-highlight,
.process-grid,
.founder {
  display: grid;
  gap: 24px;
}

.nav,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  background: white;
  padding: 4px;
  border: 1px solid var(--line);
}

.brand p,
.site-footer p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  padding: 88px 0 56px;
}

.hero-layout {
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
}

.hero-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 110px;
}

.side-link {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.side-link:hover {
  border-color: var(--accent);
}

.side-link-index,
.category-index,
.process-index,
.highlight-number,
.meta-label,
.welcome-kicker,
.section-label,
.eyebrow,
.license-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
}

.side-link-index,
.category-index,
.process-index,
.highlight-number,
.quote-mark {
  display: inline-block;
}

.hero-main {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
}

.hero-copy,
.hero-visual-card,
.category-card,
.card,
.process-step,
.highlight-panel,
.quote-panel,
.license-box,
.cta-box,
.contact-box,
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-visual-card,
.category-card,
.process-step,
.highlight-panel,
.quote-panel,
.license-box,
.contact-box,
.hero-card {
  padding: 28px;
}

.hero-logo {
  width: min(320px, 100%);
  display: block;
  margin: 0 auto 24px;
  border-radius: 18px;
  background: white;
  padding: 10px;
  border: 1px solid var(--line);
}

.hero-visual-meta p {
  margin-bottom: 0;
}

.section,
.category-strip {
  padding: 56px 0;
}

.category-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-highlight,
.cta-box,
.founder {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.08rem;
  max-width: 60ch;
  color: var(--muted);
}

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

.service-cards-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.card-featured {
  grid-column: span 1;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checklist,
.hero-card ul {
  padding-left: 20px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: 0.18s ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.button-outline:hover {
  background: rgba(11, 92, 171, 0.08);
}

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

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.highlight-panel,
.quote-panel {
  min-height: 100%;
  display: grid;
  align-content: center;
}

.highlight-number {
  font-size: 4rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.highlight-caption,
.quote-text {
  font-size: 1.08rem;
  color: var(--muted);
}

.quote-mark {
  font-size: 5rem;
  line-height: 0.9;
  margin-bottom: 8px;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 980px) {
  .hero-layout,
  .hero-main,
  .category-grid,
  .split-highlight,
  .process-grid,
  .cta-box,
  .founder,
  .cards,
  .nav,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-card {
    order: -1;
  }

  .hero-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-actions {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: 2.6rem;
  }

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