:root {
  --m-bg: #f6f8fc;
  --m-surface: #ffffff;
  --m-border: #dfe5ef;
  --m-text: #0f172a;
  --m-muted: #475569;
  --m-primary: #0ea5e9;
  --m-primary-dark: #0369a1;
  --m-accent: #7c3aed;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--m-bg);
  color: var(--m-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.manaia-page {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(14, 165, 233, 0.12), transparent 60%),
    radial-gradient(900px 560px at 100% -8%, rgba(124, 58, 237, 0.09), transparent 62%),
    var(--m-bg);
}

.m-container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.m-hero {
  padding: 10px 0 70px;
}

.m-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 28px;
}

.m-brand {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.m-topbar-cta {
  text-decoration: none;
  color: #0b3a67;
  border: 1px solid #cdd8ea;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.m-topbar-cta:hover {
  border-color: #9bb7db;
  transform: translateY(-1px);
}

.m-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.m-eyebrow {
  margin: 0 0 15px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0c4a6e;
}

.m-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4.15vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 17ch;
}

.m-lead {
  margin: 18px 0 0;
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--m-muted);
  max-width: 60ch;
}

.m-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.m-btn-primary {
  color: #fff;
  background: linear-gradient(110deg, var(--m-primary), var(--m-accent));
}

.m-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.22);
}

.m-btn-ghost {
  color: #0f172a;
  border: 1px solid #cdd8ea;
  background: #fff;
}

.m-btn-ghost:hover {
  background: #f1f5f9;
}

.m-hero-notes {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #334155;
  font-size: 0.9rem;
}

.m-hero-notes span::before {
  content: "•";
  margin-right: 8px;
  color: var(--m-primary);
}

.m-hero-box {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.m-hero-box-title {
  margin: 0;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #475569;
  font-weight: 700;
}

.m-hero-box ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 14px;
}

.m-hero-box li {
  border-top: 1px solid #edf2f7;
  padding-top: 13px;
}

.m-hero-box strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}

.m-hero-box span {
  display: block;
  margin-top: 5px;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
}

.m-section {
  padding: 74px 0;
}

.m-section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(241, 245, 249, 0.7));
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.m-section-head h2 {
  margin: 0;
  font-size: clamp(1.62rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.m-section-head p {
  margin: 10px 0 0;
  color: #475569;
  max-width: 64ch;
}

.m-cards {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

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

.m-card {
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.m-card h3 {
  margin: 0;
  font-size: 1.07rem;
}

.m-card p {
  margin: 10px 0 0;
  color: #475569;
  line-height: 1.66;
  font-size: 0.95rem;
}

.m-steps .m-card span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  font-weight: 700;
  margin-bottom: 12px;
}

.m-cta-section {
  padding-top: 86px;
  padding-bottom: 92px;
}

.m-cta-box {
  text-align: center;
  background: #fff;
  border: 1px solid #cfd8e8;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.09);
}

.m-cta-box h2 {
  margin: 0;
  font-size: clamp(1.74rem, 3.2vw, 2.5rem);
}

.m-cta-box p {
  margin: 12px auto 24px;
  max-width: 65ch;
  color: #475569;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .m-hero-grid,
  .m-cards-3 {
    grid-template-columns: 1fr;
  }

  .m-hero {
    padding-bottom: 48px;
  }

  .m-topbar {
    padding-bottom: 20px;
  }
}
