:root {
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --text: #1c2430;
  --muted: #5f6b7a;
  --accent: #1f4fbf;
  --accent-2: #2b7dd9;
  --card: rgba(255, 255, 255, 0.98);
  --stroke: rgba(28, 36, 48, 0.12);
  --shadow: 0 20px 40px rgba(30, 42, 60, 0.1);
}

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

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top left, #ffffff 0%, #f5f7fb 45%, #e6ecf6 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  padding: 32px 6vw 80px;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(31, 79, 191, 0.18), transparent 70%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -140px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(43, 125, 217, 0.16), transparent 70%);
  z-index: -1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #3f7bd9);
  color: #ffffff;
  font-weight: 700;
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.btn {
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #2f6ed9);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 79, 191, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
}

.btn-ghost:hover {
  border-color: var(--accent-2);
  box-shadow: 0 0 18px rgba(43, 125, 217, 0.2);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Merriweather", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mini-info {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.metric {
  display: grid;
  gap: 4px;
}

.metric-value {
  font-size: 1.3rem;
  font-weight: 600;
}

.metric-label {
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  position: relative;
  z-index: 1;
}

.section {
  padding: 80px 6vw;
}

.section.alt {
  background: #f8faff;
}

.section-head {
  margin-bottom: 36px;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 79, 191, 0.25);
}

.card h3 {
  margin-bottom: 10px;
}

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

.detail {
  margin-top: 10px;
  color: #6a7586;
  font-size: 0.98rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.chips span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(43, 125, 217, 0.1);
  color: #21459b;
  border: 1px solid rgba(43, 125, 217, 0.2);
}

.highlight {
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(31, 79, 191, 0.06);
  max-width: 680px;
}

.contact {
  padding-top: 60px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(120deg, rgba(31, 79, 191, 0.16), rgba(43, 125, 217, 0.14));
  border: 1px solid rgba(31, 79, 191, 0.25);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.footer-email {
  margin-top: 18px;
  color: var(--muted);
}

.footer {
  padding: 30px 6vw 50px;
  color: var(--muted);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--stroke);
  padding: 12px 18px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    flex-wrap: wrap;
  }

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

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

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

@media (max-width: 640px) {
  .hero {
    padding: 28px 6vw 60px;
  }

  .section {
    padding: 60px 6vw;
  }

  .nav-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
