:root {
  color-scheme: only light;
  --ink: #1c232b;
  --slate: #46505a;
  --mist: #f5f7f8;
  --cloud: #e7ecef;
  --accent: #1b4d5c;
  --accent-light: #e1eef2;
  --shadow: 0 18px 40px rgba(28, 35, 43, 0.08);
  --radius: 18px;
}

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

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
  color: var(--slate);
}

.hero {
  padding: 48px 7vw 80px;
  background: linear-gradient(135deg, #eef2f4 0%, #f7f8f9 55%, #e7eef1 100%);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(27, 77, 92, 0.08);
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -90px;
}

.hero::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -70px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

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

.hero-content {
  max-width: 720px;
  margin-top: 80px;
  animation: fadeUp 0.8s ease both;
  position: relative;
  z-index: 2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.subhead {
  font-size: 1.15rem;
  max-width: 640px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: #163f4b;
}

.btn.ghost {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}

.btn.ghost:hover {
  background: var(--accent-light);
}

.section {
  padding: 72px 7vw;
}

.section-header {
  max-width: 620px;
}

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

.card {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s ease both;
}

.card:nth-child(2) {
  animation-delay: 0.1s;
}

.card:nth-child(3) {
  animation-delay: 0.2s;
}

.card:nth-child(4) {
  animation-delay: 0.3s;
}

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

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pill-row span {
  padding: 10px 18px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(27, 77, 92, 0.1);
  font-weight: 500;
}

.highlight {
  padding: 64px 7vw;
  background: var(--accent);
  color: white;
}

.highlight h2 {
  color: white;
}

.highlight ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.highlight li::before {
  content: "—";
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.about {
  padding-top: 64px;
}

.contact {
  padding-top: 48px;
  scroll-margin-top: 24px;
}

.contact-form {
  max-width: 520px;
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(28, 35, 43, 0.2);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(27, 77, 92, 0.25);
  border-color: rgba(27, 77, 92, 0.5);
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate);
}

.footer {
  padding: 36px 7vw 60px;
  border-top: 1px solid rgba(28, 35, 43, 0.1);
  color: var(--slate);
  font-size: 0.9rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 36px 6vw 64px;
  }

  .hero-content {
    margin-top: 64px;
  }

  .section {
    padding: 56px 6vw;
  }

  .highlight {
    padding: 56px 6vw;
  }
}
