:root {
  --navy: #17304d;
  --navy-soft: #5e7591;
  --sky-top: #cfe6ff;
  --sky-bottom: #f3f9ff;
  --card: rgba(255, 255, 255, 0.78);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--sky-bottom);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.sky {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, #e6f2ff 55%, var(--sky-bottom) 100%);
  padding: 0 16px;
}

.top {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Lobster", cursive;
  font-size: 30px;
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 0 40px;
  text-align: center;
}

.icon {
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(60, 110, 180, 0.22);
}

h1 {
  font-size: clamp(36px, 7vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 28px 0 16px;
}

.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy-soft);
  margin: 0 auto 32px;
  max-width: 480px;
}

.badge { display: inline-block; transition: transform .15s ease; }
.badge:hover { transform: translateY(-2px); }
.badge img { display: block; }

.cards {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 24px auto 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(60, 110, 180, 0.10);
}

.card h2 { font-size: 19px; margin: 0 0 8px; }
.card p { margin: 0; line-height: 1.5; color: var(--navy-soft); }

/* soft background clouds */
.puff {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: .7;
  filter: blur(1px);
}
.puff::before, .puff::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.p1 { width: 180px; height: 56px; top: 120px; left: -40px; }
.p1::before { width: 90px; height: 90px; top: -44px; left: 30px; }
.p1::after { width: 70px; height: 70px; top: -30px; left: 95px; }
.p2 { width: 140px; height: 44px; top: 260px; right: -30px; opacity: .55; }
.p2::before { width: 70px; height: 70px; top: -36px; left: 22px; }
.p2::after { width: 56px; height: 56px; top: -24px; left: 72px; }
.p3 { width: 110px; height: 36px; top: 70px; right: 22%; opacity: .5; }
.p3::before { width: 54px; height: 54px; top: -28px; left: 16px; }
.p3::after { width: 44px; height: 44px; top: -18px; left: 56px; }

.footer {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(23, 48, 77, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--navy-soft);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--navy); }
.footer p { margin: 0; }

/* legal pages */
.legal-sky { background: linear-gradient(180deg, var(--sky-top) 0, var(--sky-bottom) 420px); }
.legal {
  max-width: 760px;
  margin: 0 auto 48px;
  background: #fff;
  border-radius: 28px;
  padding: 40px clamp(20px, 5vw, 56px);
  box-shadow: 0 10px 30px rgba(60, 110, 180, 0.10);
}
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 24px; }
.legal article { line-height: 1.65; font-size: 16px; overflow-wrap: anywhere; }
.legal article h2 { font-size: 22px; margin: 36px 0 12px; }
.legal article h3 { font-size: 18px; margin: 24px 0 8px; }
.legal article hr { border: 0; border-top: 1px solid rgba(23, 48, 77, 0.1); margin: 28px 0; }
.legal article a { color: #2f6fd1; }
.legal article table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.legal article th, .legal article td { border: 1px solid rgba(23, 48, 77, 0.15); padding: 8px; text-align: left; vertical-align: top; }
