/* Integra Academy — landing styles */

:root {
  --bg: #0b0e14;
  --bg-alt: #11151d;
  --bg-card: #161b25;
  --fg: #e6e8ee;
  --fg-muted: #9aa3b2;
  --accent: #d97757;        /* Anthropic-ish warm */
  --accent-soft: #f4a781;
  --border: #232936;
  --max: 1080px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* HERO */
.hero {
  padding: 96px 0 80px;
  background: radial-gradient(ellipse at top, rgba(217,119,87,0.18) 0%, rgba(11,14,20,0) 60%);
  border-bottom: 1px solid var(--border);
}
.hero .brand {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.hero .brand span { color: var(--accent); font-weight: 600; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.lede {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 720px;
  margin: 0 0 36px;
}
.lede strong { color: var(--fg); font-weight: 600; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.1s ease, background 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn.primary {
  background: var(--accent);
  color: #1a1209;
}
.btn.primary:hover { background: var(--accent-soft); color: #1a1209; }
.btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-soft); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* SECTIONS */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.section.alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.section h2 .muted {
  color: var(--fg-muted);
  font-weight: 400;
  font-size: 0.7em;
}
.section p { color: #cbd1de; margin: 0 0 18px; }
.section.honest { padding: 64px 0 40px; }

/* GRID */
.grid {
  display: grid;
  gap: 20px;
}
.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) {
  .grid.cols-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.1s ease;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--accent-soft);
  font-weight: 600;
}
.card p { margin: 0; color: #c4cad8; font-size: 15px; }

/* STEPS */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.steps li h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}
.steps li p { margin: 0 0 10px; font-size: 15px; color: #c4cad8; }
.steps li .who {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--fg-muted);
  background: rgba(217,119,87,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* BULLET LIST */
.bullet-list { padding-left: 22px; }
.bullet-list li { margin-bottom: 8px; color: #cbd1de; }

/* FAQ */
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}
details[open] { border-color: var(--accent); }
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}
details[open] summary::after { content: "−"; }
details p {
  margin: 12px 0 0;
  color: #c4cad8;
  font-size: 15px;
}
details code {
  background: rgba(217,119,87,0.12);
  color: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  text-align: center;
}
.signature {
  margin-top: 32px;
  font-size: 15px;
  color: var(--fg-muted);
}
.signature .muted { font-size: 13px; }

/* FOOTER */
footer {
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
}
footer a { color: var(--fg-muted); }
footer a:hover { color: var(--accent-soft); }
