/* PERSONS.md — Website Styles */

:root {
  --bg: #0e1118;
  --bg-alt: #151921;
  --text: #e0e4ec;
  --text-muted: #8a90a4;
  --accent: #4b80d4;
  --accent-muted: #94afd4;
  --border: #262c3a;
  --code-bg: #1a1f2c;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  --max-width: 840px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
}

strong {
  font-weight: 600;
}

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 24px 4rem;
}

.hero-logo {
  height: 64px;
  margin-bottom: 1.5rem;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.cta-btn:hover {
  background: #3a6dbf;
  text-decoration: none;
}


/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* Disclaimer block */
.disclaimer-block {
  position: relative;
  margin: 1.5rem 0;
}

.disclaimer-content,
.example-block {
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.6;
  background: var(--code-bg);
  color: #c0c6d4;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.copy-btn.copied {
  background: rgba(75, 128, 212, 0.2);
  border-color: rgba(75, 128, 212, 0.4);
  color: var(--accent);
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: steps;
  padding: 0;
}

.steps li {
  counter-increment: steps;
  padding: 0.75rem 0 0.75rem 3rem;
  position: relative;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lists */
.levers,
.section ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.levers li,
.section ul li {
  margin-bottom: 0.5rem;
}

/* FAQ */
details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

details:last-child {
  border-bottom: none;
}

summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

summary::before {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  width: 1.2rem;
  transition: transform 0.15s;
}

details[open] summary::before {
  content: '\2212';
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

/* Spec link */
.spec-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2.5rem 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 3.5rem 24px 3rem;
  }

  .tagline {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .disclaimer-content,
  .example-block {
    font-size: 0.78rem;
    padding: 1rem;
  }
}
