:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #64748b;
  --line: #d8e5e1;
  --panel: #ffffff;
  --soft: #eef7f2;
  --green: #0f9f6e;
  --blue: #2f6fe4;
  --orange: #e66b00;
  --shadow: 0 18px 50px rgba(15, 23, 42, 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(135deg, rgba(15, 159, 110, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(47, 111, 228, 0.12), transparent 42%),
    #f7fbf9;
}

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

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

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

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

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

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

.deal div {
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

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

.workspace {
  display: grid;
  grid-template-columns: 170px minmax(280px, 1fr) 320px;
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.steps,
.phone,
.ops-panel,
.grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.steps {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
}

.step {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.step.active {
  border-color: rgba(15, 159, 110, 0.55);
  background: #e8f7f0;
  color: #08734e;
}

.phone {
  min-height: 430px;
  overflow: hidden;
}

.phone header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fcfa;
}

.avatar {
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.phone header div strong,
.phone header div span {
  display: block;
}

.phone header div span {
  color: var(--muted);
  font-size: 14px;
}

.chat {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.bubble {
  max-width: min(86%, 520px);
  padding: 12px 14px;
  border-radius: 8px;
  color: #203047;
  background: #eef3f7;
  line-height: 1.45;
}

.bubble.bot {
  justify-self: end;
  color: #fff;
  background: var(--green);
}

.bubble.note {
  justify-self: center;
  width: 100%;
  max-width: 100%;
  border: 1px solid #bee7d3;
  background: #f0fbf6;
  color: #17684c;
  font-size: 14px;
}

.ops-panel {
  padding: 18px;
}

.ops-panel h2 {
  margin-bottom: 14px;
  font-size: 26px;
}

.inventory {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid #c9e9dc;
  border-radius: 8px;
  background: #f3fbf7;
}

.inventory span,
.inventory small {
  color: var(--muted);
}

.inventory strong {
  color: #08734e;
  font-size: 26px;
}

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

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

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

.grid article {
  padding: 22px;
}

.grid h2 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.12;
}

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

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

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

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

  .steps {
    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: 38px;
    line-height: 1.02;
  }

  .lead {
    font-size: 16px;
  }

  .deal,
  .steps {
    grid-template-columns: 1fr;
  }

  .deal div {
    min-height: auto;
  }

  .workspace {
    gap: 12px;
  }

  .bubble {
    max-width: 94%;
  }
}
