:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --text: #111111;
  --muted: #666666;
  --line: #d8d8dc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  font-weight: 650;
}

code,
pre {
  font-family: "SF Mono", Menlo, Consolas, monospace;
}

.flow {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
  padding: 56px 0;
}

.flow-header {
  display: grid;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.flow-nav,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-nav a,
.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 12px;
  text-decoration: none;
}

.flow-section {
  margin-top: 28px;
}

.section-header {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 26px;
  letter-spacing: 0;
}

.section-header p,
.flow-panel p,
.flow-list,
.checklist {
  color: var(--muted);
}

.flow-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.flow-list,
.checklist {
  margin: 0;
  padding-left: 22px;
}

.flow-list li + li,
.checklist li + li {
  margin-top: 8px;
}

.code-block {
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  background: #111111;
  border-radius: 8px;
  color: #f5f5f7;
  font-size: 13px;
  line-height: 1.55;
}

.prompt-block {
  white-space: pre-wrap;
}

.note-panel {
  background: var(--surface-soft);
}

@media (max-width: 760px) {
  .flow {
    width: min(100% - 24px, 1080px);
    padding: 36px 0;
  }

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

