:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #617086;
  --line: #d7e0ea;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --green: #0c9b70;
  --blue: #315fd6;
  --violet: #6654d9;
  --amber: #d77a00;
  --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 36%),
    linear-gradient(320deg, rgba(12, 155, 112, 0.12), 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;
  align-items: stretch;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  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, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

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

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

.deal div,
.flow article,
.tabs,
.screen,
.checklist,
.grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  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;
}

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

.flow article {
  min-height: 190px;
  padding: 22px;
}

.node {
  display: inline-flex;
  min-width: 74px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.claude {
  background: var(--violet);
}

.bridge {
  background: var(--blue);
}

.vault {
  background: var(--green);
}

.flow h2,
.grid h2,
.checklist h2 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.15;
}

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

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

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

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

.tab.active {
  border-color: rgba(49, 95, 214, 0.48);
  background: #eef3ff;
  color: #2548ae;
}

.screen {
  min-height: 390px;
  overflow: hidden;
}

.screen header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.screen header strong,
.screen header span {
  display: block;
}

.screen header span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.terminal {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.line {
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: var(--soft);
  color: #26364d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.line.ok {
  border-color: #b9e6d3;
  background: #f0fbf7;
  color: #11654a;
}

.line.warn {
  border-color: #f0d5a8;
  background: #fff8ec;
  color: #74460a;
}

.checklist {
  padding: 18px;
}

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

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

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

.grid article {
  padding: 22px;
}

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

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

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

  .tabs {
    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,
  .tabs {
    grid-template-columns: 1fr;
  }

  .deal div,
  .flow article {
    min-height: auto;
  }

  .workspace {
    gap: 12px;
  }
}
