:root {
  --rd-bg: #fbf8f5;
  --rd-ink: #1a1a1a;
  --rd-muted: #6b6b6b;
  --rd-accent: #c8825a;
  --rd-accent-dark: #a86843;
  --rd-line: #e6dfd6;
  --rd-success: #2f8a4f;
  --rd-warn: #b8860b;
  --rd-err: #b23a3a;
  --rd-card: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--rd-bg);
  color: var(--rd-ink);
  line-height: 1.55;
}
a { color: var(--rd-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px; border-bottom: 1px solid var(--rd-line);
  background: rgba(251,248,245,0.92);
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px);
}
.logo { font-weight: 700; font-size: 22px; color: var(--rd-ink); letter-spacing: -0.02em; }
.logo span { font-weight: 400; font-size: 13px; color: var(--rd-muted); margin-left: 8px; }
.nav nav a { margin-left: 24px; color: var(--rd-ink); font-size: 15px; }
.nav nav a.ghost { padding: 8px 16px; border: 1px solid var(--rd-ink); border-radius: 6px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 0;
  transition: 0.15s;
}
.btn.primary { background: var(--rd-accent); color: white; }
.btn.primary:hover { background: var(--rd-accent-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--rd-ink); border: 1px solid var(--rd-ink); }
.btn.lg { padding: 16px 28px; font-size: 17px; }

/* Hero */
.hero { padding: 80px 24px 60px; }
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 12px; color: var(--rd-accent-dark); font-weight: 700; margin-bottom: 16px; }
h1 { font-size: 54px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 24px; font-weight: 700; }
h1 em { color: var(--rd-accent-dark); font-style: italic; }
.lede { font-size: 19px; color: var(--rd-muted); max-width: 660px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.trust { font-size: 13px; color: var(--rd-muted); }

.logos { padding: 30px 24px; text-align: center; border-block: 1px solid var(--rd-line); background: white; }
.logos p { margin: 0; color: var(--rd-muted); font-size: 14px; }

/* Sections */
section { padding: 60px 0; }
section h2 { font-size: 36px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 32px; }
section.problem, section.pillars, section.why-different { background: white; border-block: 1px solid var(--rd-line); }
.problem h2, .pillars h2, .why-different h2 { text-align: center; }
.problem .grid-3 { text-align: center; }
.problem h3 { font-size: 56px; color: var(--rd-accent-dark); margin: 0; }
.problem p { color: var(--rd-muted); max-width: 240px; margin: 12px auto 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) {
  .grid-3, .grid-2, .two-col { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
}

.pillar { background: var(--rd-bg); padding: 28px; border-radius: 12px; border: 1px solid var(--rd-line); }
.pillar h3 { margin-top: 0; }

.check { list-style: none; padding: 0; }
.check li { padding: 10px 0 10px 28px; position: relative; }
.check li::before { content: "✓"; color: var(--rd-accent-dark); position: absolute; left: 0; font-weight: 700; }

.card-callout {
  background: var(--rd-ink); color: white; padding: 32px; border-radius: 16px;
}
.card-callout h3 { margin-top: 0; color: white; }
.card-callout p { color: rgba(255,255,255,0.85); }

.cta-strip { background: var(--rd-accent); color: white; padding: 60px 0; text-align: center; }
.cta-strip h2 { color: white; }
.cta-strip .btn.primary { background: white; color: var(--rd-accent-dark); }
.cta-strip .btn.primary:hover { background: var(--rd-bg); }

/* Forms */
.form-section { padding: 60px 24px; }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.form label { display: flex; flex-direction: column; font-size: 14px; color: var(--rd-ink); font-weight: 600; }
.form input, .form select, .form textarea {
  margin-top: 6px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--rd-line);
  font-size: 16px; background: white; font-family: inherit;
}
.form small { font-weight: 400; color: var(--rd-muted); margin-top: 4px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.fine { font-size: 12px; color: var(--rd-muted); }

/* Pricing */
.pricing-grid { margin-top: 40px; }
.plan { background: white; padding: 28px; border-radius: 16px; border: 1px solid var(--rd-line); position: relative; }
.plan.featured { border-color: var(--rd-accent); box-shadow: 0 8px 24px rgba(200,130,90,0.18); }
.plan .ribbon {
  position: absolute; top: -12px; left: 28px;
  background: var(--rd-accent); color: white; padding: 4px 12px; border-radius: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
}
.plan h3 { margin-top: 0; }
.plan .price { font-size: 44px; font-weight: 700; margin: 0; }
.plan .price span { font-size: 16px; color: var(--rd-muted); font-weight: 400; }
.plan .for { color: var(--rd-muted); margin: 4px 0 20px; }
.plan form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rd-line); }
.plan input { padding: 10px 12px; border-radius: 6px; border: 1px solid var(--rd-line); }
.wholesale-promo { background: var(--rd-card); padding: 32px; border-radius: 16px; border: 1px dashed var(--rd-accent); text-align: center; margin-top: 32px; }

/* Report */
.report-head { margin-bottom: 28px; }
.muted { color: var(--rd-muted); }
.score-banner {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center;
  background: white; padding: 32px; border-radius: 16px; border: 1px solid var(--rd-line);
}
.score-circle {
  width: 180px; height: 180px; border-radius: 50%;
  background: conic-gradient(var(--rd-accent) calc(var(--p,50%)*1%), var(--rd-line) 0);
  display: grid; place-items: center; margin: 0 auto;
  position: relative;
}
.score-circle::before { content: ""; position: absolute; inset: 16px; background: white; border-radius: 50%; }
.score-circle .score-num, .score-circle .score-lbl { position: relative; z-index: 1; }
.score-num { font-size: 48px; font-weight: 700; line-height: 1; }
.score-lbl { color: var(--rd-muted); font-size: 14px; }
.panel { background: white; border: 1px solid var(--rd-line); border-radius: 12px; padding: 24px; margin-top: 16px; }
.panel h3 { margin-top: 0; }
.risk-high { color: var(--rd-err); }
.risk-medium { color: var(--rd-warn); }
.risk-low { color: var(--rd-success); }
.sample { margin-top: 32px; background: white; border: 1px solid var(--rd-line); border-radius: 12px; padding: 24px; }
.sample summary { cursor: pointer; }
.sample-body { padding-top: 16px; border-top: 1px dashed var(--rd-line); margin-top: 16px; }

/* Progress */
.progress { background: var(--rd-line); height: 8px; border-radius: 4px; overflow: hidden; margin: 24px 0; }
.progress .bar { background: var(--rd-accent); height: 100%; transition: width 0.4s; }
.status { text-transform: capitalize; color: var(--rd-muted); }

/* Callouts */
.callout { padding: 16px 20px; border-radius: 8px; margin: 16px 0; }
.callout.success { background: #e8f5ed; color: #1a5a2d; border: 1px solid #b7dec4; }
.err { color: var(--rd-err); }

/* Dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.dash-head h1 { margin: 0; font-size: 32px; }
.audits-table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; }
.audits-table th, .audits-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rd-line); }
.audits-table th { background: var(--rd-bg); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rd-muted); }

/* Footer */
footer { background: var(--rd-ink); color: rgba(255,255,255,0.85); padding: 48px 24px 24px; margin-top: 80px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
footer a { color: rgba(255,255,255,0.85); }
.footer-base { max-width: 1100px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 13px; color: rgba(255,255,255,0.6); }

/* Treatment sample page */
.treatment-page { background: var(--rd-bg); padding: 32px; border-radius: 8px; }
.treatment-page h1 { font-size: 32px; }
.treatment-page .cta { display: inline-block; background: var(--rd-accent); color: white; padding: 12px 20px; border-radius: 8px; margin-top: 16px; }
