html {
  scroll-behavior: smooth;
}

:root {
  --ink: #0f172a;
  --slate: #1f2937;
  --muted: #5b667a;
  --primary: #2F6ECD;
  --primary-dark: #2154b2;
  --lavender: #b7d4f9;
  --sky: #eef2fb;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--slate);
  background: linear-gradient(140deg, #f8fbff 0%, #eef4ff 45%, #e8f1ff 100%);
  scroll-behavior: smooth;
}

.page-shell {
  min-height: 100vh;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--primary);
  color: #ffffff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 0 0 10px 0;
  z-index: 200;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw 0;
  position: relative;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-weight: 600;
  color: var(--ink);
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(46, 107, 214, 0.2);
  background: #f1f4ff;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-bar:nth-child(3) {
  opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #dbe7ff;
  color: var(--primary-dark);
  border: 1px solid rgba(46, 107, 214, 0.25);
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(46, 107, 214, 0.18);
}

.btn:hover {
  background: #c8d9ff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px #ffffff;
}

.btn-secondary {
  background: #f3f5ff;
  color: var(--primary-dark);
  border: 1px solid rgba(46, 107, 214, 0.12);
  box-shadow: none;
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  padding: 90px 6vw 80px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 0;
  background: radial-gradient(circle at 70% 20%, rgba(150, 195, 245, 0.6), transparent 60%),
    radial-gradient(circle at 20% 10%, rgba(47, 110, 205, 0.18), transparent 55%);
  z-index: 0;
}

.hero-waves {
  position: absolute;
  left: -10%;
  right: -10%;
  width: 120%;
  max-width: none;
  bottom: 20%;
  height: 220px;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(46, 107, 214, 0.1);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero h1 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin: 22px 0 18px;
  line-height: 1.08;
  background: linear-gradient(120deg, #2F6ECD, #3a7ed6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-card {
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 22px 28px;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  color: var(--muted);
}

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

.section {
  padding: 70px 6vw;
}

.section-title {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--ink);
  margin: 0 0 18px;
}

.section-subtitle {
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 36px;
}

.section-subtitle-wide {
  max-width: 100%;
}

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

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 1.1rem;
  color: var(--ink);
}

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

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

.feature-list {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

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

.contact-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}

form {
  display: grid;
  gap: 16px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status.is-success {
  color: #0f5132;
}

.form-status.is-error {
  color: #842029;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d7deef;
  font-family: inherit;
  font-size: 1rem;
}

label {
  font-weight: 600;
  color: var(--ink);
}

.checkbox-row {
  display: grid;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}

.checkbox-row input {
  width: auto;
  margin-right: 10px;
}

.checkbox-row a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.site-footer {
  padding: 50px 6vw 60px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.page-hero {
  padding: 80px 6vw 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 12px;
  color: var(--ink);
}

.page-content {
  padding: 0 6vw 80px;
  max-width: 900px;
  margin: 0 auto;
}

.page-content h2 {
  color: var(--ink);
}

.page-content p,
.page-content li {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    right: 6vw;
    top: 76px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    z-index: 10;
  }

  .site-nav {
    padding-top: 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

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

  .hero-card {
    padding: 18px 20px;
  }

  .contact-card {
    padding: 24px;
  }
}
