@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("assets/work-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f7f5f8;
  --surface: #fff;
  --ink: #221624;
  --muted: #5e5162;
  --rule: #dfd7e2;
  --plum: #57265d;
  --dark: #251526;
  --tint: #eee4f0;
  --radius: 20px;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.55; }
a { color: var(--plum); text-underline-offset: 4px; }
button, input { font: inherit; }
img { display: block; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #a851af;
  outline-offset: 4px;
}
h1, h2, h3 { font-family: Montserrat, system-ui, sans-serif; text-wrap: balance; line-height: 1.14; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.65rem, 7.7vw, 5.35rem); letter-spacing: -.074em; font-weight: 760; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.5rem); letter-spacing: -.049em; font-weight: 730; }
h3 { font-size: 1.06rem; letter-spacing: -.018em; font-weight: 700; }
p { text-wrap: pretty; }
.frame { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus { position: absolute; z-index: 2; top: 12px; left: 12px; padding: .65rem 1rem; background: white; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .64rem;
  text-decoration: none;
  color: var(--ink);
  font-family: Montserrat, system-ui, sans-serif;
  font-size: .92rem;
  font-weight: 740;
  white-space: nowrap;
}
nav { display: flex; gap: clamp(.45rem, 2vw, 1.65rem); }
nav a { padding: .6rem .2rem; text-decoration: none; color: var(--muted); font-size: .94rem; font-weight: 520; }
nav a:hover { color: var(--plum); text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(2rem, 7vw, 6.5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7.25rem) 0;
}
.hero-copy { min-width: 0; }
.hero-lead { margin-top: 1.15rem; font-size: clamp(1.16rem, 2vw, 1.45rem); line-height: 1.34; font-weight: 550; }
.hero-detail { margin-top: .7rem; max-width: 36ch; font-size: 1.06rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 47px;
  padding: .68rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.24;
}
.primary { color: #fff; background: var(--plum); }
.primary:hover { background: #432047; }
.secondary { color: var(--plum); background: var(--surface); border-color: var(--rule); }
.secondary:hover { background: var(--tint); }

.report-preview {
  background: var(--dark);
  color: #fff4ff;
  border: 1px solid #492d4c;
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3.4vw, 2rem);
  box-shadow: 0 18px 44px #30143819;
}
.report-top { display: flex; align-items: center; justify-content: space-between; gap: .85rem; }
.preview-kicker { color: #d8bedd; font-size: .86rem; }
.report-host { font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: clamp(1.02rem, 2.6vw, 1.32rem); }
.demo-tag {
  font-size: .82rem;
  white-space: nowrap;
  color: #f0dff2;
  background: #442945;
  border-radius: 999px;
  padding: .23rem .56rem;
}
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.22rem 0 .85rem; }
.metric-grid > div { padding: .68rem .77rem; border: 1px solid #604262; border-radius: 10px; display: flex; flex-direction: column; }
.metric-grid strong { font-family: Montserrat, system-ui, sans-serif; font-size: 1.72rem; font-weight: 690; line-height: 1.2; }
.metric-grid span, .mini-findings p { font-size: .9rem; color: #e3cfe6; }
.mini-findings p { display: flex; justify-content: space-between; gap: .7rem; border-bottom: 1px solid #563957; padding: .55rem 0; }
.mini-findings p span:last-child { font-variant-numeric: tabular-nums; }
.report-preview a { display: inline-block; padding-block: .3rem; margin-top: .55rem; color: #f1d4f5; font-size: .91rem; }

.section { margin-bottom: clamp(3.25rem, 7.5vw, 6rem); scroll-margin-top: 1.5rem; }
.section h2 + p, .split-heading p { margin-top: .55rem; color: var(--muted); }
.section-lead { max-width: 65ch; }
.checklist-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(1.6rem, 5vw, 4.2rem);
  padding: clamp(1.25rem, 4vw, 2.6rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}
.checklist-status { margin-top: 1.35rem; }
.checklist-status p { font-size: .92rem; font-weight: 600; }
.checklist-status progress {
  display: block;
  inline-size: min(100%, 15rem);
  block-size: .55rem;
  margin-top: .45rem;
  border: 0;
  border-radius: 999px;
  background: var(--tint);
  accent-color: var(--plum);
}
progress::-webkit-progress-bar { background: var(--tint); border-radius: 999px; }
progress::-webkit-progress-value { background: var(--plum); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--plum); border-radius: 999px; }
#reset {
  display: block;
  min-height: 42px;
  margin-top: .6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .88rem;
  cursor: pointer;
}
#reset:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.checklist { padding: 0; margin: 0; min-width: 0; border: 0; }
.checklist label {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .68rem .35rem;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.checklist label:first-of-type { padding-top: .25rem; }
.checklist label:last-of-type { border: 0; padding-bottom: .25rem; }
.checklist input { flex: 0 0 auto; margin: .25rem 0 0; width: 1.16rem; height: 1.16rem; accent-color: var(--plum); cursor: pointer; }
.checklist label strong { font-weight: 630; }
.checklist label span span { display: block; color: var(--muted); font-size: .94rem; }
.checklist label:has(input:checked) strong { color: var(--plum); }

.split-heading { display: flex; align-items: end; gap: 1rem; justify-content: space-between; margin-bottom: 1.2rem; }
.split-heading p { max-width: 62ch; }
.split-heading .button { flex: 0 0 auto; }
.report-table { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
table { width: 100%; border-collapse: collapse; text-align: start; }
th, td { text-align: start; vertical-align: top; padding: .95rem 1.1rem; }
thead { background: #ede5ef; }
thead th { color: var(--ink); font-weight: 650; }
tbody tr + tr { border-top: 1px solid var(--rule); }
tbody th { width: 23%; font-weight: 620; }
tbody td:nth-child(2) { width: 32%; }
tbody td { color: var(--muted); font-size: .96rem; }
.priority {
  display: table;
  margin-bottom: .35rem;
  border-radius: 999px;
  padding: .13rem .55rem;
  font-size: .8rem;
  font-weight: 620;
  color: #4e3f55;
  background: #eee9f0;
}
.priority.high { color: #752a41; background: #f7e4eb; }
code { padding: .1em .2em; border-radius: 4px; background: #f1edf2; color: var(--ink); overflow-wrap: anywhere; }
.report-note { font-size: .9rem; color: var(--muted); margin-top: .6rem; }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1.25rem; }
.choice-grid article { padding: 1.22rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; }
.choice-grid p { margin-top: .52rem; color: var(--muted); }
.product {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.12rem;
  background: var(--tint);
  border: 1px solid #e2d3e5;
  border-radius: var(--radius);
  padding: clamp(1.05rem, 4vw, 2.2rem);
}
.product-brand { padding: .55rem; background: #f9f5fa; border-radius: 12px; }
.product h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.product p { margin-top: .36rem; color: var(--muted); max-width: 64ch; }
.site-footer { color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding: 1.25rem 0 2rem; font-size: .9rem; }
.error-page { max-width: 720px; padding-block: 4rem; }
.error-page p { margin: 1rem 0; }

@media (max-width: 800px) {
  .hero { gap: 1.6rem; grid-template-columns: 1.05fr .95fr; }
  .checklist-section { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .frame { width: calc(100% - 2rem); }
  .header-inner { display: block; padding-top: .8rem; }
  .wordmark img { width: 30px; height: 30px; }
  nav { gap: 1rem; margin-top: .3rem; }
  nav a { font-size: .87rem; }
  .hero { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 2.55rem 3.1rem; }
  h1 { max-width: 12ch; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .report-table { border: 0; background: transparent; }
  table, tbody, tr, th, td { display: block; }
  thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  tbody tr, tbody tr + tr { border: 1px solid var(--rule); background: var(--surface); border-radius: 12px; margin-bottom: .65rem; padding: .85rem 1rem; }
  tbody th, tbody td:nth-child(2) { width: auto; }
  th, td { padding: .2rem 0; }
  .priority { display: inline-block; margin: 0 .45rem .2rem 0; }
  .product { grid-template-columns: auto 1fr; align-items: start; gap: .8rem; }
  .product .button { grid-column: 2; justify-self: start; }
  .product-brand { padding: .2rem; }
  .product-brand img { width: 37px; height: 37px; }
}
