@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter+Tight:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── Tokens ─── */

:root {
  /* Surfaces */
  --paper:    #FAF7F2;
  --paper-1:  #FDFCF8;
  --paper-2:  #F2EEE6;

  /* Ink */
  --ink:      #1A1815;
  --ink-2:    #3B3833;
  --ink-3:    #6B6760;
  --ink-4:    #9B968C;

  /* Gold */
  --gold:     #8C6B1F;
  --gold-ink: #5C4612;
  --gold-leaf:#C9A95A;
  --gold-wash:#F1E9D2;

  /* Rules */
  --rule:      #1A1815;
  --rule-soft: #C8C2B4;
  --rule-softer:#DCD6C8;

  /* Shadows */
  --shadow-paper: 0 1px 3px rgba(26,24,21,0.06), 0 4px 12px rgba(26,24,21,0.04);

  /* Stacks */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'Consolas', monospace;
}

/* ─── Reset ─── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--ink); color: var(--paper); }

/* ─── Base ─── */

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img, svg { display: block; }

/* ─── Typography ─── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.02;
}

h3 { font-size: 26px; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 300;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.number-display {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

/* ─── Shell ─── */

.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.shell-narrow {
  max-width: 980px;
}

/* ─── Nav ─── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.nav-brand svg { flex-shrink: 0; }

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-wordmark-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.nav-wordmark-sub {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right a.link {
  font-size: 13px;
  font-weight: 500;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.btn:hover { opacity: 0.85; }

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover { opacity: 0.65; }

.btn-quiet {
  color: var(--ink);
  background: transparent;
  border-color: var(--rule-soft);
}

.btn-quiet:hover {
  border-color: var(--ink);
  opacity: 1;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* ─── Links ─── */

a.link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
  transition: border-color 0.15s;
}

a.link:hover { border-color: var(--ink); }

/* ─── Rules ─── */

.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.rule-soft {
  border: none;
  border-top: 1px solid var(--rule-soft);
  margin: 0;
}

.rule-double {
  border: none;
  border-top: 3px double var(--rule);
  margin: 0;
}

/* ─── Pills ─── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.3;
}

.pill-gold {
  background: var(--gold-wash);
  color: var(--gold-ink);
}

.pill-ink {
  background: var(--ink);
  color: var(--paper);
}

.pill-soft {
  background: var(--paper-2);
  color: var(--ink-3);
}

/* ─── Tables ─── */

table.report {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

table.report thead th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
}

table.report tbody td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--rule-softer);
  color: var(--ink-2);
  vertical-align: top;
}

table.report tbody td:first-child { font-weight: 500; color: var(--ink); }

table.report tbody tr:last-child td { border-bottom: none; }

/* ─── Sections ─── */

section { padding: 80px 0; }

.band {
  background: var(--paper-2);
}

/* ─── Hero ─── */

.hero { padding: 64px 0 80px; }

.hero-eyebrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 48px;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}

.hero-description {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

/* ─── Tombstone strip ─── */

.tombstone {
  padding: 40px 0;
  text-align: center;
}

.tombstone .eyebrow { margin-bottom: 20px; }

.tombstone-names {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.tombstone-names span {
  margin: 0 12px;
  color: var(--rule-soft);
}

/* ─── Process section ─── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}

.process-step {
  padding: 32px 32px 0 0;
  border-top: 1px solid var(--rule);
}

.process-step:not(:last-child) {
  border-right: 1px solid var(--rule-softer);
  padding-right: 32px;
  margin-right: 0;
}

.process-step:not(:first-child) {
  padding-left: 32px;
}

.process-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ─── Specimen section ─── */

.specimen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.specimen-text .eyebrow { margin-bottom: 16px; }
.specimen-text h2 { margin-bottom: 20px; }

.specimen-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 440px;
}

.specimen-card {
  background: var(--paper-1);
  border: 1px solid var(--rule-softer);
  padding: 32px;
  transform: rotate(-0.4deg);
  box-shadow: var(--shadow-paper);
  position: relative;
  transition: transform 0.3s ease;
}

.specimen-card:hover {
  transform: rotate(0deg);
}

.specimen-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.specimen-card-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.specimen-card-score {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.specimen-card-score small {
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 400;
}

.specimen-card-meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.specimen-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-bottom: 24px;
}

.specimen-card thead th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--rule);
}

.specimen-card thead th:last-child { text-align: right; }

.specimen-card tbody td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--rule-softer);
  color: var(--ink-2);
}

.specimen-card tbody td:first-child { font-weight: 500; color: var(--ink); }
.specimen-card tbody td:last-child { text-align: right; font-family: var(--mono); font-size: 11.5px; }

.specimen-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--rule-softer);
}

.specimen-card-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.specimen-card-hash {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
}

.specimen-card-date {
  font-size: 11px;
  color: var(--ink-3);
}

/* ─── Pricing ─── */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--rule-softer);
}

.pricing-card {
  padding: 40px;
  position: relative;
}

.pricing-card:first-child {
  border-right: 1px solid var(--rule-softer);
}

.pricing-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

.pricing-card .eyebrow { margin-bottom: 8px; }

.pricing-amount {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-amount small {
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 400;
}

.pricing-subtitle {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 28px;
}

.pricing-list {
  list-style: none;
  padding: 0;
}

.pricing-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-softer);
  line-height: 1.5;
}

.pricing-list li:last-child { border-bottom: none; }

.pricing-list li::before {
  content: '\00A7';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 500;
}

.pricing-card .btn { margin-top: 24px; }

/* ─── Closing ─── */

.closing {
  text-align: center;
  padding: 100px 0;
  max-width: 800px;
  margin: 0 auto;
}

.closing .eyebrow { margin-bottom: 24px; }

.closing blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 40px;
  padding: 0;
  border: none;
}

.closing blockquote em {
  font-weight: 300;
}

.closing-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ─── Footer ─── */

footer {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.footer-description {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 280px;
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-4);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--ink); }

.footer-col address {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.footer-col address a {
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 11.5px;
  color: var(--ink-4);
}

/* ─── Report article (rendered markdown) ─── */

.report { padding: 48px 0; }

.report h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 40px 0 12px;
}
.report h1:first-child { margin-top: 0; }

.report h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule-softer);
}

.report h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  margin: 24px 0 8px;
}

.report h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  margin: 20px 0 6px;
}

.report p {
  margin: 8px 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.report strong { font-weight: 600; color: var(--ink); }

.report code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--paper-2);
  padding: 0.15em 0.4em;
  border-radius: 2px;
}

.report pre {
  background: var(--paper-2);
  border: 1px solid var(--rule-softer);
  padding: 16px 20px;
  overflow-x: auto;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.55;
  border-radius: 2px;
}

.report pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

.report ul, .report ol {
  margin: 8px 0;
  padding-left: 24px;
}

.report li {
  margin: 4px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.report table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13.5px;
}

.report thead th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
}

.report tbody td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--rule-softer);
  vertical-align: top;
  color: var(--ink-2);
}

.report blockquote {
  border-left: 2px solid var(--rule-soft);
  margin: 16px 0;
  padding: 4px 0 4px 20px;
  color: var(--ink-3);
  font-style: italic;
}

.report blockquote p { margin: 0; }

.report hr {
  border: none;
  border-top: 1px solid var(--rule-softer);
  margin: 32px 0;
}

/* ─── Results page ─── */

.results-header {
  padding: 48px 0 0;
}

.results-header h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.results-header p {
  color: var(--ink-3);
  font-size: 15px;
}

.report-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule-softer);
  padding: 28px 32px;
  margin-top: 24px;
  background: var(--paper-1);
  transition: border-color 0.2s;
}

.report-card:hover { border-color: var(--rule); }

.report-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.report-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.report-card-score {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.report-card-score span {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-3);
}

.report-card-meta {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: var(--ink-3);
}

.report-card-rating {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 8px;
}

.report-downloads {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 13px;
}

.report-downloads a {
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-softer);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.report-downloads a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
  .shell { padding: 0 20px; }

  section { padding: 48px 0; }

  h1 { font-size: clamp(36px, 8vw, 48px); }

  .hero-eyebrows { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 32px; }

  .hero-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    border-right: none !important;
    padding: 24px 0 !important;
    margin-right: 0;
  }

  .process-step:not(:last-child) {
    border-bottom: 1px solid var(--rule-softer);
  }

  .specimen {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .specimen-card { transform: none; }
  .specimen-card:hover { transform: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--rule-softer);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .closing { padding: 64px 20px; }

  .tombstone-names { font-size: 15px; }
  .tombstone-names span { margin: 0 6px; }

  .nav-links { display: none; }

  .nav-right .link { display: none; }
}
