:root {
  color-scheme: light;
  --paper: #faf9f5;
  --paper-warm: #fffdf8;
  --paper-muted: #f1eee6;
  --ink: #141413;
  --ink-soft: #37352f;
  --muted: #716d64;
  --faint: #9b9488;
  --line: #ddd7ca;
  --line-strong: #c9c1b1;
  --blue: #4f6f8f;
  --orange: #c76f3a;
  --green: #6f8f72;
  --red: #a84d3f;
  --shadow: 0 22px 70px rgba(43, 37, 27, 0.09);
  --container: 1180px;
  --sans: Poppins, Avenir Next, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Lora, Georgia, Cambria, "Times New Roman", serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(199, 111, 58, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--paper), #f7f4ed 58%, var(--paper));
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3, blockquote, pre { margin-top: 0; }
p { color: var(--muted); line-height: 1.72; }
h1, h2, h3, .brand, .button, .eyebrow, .cardLabel, .loopCard strong, .offerCard strong { font-family: var(--sans); }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
h1 { max-width: 820px; margin-bottom: 26px; font-size: clamp(48px, 7vw, 92px); font-weight: 600; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 5vw, 64px); font-weight: 560; }
h3 { margin-bottom: 10px; font-size: 21px; font-weight: 560; line-height: 1.12; }
main { overflow: hidden; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.centerRow { justify-content: center; }

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(221, 215, 202, 0.76);
  background: rgba(250, 249, 245, 0.84);
  backdrop-filter: blur(18px);
}
.headerInner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.logoMark { width: 44px; height: 44px; color: var(--ink); flex: 0 0 auto; }
.logoMark.small { width: 28px; height: 28px; }
.logoAccent { fill: var(--orange); }
.navLinks { display: flex; gap: 30px; color: var(--muted); font-family: var(--sans); font-size: 13px; font-weight: 500; }
.navLinks a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.buttonPrimary { background: var(--ink); color: var(--paper); }
.buttonPrimary:hover { background: #2a2926; }
.buttonSecondary { border-color: var(--line-strong); background: rgba(255, 253, 248, 0.56); color: var(--ink); }
.buttonSecondary:hover { border-color: var(--ink); background: var(--paper-warm); }
.buttonSmall { min-height: 36px; padding: 0 15px; }

.hero { padding: 104px 0 86px; }
.heroGrid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.82fr); gap: 72px; align-items: center; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.subhead { max-width: 680px; color: var(--ink-soft); font-size: clamp(19px, 2vw, 24px); line-height: 1.58; }
.ctaRow { display: flex; flex-wrap: wrap; gap: 13px; margin: 34px 0 16px; }
.note { font-family: var(--sans); color: var(--faint); font-size: 13px; }

.heroArtwork {
  position: relative;
  isolation: isolate;
  margin: -34px -38px -28px -18px;
  padding: 46px 44px 42px 28px;
  background:
    radial-gradient(circle at 52% 50%, rgba(255, 253, 248, 0.46), transparent 62%),
    radial-gradient(circle at 50% 52%, rgba(199, 111, 58, 0.08), transparent 56%);
}
.heroArtwork::before,
.heroArtwork::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.heroArtwork::before {
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(250, 249, 245, 0) 8%, rgba(250, 249, 245, 0) 92%, var(--paper) 100%),
    linear-gradient(180deg, var(--paper) 0%, rgba(250, 249, 245, 0) 8%, rgba(250, 249, 245, 0) 92%, var(--paper) 100%);
}
.heroArtwork::after {
  inset: 18px 8px 12px 0;
  background: radial-gradient(ellipse at center, rgba(250, 249, 245, 0) 66%, rgba(250, 249, 245, 0.38) 86%, var(--paper) 100%);
}
.heroArtwork img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  opacity: 0.94;
  filter: saturate(0.95) contrast(0.98) drop-shadow(0 28px 54px rgba(43, 37, 27, 0.08));
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.thesis { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, 0.44); padding: 42px 0; }
.thesisGrid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: baseline; }
.kicker { margin: 0; color: var(--orange); font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1.55; }
.thesis h2 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4vw, 50px); font-weight: 500; line-height: 1.13; letter-spacing: -0.035em; }

.section { padding: 112px 0; }
.sectionIntro { max-width: 650px; }
.sectionIntro.narrow { max-width: 760px; margin-bottom: 46px; }
.sectionIntro p:not(.eyebrow) { font-size: 18px; }
.stickyIntro { position: sticky; top: 104px; align-self: start; }
.methodGrid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 84px; }
.methodSteps { display: grid; gap: 22px; }
.methodSteps article {
  border-top: 1px solid var(--line);
  padding: 28px 0 6px;
}
.methodSteps span { display: block; margin-bottom: 18px; color: var(--orange); font-family: var(--mono); font-size: 13px; }
.methodSteps p { max-width: 620px; margin-bottom: 0; }

.signalSection { background: rgba(255,253,248,0.5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signalGrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.signalGrid article { min-height: 190px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; background: rgba(250,249,245,0.52); }
.signalGrid article:nth-child(2) { background: rgba(79,111,143,0.055); }
.signalGrid article:nth-child(3) { background: rgba(199,111,58,0.055); }
.signalGrid article:nth-child(6) { background: rgba(111,143,114,0.055); }
.signalGrid p { margin-bottom: 0; font-size: 15px; }

.validationSection { background: rgba(250,249,245,0.72); }
.validationGrid { display: grid; grid-template-columns: 0.68fr 1fr; gap: 72px; align-items: start; }
.loopCard {
  border: 1px solid var(--line-strong);
  background: var(--paper-warm);
  box-shadow: var(--shadow);
}
.loopCard article {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 24px 28px;
}
.loopCard article:last-child { border-bottom: 0; }
.loopCard strong {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.loopCard p { margin: 0; font-size: 15px; }

.reportPreviewGrid { display: grid; grid-template-columns: 0.72fr 1fr; gap: 72px; align-items: center; }
.textLink { display: inline-flex; margin-top: 18px; color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); }
.paperReport {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper-warm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.paperMeta { border-bottom: 1px solid var(--line); padding: 16px 22px; color: var(--faint); font-family: var(--mono); font-size: 12px; }
.paperReport pre { margin: 0; padding: 30px; color: var(--ink-soft); font-family: var(--mono); font-size: 13px; line-height: 1.72; white-space: pre-wrap; }

.comparisonSection { padding-top: 0; }
.comparisonGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: var(--paper-warm); }
.comparisonGrid article { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); }
.comparisonGrid article:last-child { border-right: 0; }
.comparisonGrid .selected { background: #f4eee2; }
.comparisonGrid p:last-child { margin-bottom: 0; }

.accessSection {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 20%, rgba(199, 111, 58, 0.08), transparent 24rem),
    rgba(255,253,248,0.56);
}
.accessGrid { display: grid; grid-template-columns: 0.72fr 1fr; gap: 72px; align-items: start; }
.accessNote {
  margin-top: 24px;
  border-left: 2px solid var(--orange);
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px !important;
}
.offerGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offerCard {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line-strong);
  background: var(--paper-warm);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(43, 37, 27, 0.055);
}
.offerCard h3 { font-size: 26px; }
.offerCard p:not(.eyebrow) { margin-bottom: 18px; }
.offerCard strong {
  display: block;
  margin: auto 0 22px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.offerCard .button { width: 100%; }

.faqSection { border-top: 1px solid var(--line); background: rgba(255,253,248,0.52); }
.faqGrid { display: grid; grid-template-columns: 0.72fr 1fr; gap: 76px; }
.faqList { display: grid; gap: 28px; }
.faqList article { border-top: 1px solid var(--line); padding-top: 22px; }
.faqList p { margin-bottom: 0; }

.finalCta { padding: 122px 0; }
.finalCtaInner { max-width: 820px; text-align: center; }
.finalCta .logoMark { margin-bottom: 26px; }
.finalCta p { max-width: 650px; margin: 0 auto 30px; font-size: 20px; }
.footer { border-top: 1px solid var(--line); padding: 42px 0; background: var(--paper-warm); }
.footerInner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer p { margin: 0; font-family: var(--sans); font-size: 13px; }

.examplePage { min-height: 100vh; padding-bottom: 100px; }
.exampleHero { padding-top: 88px; padding-bottom: 56px; }
.exampleHero h1 { max-width: 950px; }
.backLink { display: inline-flex; margin-bottom: 32px; color: var(--muted); font-family: var(--sans); font-size: 14px; }
.backLink:hover { color: var(--ink); }
.reportList { display: grid; gap: 18px; }
.reportListCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,253,248,0.72);
  padding: 30px;
  box-shadow: 0 14px 40px rgba(43, 37, 27, 0.045);
}
.reportListCard:hover { border-color: var(--line-strong); background: var(--paper-warm); }
.reportListCard h2 { font-size: clamp(28px, 3.5vw, 42px); }
.reportStats { display: grid; gap: 10px; }
.reportStats span { display: block; border: 1px solid var(--line); border-radius: 999px; background: rgba(250,249,245,0.72); padding: 10px 14px; color: var(--ink-soft); font-family: var(--sans); font-size: 12px; font-weight: 600; }
.heroStats { grid-template-columns: repeat(3, max-content); display: grid; margin-top: 28px; }
.reportLayout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.reportAside, .reportBody section { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,253,248,0.7); padding: 28px; }
.reportAside { position: sticky; top: 96px; }
.reportAside ul, .positioningList { margin: 14px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.reportBody { display: grid; gap: 20px; }
.painCluster, .evidenceBlock { border: 1px solid var(--line); border-radius: 18px; background: rgba(250,249,245,0.72); padding: 20px; margin-top: 14px; }
.painCluster strong { color: var(--blue); font-family: var(--sans); font-size: 13px; }
.painCluster p, .evidenceBlock p { margin: 8px 0 0; }
.evidenceTopline { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--blue); font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.evidenceBlock blockquote { border-left: 2px solid var(--orange); border-radius: 0; background: transparent; padding: 0 0 0 16px; margin: 0 0 14px; color: var(--ink-soft); }
.reportCta { text-align: center; }
.reportCta p { max-width: 680px; margin-left: auto; margin-right: auto; }

.previewPage { min-height: 100vh; }
.previewHero { padding: 88px 0 36px; }
.previewGrid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; align-items: end; }
.previewNotice,
.previewPanel,
.signalReviewCard {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 14px 42px rgba(43, 37, 27, 0.045);
}
.previewNotice { padding: 26px; }
.previewNotice strong { display: block; margin-bottom: 10px; font-family: var(--sans); font-size: 16px; }
.previewNotice p { margin-bottom: 0; font-size: 15px; }
.previewWorkspace { padding-top: 44px; }
.previewWorkspaceGrid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.previewPanel { padding: 26px; }
.previewLabel { display: block; margin-bottom: 10px; color: var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 700; }
.previewPanel textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper-warm);
  color: var(--ink);
  padding: 18px;
  font: 16px/1.55 var(--sans);
  outline: none;
}
.previewPanel textarea:focus { border-color: var(--ink); }
.previewExamples { display: grid; gap: 10px; margin: 16px 0; }
.previewExamples button {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(250, 249, 245, 0.78);
  color: var(--muted);
  padding: 12px 14px;
  font: 13px/1.45 var(--sans);
  cursor: pointer;
}
.previewExamples button:hover { border-color: var(--line-strong); color: var(--ink); }
.previewRun { width: 100%; }
.planList { display: grid; gap: 8px; }
.planList span { color: var(--orange); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.planList p { margin-bottom: 12px; font-size: 15px; }
.signalReviewGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.signalReviewCard { padding: 24px; }
.signalReviewCard blockquote {
  margin: 14px 0;
  border-left: 2px solid var(--orange);
  padding-left: 14px;
  color: var(--ink-soft);
  font-style: italic;
}
.signalReviewCard p { font-size: 15px; }
.signalReviewCard strong { color: var(--ink); }
.reviewRow { display: grid; grid-template-columns: 1fr 150px; gap: 12px; margin-top: 18px; align-items: center; }
.reviewRow a,
.reviewRow select {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--ink);
  padding: 10px 12px;
  font: 13px var(--sans);
}
.reviewRow a { text-align: center; font-weight: 600; }
.exportBar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 1024px) {
  .heroGrid, .methodGrid, .reportPreviewGrid, .validationGrid, .accessGrid, .faqGrid, .reportLayout, .previewGrid, .previewWorkspaceGrid { grid-template-columns: 1fr; }
  .heroArtwork { max-width: 720px; }
  .stickyIntro, .reportAside { position: static; }
  .signalGrid, .comparisonGrid, .signalReviewGrid { grid-template-columns: 1fr; }
  .offerGrid { grid-template-columns: 1fr; }
  .comparisonGrid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .comparisonGrid article:last-child { border-bottom: 0; }
  .thesisGrid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--container)); }
  .navLinks { display: none; }
  .hero { padding: 72px 0 66px; }
  .heroGrid { gap: 42px; }
  .ctaRow { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .headerInner .button { width: auto; }
  .heroArtwork { margin: -18px -22px -18px; padding: 30px 22px; }
  .section { padding: 78px 0; }
  .signalGrid article { min-height: auto; }
  .loopCard article { grid-template-columns: 1fr; gap: 10px; }
  .offerCard { min-height: auto; }
  .paperReport pre { padding: 22px; font-size: 12px; }
  .reportListCard, .heroStats { grid-template-columns: 1fr; }
  .reportListCard { padding: 22px; }
  .footerInner { flex-direction: column; text-align: center; }
}
