:root {
  color-scheme: light;
  --ink: #14315d;
  --muted: #61779a;
  --accent: #2f7cf6;
  --accent-2: #ffb649;
  --paper: rgba(255, 255, 255, 0.88);
  --line: rgba(186, 213, 250, 0.95);
  --bg:
    radial-gradient(circle at 12% 12%, rgba(255, 214, 128, 0.56), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(140, 208, 255, 0.5), transparent 26%),
    radial-gradient(circle at 50% 90%, rgba(168, 239, 200, 0.32), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  --shadow: 0 22px 55px rgba(19, 63, 125, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--accent);
}

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

.shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.topbar,
.hero,
.section,
.footer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

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

.brand strong {
  font-size: 22px;
}

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

.topnav,
.lang-switcher,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.lang-button,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #bdd6fb;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active,
.cta.primary {
  background: linear-gradient(180deg, #6fb1ff 0%, #387df1 100%);
  color: #fff;
  border-color: #387df1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr);
  gap: 22px;
  padding: 28px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #fff2cb;
  color: #8f6512;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.hero-notes {
  display: grid;
  gap: 14px;
}

.mini-card,
.feature-card,
.module-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
}

.mini-card h3,
.feature-card h3,
.module-card h3,
.legal-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.mini-card p,
.feature-card p,
.module-card p,
.legal-card p,
.section-copy p,
.page-intro,
.page-body p,
.page-body li,
.footer-meta {
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}

.stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.section {
  padding: 24px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2,
.page-body h2 {
  margin: 0;
  font-size: 32px;
}

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

.two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-list,
.page-body ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 8px;
  color: var(--muted);
}

.footer {
  margin-top: 18px;
  padding: 20px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-shell {
  display: grid;
  gap: 18px;
}

.page-header,
.page-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.page-header {
  padding: 24px;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
}

.page-body {
  padding: 24px;
}

@media (max-width: 900px) {
  .hero,
  .two-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 16px, 1120px);
    padding-top: 12px;
  }

  .topbar,
  .hero,
  .section,
  .footer,
  .page-header,
  .page-body {
    border-radius: 22px;
    padding: 18px;
  }

  .topbar,
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 12vw, 52px);
  }
}
