:root {
  --bg: #0b0b0a;
  --surface: #111110;
  --ink: #f2f2ef;
  --muted: #9e9e98;
  --subtle: #6e6e68;
  --line: #232320;
  --stage: #151513;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
}

.sheet {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 28px 144px;
}

.mark {
  margin-bottom: 120px;
}

.mark img {
  height: 22px;
  width: auto;
  display: block;
}

/* Manifesto */
.manifesto {
  margin-bottom: 120px;
}

h1 {
  margin: 0 0 40px;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.028em;
}

.manifesto p {
  margin: 0 0 22px;
  font-size: 17.5px;
  line-height: 1.62;
  letter-spacing: -0.008em;
  color: var(--ink);
}

/* Concepts */
.concepts {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.section-lead {
  margin: 0 0 56px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--subtle);
}

.concept {
  margin-bottom: 84px;
}

.concept h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: -0.02em;
}

.concept p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.64;
  letter-spacing: -0.006em;
  color: var(--muted);
}

/* Split Alternating Layout with Square Diagrams */
.concept-split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
  width: 820px;
  margin-left: -90px;
}

.concept-reverse {
  grid-template-columns: 400px 1fr;
}

.diagram-square {
  margin: 0;
  width: 400px;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
}

.diagram-square svg {
  width: 100%;
  height: 100%;
  display: block;
}

.svg-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: #f2f2ef;
}

.svg-axis {
  font-size: 9.5px;
  font-weight: 600;
  fill: #f2f2ef;
}

.svg-tick {
  font-size: 8.5px;
  fill: #8f8f88;
}

.svg-muted {
  font-size: 8.5px;
  fill: #7d7d77;
}

.svg-strong {
  font-size: 9.5px;
  font-weight: 500;
  fill: #f2f2ef;
}

/* Image placeholder */
.artifact {
  margin: 36px 0 0;
}

.artifact-frame {
  background: var(--stage);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artifact-frame p {
  margin: 0;
  max-width: 42ch;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--muted);
  text-align: center;
}

/* Quiet Small Gray Colophon */
.colophon {
  margin-top: 104px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--subtle);
}

.colophon-title {
  margin: 0 0 18px;
  color: var(--muted);
}

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

.colophon-list li::before {
  content: "— ";
}

.colophon-contact {
  margin: 0;
  color: var(--muted);
}

/* Fixed Bottom-Right Ask AI Button (inverted crisp white on black ground) */
.ask-ai-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 30;
  appearance: none;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 12px 18px;
  cursor: pointer;
}

.ask-ai-btn:hover {
  opacity: 0.88;
}

.ask-ai-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .concept-split,
  .concept-reverse {
    width: auto;
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .concept-reverse .diagram-square {
    order: 2;
  }

  .diagram-square {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .sheet {
    padding: 40px 22px 104px;
  }

  .mark {
    margin-bottom: 72px;
  }

  .manifesto {
    margin-bottom: 84px;
  }

  .manifesto p {
    font-size: 16.5px;
  }

  .concept {
    margin-bottom: 56px;
  }

  .concept h3 {
    font-size: 18.5px;
  }

  .concept p {
    font-size: 15.5px;
  }

  .colophon-list {
    grid-template-columns: 1fr;
  }

  .ask-ai-btn {
    right: 20px;
    bottom: 20px;
  }
}
a { color: inherit; }
.confirm-button { padding: 12px 18px; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; }
