/* remdom landing — minimal dark-default CSS */

:root {
  --bg: #0c0d10;
  --bg-2: #14161b;
  --fg: #e6e8eb;
  --fg-dim: #9aa0a6;
  --fg-faint: #6b7178;
  --accent: #7cc4ff;
  --accent-2: #b48eff;
  --border: #23262d;
  --good: #6ee0a0;
  --max: 880px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover { border-bottom-color: var(--accent); }

main, header.hero, footer { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Hero */
header.hero {
  padding-top: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-mock {
  margin: 0;
  min-width: 0;
}
.hero-mock svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 18px 48px rgba(0,0,0,0.45));
}
.hero-mock figcaption {
  margin-top: 14px;
  color: var(--fg-faint);
  font-size: 13px;
  font-family: var(--mono);
  text-align: center;
  line-height: 1.5;
}
@media (max-width: 900px) {
  header.hero { grid-template-columns: 1fr; }
  .hero-mock { max-width: 520px; margin: 16px auto 0; }
}
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
  margin: 0 0 24px 0;
}
.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--good);
  font-size: 12px;
}
header.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.sub {
  font-size: 19px;
  color: var(--fg-dim);
  max-width: 640px;
  margin: 0 0 32px 0;
}
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms, border-color 120ms;
}
.btn-primary {
  background: var(--accent);
  color: #0a1320;
  border-bottom: 1px solid var(--accent);
}
.btn-primary:hover { background: #a3d5ff; border-bottom-color: #a3d5ff; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--fg-dim); background: var(--bg-2); }

/* Sections */
section { padding: 56px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
section h2 {
  font-size: 24px;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
  font-weight: 600;
}
section p { margin: 0 0 14px 0; }

/* Inline kbd-style chip for framework names */
.kbd {
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 2px 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 500;
}

/* Section lead paragraph */
.lead { color: var(--fg-dim); font-size: 16px; margin-top: -6px; }

/* Framework cards */
.framework-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0 24px;
}
.framework-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 18px;
}
.framework-card header h3 {
  margin: 0 0 4px 0;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--accent);
  font-weight: 600;
}
.framework-card .tagline {
  margin: 0 0 14px 0;
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
}
.framework-card p { font-size: 14px; line-height: 1.55; margin: 0 0 10px 0; color: var(--fg-dim); }
.framework-card .meta { font-family: var(--mono); font-size: 12px; color: var(--fg-faint); margin-top: 8px; }
.framework-card .links { display: flex; gap: 16px; font-family: var(--mono); font-size: 13px; }
.framework-card .links a { color: var(--accent-2); }
.framework-card code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(255,255,255,0.04);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ASCII diagram */
pre.ascii-diagram {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-dim);
  margin: 18px 0 8px 0;
}

/* Features */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.features li {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}
.features li strong { display: block; margin-bottom: 6px; font-weight: 600; }

/* Compare table */
table.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}
table.compare th, table.compare td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.compare thead th {
  font-weight: 600;
  color: var(--fg-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
table.compare tbody td:first-child { color: var(--fg-dim); }
table.compare tbody td:nth-child(2) { color: var(--good); font-weight: 500; }

/* How */
ol.how { padding-left: 20px; margin: 0; }
ol.how li { margin-bottom: 12px; }
.note { color: var(--fg-dim); font-size: 14px; }
.note.small { font-size: 13px; }
.note a { color: var(--accent-2); }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.tier.featured { border-color: var(--accent); }
.tier h3 { margin: 0 0 4px 0; font-size: 18px; }
.tier .price { font-family: var(--mono); color: var(--accent); margin: 0 0 14px 0; font-size: 18px; }
.tier ul { padding-left: 18px; margin: 0; font-size: 14px; color: var(--fg-dim); }
.tier li { margin-bottom: 6px; }

/* Waitlist */
form.waitlist { display: flex; gap: 8px; max-width: 480px; margin: 16px 0; }
form.waitlist input {
  flex: 1;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-size: 15px;
  font-family: var(--sans);
}
form.waitlist input:focus { outline: none; border-color: var(--accent); }

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  padding: 32px 24px;
  margin-top: 32px;
  color: var(--fg-faint);
  font-size: 13px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
}
footer a { color: var(--fg-dim); }

/* Mobile */
@media (max-width: 720px) {
  header.hero { padding-top: 56px; }
  .features { grid-template-columns: 1fr; }
  .framework-cards { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; gap: 8px; }
  pre.ascii-diagram { font-size: 11px; padding: 14px; }
}
@media (max-width: 480px) {
  .tiers { grid-template-columns: 1fr; }
  table.compare { font-size: 12px; }
  table.compare th, table.compare td { padding: 8px 6px; }
}
