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

:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-muted: #eef3fb;
  --text: #0f172a;
  --muted: #4b5563;
  --accent: #2f6fed;
  --accent-soft: #e2ebff;
  --border: #dbe3f0;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --surface: #111a2b;
  --surface-muted: #0f1726;
  --text: #f8fafc;
  --muted: #c7d2fe;
  --accent: #7aa2ff;
  --accent-soft: #1d2b4a;
  --border: #1f2a3c;
  --shadow: 0 20px 45px rgba(4, 8, 16, 0.55);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  transition: top 0.2s ease;
  z-index: 10;
}

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

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.hero {
  padding: 88px 0 72px;
  background: linear-gradient(135deg, rgba(47, 111, 237, 0.12), rgba(47, 111, 237, 0.02));
}

html[data-theme="dark"] .hero {
  background: linear-gradient(135deg, rgba(122, 162, 255, 0.2), rgba(11, 18, 32, 0.2));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.4rem, 3.5vw, 3.3rem);
  line-height: 1.1;
  margin: 0 0 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 111, 237, 0.25);
}

.button.primary:hover,
.button.primary:focus-visible {
  transform: translateY(-2px);
}

.button.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.hero-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin-top: 0;
  font-size: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.muted {
  background: var(--surface-muted);
}

.why-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}

.stat-panel {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-title {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 10px;
}

.stat-text {
  margin: 0;
  font-weight: 600;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.footer-content {
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .site-header {
    position: static;
  }

  .theme-toggle {
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 72px;
  }
}
