:root {
  --bg: #110704;
  --bg-2: #1a0f0a;
  --panel: rgba(24, 13, 9, 0.9);
  --panel-strong: #1a100c;
  --text: #fff2e6;
  --muted: #c9b4a2;
  --line: rgba(255, 171, 121, 0.24);
  --peach: #ffab79;
  --amber: #ffc874;
  --ember: #ff7e66;
  --clay: #6e3b2f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --sans: "Azeret Mono", "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", "Cascadia Code", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 171, 121, 0.14), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(255, 200, 116, 0.1), transparent 16%),
    linear-gradient(180deg, #090402 0%, #140b07 52%, #110704 100%);
  color: var(--text);
  font-family: var(--sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 171, 121, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 171, 121, 0.02) 1px, transparent 1px);
  background-size: 100% 28px, 28px 100%;
  opacity: 0.42;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar,
.hero-grid,
.story-grid,
.cta-band,
.compare-grid,
.lane-grid {
  display: grid;
  gap: 24px;
}

.topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 28px;
}

.topbar-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand-lockup {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 171, 121, 0.16), rgba(255, 171, 121, 0.05));
  color: var(--peach);
  font-family: var(--mono);
  font-size: 1.35rem;
  text-transform: lowercase;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  font-size: 1.25rem;
}

h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.94;
}

h3 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.05;
}

h4 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.lede,
.story-panel p,
.cta-band p,
.lane-card p,
.compare-copy {
  color: #efd7c8;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: start;
}

.hero-copy {
  padding: 24px 4px 0 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span,
.decision-chip,
.posture-chip,
.example-signal,
.comparison-table,
.quiet-link,
.primary-link,
button,
input,
select,
textarea {
  border: 1px solid var(--line);
}

.hero-points span,
.decision-chip,
.posture-chip,
.example-signal {
  padding: 8px 12px;
  background: rgba(255, 171, 121, 0.08);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.console-panel,
.story-panel,
.example-card,
.cta-band,
.compare-card,
.comparison-table-wrap,
.lane-card,
.lane-band {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.console-panel,
.comparison-table-wrap,
.lane-band {
  padding: 20px;
}

.story-panel,
.example-card,
.compare-card,
.lane-card {
  padding: 18px;
}

.panel-head,
.panel-subhead,
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.field-label,
.counter-line,
.example-copy,
.footer-note,
label,
table,
ol,
ul {
  font-family: var(--mono);
}

.field-label,
.counter-line,
.example-copy,
.footer-note,
label {
  color: var(--muted);
}

textarea,
input,
select {
  width: 100%;
  padding: 16px;
  background: rgba(16, 8, 6, 0.96);
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.6;
}

textarea {
  min-height: 190px;
  resize: vertical;
}

input,
select {
  min-height: 52px;
}

textarea:focus,
input:focus,
select:focus,
button:focus,
a:focus {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.control-field span {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
}

.action-row,
.status-row,
.lane-actions,
.cta-actions,
.example-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action-row,
.status-row {
  margin-top: 16px;
}

button,
.quiet-link,
.primary-link,
.signal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 171, 121, 0.08);
  font-family: var(--mono);
  font-size: 0.84rem;
  cursor: pointer;
}

button {
  appearance: none;
}

button:hover,
.quiet-link:hover,
.primary-link:hover,
.signal-link:hover {
  background: rgba(255, 171, 121, 0.16);
}

.primary-link,
button:not(.ghost-button) {
  background: linear-gradient(180deg, rgba(255, 171, 121, 0.28), rgba(255, 126, 102, 0.16));
}

.ghost-button {
  background: rgba(255, 255, 255, 0.03);
}

.decision-chip[data-verdict="offer one specific time"] {
  background: rgba(255, 200, 116, 0.18);
}

.decision-chip[data-verdict="make them reschedule"] {
  background: rgba(255, 171, 121, 0.18);
}

.decision-chip[data-verdict="give it space"],
.decision-chip[data-verdict="waiting"] {
  background: rgba(255, 255, 255, 0.06);
}

.decision-chip[data-verdict="walk away"] {
  background: rgba(255, 126, 102, 0.18);
}

.decision-panel,
.suggestions-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.decision-summary {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}

.decision-reasons,
#prompts-list,
.compare-list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: #f6e3d6;
  line-height: 1.6;
}

.meter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.meter-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.meter-card.good .meter-fill {
  background: linear-gradient(90deg, var(--amber), var(--peach));
}

.meter-card.warn .meter-fill {
  background: linear-gradient(90deg, #e39c6d, var(--peach));
}

.meter-card.alert .meter-fill {
  background: linear-gradient(90deg, #ff9f82, var(--ember));
}

.meter-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.meter-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.meter-fill {
  height: 100%;
}

.examples-strip,
.comparison-main {
  margin-top: 26px;
}

.example-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.example-tab {
  min-height: 40px;
  padding: 0 14px;
}

.example-tab.active {
  background: rgba(255, 171, 121, 0.18);
}

.example-card,
.story-grid,
.compare-grid,
.lane-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.example-card {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.example-copy {
  line-height: 1.7;
}

.story-panel,
.compare-card,
.lane-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.lane-band,
.cta-band {
  margin-top: 26px;
}

.lane-head {
  align-items: center;
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.comparison-shell .comparison-main {
  display: grid;
  gap: 26px;
}

.comparison-hero,
.comparison-table-wrap {
  margin: 0;
}

.comparison-table-wrap {
  overflow: hidden;
}

.comparison-table-scroll {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.comparison-table th {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.comparison-table tr + tr td,
.comparison-table tr + tr th {
  border-top: 1px solid var(--line);
}

.featured {
  background: linear-gradient(180deg, rgba(255, 171, 121, 0.12), rgba(255, 126, 102, 0.08));
}

.footer-note {
  margin-top: 30px;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.7;
}

code {
  color: var(--amber);
  font-family: var(--mono);
}

@media (max-width: 980px) {
  .hero-grid,
  .example-card,
  .story-grid,
  .compare-grid,
  .lane-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  h2 {
    max-width: 12ch;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .topbar,
  .panel-head,
  .panel-subhead,
  .section-head,
  .cta-band {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .topbar-links,
  .cta-actions {
    justify-content: flex-start;
  }

  .hero-copy {
    padding-top: 0;
  }

  .control-grid,
  .meter-grid {
    grid-template-columns: 1fr;
  }

  .decision-chip,
  .posture-chip,
  .hero-points span,
  .example-signal {
    font-size: 0.76rem;
  }
}
