:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5d6b7e;
  --soft: #eef3f6;
  --line: #d8e2e7;
  --green: #0b8f71;
  --blue: #2563eb;
  --amber: #c86512;
  --panel: #ffffff;
  --wash: #f7faf9;
  --shadow: 0 24px 70px rgba(20, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--wash);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(37, 99, 235, 0.13), transparent 28rem),
    linear-gradient(180deg, #fbfdfc 0%, #f3f8f5 54%, #eef5f1 100%);
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

section {
  width: 100%;
}

.hero,
.modules,
.flow,
.acceptance {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  min-height: 560px;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 54px);
  overflow: hidden;
}

.copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5vw, 5.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.12rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.55;
}

.terms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.terms span {
  min-height: 44px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  border: 1px solid #bdd4ce;
  border-radius: 999px;
  padding: 0 18px;
  color: #0b5d4c;
  background: #eef9f5;
  font-weight: 800;
  white-space: normal;
}

.app {
  min-width: 0;
  align-self: center;
  border: 1px solid #d8e6e1;
  border-radius: 24px;
  padding: 18px;
  background: #fbfefd;
  box-shadow: 0 18px 44px rgba(20, 32, 51, 0.08);
}

.topbar,
.audit {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.topbar strong,
.topbar span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.topbar span {
  border-radius: 999px;
  padding: 7px 10px;
  color: #12483d;
  background: #e8f7f1;
  font-size: 0.85rem;
  font-weight: 800;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.kpis article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #ffffff;
}

.kpis b {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
}

.kpis span,
.card span,
.card small,
.audit p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #ffffff;
}

.card + .card,
.audit {
  margin-top: 12px;
}

.card.warn {
  border-color: #f2c78f;
  background: #fff8ed;
}

.card small,
.card strong,
.card span {
  display: block;
}

.card strong {
  margin: 6px 0;
  font-size: 1rem;
  line-height: 1.25;
}

.audit {
  border-radius: 16px;
  padding: 13px 14px;
  background: #edf4ff;
}

.audit span {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.audit p {
  min-width: 0;
  margin: 0;
}

.modules,
.flow,
.acceptance {
  margin-top: 22px;
  border-radius: 24px;
  padding: clamp(22px, 3.5vw, 42px);
}

.section-head {
  max-width: 760px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.grid article {
  min-width: 0;
  min-height: 186px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
}

.grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.grid h3 {
  margin-top: 18px;
}

.grid p,
.limits p,
.acceptance p,
.acceptance li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.48;
}

.grid p {
  margin: 10px 0 0;
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 18px;
  align-items: stretch;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border: 0;
}

.lane,
.limits {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 3.5vw, 36px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.steps div {
  min-width: 0;
  border-left: 4px solid var(--green);
  border-radius: 14px;
  padding: 12px;
  background: #f5fbf9;
}

.steps b,
.steps span {
  display: block;
  overflow-wrap: anywhere;
}

.steps b {
  font-size: 0.98rem;
}

.steps span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.32;
}

.limits {
  border-color: #f1cda5;
  background: #fffaf3;
}

.limits .eyebrow {
  color: var(--amber);
}

.limits p {
  margin: 18px 0 0;
}

.acceptance ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.acceptance li {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #ffffff;
}

.acceptance p {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

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

  .hero {
    min-height: 0;
  }

  .app {
    align-self: stretch;
  }

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

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

@media (max-width: 620px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .hero,
  .modules,
  .lane,
  .limits,
  .acceptance {
    border-radius: 18px;
    padding: 20px;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 3.45rem);
  }

  h2 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .lead,
  .grid p,
  .limits p,
  .acceptance p,
  .acceptance li {
    font-size: 0.98rem;
  }

  .terms span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

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

  .kpis,
  .grid,
  .steps,
  .acceptance ul {
    grid-template-columns: 1fr;
  }

  .kpis article,
  .grid article {
    min-height: 0;
  }
}
