:root {
  --bg: #10131a;
  --surface: #171b24;
  --line: rgba(237, 239, 244, .12);
  --ink: #edeff4;
  --mut: #8b93a7;
  --accent: #e8a33d;
  --accent-ink: #171306;
  --teal: #4fd1c5;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.demo-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: .85rem;
  padding: .55rem 1.2rem;
  flex-wrap: wrap;
}

.demo-badge a {
  color: var(--accent-ink);
  text-decoration: underline;
}

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.intro .mark {
  color: var(--teal);
  margin-bottom: 1.4rem;
}

.intro h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}

.intro h1 span { color: var(--accent); }

.intro .sub {
  margin-top: 1.2rem;
  max-width: 46ch;
  color: var(--mut);
  line-height: 1.6;
}

.panel { position: relative; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.card-eyebrow {
  color: var(--mut);
  font-size: .95rem;
  margin-bottom: 1.2rem;
}

.field {
  display: block;
  margin-bottom: .9rem;
}

.field span {
  display: block;
  font-size: .82rem;
  color: var(--mut);
  margin-bottom: .3rem;
}

.field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 6px;
  padding: .7em .8em;
  font: inherit;
}

.field input:focus {
  outline: none;
  border-color: var(--teal);
}

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: 6px;
  padding: .75em;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  margin-top: .4rem;
}

.btn-primary:hover { filter: brightness(1.08); }

.btn-secondary {
  width: 100%;
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 6px;
  padding: .7em;
  font: inherit;
  cursor: pointer;
}

.link-btn {
  display: block;
  margin: .9rem auto 0;
  background: none;
  border: none;
  color: var(--mut);
  font-size: .85rem;
  text-decoration: underline;
  cursor: pointer;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.1rem 0;
}

.reveal {
  border-color: var(--teal);
}

.reveal-kicker {
  color: var(--teal);
  font-weight: 600;
  margin-bottom: .3rem;
}

.reveal h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: .8rem;
  line-height: 1.25;
}

.reveal p { color: var(--mut); margin-bottom: .8rem; line-height: 1.55; }

.reveal-label {
  color: var(--ink) !important;
  font-weight: 600;
  margin-bottom: .5rem !important;
}

.reveal ul {
  list-style: none;
  margin-bottom: 1.3rem;
}

.reveal li {
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: .55rem;
  line-height: 1.5;
}

.reveal li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto .7rem;
}

.footer-links a {
  color: var(--mut);
  font-size: .8rem;
  text-decoration: none;
}

.copyright {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--mut);
  font-size: .78rem;
}

@media (max-width: 820px) {
  .stage { grid-template-columns: 1fr; text-align: center; }
  .intro .sub { margin-inline: auto; }
  .intro .mark { display: flex; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
