:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #4b5563;
  --accent: #0f3655;
  --accent-soft: #c8d7e6;
  --border: #e5e7eb;
  --shadow: 0 14px 40px rgba(12, 20, 34, 0.08);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(15, 54, 85, 0.08), transparent 30%), var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

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

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

.section {
  padding: 96px 0;
  position: relative;
}

.section.alt {
  background: linear-gradient(135deg, rgba(15, 54, 85, 0.05), rgba(255, 255, 255, 0.8));
}

.section-header {
  text-align: left;
  max-width: 720px;
  margin-bottom: 48px;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
}

h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
}

h3 {
  font-size: 20px;
}

p {
  margin: 12px 0 0;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-lede,
.lede {
  font-size: 18px;
  color: var(--muted);
  margin-top: 16px;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px min(4vw, 28px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}

.logo-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f3655, #1f4b72 50%, #2a5f8c);
  box-shadow: 0 10px 18px rgba(12, 26, 46, 0.2);
  overflow: hidden;
}

.logo-mark .beam {
  position: absolute;
  left: 10px;
  right: 6px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(200, 219, 236, 0.95));
  filter: drop-shadow(0 4px 8px rgba(12, 26, 46, 0.15));
  animation: beamSlide 2.6s ease-in-out infinite;
}

.logo-mark .beam-1 { top: 11px; animation-delay: 0s; }
.logo-mark .beam-2 { top: 17px; animation-delay: 0.24s; }
.logo-mark .beam-3 { top: 23px; animation-delay: 0.48s; }

.logo-mark .pulse {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cde7ff;
  bottom: 8px;
  left: 9px;
  box-shadow: 0 0 0 0 rgba(205, 231, 255, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(15, 54, 85, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.hero {
  padding-top: 120px;
}

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

.hero-text .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #f8fbff;
  box-shadow: 0 12px 30px rgba(15, 54, 85, 0.18);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 54, 85, 0.18);
}

.btn.ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: rgba(15, 54, 85, 0.35);
  transform: translateY(-1px);
}

.btn.full {
  width: 100%;
}

.contact-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 600;
}

.contact-inline a {
  color: var(--accent);
}

.hero-visual {
  position: relative;
  min-height: 280px;
}

.hero-visual .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(15, 54, 85, 0.25), transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(15, 54, 85, 0.18), transparent 52%);
  filter: blur(12px);
  border-radius: 24px;
}

.hero-visual .frame {
  position: relative;
  margin: 24px auto 0;
  width: min(400px, 100%);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(15, 54, 85, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(249, 251, 255, 0.92));
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 54, 85, 0.06);
  color: var(--ink);
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 32px rgba(15, 17, 26, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 54, 85, 0.3);
}

.note {
  margin-top: 18px;
  font-weight: 600;
  color: var(--muted);
}

.two-col {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 600;
  color: var(--ink);
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(15, 54, 85, 0.16);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(15, 17, 26, 0.03);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(15, 54, 85, 0.1);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
}

.contact-details a {
  color: var(--accent);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 14px 30px rgba(15, 17, 26, 0.05);
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(15, 54, 85, 0.5);
  box-shadow: 0 0 0 4px rgba(15, 54, 85, 0.12);
}

.footer {
  padding: 22px 0 32px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer a {
  color: var(--accent);
  font-weight: 700;
}

section {
  scroll-margin-top: 110px;
}

@keyframes beamSlide {
  0% { transform: translateX(-6px) scaleX(0.9); opacity: 0.7; }
  45% { transform: translateX(3px) scaleX(1.02); opacity: 1; }
  100% { transform: translateX(-6px) scaleX(0.9); opacity: 0.7; }
}

@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(205, 231, 255, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(205, 231, 255, 0.15); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(205, 231, 255, 0.0); }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(15, 17, 26, 0.12);
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    min-width: 190px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .top-nav {
    padding: 12px 18px;
  }

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