@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --background: #f7fbff;
  --foreground: #0f1f33;
  --muted: #526077;
  --muted-strong: #30405a;
  --accent: #2ca1aa;
  --accent-strong: #1f7c83;
  --border: #d9e5f2;
  --card: #ffffff;
  --shadow: 0 0.625rem 1.875rem rgba(10, 33, 64, 0.08);
  --radius: 1rem;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: min(70rem, calc(100% - 2.5rem));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 251, 255, 0.96);
  backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo span {
  display: none;
}

.logo img {
  height: 4.5rem;
  width: auto;
  max-width: 20rem;
  border-radius: 0.875rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

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

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

.cta-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.125rem;
  border-radius: 62.4375rem;
  font-weight: 700;
  white-space: nowrap;
  border: 0.0625rem solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0.625rem 1.25rem rgba(32, 140, 149, 0.22);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-0.0625rem);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-0.0625rem);
}

.btn-ghost {
  background: transparent;
  border: 0.0625rem solid transparent;
  color: var(--muted-strong);
}

.btn-ghost:hover {
  color: var(--accent-strong);
  background: rgba(44, 161, 170, 0.08);
}

main section {
  padding: 6rem 0;
}

.section-muted {
  background: #eff4fb;
  border-block: 0.0625rem solid var(--border);
}

.sponsor-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.sponsor-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  color: var(--muted-strong);
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.35rem 0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

.bullet-list {
  list-style: disc;
  margin: 0.5rem 0 1.25rem 1.25rem;
  color: var(--muted-strong);
}

.microcopy {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.hero {
  text-align: center;
  padding: 7.5rem 0 6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #e8f6f8;
  border: 0.0625rem solid #d3ebef;
  padding: 0.625rem 1rem;
  border-radius: 62.4375rem;
  color: var(--muted);
  font-weight: 600;
}

.pill .dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.375rem rgba(44, 161, 170, 0.15);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  margin: 1.5rem 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 .accent {
  color: var(--accent-strong);
}

.accent {
  color: var(--accent-strong);
}

p.lead {
  max-width: 45rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  border-top: 0.0625rem solid var(--border);
  padding-top: 2rem;
}

.stat {
  text-align: left;
}

.stat strong {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.375rem;
}

.stat span {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.625rem, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.trust-item {
  background: #f7fafd;
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem;
  box-shadow: 0 0.625rem 1.25rem rgba(10, 33, 64, 0.05);
}

.section-heading {
  text-align: center;
  max-width: 47.5rem;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.section-heading p {
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
  gap: 1.125rem;
}

.card {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 0.0625rem solid rgba(44, 161, 170, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.5rem 1rem rgba(10, 33, 64, 0.06);
  margin-bottom: 0.5rem;
}

.card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--accent);
}

.card h3 {
  margin: 0.25rem 0 0.625rem;
  font-size: 1.15rem;
}

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

.icon {
  width: 2.5rem;
  height: 2.5rem;
  stroke: var(--accent);
  stroke-width: 1.75;
  fill: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
  gap: 1.125rem;
  text-align: center;
}

.step {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius);
  padding: 1.375rem 1.125rem;
  box-shadow: 0 0.875rem 1.875rem rgba(10, 33, 64, 0.06);
}

.step .number {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
  box-shadow: 0 0.625rem 1.25rem rgba(32, 140, 149, 0.25);
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-steps {
  margin-top: 2.25rem;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
  gap: 1.125rem;
}

.testimonial {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius);
  padding: 1.375rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.125rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.testimonial p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  border-block: 0.0625rem solid rgba(255, 255, 255, 0.15);
}

.cta-band .container {
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.625rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent-strong);
  border-color: transparent;
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  transform: translateY(-0.0625rem);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

footer {
  background: #f3f6fb;
  border-top: 0.0625rem solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.25rem, 1fr));
  gap: 1.5rem;
}

.footer-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.625rem;
}

.footer-meta {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 0.0625rem solid var(--border);
  padding-top: 1.125rem;
  margin-top: 2.25rem;
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 60rem) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }

  .stats {
    grid-template-columns: repeat(auto-fit, minmax(11.25rem, 1fr));
  }
}

@media (max-width: 72rem) {
  .header-inner {
    gap: 0.75rem;
  }

  .nav-links {
    gap: 0.85rem;
  }

  .header-inner .cta-inline {
    gap: 0.5rem;
  }

  .header-inner .btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
  }

  .header-inner [data-i18n-picker] {
    min-width: 8.5rem !important;
  }
}

@media (max-width: 40rem) {
  .header-inner {
    height: auto;
    padding: 0.875rem 0;
    flex-wrap: wrap;
  }

  .header-inner .cta-inline:last-child {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-inner .cta-inline:last-child .btn {
    flex: 1 1 8.5rem;
    min-width: 8.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
  }

  .container {
    width: min(100%, calc(100% - 1.5rem));
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  main section {
    padding: 4.5rem 0;
  }
}

/* ─────────────────────────────────────────────────────────
   Legal Pages Template
   ───────────────────────────────────────────────────────── */

.legal-page {
  min-height: 100vh;
  background: var(--background);
  padding: 2rem 0 3rem;
}

.legal-page .container {
  max-width: 48rem;
}

/* Legal Header */
.legal-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 0.0625rem solid var(--border);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.legal-header .last-updated {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

/* Legal Content */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Legal Sections */
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem 0;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  letter-spacing: -0.01em;
}

.legal-section-content {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: rgba(15, 31, 51, 0.8);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-section-content p {
  margin: 0;
}

.legal-section-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

.legal-section-content a:hover {
  color: var(--accent-strong);
}

/* Legal Subsections */
.legal-subsection {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.legal-subsection h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  margin: 0;
}

/* Legal Lists */
.legal-section-content ul,
.legal-section-content ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.legal-section-content li {
  line-height: 1.6;
}

.legal-section-content code {
  background: #e8f0f7;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}

/* Back to Home Link */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-back svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 40rem) {
  .legal-page {
    padding: 1.5rem 0 2.5rem;
  }

  .legal-header {
    margin-bottom: 1rem;
    padding-bottom: 0.875rem;
  }

  .legal-content {
    gap: 0.875rem;
  }

  .legal-section h2 {
    font-size: 1.35rem;
  }
}

