/* ============================================
   BrightCode — Premium Dark SaaS Design System
   Inspired by Stripe, Apple, Linear
   ============================================ */

/* ============================================
   Design Tokens
   ============================================ */
:root {
  /* Surface Colors */
  --color-bg: #0B0F19;
  --color-bg-alt: #111827;
  --color-bg-elevated: #1a2332;
  --color-bg-card: #111827;

  /* Text Colors */
  --color-text: #F9FAFB;
  --color-text-secondary: #9CA3AF;
  --color-text-tertiary: #6B7280;

  /* Brand Gradient */
  --gradient-primary: linear-gradient(135deg, #1E3A8A, #2563EB, #22D3EE);
  --gradient-subtle: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(37, 99, 235, 0.15), rgba(34, 211, 238, 0.15));
  --gradient-glow: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(37, 99, 235, 0.4), rgba(34, 211, 238, 0.4));

  /* Accent Colors */
  --color-accent: #2563EB;
  --color-accent-hover: #3B82F6;
  --color-accent-light: rgba(37, 99, 235, 0.12);
  --color-accent-mid: rgba(37, 99, 235, 0.2);
  --color-accent-text: #ffffff;

  /* Border Colors */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-subtle: rgba(255, 255, 255, 0.05);
  --color-border-accent: rgba(37, 99, 235, 0.3);

  /* Navigation */
  --color-nav-bg: rgba(11, 15, 25, 0.85);
  --color-nav-text: #F9FAFB;

  /* Overlay */
  --color-overlay: rgba(0, 0, 0, 0.7);

  /* Hero */
  --color-hero-bg: #0B0F19;
  --color-hero-text: #F9FAFB;
  --color-hero-text-secondary: #9CA3AF;

  /* Contact */
  --color-contact-bg: #111827;
  --color-contact-text: #F9FAFB;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Menlo', 'Consolas', 'Monaco', monospace;

  /* Layout */
  --container-width: 1080px;
  --container-narrow: 720px;
  --section-gap: 144px;
  --section-gap-tablet: 112px;
  --section-gap-mobile: 80px;

  /* Navigation Height */
  --nav-height: 72px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-button: 12px;
  --radius-card: 16px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.35s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] {
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;

  --color-text: #111827;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;

  --gradient-primary: linear-gradient(135deg, #1E3A8A, #2563EB, #0891B2);
  --gradient-subtle: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(37, 99, 235, 0.08), rgba(8, 145, 178, 0.08));
  --gradient-glow: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(37, 99, 235, 0.2), rgba(8, 145, 178, 0.2));

  --color-accent: #2563EB;
  --color-accent-hover: #1D4ED8;
  --color-accent-light: rgba(37, 99, 235, 0.08);
  --color-accent-mid: rgba(37, 99, 235, 0.15);
  --color-accent-text: #ffffff;

  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-subtle: rgba(0, 0, 0, 0.05);
  --color-border-accent: rgba(37, 99, 235, 0.2);

  --color-nav-bg: rgba(255, 255, 255, 0.85);
  --color-nav-text: #111827;

  --color-overlay: rgba(0, 0, 0, 0.5);

  --color-hero-bg: #ffffff;
  --color-hero-text: #111827;
  --color-hero-text-secondary: #6B7280;

  --color-contact-bg: #f9fafb;
  --color-contact-text: #111827;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

svg {
  display: inline-block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

address {
  font-style: normal;
}

:focus {
  outline: none;
}


/* ============================================
   Accessibility
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-button);
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 16px;
}

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

@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;
  }
}


/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 28px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-gap-mobile) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section__heading {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.section__heading--center {
  text-align: center;
}

.section__subheading {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: -20px auto 48px;
}


/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--radius-button);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-accent-text);
  padding: 16px 36px;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--small {
  padding: 10px 22px;
  font-size: 0.8125rem;
}

.btn--large {
  padding: 18px 40px;
  font-size: 1rem;
}


/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 28px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-nav-text);
}

.nav__logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav__logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

/* Logo Theme Switching */
[data-theme="light"] .nav__logo--light {
  display: block;
}

[data-theme="light"] .nav__logo--dark {
  display: none;
}

[data-theme="dark"] .nav__logo--light {
  display: none;
}

[data-theme="dark"] .nav__logo--dark {
  display: block;
}

.nav__menu {
  display: none;
}

.nav__list {
  display: flex;
  gap: 36px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  padding: 4px 0;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__actions .btn--primary {
  display: none;
}

/* Theme Toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.theme-toggle:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Theme Icon Switching */
[data-theme="light"] .theme-toggle__sun {
  display: none !important;
}

[data-theme="light"] .theme-toggle__moon {
  display: inline-block !important;
}

[data-theme="dark"] .theme-toggle__moon {
  display: none !important;
}

[data-theme="dark"] .theme-toggle__sun {
  display: inline-block !important;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
  position: relative;
  z-index: 1;
}

.nav__hamburger:hover {
  background-color: var(--color-bg-alt);
}

.nav__hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__hamburger.active .nav__hamburger-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav__hamburger.active .nav__hamburger-line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}


/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
  padding: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-base) 0.08s, transform var(--transition-base) 0.08s;
}

.mobile-menu.open .mobile-menu__inner {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu__link {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.mobile-menu__link:hover {
  background-color: var(--color-bg-alt);
}

.mobile-menu__cta {
  margin-top: 8px;
}


/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  background-color: var(--color-hero-bg);
  padding-top: calc(var(--nav-height) + 100px);
  padding-bottom: 120px;
  text-align: left;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.hero__content {
  width: 100%;
  text-align: left;
}

.hero__visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 99, 235, 0.15);
  border: 1px solid var(--color-border);
}

.hero__tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  display: inline-block;
}

.hero__headline {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 800px;
  color: var(--color-hero-text);
}

.hero__subheadline {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-hero-text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero .btn--primary {
  box-shadow: var(--shadow-lg);
}

.hero .btn--primary:hover {
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.hero__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__link:hover {
  color: var(--color-text);
}

.hero__link span {
  transition: transform var(--transition-fast);
}

.hero__link:hover span {
  transform: translateX(4px);
}


/* ============================================
   Services
   ============================================ */
.services__list {
  display: flex;
  flex-direction: column;
}

.services__item {
  display: flex;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background-color var(--transition-fast);
}

.services__item:first-child {
  padding-top: 0;
}

.services__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.services__number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  padding-top: 2px;
  width: 28px;
}

.services__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.services__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.services__industries {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  margin-top: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   Clients
   ============================================ */
.clients__card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 48px 40px;
}

.clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.clients__logomark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.clients__name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.clients__project {
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.clients__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.clients__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.clients__link:hover {
  color: var(--color-accent-hover);
}


/* ============================================
   Why BrightCode
   ============================================ */
.why__list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.why__item {
  text-align: center;
}

.why__number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
}

.why__title {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 16px 0;
  letter-spacing: -0.02em;
}

.why__desc {
  font-size: 0.9375rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ============================================
   Engagement
   ============================================ */
.engagement__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.engagement__item {
  text-align: center;
}

.engagement__number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
}

.engagement__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 16px 0 12px;
  letter-spacing: -0.02em;
}

.engagement__desc {
  font-size: 0.9375rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.7;
}

.engagement__footer {
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--color-border-subtle);
}

.engagement__signoff {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ============================================
   Contact
   ============================================ */
.contact {
  background-color: var(--color-contact-bg);
  padding: 100px 0;
  text-align: center;
}

.contact__heading {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-contact-text);
  margin-bottom: 20px;
}

.contact__text {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.contact .btn--primary {
  box-shadow: var(--shadow-lg);
}

.contact .btn--primary:hover {
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}


/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 8px;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* Footer Logo Switching */
[data-theme="light"] .footer__logo--light {
  display: block;
}

[data-theme="light"] .footer__logo--dark {
  display: none;
}

[data-theme="dark"] .footer__logo--light {
  display: none;
}

[data-theme="dark"] .footer__logo--dark {
  display: block;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.footer__address {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.footer__address a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.footer__address a:hover {
  color: var(--color-accent-hover);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-text);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-subtle);
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
}

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

.footer__theme {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer__theme:hover {
  color: var(--color-text-secondary);
}

.footer__theme span {
  font-weight: 600;
  color: var(--color-text);
}


/* ============================================
   Legal Pages
   ============================================ */
.legal-page {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
}

.legal-page__heading {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.legal-page__content {
  max-width: 680px;
}

.legal-page__content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page__content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page__content p {
  font-size: 0.9375rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-page__content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page__content li {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.legal-page__content a {
  color: var(--color-accent);
  font-weight: 500;
}

.legal-page__content a:hover {
  text-decoration: underline;
}


/* ============================================
   Responsive — 640px+
   ============================================ */
@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

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


/* ============================================
   Responsive — 768px+
   ============================================ */
@media (min-width: 768px) {
  .section {
    padding: var(--section-gap-tablet) 0;
  }

  .section__heading {
    font-size: 2.75rem;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 120px);
    padding-bottom: 140px;
  }

  .hero__headline {
    font-size: 2.75rem;
  }

  .hero__subheadline {
    font-size: 1.1875rem;
  }

  .services__item {
    gap: 28px;
    padding: 40px 0;
  }

  .services__number {
    padding-top: 4px;
  }

  .services__title {
    font-size: 1.25rem;
  }

  .why__list {
    gap: 80px;
  }

  .why__title {
    font-size: 1.75rem;
  }

  .why__desc {
    font-size: 1rem;
  }

  .contact {
    padding: 140px 0;
  }

  .contact__heading {
    font-size: 2.75rem;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr;
    gap: 48px;
  }
}


/* ============================================
   Responsive — 1024px+
   ============================================ */
@media (min-width: 1024px) {
  .nav__menu {
    display: block;
  }

  .nav__actions .btn--primary {
    display: inline-flex;
  }

  .nav__hamburger {
    display: none;
  }

  .section {
    padding: var(--section-gap) 0;
  }

  .section__heading {
    font-size: 3.25rem;
    margin-bottom: 56px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 160px);
    padding-bottom: 180px;
  }

  .hero__grid {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .hero__content {
    flex: 1;
    max-width: 520px;
  }

  .hero__visual {
    flex: 1;
    max-width: 560px;
  }

  .hero__headline {
    font-size: 3.5rem;
  }

  .hero__subheadline {
    font-size: 1.25rem;
    margin-bottom: 48px;
  }

  .services__list {
    max-width: 780px;
    margin: 0 auto;
  }

  .services__item {
    gap: 40px;
    padding: 48px 0;
  }

  .services__title {
    font-size: 1.375rem;
  }

  .engagement__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }

  .engagement__title {
    font-size: 1.375rem;
  }

  .why__list {
    gap: 96px;
  }

  .why__title {
    font-size: 2rem;
  }

  .contact {
    padding: 180px 0;
  }

  .contact__heading {
    font-size: 3.5rem;
  }

  .contact__text {
    font-size: 1.125rem;
  }
}


/* ============================================
   Responsive — 1200px+
   ============================================ */
@media (min-width: 1200px) {
  .hero__headline {
    font-size: 3.75rem;
  }

  .section__heading {
    font-size: 3.75rem;
  }
}
