:root {
  --bg: #f4efe7;
  --bg-soft: #fbf7f1;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #fffdf9;
  --surface-dark: #1f2937;
  --text: #142433;
  --muted: #5b6773;
  --line: rgba(11, 47, 68, 0.12);
  --primary: #0f766e;
  --primary-deep: #0b2f44;
  --primary-gradient: linear-gradient(150deg, #0b2f44, #0f766e);
  --secondary: #0f766e;
  --shadow: 0 22px 55px rgba(11, 47, 68, 0.1);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 28%), radial-gradient(circle at top right, rgba(11, 47, 68, 0.12), transparent 24%), linear-gradient(180deg, #f8f4ee 0%, #f3ede4 48%, #fcfaf6 100%);
  min-height: 100vh;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  position: sticky;
  top: 14px;
  z-index: 20;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(251, 247, 241, 0.88);
  border: 1px solid rgba(11, 47, 68, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(11, 47, 68, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-gradient);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.22);
}

.nav {
  display: inline-flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(11, 47, 68, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(11, 47, 68, 0.24);
}

.button--secondary,
.button--ghost {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  padding: 64px 0 44px;
  position: relative;
}

.hero__content,
.hero__panel {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.cta h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.96;
  margin-bottom: 22px;
  color: #102030;
}

.hero__lead,
.section-heading p,
.card p,
.timeline__item p,
.faq-item p,
.cta p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero__lead {
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero__stats,
.check-list,
.trust-strip__items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero__stats li,
.card,
.panel-card,
.faq-item,
.code-panel,
.cta {
  background: var(--surface);
  border: 1px solid rgba(11, 47, 68, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero__stats li {
  padding: 18px;
}

.hero__stats li strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero__stats li span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero__panel {
  display: grid;
  gap: 18px;
}

.panel-card {
  padding: 26px;
}

.panel-card--accent {
  background: linear-gradient(180deg, rgba(11, 47, 68, 0.96), rgba(15, 118, 110, 0.92));
  color: #f7fbfc;
}

.panel-card--accent p,
.panel-card--accent h2,
.panel-card--accent .panel-card__label {
  color: inherit;
}

.panel-card--accent .panel-card__label {
  opacity: 0.76;
}

.panel-card__label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.panel-card h2 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-gradient);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.trust-strip {
  display: grid;
  gap: 18px;
  margin: 8px 0 36px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 47, 68, 0.08);
}

.trust-strip p {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}

.trust-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip__items span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(11, 47, 68, 0.06);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.section {
  padding: 64px 0;
}

.section--contrast {
  padding-inline: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(248, 250, 250, 0.75), rgba(243, 239, 233, 0.96));
  border: 1px solid rgba(11, 47, 68, 0.06);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading--left {
  text-align: left;
  margin-inline: 0;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 16px;
}

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

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

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

.card {
  padding: 26px;
}

.card h3,
.timeline__item h3,
.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.card--feature {
  background: linear-gradient(180deg, rgba(252, 254, 254, 0.96), rgba(245, 249, 248, 0.96)), var(--surface);
}

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

.timeline__item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 47, 68, 0.08);
}

.timeline__step {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: var(--primary-gradient);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.code-panel {
  overflow: hidden;
  margin-top: 20px;
}

.code-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(11, 47, 68, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(247, 250, 249, 0.88);
}

pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  background: #171d27;
  color: #e5eef7;
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  padding: 24px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 32%), linear-gradient(135deg, rgba(251, 253, 252, 0.98), rgba(240, 247, 245, 0.98));
}

.footer {
  margin-top: 42px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 24, 37, 0.97), rgba(11, 47, 68, 0.95));
  color: rgba(244, 248, 250, 0.92);
}

.footer p {
  margin: 0;
  color: rgba(231, 240, 244, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.brand--footer .brand__mark {
  box-shadow: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.footer__title {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer__links {
  display: grid;
  gap: 12px;
}

.footer__links a,
.footer__links span {
  color: rgba(231, 240, 244, 0.72);
  line-height: 1.6;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-main {
  padding-top: 28px;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  padding: 44px 0 18px;
  align-items: stretch;
}

.page-hero--narrow {
  grid-template-columns: 1fr;
}

.page-hero__content,
.page-hero__card {
  min-width: 0;
}

.page-hero__lead,
.legal-card p,
.info-card span {
  color: var(--muted);
  line-height: 1.75;
}

.page-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-badges span,
.legal-summary__card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 47, 68, 0.08);
  box-shadow: var(--shadow);
}

.page-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
}

.page-hero__card,
.legal-card,
.info-card {
  background: var(--surface);
  border: 1px solid rgba(11, 47, 68, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.page-hero__card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 245, 0.96));
}

.page-hero__card h2 {
  margin-bottom: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.05em;
}

.page-hero__content h1 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.page-hero--narrow .page-hero__content h1 {
  max-width: 14ch;
}

.page-section {
  padding: 28px 0;
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 10px 0 6px;
}

.legal-summary__card {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
}

.legal-summary__card strong {
  font-size: 1rem;
}

.legal-summary__card span {
  color: var(--muted);
  line-height: 1.7;
}

.page-section--soft {
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(251, 252, 251, 0.92), rgba(239, 246, 243, 0.94));
  border: 1px solid rgba(11, 47, 68, 0.06);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.info-card strong {
  font-size: 1.05rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 10px;
}

.legal-card {
  padding: 28px;
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

@media (max-width: 1080px) {
  .hero,
  .grid--three,
  .grid--two,
  .faq-list,
  .page-hero,
  .info-grid,
  .legal-layout,
  .legal-summary,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

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

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 14px;
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 28px;
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 38px;
  }

  .section,
  .section--contrast {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .section--contrast {
    padding-inline: 18px;
  }

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

  .footer {
    padding: 24px;
  }

  .page-section--soft,
  .section--contrast {
    padding-inline: 20px;
  }

  .page-hero__content h1 {
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  body {
    background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 38%), linear-gradient(180deg, #faf6f0 0%, #f3ede4 55%, #fcfaf6 100%);
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .button,
  .button--secondary,
  .button--ghost {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .code-panel__header {
    flex-direction: column;
    align-items: flex-start;
  }

  pre {
    font-size: 0.86rem;
  }
}
