:root {
  --bg: #f5efe9;
  --bg-accent: #e6ded1;
  --panel: rgba(252, 248, 243, 0.9);
  --ink: #1f1b17;
  --muted: #63584d;
  --line: rgba(31, 27, 23, 0.12);
  --brand: #9a4c22;
  --brand-dark: #6f3517;
  --success: #2d6a4f;
  --shadow: 0 18px 44px rgba(57, 35, 18, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Cambria, Georgia, serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 30%),
    linear-gradient(135deg, var(--bg), var(--bg-accent));
}

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

.hero,
.workspace {
  display: grid;
  gap: 20px;
}

.hero {
  grid-template-columns: 1.65fr 1fr;
  margin-bottom: 24px;
}

.hero-copy,
.offer-card,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 30px;
}

.offer-card,
.card {
  padding: 24px;
}

.eyebrow,
.offer-label {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  max-width: 11ch;
}

.lede,
.card p,
li {
  color: var(--muted);
  line-height: 1.6;
}

.hero-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-metrics div,
.score-pill {
  min-width: 110px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong,
.score-pill strong {
  display: block;
  font-size: 1.6rem;
}

.workspace {
  grid-template-columns: 1fr 1.12fr;
  margin-bottom: 22px;
}

.split,
.actions,
.lead-form,
.pricing-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.field {
  flex: 1 1 220px;
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  width: 100%;
  border: 1px solid rgba(31, 27, 23, 0.15);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff8f2;
  cursor: pointer;
}

button.ghost,
.pricing-button.secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-dark);
  border: 1px solid rgba(154, 76, 34, 0.2);
}

.results-head,
.revenue-box,
.waitlist-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.empty-state {
  padding: 22px 0 10px;
}

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

.results-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

ul {
  margin: 0;
  padding-left: 18px;
}

.revenue-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.lead-form input,
.lead-form select {
  flex: 1 1 200px;
}

.lead-message {
  min-height: 24px;
  margin-top: 12px;
  color: var(--success);
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .hero,
  .workspace,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-card,
  .revenue-box {
    flex-direction: column;
  }
}
