@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
  --bg: #f5f7fb;
  --bg-soft: #eef2f8;
  --surface: #ffffff;
  --surface-glow: #fdfcff;
  --text: #1a2637;
  --muted: #5e6f85;
  --accent-coral: #ff8f80;
  --accent-cyan: #5fd5f5;
  --accent-mint: #7ee0bd;
  --border: #dce5f1;
  --shadow: 0 16px 42px rgba(23, 33, 52, 0.09);
  --radius: 18px;
  --max: 1080px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(
      880px 580px at 88% -8%,
      rgba(255, 143, 128, 0.25),
      transparent 62%
    ),
    radial-gradient(
      920px 620px at -10% 20%,
      rgba(95, 213, 245, 0.24),
      transparent 65%
    ),
    linear-gradient(180deg, #f8fafd 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(247, 250, 253, 0.88);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.brand__text {
  font-weight: 800;
  letter-spacing: 0.1px;
}

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

.nav__link {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.nav__link:hover {
  color: var(--text);
  border-color: #cfdced;
  background: #f4f8ff;
}

.nav__link.is-active {
  color: var(--text);
  border-color: #b9d4ef;
  background: linear-gradient(135deg, #e8f5ff, #edfaff);
}

.nav__toggle {
  display: none;
}

.hero {
  padding: 56px 0 12px;
  animation: rise-in 0.6s ease both;
}

.hero--home {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 52px);
  margin-top: 18px;
  background:
    linear-gradient(
      100deg,
      rgba(247, 251, 255, 0.94) 0%,
      rgba(247, 251, 255, 0.82) 50%,
      rgba(247, 251, 255, 0.68) 100%
    ),
    url("../img/hero.jpg") center right / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero--home > * {
  position: relative;
  z-index: 1;
}

.kicker {
  color: var(--muted);
  font-size: 14px;
}

h1 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.15px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.08;
}

.lead {
  color: #2d3d52;
  font-size: clamp(17px, 2.3vw, 21px);
  max-width: 70ch;
}

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

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, var(--surface-glow), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  animation: rise-in 0.65s ease both;
}

.card h2 {
  margin: 0 0 7px;
  font-size: 21px;
  line-height: 1.2;
}

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

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #c8ddf4;
  background: linear-gradient(135deg, #e5f3ff, #e6fbff);
  border-radius: 999px;
  color: #31506d;
  font-size: 13px;
  font-weight: 700;
}

.cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(38, 52, 82, 0.14);
}

.btn.primary {
  border-color: #ffc3b9;
  background: linear-gradient(135deg, #ffd6cf, #ffc6bb);
  color: #5a2318;
}

.btn.primary:hover {
  background: linear-gradient(135deg, #ffcfc6, #ffbbad);
}

.btn.ghost {
  color: #275069;
  background: linear-gradient(135deg, #daf3ff, #d9fbff);
  border-color: #b8e3f5;
}

.btn.ghost:hover {
  background: linear-gradient(135deg, #d2efff, #cef7ff);
}

.section {
  padding: 28px 0;
}

.list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.tiny {
  font-size: 12px;
}

.hr {
  height: 1px;
  background: linear-gradient(90deg, #cfe0f1, #eef4fa);
  margin: 18px 0;
}

.faq {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq li {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f9fcff);
}

.faq button {
  width: 100%;
  text-align: left;
  background: none;
  color: var(--text);
  border: 0;
  padding: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq .answer {
  padding: 0 14px 14px;
  color: var(--muted);
  display: none;
}

.faq li.is-open .answer {
  display: block;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 42px;
  margin-top: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #edf2f8);
}

.footer__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 2fr 1fr 1fr;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: #1e3f5a;
  text-decoration: underline;
}

.notice {
  border-left: 4px solid #72d9c5;
  padding: 10px 12px;
  background: linear-gradient(135deg, #e7fff7, #e8fbf4);
  border-radius: 12px;
  color: #245848;
  margin-top: 14px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

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

  .hero--home {
    background:
      linear-gradient(
        180deg,
        rgba(247, 251, 255, 0.95) 0%,
        rgba(247, 251, 255, 0.9) 100%
      ),
      url("../img/hero.jpg") center / cover no-repeat;
    border-radius: 20px;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 60px;
    right: 20px;
    flex-direction: column;
    padding: 10px;
    background: #f9fcff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav__toggle {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #eef7ff, #effcff);
    color: var(--text);
  }
}
