:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #607086;
  --line: #d8e1ec;
  --panel: #ffffff;
  --soft: #f4f8fb;
  --green: #0d9b72;
  --blue: #315fd6;
  --amber: #d97706;
  --red: #c2410c;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(140deg, rgba(49, 95, 214, 0.1), transparent 34%),
    linear-gradient(320deg, rgba(13, 155, 114, 0.11), transparent 42%),
    #f8fbff;
}

.shell {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

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

.deal div,
.app-card,
.status-card,
.step,
.grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}

.deal div {
  min-height: 86px;
  padding: 16px 18px;
}

.deal strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.deal span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

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

.app-card,
.status-card,
.grid article {
  padding: 22px;
}

h2 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.15;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.52;
}

li + li { margin-top: 8px; }

.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.status strong { font-size: 16px; }
.status span { color: var(--muted); font-size: 14px; }
.status.ok { border-color: #b9e6d3; background: #f0fbf7; }
.status.warn { border-color: #efd6a8; background: #fff8ed; }
.status.risk { border-color: #f0c5b6; background: #fff3ef; }

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

.step {
  padding: 18px;
}

.step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.step p,
.grid p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

footer {
  margin-top: 18px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

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

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

@media (max-width: 620px) {
  .shell {
    width: min(100vw - 20px, 560px);
    padding-top: 14px;
  }

  .hero { padding: 18px; }

  h1 {
    font-size: 36px;
    line-height: 1.04;
  }

  .lead { font-size: 16px; }

  .deal { grid-template-columns: 1fr; }
  .deal div { min-height: auto; }
}
