:root {
  --bg: #f6f0e6;
  --panel: rgba(255, 251, 246, 0.92);
  --panel-strong: #fffaf4;
  --ink: #1c241d;
  --muted: #55645a;
  --line: rgba(28, 36, 29, 0.12);
  --brand: #1d4b3d;
  --brand-2: #d97244;
  --brand-3: #f2c96b;
  --good: #2d8157;
  --mid: #d6861f;
  --bad: #c75d3c;
  --shadow: 0 28px 70px rgba(37, 44, 31, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --body-font: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top right, rgba(242, 201, 107, 0.35), transparent 28%),
    radial-gradient(circle at left 15%, rgba(217, 114, 68, 0.16), transparent 24%),
    linear-gradient(180deg, #faf5ec 0%, var(--bg) 58%, #efe5d5 100%);
  color: var(--ink);
  font-family: var(--body-font);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fffaf4;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand) 0%, #346b58 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.pill,
.tag,
.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill {
  padding: 10px 14px;
  border: 1px solid rgba(29, 75, 61, 0.16);
  background: rgba(255, 255, 255, 0.66);
  color: var(--brand);
  font-weight: 600;
}

.eyebrow,
.label {
  padding: 6px 12px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(29, 75, 61, 0.08);
  color: var(--brand);
}

.hero,
.report-headline,
.report-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.hero {
  align-items: stretch;
  margin-bottom: 26px;
}

.hero-copy,
.preview-card,
.tool-frame,
.detail-card,
.reason-card,
.signal-bar-card,
.loading-state,
.locked-panel,
.verdict-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy {
  border-radius: 34px;
  padding: 36px;
}

.hero-copy h1,
.tool-frame h2,
.report-headline h1,
.detail-card h2,
.detail-card h3,
.reason-card h3,
.loading-state h1 {
  font-family: var(--display-font);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.92;
  max-width: 9.5ch;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.7;
  max-width: 62ch;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.metric {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(28, 36, 29, 0.08);
}

.metric strong,
.signal-grid strong,
.price-band strong {
  display: block;
  font-size: 1rem;
}

.metric span,
.signal-grid span,
.price-band span,
.report-date,
.detail-foot,
.muted {
  color: var(--muted);
}

.hero-preview {
  display: flex;
}

.preview-card {
  width: 100%;
  border-radius: 34px;
  padding: 30px;
  background:
    linear-gradient(160deg, rgba(29, 75, 61, 0.96) 0%, rgba(42, 93, 74, 0.94) 60%, rgba(28, 53, 46, 0.96) 100%);
  color: #fcf7f0;
  position: relative;
  overflow: hidden;
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -22% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 201, 107, 0.42), transparent 70%);
}

.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.preview-card h2,
.report-headline h1 {
  margin: 16px 0 12px;
}

.preview-card h2 {
  font-size: 2.15rem;
}

.preview-card p {
  margin: 0 0 24px;
  color: rgba(252, 247, 240, 0.82);
  line-height: 1.7;
}

.verdict {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.verdict-buy {
  background: rgba(242, 201, 107, 0.16);
  color: #ffd78d;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}

.signal-grid div {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.tool-frame {
  border-radius: 34px;
  padding: 32px;
}

.section-copy {
  margin-bottom: 20px;
}

.section-copy h2,
.section-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.section-copy p,
.section-head p,
.detail-card p,
.reason-card p,
.checklist div,
.locked-copy p,
.loading-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.listing-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

label,
.price-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label span {
  font-size: 0.95rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(28, 36, 29, 0.12);
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(29, 75, 61, 0.22);
  outline-offset: 1px;
}

.full-width {
  width: 100%;
}

.price-note {
  justify-content: center;
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(29, 75, 61, 0.05);
  border: 1px dashed rgba(29, 75, 61, 0.18);
}

.form-actions,
.preview-head,
.locked-panel,
.report-meta,
.signal-bar-copy,
.price-band,
.locked-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.primary-button,
.secondary-button,
.inline-button {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.primary-button,
.inline-button {
  color: #fffdf7;
  background: linear-gradient(135deg, var(--brand) 0%, #336a57 100%);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 36, 29, 0.12);
}

.primary-button:hover,
.secondary-button:hover,
.inline-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
}

.report-hero,
.report-section {
  margin-top: 18px;
}

.report-meta {
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.back-link {
  font-weight: 600;
  color: var(--brand);
}

.report-headline h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.96;
}

.verdict-card {
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.verdict-buy,
.verdict-card.verdict-buy {
  background: linear-gradient(180deg, rgba(45, 129, 87, 0.1), rgba(255, 255, 255, 0.92));
}

.verdict-card.verdict-wait {
  background: linear-gradient(180deg, rgba(214, 134, 31, 0.1), rgba(255, 255, 255, 0.92));
}

.verdict-card.verdict-skip {
  background: linear-gradient(180deg, rgba(199, 93, 60, 0.1), rgba(255, 255, 255, 0.92));
}

.verdict-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.verdict-card strong {
  font-size: 4.4rem;
  line-height: 0.9;
  font-family: var(--display-font);
}

.detail-card,
.reason-card,
.signal-bar-card,
.locked-panel,
.loading-state {
  border-radius: 24px;
  padding: 24px;
}

.detail-card h2,
.detail-card h3 {
  margin: 14px 0 10px;
  font-size: 1.7rem;
  line-height: 1.08;
}

.detail-card h3,
.reason-card h3 {
  font-size: 1.35rem;
}

.reason-grid,
.bars-grid,
.checklist {
  display: grid;
  gap: 16px;
}

.reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bars-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-bar {
  margin-top: 12px;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(28, 36, 29, 0.08);
}

.signal-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.signal-bar.good span {
  background: linear-gradient(90deg, #4ea870, #2d8157);
}

.signal-bar.mid span {
  background: linear-gradient(90deg, #efb24d, #d6861f);
}

.signal-bar.bad span {
  background: linear-gradient(90deg, #d38469, #c75d3c);
}

.price-band,
.tag-row,
.checklist {
  margin-top: 18px;
}

.price-band {
  padding: 16px;
  border-radius: 16px;
  background: rgba(29, 75, 61, 0.05);
  border: 1px solid rgba(29, 75, 61, 0.1);
}

.tag-row,
.checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag,
.checklist div {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 36, 29, 0.1);
}

.checklist div {
  color: var(--ink);
}

.locked-panel {
  background:
    linear-gradient(140deg, rgba(29, 75, 61, 0.06), rgba(217, 114, 68, 0.06)),
    var(--panel);
}

.locked-copy,
.locked-action {
  flex: 1;
}

.locked-action {
  flex-direction: column;
  align-items: flex-start;
}

.preview-card .label,
.paid-banner {
  background: rgba(255, 255, 255, 0.12);
  color: #fff6e8;
}

.paid-banner {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.loading-state {
  margin-top: 34px;
  text-align: center;
  padding: 52px 24px;
}

@media (max-width: 960px) {
  .hero,
  .report-headline,
  .report-split,
  .reason-grid,
  .bars-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .hero-proof,
  .signal-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .locked-panel,
  .report-meta,
  .price-band {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-bottom: 28px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 18px;
  }

  .hero-copy,
  .preview-card,
  .tool-frame,
  .detail-card,
  .reason-card,
  .signal-bar-card,
  .locked-panel,
  .loading-state,
  .verdict-card {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .section-copy h2,
  .section-head h2 {
    font-size: 1.8rem;
  }

  .report-headline h1 {
    font-size: 2.3rem;
  }
}
