:root {
  --theme: #002676;
  --ink: #171714;
  --muted: #68665f;
  --line: #cbc8bf;
  --paper: #f3f1eb;
  --surface: #faf9f5;
  --white: #fff;
  --success: #31724a;
  --danger: #9a3828;
}

.rerun-card { overflow-wrap: anywhere; }
.rerun-card .scenario-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rerun-card .scenario-heading { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.rerun-card .scenario-heading h3 { margin: 0; font-size: 16px; flex: 1 1 210px; }
.rerun-card .scenario-device { font-size: 12px; color: var(--muted); }
.rerun-card .scenario-steps { margin-top: 10px; font-size: 14px; }
.rerun-card .scenario-steps summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rerun-card .scenario-steps summary:focus-visible { outline: 2px solid var(--theme); outline-offset: 4px; }
.rerun-card .scenario-steps ol, .rerun-card .scenario-steps ul { padding-left: 22px; }
.rerun-card .scenario-steps li { margin: 5px 0; }
.rerun-card .scenario-check-label { font-weight: 600; }
.rerun-card [data-rerun-duration], .rerun-card [data-rerun-website] { color: var(--muted); font-size: 14px; }
.rerun-card [data-rerun-fresh] { display: inline-block; margin-top: 16px; }

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}
button, input, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
[hidden] { display: none !important; }

.action-section {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.account, .sign-in-link {
  position: fixed;
  z-index: 1;
  top: 24px;
  right: max(24px, calc((100vw - 1180px) / 2));
}
.sign-in-link {
  padding: 9px 13px;
  border: 1px solid var(--theme);
  color: var(--white);
  background: var(--theme);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.sign-in-link:hover { color: var(--theme); background: transparent; }
.sign-in-link:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.account-reports {
  margin-right: 3px;
  color: var(--theme);
  font-weight: 700;
  text-decoration: none;
}
.account-reports:hover { text-decoration: underline; text-underline-offset: 3px; }
.account-reports:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.account-trigger {
  width: 34px;
  height: 34px;
  padding: 3px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}
.account-trigger:hover { background: rgba(0, 38, 118, .08); }
.account-trigger:focus-visible { outline: 2px solid var(--theme); outline-offset: 2px; }
.avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--theme);
  font-size: 9px;
  font-weight: 700;
  overflow: hidden;
}
.avatar > * { grid-area: 1 / 1; }
.avatar-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.account-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(0, 16, 52, .18);
}
.account-menu-email {
  margin: 0;
  padding: 14px 16px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}
.account-menu-links { padding: 6px; }
.account-menu-footer { border-top: 1px solid var(--line); }
.account-menu-item {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
}
.account-menu-item:hover { background: #ece9e1; }
.account-menu-item:focus-visible, .account-credits:focus-visible {
  outline: 2px solid var(--theme);
  outline-offset: -2px;
}
.account-menu-item svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.6;
}
.account-sign-out { color: var(--danger); }
.account-credits {
  padding: 14px 16px 15px;
  display: block;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.account-credits:hover { background: #f0ede6; }
.account-credits-heading, .account-credit-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.account-credits-heading { font-size: 13px; }
.account-credits-heading strong { font-weight: 700; }
.account-credits-heading > span { color: var(--muted); font-variant-numeric: tabular-nums; }
.account-credit-track {
  height: 7px;
  margin-top: 11px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: #dfdcd3;
}
.account-credit-track > span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--theme);
  transition: width 180ms ease;
}
.account-credit-meta {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
}
.account-credit-meta > span:last-child {
  color: var(--theme);
  font-size: 14px;
}
.text-button {
  padding: 0;
  border: 0;
  color: var(--theme);
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button:hover { color: var(--ink); }
.text-button:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }

main { flex: 1; display: flex; }
h1, h2, h3, p { margin-top: 0; }

.action-section {
  position: relative;
  padding: 52px 0 64px;
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(440px, 1.14fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}
.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.action-intro { min-width: 0; }
.action-intro h1 {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: clamp(48px, 5.5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}
.hero-test-item {
  min-height: 1.4em;
  max-width: 520px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  transform-origin: left center;
  transition: opacity .16s ease, transform .16s ease;
}
.hero-test-item.is-flipping {
  opacity: 0;
  transform: translateY(-5px) rotateX(72deg);
}
.intro-copy {
  max-width: 440px;
  margin-bottom: 0;
  color: #44423d;
  font-size: 18px;
  line-height: 1.5;
}
.homepage-showcase {
  width: 100%;
  min-width: 0;
  max-width: 520px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.homepage-showcase-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}
.homepage-showcase-count strong {
  margin-right: 5px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -.025em;
}
.homepage-ticker {
  width: 100%;
  min-width: 0;
  margin-top: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.homepage-ticker-track {
  --homepage-ticker-duration: 30s;
  width: max-content;
  display: flex;
  animation: homepage-ticker-scroll var(--homepage-ticker-duration) linear infinite;
  will-change: transform;
}
.homepage-ticker:hover .homepage-ticker-track,
.homepage-ticker:focus-within .homepage-ticker-track { animation-play-state: paused; }
.homepage-ticker.is-static {
  -webkit-mask-image: none;
  mask-image: none;
}
.homepage-ticker.is-static .homepage-ticker-track {
  animation: none;
  will-change: auto;
}
.homepage-ticker.is-static .homepage-ticker-list { padding-right: 0; }
.homepage-ticker-list {
  margin: 0;
  padding: 0 30px 0 0;
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.homepage-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--theme);
  font-size: 13px;
  white-space: nowrap;
}
.homepage-ticker-marker {
  width: 16px;
  height: 16px;
  display: grid;
  flex: 0 0 16px;
  line-height: 1;
  place-items: center;
}
.homepage-ticker-marker::before {
  grid-area: 1 / 1;
  content: "•";
  color: var(--line);
  font-size: 15px;
}
.homepage-ticker-marker img {
  width: 16px;
  height: 16px;
  grid-area: 1 / 1;
  border-radius: 3px;
  opacity: 0;
  object-fit: contain;
}
.homepage-ticker-marker.has-icon::before { opacity: 0; }
.homepage-ticker-marker.has-icon img { opacity: 1; }
.homepage-ticker-label {
  color: inherit;
}
@keyframes homepage-ticker-scroll {
  to { transform: translateX(-50%); }
}

.action-card {
  width: 100%;
  max-width: 610px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}
.card-heading {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.card-heading h3 {
  margin-bottom: 5px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.card-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.status-heading { display: grid; grid-template-columns: 12px 1fr; gap: 14px; }
.status-pulse {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--theme);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.label-row {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.label-row > span {
  color: var(--muted);
  font-size: 11px;
}
.label-row label { margin-bottom: 0; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: var(--white);
  font-size: 16px;
}
input { height: 52px; padding: 0 14px; }
textarea { min-height: 145px; padding: 14px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { border-color: var(--theme); box-shadow: 0 0 0 1px var(--theme); }
input::placeholder, textarea::placeholder { color: #77746d; opacity: 1; }
.provider-button {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--theme);
  border-radius: 0;
  background: var(--white);
  font-size: 15px;
  font-weight: 700;
}
.provider-button:hover { color: var(--white); background: var(--theme); }
.provider-button + .provider-button,
[data-other-auth-methods] > .provider-button { margin-top: 10px; }
.provider-button img { transition: filter .12s ease; }
.provider-button:hover img { filter: invert(1); }
.provider-button:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.divider {
  margin: 25px 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 11px;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.input-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.input-action input { border-right: 1px solid var(--line); }
.inline-button {
  min-width: 108px;
  border: 1px solid var(--theme);
  border-radius: 0;
  color: var(--white);
  background: var(--theme);
  font-size: 15px;
  font-weight: 700;
}
.inline-button:hover { color: var(--theme); background: transparent; }
.inline-button:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.fine-print, .code-sent { margin: 11px 0 0; color: var(--muted); font-size: 11px; }
.code-sent { margin: 0 0 22px; font-size: 13px; line-height: 1.5; }
.code-input {
  height: 60px;
  margin-bottom: 14px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .4em;
}
.code-actions { margin-top: 15px; display: flex; justify-content: space-between; }
.code-actions .text-button:disabled { cursor: default; text-decoration: none; }
.auth-back { margin-top: 30px; }
.auth-card label,
.auth-card input:not(.code-input),
.auth-card .provider-button,
.auth-card .inline-button,
.auth-card .primary-button { font-size: 15px; }
.auth-card .card-heading p,
.auth-card .divider,
.auth-card .fine-print,
.auth-card .code-sent,
.auth-card .text-button,
.auth-card .notice { font-size: 13px; }
.request-form { display: grid; gap: 24px; }
.request-form label,
.request-form input,
.request-form textarea,
.request-form .primary-button { font-size: 15px; }
.request-form .label-row > span,
.request-form .character-count { font-size: 13px; }
.field { position: relative; }
.audience-field textarea { display: block; min-height: 80px; }
.field-help { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.request-options-toggle { display: flex; align-items: center; gap: 12px; margin: -12px 0; padding: 12px 0; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.request-options-toggle::-webkit-details-marker { display: none; }
.request-options-toggle:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.request-options-toggle::after { content: ""; width: 7px; height: 7px; margin: -4px 3px 0 auto; border-right: 1.5px solid var(--theme); border-bottom: 1.5px solid var(--theme); transform: rotate(45deg); }
.request-options[open] .request-options-toggle::after { margin-top: 4px; transform: rotate(225deg); }
.request-options-fields { display: grid; gap: 24px; margin-top: 12px; }
.device-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.device-field legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.device-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.device-options label { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 10px 14px; border: 1px solid var(--line); cursor: pointer; }
.device-options label:has(input:checked) { border-color: var(--theme); background: var(--paper); }
.device-options label:focus-within { outline: 2px solid var(--theme); outline-offset: 2px; }
.device-options input { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--theme); }
.test-account-field { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.test-account-field legend { display: flex; width: 100%; justify-content: space-between; gap: 16px; padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.test-account-field legend span { color: var(--muted); font-size: 13px; font-weight: 400; }
.test-account-hint, .test-account-security { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.test-account-security { padding: 12px 14px; border-left: 2px solid var(--theme); background: var(--paper); color: var(--ink); }
.textarea-wrap { position: relative; }
.textarea-wrap textarea { display: block; }
.character-count {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 2px 4px;
  color: var(--muted);
  background: var(--white);
  font-size: 12px;
  line-height: 1.2;
}
.primary-button, .secondary-button {
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--theme);
  border-radius: 0;
  color: var(--white);
  background: var(--theme);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.primary-button:hover { color: var(--theme); background: transparent; }
.primary-button:focus-visible, .secondary-button:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.primary-button span { font-size: 18px; font-weight: 400; }
.submit-area .primary-button {
  width: 100%;
  min-height: 58px;
  padding-inline: 20px;
  font-size: 17px;
}
.submit-area .primary-button span {
  font-size: 28px;
  line-height: 1;
}
.secondary-button { width: 100%; justify-content: center; color: var(--theme); background: transparent; }
.secondary-button:hover { color: var(--white); background: var(--theme); }
.notice {
  margin: -14px 0 22px;
  padding: 11px 13px;
  border: 1px solid;
  font-size: 12px;
  line-height: 1.5;
}
.error-notice { color: var(--danger); border-color: #c98f84; background: #f7e8e3; }
.request-summary { margin: 0 0 27px; border-top: 1px solid var(--line); }
.request-summary > div {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.request-summary dt { color: var(--muted); font-size: 10px; }
.request-summary dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; }
.test-instructions-toggle { list-style: none; cursor: pointer; }
.test-instructions-toggle::-webkit-details-marker { display: none; }
.test-instructions-toggle:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.test-instructions-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.test-instructions-action { display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--theme); font-weight: 700; }
.test-instructions-action::before { content: "▸"; }
.test-instructions-toggle:hover .test-instructions-action { text-decoration: underline; }
.test-instructions-hide,
.test-instructions-details[open] .test-instructions-show,
.test-instructions-details[open] .test-instructions-preview { display: none; }
.test-instructions-details[open] .test-instructions-hide { display: inline; }
.test-instructions-details[open] .test-instructions-action::before { transform: rotate(90deg); }
.test-instructions-content { display: flow-root; }
.test-instructions-content :is(p, ul, ol, pre, blockquote, table) { margin: 0 0 12px; }
.test-instructions-content :is(h1, h2, h3, h4, h5, h6) { margin: 18px 0 8px; font-size: 1.1em; line-height: 1.4; letter-spacing: normal; }
.test-instructions-content > :first-child { margin-top: 0; }
.test-instructions-content > :last-child { margin-bottom: 0; }
.test-instructions-content :is(ul, ol) { padding-left: 20px; }
.test-instructions-content li { margin: 4px 0; }
.test-instructions-content li > :is(ul, ol) { margin-bottom: 0; }
.test-instructions-content .instruction-task { list-style: none; }
.test-instructions-content input[type="checkbox"] { width: 13px; height: 13px; margin: 0 5px 0 -18px; padding: 0; vertical-align: middle; accent-color: var(--theme); }
.test-instructions-content a { color: var(--theme); }
.test-instructions-content code { font-size: .95em; background: var(--paper); }
.test-instructions-content pre { padding: 12px; overflow-x: auto; background: var(--paper); }
.test-instructions-content pre code { white-space: pre; overflow-wrap: normal; }
.test-instructions-content blockquote { padding-left: 12px; border-left: 2px solid var(--line); color: var(--muted); }
.test-instructions-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.test-instructions-content :is(th, td) { padding: 6px 8px; border: 1px solid var(--line); text-align: left; }
.progress-track { width: 100%; height: 3px; overflow: hidden; background: #d7d5cf; }
.progress-track span { display: block; width: 18%; height: 100%; background: var(--theme); transition: width .5s ease; }
.progress-meta { margin: 10px 0 26px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.report-button { margin-top: 18px; }
.status-card .secondary-button { margin-top: 12px; }
.status-card.is-complete .status-pulse { background: var(--success); animation: none; }
.status-card.is-failed .status-pulse { background: var(--danger); animation: none; }
.schedule-card .status-pulse { background: var(--success); animation: none; }
.schedule-card .secondary-button { margin-top: 8px; }
.subscription-dialog, .agent-dialog {
  width: min(820px, calc(100% - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(10, 18, 35, .24);
}
.subscription-dialog::backdrop, .agent-dialog::backdrop { background: rgba(0, 16, 52, .55); }
.subscription-panel { position: relative; padding: clamp(28px, 5vw, 48px); }
.subscription-close, .agent-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}
.subscription-close:hover, .agent-close:hover { color: var(--theme); }
.subscription-close:focus-visible, .agent-close:focus-visible { outline: 2px solid var(--theme); outline-offset: 2px; }
.subscription-heading { max-width: 600px; margin-bottom: 30px; }
.subscription-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1;
  letter-spacing: -.04em;
}
.subscription-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}
.subscription-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.subscription-plan {
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 27px;
  border: 1px solid var(--line);
  background: var(--white);
}
.subscription-plan-featured { border-color: var(--theme); }
.subscription-plan-name {
  margin-bottom: 10px;
  color: var(--theme);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.subscription-price { margin-bottom: 0; display: flex; align-items: baseline; gap: 7px; }
.subscription-price strong { font-size: 42px; line-height: 1; letter-spacing: -.04em; }
.subscription-price span { color: var(--muted); font-size: 12px; }
.subscription-allowance { margin: auto 0 0; color: var(--muted); font-size: 14px; }
.subscription-allowance strong { color: var(--ink); }
.subscription-plan-button { width: 100%; }
.subscription-error { margin: 18px 0 0; }

.site-topbar, .reports-topbar {
  background: var(--paper);
}
.site-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(0, 16, 52, .045);
}
.site-topbar-inner, .reports-topbar-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.site-nav a {
  min-height: 34px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.site-nav a:hover { color: var(--theme); background: rgba(0, 38, 118, .06); }
.site-nav a:focus-visible { outline: 2px solid var(--theme); outline-offset: 2px; }
.site-actions { display: flex; align-items: center; gap: 12px; }
.book-call-link {
  padding: 9px 13px;
  flex-shrink: 0;
  border: 1px solid var(--theme);
  color: var(--theme);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.book-call-link:hover { background: rgba(0, 38, 118, .08); }
.book-call-link:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.book-call-compact { display: none; }
.site-brand, .reports-brand {
  display: flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.site-brand img, .reports-brand img { display: block; width: 85px; height: auto; }
.site-brand:focus-visible, .reports-brand:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.site-topbar .sign-in-link { position: static; }
.site-topbar .account, body[data-page="reports"] .account {
  position: relative;
  top: auto;
  right: auto;
}

body[data-page="home"] main { display: block; }
body[data-page="home"] .action-section { min-height: calc(100svh - 66px); }
.hero-scroll-cue {
  position: absolute;
  bottom: 13px;
  left: 50%;
  padding: 7px 10px;
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 160ms ease;
}
.hero-scroll-cue svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.4;
  animation: hero-scroll-cue 1.8s ease-in-out infinite;
}
.hero-scroll-cue:hover { color: var(--theme); }
.hero-scroll-cue:focus-visible { outline: 2px solid var(--theme); outline-offset: 2px; }
@keyframes hero-scroll-cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.marketing-section {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(60px, 6vw, 84px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 65px;
}
.section-kicker {
  margin: 8px 0 0;
  color: var(--theme);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-heading, .team-story {
  max-width: 1100px;
  margin-bottom: clamp(36px, 4vw, 52px);
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(28px, 5vw, 68px);
}
.section-heading-copy h2, .team-story-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.feedback-audience-wrap { height: 1.05em; display: block; overflow: hidden; color: var(--theme); }
.feedback-audience { display: inline-block; transition: opacity .22s ease, transform .22s ease; }
.feedback-audience.is-changing { opacity: 0; transform: translateY(.35em); }
.section-heading-copy > p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.how-steps {
  --stack-top: 86px;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  list-style: none;
}
.how-step {
  position: sticky;
  top: var(--stack-top);
  height: clamp(540px, calc(100svh - var(--stack-top) - 60px), 640px);
  padding: clamp(26px, 3.2vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: 0 -10px 28px rgba(0, 16, 52, .06);
}
.how-step:nth-child(2) { top: calc(var(--stack-top) + 12px); }
.how-step:nth-child(3) { top: calc(var(--stack-top) + 24px); }
.how-step:nth-child(4) { top: calc(var(--stack-top) + 36px); }
.how-step-copy { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.how-step-number { display: flex; align-items: baseline; gap: 6px; color: var(--theme); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.how-step-number small { color: var(--muted); font-size: 11px; font-weight: 400; }
.how-step h3 { margin: 22px 0 14px; font-size: clamp(28px, 3vw, 38px); line-height: 1.04; letter-spacing: -.04em; }
.how-step-copy > p { max-width: 400px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.how-step-copy .video-demo { margin-top: 28px; }
.how-visual { min-width: 0; min-height: 0; display: flex; flex-direction: column; border: 1px solid var(--ink); background: var(--white); }
.how-visual-bar { min-height: 40px; padding: 0 16px; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.how-visual-bar span:first-child { color: var(--ink); font-weight: 700; }
.how-visual-body { min-height: 0; flex: 1 1 auto; padding: 18px; overflow: auto; }
.how-step button:focus-visible { outline: 2px solid var(--theme); outline-offset: 2px; }

.persona-visual { display: flex; flex-direction: column; gap: 16px; }
.mock-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 12px; }
.mock-row-stacked { align-items: start; }
.mock-row-stacked .mock-label { padding-top: 7px; }
.mock-label { color: var(--muted); font-size: 13px; }
.mock-input { min-height: 38px; padding: 9px 12px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mock-toggle { width: max-content; display: flex; border: 1px solid var(--line); }
.mock-toggle button { min-height: 34px; padding: 7px 14px; border: 0; color: var(--muted); background: var(--white); font-size: 12px; transition: color .2s ease, background-color .2s ease; }
.mock-toggle button + button { border-left: 1px solid var(--line); }
.mock-toggle button:hover { color: var(--theme); }
.mock-toggle button[aria-pressed="true"] { color: var(--white); background: var(--theme); }
.persona-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.persona-chips button { min-height: 36px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-size: 13px; }
.persona-chips button:hover { border-color: var(--theme); color: var(--theme); }
.persona-chips button[aria-pressed="true"] { border-color: var(--theme); color: var(--white); background: var(--theme); }
.persona-chips button[data-persona="custom"] { border-style: dashed; }
.persona-chips button[data-persona="custom"][aria-pressed="true"] { border-style: solid; }
.persona-profile { margin-top: 6px; padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--theme); background: var(--surface); }
.persona-profile-head { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.persona-profile-head div { display: grid; gap: 2px; }
.persona-profile-head strong { font-size: 18px; letter-spacing: -.01em; }
.persona-profile-head small { color: var(--muted); font-size: 12px; }
.persona-avatar { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--theme); background: #e4eaf6; }
.persona-avatar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.persona-profile dl { margin: 0; display: grid; gap: 11px; }
.persona-profile dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.persona-profile dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 2; text-transform: uppercase; }
.persona-profile dd { margin: 0; font-size: 14px; line-height: 1.5; }
.persona-profile dd[data-persona-cares] { display: flex; flex-wrap: wrap; gap: 5px; }
.persona-profile dd[data-persona-cares] span { padding: 3px 9px; border: 1px solid var(--line); background: var(--white); font-size: 13px; }

.prompt-list { padding: 0; }
.prompt-item + .prompt-item { border-top: 1px solid var(--line); }
.prompt-item h4 { margin: 0; }
.prompt-item h4 button { width: 100%; min-height: 50px; padding: 10px 18px; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) 10px; align-items: center; gap: 12px; border: 0; color: var(--ink); background: transparent; font-size: 14px; font-weight: 700; text-align: left; }
.prompt-item h4 button small { overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.prompt-item h4 button::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid var(--theme); border-bottom: 1.5px solid var(--theme); transform: rotate(45deg); transition: transform .2s ease; }
.prompt-item h4 button[aria-expanded="true"] { color: var(--theme); }
.prompt-item h4 button[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(225deg); }
.prompt-item h4 button:hover { background: rgba(0, 38, 118, .04); }
.prompt-item h4 button:focus-visible { outline-offset: -2px; }
.prompt-body { padding: 2px 18px 16px; display: grid; gap: 10px; }
.prompt-task { padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
.prompt-task p { margin: 0 0 8px; font-size: 13px; line-height: 1.45; }
.prompt-task b { margin-right: 8px; color: var(--theme); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.prompt-task ul { margin: 0; padding: 0; display: grid; gap: 5px; list-style: none; }
.prompt-task li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: baseline; gap: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.prompt-task li b { margin: 0; color: var(--ink); font-size: 11px; }
.prompt-task li em { padding: 1px 6px; border: 1px solid var(--line); color: var(--theme); background: var(--white); font-size: 10px; font-style: normal; font-weight: 700; white-space: nowrap; }

.findings-visual { padding: 0; display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1.2fr); }
.finding-list { padding: 8px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); background: var(--surface); }
.finding-list button { min-height: 44px; padding: 8px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid transparent; color: var(--ink); background: transparent; font-size: 13px; line-height: 1.3; text-align: left; }
.finding-list button:hover { background: rgba(0, 38, 118, .05); }
.finding-list button[aria-pressed="true"] { border-color: var(--theme); background: var(--white); font-weight: 700; }
.finding-list button i, .run-legend i, .run-blocks i { width: 10px; height: 10px; display: block; flex: 0 0 auto; border-radius: 2px; }
.severity-critical { background: var(--danger); }
.severity-high { background: #d0762c; }
.severity-medium { background: #c9ad4c; }
.severity-worked { background: var(--success); }
.finding-detail { min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; overflow: auto; }
.finding-detail-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.finding-severity { padding: 4px 8px; border: 1px solid #c98f84; color: var(--danger); font-size: 10px; font-weight: 700; }
.finding-severity[data-severity="high"] { border-color: #e2b089; color: #9b4f12; }
.finding-severity[data-severity="medium"] { border-color: #d9c78a; color: #7a6415; }
.finding-severity[data-severity="worked"] { border-color: #9cc3a9; color: var(--success); }
.finding-detail h4 { margin: 16px 0 10px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.15; letter-spacing: -.025em; }
.finding-detail > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.finding-next-step { padding: 12px 14px; border-left: 3px solid var(--theme); background: var(--surface); }
.finding-next-step strong { color: var(--theme); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.finding-next-step p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; }
.finding-detail > .finding-evidence { margin: auto 0 0; padding-top: 16px; display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 12px; }
.finding-evidence svg { width: 14px; height: 14px; fill: var(--theme); }

.runs-visual { display: flex; flex-direction: column; gap: 16px; }
.run-legend { margin: 0; display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 12px; }
.run-legend span { display: inline-flex; align-items: center; gap: 6px; }
.run-list { margin: 0; padding: 0; display: grid; list-style: none; border-top: 1px solid var(--line); }
.run-list li { padding: 12px 0; display: grid; grid-template-columns: 80px minmax(0, 1fr) 150px; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.run-name { display: grid; gap: 1px; }
.run-name strong { font-size: 14px; }
.run-name small, .run-total small { color: var(--muted); font-size: 11px; }
.run-blocks { display: flex; flex-wrap: wrap; gap: 3px; }
.run-blocks i { width: 18px; height: 18px; }
.run-total { display: grid; gap: 1px; font-size: 14px; font-weight: 700; text-align: right; }
.run-list .is-latest .run-name strong, .run-list .is-latest .run-total { color: var(--theme); }
.run-changes p { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.run-changes ul { margin: 0; padding: 0; display: grid; gap: 6px; list-style: none; }
.run-changes li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.run-changes li span::before { content: ""; width: 6px; height: 10px; margin: 0 10px 1px 2px; display: inline-block; border-right: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(45deg); }
.run-changes li.is-open span::before { width: 8px; height: 8px; margin: 0 9px 1px 1px; border: 0; border-radius: 50%; background: #c9ad4c; transform: none; }
.run-changes em { flex: 0 0 auto; color: var(--success); font-size: 11px; font-style: normal; font-weight: 700; }
.run-changes .is-open em { color: var(--muted); }
.mock-button { margin-top: auto; min-height: 42px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--theme); color: var(--white); background: var(--theme); font-size: 13px; font-weight: 700; }

.video-demo { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--ink); color: var(--ink); background: var(--surface); }
.demo-browser-bar { height: 34px; padding: 0 12px; display: flex; flex: 0 0 auto; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.demo-browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.demo-browser-bar b { margin-left: 8px; color: var(--muted); font-size: 11px; font-weight: 400; }
.demo-stage { position: relative; min-height: 0; display: block; overflow: hidden; aspect-ratio: 1920 / 1070; background: #111; }
.demo-video { width: 100%; height: 100%; display: block; object-fit: cover; }
.reaction-stream { display: grid; gap: 12px; }
.reaction-lane { overflow: hidden; border-block: 1px solid #b9b5ab; background: var(--surface); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.reaction-lane:nth-child(2) { background: #eef3ff; }
.reaction-lane:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.reaction-track { width: max-content; display: flex; animation: reaction-scroll 82s linear infinite; will-change: transform; }
.reaction-lane-reverse .reaction-track { animation-direction: reverse; animation-duration: 76s; }
.reaction-lane:hover .reaction-track, .reaction-lane:focus .reaction-track { animation-play-state: paused; }
.reaction-group { display: flex; flex: 0 0 auto; padding-right: 1px; }
.reaction-item { width: min(370px, 74vw); min-height: 148px; margin: 0; padding: 25px 30px 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(17, 17, 15, .16); }
.reaction-item.reaction-long { width: min(450px, 84vw); }
.reaction-item.reaction-short { width: min(285px, 66vw); }
.reaction-item p { margin: 0 0 22px; color: var(--ink); font-size: clamp(17px, 1.55vw, 20px); font-weight: 560; line-height: 1.36; letter-spacing: -.022em; }
.reaction-item.reaction-highlight p { color: var(--theme); font-size: clamp(19px, 1.7vw, 22px); }
.reaction-item footer { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.reaction-product { color: inherit; text-decoration: none; }
.reaction-product:hover { color: var(--theme); text-decoration: underline; text-underline-offset: 3px; }
.reaction-product:focus-visible { border-radius: 2px; outline: 2px solid var(--theme); outline-offset: 3px; }
@keyframes reaction-scroll { to { transform: translateX(-50%); } }
.team-section { display: block; }
.team-story { margin-inline: auto; }
.team-story-copy { min-width: 0; }
.team-letter { max-width: 900px; margin: 0; }
.team-letter p { margin-bottom: 18px; color: var(--muted); font-size: 18px; line-height: 1.62; }
.team-letter p:last-child { margin-bottom: 0; }
.team-mission { margin-top: 28px; }
.team-mission h3 { margin: 0 0 8px; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.founder-grid { max-width: 760px; margin: clamp(38px, 5vw, 52px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.founder-grid a { min-height: 104px; padding: 18px; display: flex; align-items: center; gap: 17px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); text-decoration: none; }
.founder-grid a:hover { border-color: var(--theme); }
.founder-grid a:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.founder-monogram { width: 62px; height: 62px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); background: var(--theme); font-size: 15px; font-weight: 700; }
.founder-photo { position: relative; width: 62px; height: 62px; display: block; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: var(--line); }
.founder-photo img { position: absolute; max-width: none; object-fit: cover; transform: translate(-50%, -50%); }
.founder-photo-steven img { top: 58%; left: 55%; width: 125%; height: 125%; }
.founder-photo-artur img { top: 69%; left: 34%; width: 190%; height: 190%; }
.founder-grid a > span:last-child { display: grid; gap: 4px; }
.founder-grid strong { font-size: 16px; }
.founder-grid small { color: var(--muted); font-size: 11px; }
.pricing-section { padding-bottom: clamp(72px, 8vw, 104px); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pricing-card { min-width: 0; min-height: 430px; padding: clamp(26px, 3.5vw, 38px); display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.pricing-featured { border-color: var(--theme); }
.pricing-free { background: var(--theme); color: var(--white); }
.pricing-name { margin-bottom: 25px; color: var(--theme); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pricing-free .pricing-name { color: rgba(255,255,255,.72); }
.pricing-price { margin: 0; display: flex; align-items: baseline; gap: 9px; }
.pricing-price strong { font-size: clamp(48px, 5vw, 70px); line-height: 1; letter-spacing: -.055em; }
.pricing-price span { color: var(--muted); font-size: 14px; }
.pricing-allowance { margin: auto 0 34px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.pricing-allowance strong { color: var(--ink); }
.pricing-free .pricing-allowance, .pricing-free .pricing-allowance strong { color: var(--white); }
.pricing-card .primary-button { width: 100%; min-height: 62px; font-size: 16px; }
.pricing-free .primary-button { border-color: var(--white); color: var(--theme); background: var(--white); }
.pricing-free .primary-button:hover { color: var(--white); background: transparent; }
.site-footer { width: min(1180px, calc(100% - 48px)); min-height: 92px; margin-inline: auto; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--ink); }
.footer-legal { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--theme); text-decoration: underline; text-underline-offset: 3px; }
.site-footer > a:last-child { color: var(--theme); font-size: 12px; font-weight: 700; text-decoration: none; }
.site-footer > a:last-child:hover { text-decoration: underline; text-underline-offset: 3px; }
.reports-main { display: block; }
.reports-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-bottom: 72px;
}
.reports-hero {
  padding: 68px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  border-bottom: 1px solid var(--line);
}
.reports-hero h1 {
  margin-bottom: 0;
  font-size: clamp(52px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -.045em;
}
.new-test-button, .open-report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--theme);
  color: var(--white);
  background: var(--theme);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.new-test-button { min-width: 174px; gap: 9px; padding: 13px 15px; }
.new-test-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.75;
}
.open-report-button { min-width: 136px; padding: 11px 13px; }
.report-row-actions { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px; }
.report-failure { color: var(--danger); font-size: 13px; line-height: 1.5; }
.report-menu { position: relative; }
.report-menu-trigger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 26px; line-height: 1; }
.report-menu-trigger:hover, .report-menu-trigger[aria-expanded="true"] { color: var(--theme); background: rgba(0, 38, 118, .06); }
.report-menu-dropdown { position: absolute; z-index: 5; top: calc(100% + 6px); right: 0; min-width: 150px; padding: 4px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 6px 18px rgba(23, 23, 20, .1); }
.delete-report-button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; color: var(--danger); background: transparent; font-size: 13px; text-align: left; }
.delete-report-button svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.delete-report-button:hover, .delete-report-button:focus-visible { background: rgba(154, 56, 40, .07); }
.report-menu-trigger:focus-visible, .delete-report-button:focus-visible, .delete-report-dialog button:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.report-deletion-status { margin: 0; color: var(--success); font-size: 13px; }
.report-deletion-status:not(:empty) { margin-top: 24px; }
.delete-report-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 28px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.delete-report-dialog::backdrop { background: rgba(0, 16, 52, .45); }
.delete-report-dialog h2 { margin: 0 0 16px; font-size: 26px; letter-spacing: -.02em; }
.delete-report-dialog p { font-size: 14px; overflow-wrap: anywhere; }
.delete-report-detail { color: var(--muted); }
.delete-report-error { color: var(--danger); }
.delete-report-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.delete-report-actions button { min-height: 44px; padding: 11px 16px; border: 1px solid var(--line); color: var(--theme); background: transparent; font-size: 13px; font-weight: 700; }
.delete-report-actions .delete-report-confirm { border-color: var(--danger); color: var(--white); background: var(--danger); }
.report-progress {
  min-width: 136px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--theme);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.report-progress-pulse {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--theme);
  animation: pulse 1.8s ease-in-out infinite;
}
.new-test-button:hover, .open-report-button:hover { color: var(--theme); background: transparent; }
.new-test-button:focus-visible, .open-report-button:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.reports-status { padding: 34px 0; color: var(--muted); font-size: 13px; }
.reports-error { margin: 30px 0 0; }
.reports-list { border-bottom: 1px solid var(--line); }
.report-row {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
}
.report-row:last-child { border-bottom: 0; }
.report-row-meta { display: grid; gap: 4px; min-width: 0; align-self: start; padding-top: 4px; }
.report-row-meta time {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}
.report-row-meta time { white-space: nowrap; }
.report-created-by, .report-device {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.report-row-content { min-width: 0; }
.report-row-content > h2 {
  margin-bottom: 9px;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.report-row-brief {
  max-width: 710px;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  color: #44423d;
  font-size: 14px;
  line-height: 1.5;
}
.reports-empty {
  max-width: 680px;
  padding: 58px 0 0;
}
.reports-empty h2 {
  margin-bottom: 12px;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.reports-empty > p:not(.eyebrow) { margin-bottom: 26px; color: #44423d; }

@media (max-width: 900px) {
  .site-topbar-inner { flex-wrap: wrap; padding: 8px 0 10px; }
  .site-nav { width: 100%; order: 3; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: 0 0 auto; }
  .action-section {
    padding: 68px 0 76px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 48px;
  }
  .action-card { max-width: 680px; }
  .action-intro h1 { max-width: 680px; }
  .intro-copy { max-width: 560px; }
  .homepage-showcase { max-width: 680px; }
  body[data-page="home"] .action-section { min-height: auto; }
  .hero-scroll-cue { display: none; }
  .marketing-section { scroll-margin-top: 112px; }
  .section-heading, .team-story { grid-template-columns: 120px minmax(0, 1fr); column-gap: 34px; }
  .how-steps { gap: 20px; }
  .how-step, .how-step:nth-child(n) { position: relative; top: auto; height: auto; grid-template-columns: 1fr; box-shadow: none; }
  .how-step-copy > p { max-width: 620px; }
  .how-step-copy .video-demo { max-width: 620px; margin-top: 24px; }
  .how-visual-body { overflow: visible; }
  .team-section { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-card:last-child { grid-column: 1 / -1; }
  .report-row { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
  .report-row-actions { grid-column: 2; width: max-content; }
}

@media (max-width: 640px) {
  .account, .sign-in-link { top: 18px; right: 18px; }
  .action-section { width: calc(100% - 36px); }
  .action-section { padding: 42px 0 56px; gap: 36px; }
  .action-intro h1 { font-size: clamp(48px, 15vw, 64px); }
  .hero-test-item { font-size: 20px; }
  .intro-copy { font-size: 17px; }
  .homepage-showcase { margin-top: 28px; }
  .homepage-showcase-count span { display: block; margin-top: 4px; }
  .action-card { padding: 24px; }
  .input-action { grid-template-columns: 1fr; gap: 9px; }
  .input-action input { border-right: 1px solid var(--line); }
  .inline-button { min-height: 48px; }
  .site-topbar-inner, .reports-topbar-inner, .reports-shell { width: calc(100% - 36px); }
  .site-topbar-inner, .reports-topbar-inner { min-height: 58px; }
  .site-topbar-inner { gap: 12px; }
  .site-actions { margin-left: auto; gap: 8px; }
  .site-nav { margin-inline: -2px; }
  .site-nav a { padding-inline: 8px; font-size: 11px; }
  .agent-setup-trigger { padding-inline: 10px; }
  .marketing-section, .site-footer { width: calc(100% - 36px); }
  .marketing-section { padding: 56px 0; scroll-margin-top: 108px; }
  .section-heading, .team-story { margin-bottom: 34px; display: block; }
  .section-kicker { margin: 0 0 12px; }
  .section-heading-copy h2, .team-story-copy h2 { font-size: clamp(36px, 11vw, 48px); }
  .section-heading-copy > p { font-size: 17px; }
  .how-step { padding: 22px 18px 18px; gap: 22px; }
  .how-step h3 { margin: 16px 0 10px; }
  .how-visual-body { padding: 14px; }
  .mock-row { grid-template-columns: 1fr; gap: 6px; }
  .mock-row-stacked .mock-label { padding-top: 0; }
  .persona-profile { padding: 14px; }
  .persona-profile dl div { grid-template-columns: 1fr; gap: 2px; }
  .prompt-list { padding: 0; }
  .prompt-item h4 button { padding: 10px 14px; grid-template-columns: minmax(0, 1fr) 10px; }
  .prompt-item h4 button small { display: none; }
  .prompt-body { padding: 0 14px 14px; }
  .prompt-task li { grid-template-columns: 22px minmax(0, 1fr); }
  .prompt-task li em { grid-column: 2; justify-self: start; }
  .findings-visual { padding: 0; grid-template-columns: 1fr; }
  .finding-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .finding-detail { padding: 18px 16px; }
  .run-list li { grid-template-columns: 64px minmax(0, 1fr); }
  .run-total { grid-column: 2; text-align: left; }
  .run-changes li { flex-direction: column; gap: 0; }
  .run-changes em { padding-left: 20px; }
  .pricing-grid, .founder-grid { grid-template-columns: 1fr; }
  .pricing-card:last-child { grid-column: auto; }
  .reaction-item { min-height: 138px; padding: 22px 24px 20px; }
  .team-letter p { font-size: 17px; line-height: 1.58; }
  .pricing-card { min-height: 390px; }
  .site-footer { padding: 26px 0; flex-wrap: wrap; }
  body[data-page="reports"] .account { position: relative; top: auto; right: auto; }
  .reports-hero {
    padding: 44px 0 36px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }
  .reports-hero h1 { font-size: clamp(48px, 15vw, 64px); }
  .new-test-button { width: 100%; }
  .report-row {
    padding: 25px 0 28px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .report-row-meta { padding: 0; }
  .report-row-content > h2 { font-size: 23px; }
  .report-row-actions { grid-column: 1; width: 100%; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .reports-empty { padding-top: 42px; }
  .reports-empty h2 { font-size: 32px; }
  .subscription-dialog { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .subscription-panel { padding: 30px 20px 24px; }
  .subscription-heading { margin-bottom: 22px; padding-right: 20px; }
  .subscription-heading h2 { font-size: 36px; }
  .subscription-plans { grid-template-columns: 1fr; }
  .subscription-plan { padding: 20px; gap: 18px; }
  .subscription-price strong { font-size: 36px; }
}

@media (max-width: 420px) {
  .book-call-wide { display: none; }
  .book-call-compact { display: inline; }
  .book-call-link { padding-inline: 10px; }
}

@media (max-width: 360px) {
  .site-topbar-inner { gap: 6px; }
  .site-actions { gap: 4px; }
  .agent-setup-trigger, .book-call-link, .site-topbar .sign-in-link { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .reaction-lane { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .reaction-track { animation: none; will-change: auto; }
  .reaction-group[aria-hidden="true"] { display: none; }
  .feedback-audience { transition: none; }
  .mock-toggle button, .prompt-item h4 button::after { transition: none; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .action-section { padding: 24px 0 36px; gap: 18px; }
  .eyebrow { margin-bottom: 8px; }
  .action-intro h1 { margin-bottom: 8px; font-size: 42px; }
  .hero-test-item { margin-bottom: 12px; font-size: 17px; }
  .intro-copy { font-size: 15px; line-height: 1.4; }
  .action-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-pulse, .report-progress-pulse { animation: none; }
  .progress-track span { transition: none; }
  .hero-test-item { transition: none; }
  .homepage-ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .homepage-ticker-track { animation: none; will-change: auto; }
  .hero-scroll-cue svg { animation: none; }
  .homepage-ticker-list[aria-hidden="true"] { display: none; }
}

/* Coding-agent onboarding opens from the top bar without replacing the form. */
.agent-setup-trigger {
  margin-left: auto;
  padding: 9px 13px;
  flex-shrink: 0;
  border: 1px solid var(--theme);
  color: var(--theme);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.agent-setup-trigger:hover { background: rgba(0, 38, 118, .08); }
.agent-setup-trigger:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.agent-dialog { width: min(680px, calc(100% - 36px)); }
body:has(.agent-dialog[open]) { overflow: hidden; }
.agent-panel { position:relative; padding:clamp(24px, 5vw, 40px); text-align:left; overflow-wrap:anywhere; }
.agent-panel h2 { font-size:24px; margin-top:0; padding-right:32px; }
.agent-panel pre, .agent-page pre { white-space:pre-wrap; overflow-wrap:anywhere; padding:16px; background:#f1f0eb; border-radius:8px; font:14px/1.6 monospace; }
.agent-page p, .agent-page li, .agent-panel p { line-height:1.6; }
.report-sharing button { padding:10px 16px; margin:8px; font:inherit; cursor:pointer; }
.report-sharing { padding:20px; border:1px solid #ddd; margin:24px; }
.report-sharing input { display:block; width:100%; padding:10px; }
[hidden] { display:none !important; }

/* Keep sign-in and OAuth approval in one compact, vertical flow. */
.agent-page {
  display: block;
  flex: none;
  width: min(440px, calc(100% - 32px));
  margin: clamp(32px, 10vh, 100px) auto;
  overflow-wrap: anywhere;
}
.consent-brand { display: inline-flex; margin-bottom: 24px; }
.consent-brand img { display: block; }
.consent-card { padding: clamp(24px, 5vw, 32px); border: 1px solid var(--line); background: var(--surface); }
.consent-card h1 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.03em; line-height: 1.2; }
.consent-status { margin: 0; color: var(--muted); font-size: 14px; }
.consent-error { margin: 20px 0 0; color: var(--danger); font-size: 14px; }
.consent-details, .consent-sign-in { margin-top: 24px; font-size: 15px; }
.consent-details > p { margin: 0 0 12px; }
.consent-permissions { margin: 0 0 24px; padding-left: 20px; }
.consent-permissions li + li { margin-top: 8px; }
.consent-actions { display: grid; gap: 8px; }
.consent-card .primary-button { width: 100%; justify-content: center; }
.consent-actions .text-button { min-height: 40px; font-size: 14px; text-decoration: none; }
.consent-email { margin-top: 24px; font-size: 14px; }
.consent-email form { margin-top: 20px; }
.consent-card input { display: block; width: 100%; margin: 8px 0 16px; }
.consent-code-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.consent-code-actions .text-button { min-height: 40px; font-size: 13px; }
.consent-retry { min-height: 44px; margin-top: 16px; font-size: 14px; }
.agent-page a:focus-visible { outline: 2px solid var(--theme); outline-offset: 4px; }

/* Shared workspace controls use the same typography and palette as the reports. */
[data-workspace-menu] { display: grid; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
[data-workspace-menu] > span { overflow-wrap: anywhere; font-weight: 700; }
[data-workspace-menu] select { max-width: 100%; padding: 9px; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
[data-workspace-menu] button { text-align: left; padding: 0; border: 0; background: transparent; color: var(--theme); }
.workspace-dialog { width: min(720px, calc(100% - 32px)); height: min(580px, calc(100svh - 48px)); max-height: calc(100svh - 32px); padding: 0; overflow: hidden; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.workspace-dialog[open] { display: flex; flex-direction: column; }
.workspace-dialog::backdrop { background: rgba(0, 16, 52, .45); }
.workspace-dialog-header { flex: none; padding: 24px 28px 0; border-bottom: 1px solid var(--line); }
.workspace-dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.workspace-dialog-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.workspace-dialog-heading h2:focus { outline: none; }
.workspace-dialog button { padding: 9px 12px; border: 1px solid var(--line); color: var(--theme); background: transparent; font-size: 13px; }
.workspace-dialog button:focus-visible, .workspace-dialog [role="tabpanel"]:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.workspace-dialog-heading button { flex: none; width: 32px; height: 32px; border: 0; padding: 0; font-size: 24px; line-height: 1; }
.workspace-dialog [data-workspace-description] { margin: 4px 0 16px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.workspace-settings-tabs { display: flex; gap: 24px; }
.workspace-settings-tabs [role="tab"] { min-height: 44px; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; color: var(--muted); white-space: nowrap; }
.workspace-settings-tabs [role="tab"]:hover { color: var(--theme); }
.workspace-settings-tabs [aria-selected="true"] { border-bottom-color: var(--theme); color: var(--theme); font-weight: 700; }
.workspace-settings-tabs [role="tab"]:focus, .workspace-settings-tabs [role="tab"]:focus-visible { outline: none; box-shadow: none; }
.workspace-dialog-body { flex: 1; min-height: 0; padding: 24px 28px 28px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.workspace-dialog .workspace-settings-description { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.workspace-dialog [data-settings-error] { margin: 0 0 20px; color: var(--danger); font-size: 13px; }
.workspace-dialog form:not(.workspace-dialog-heading) { display: flex; align-items: end; gap: 10px; margin: 0 0 12px; }
.workspace-dialog form:not(.workspace-dialog-heading) > button { min-height: 52px; }
.workspace-dialog label { flex: 1; min-width: 0; margin-bottom: 0; font-size: 13px; }
.workspace-dialog input, .workspace-dialog textarea, .workspace-dialog [data-workspace-name] { font: inherit; font-size: 14px; font-weight: 400; line-height: 1.5; }
.workspace-dialog input { display: block; width: 100%; margin-top: 6px; padding: 9px; border: 1px solid var(--line); background: var(--white); }
.workspace-dialog form[data-testing-instructions] { display: block; }
.workspace-dialog [data-testing-instructions] label { display: block; }
.workspace-dialog [data-testing-instructions] p { color: var(--muted); font-size: 13px; }
.workspace-dialog textarea { display: block; width: 100%; margin: 12px 0; padding: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); resize: vertical; }
.workspace-dialog h3 { margin: 24px 0 8px; font-size: 16px; }
.workspace-dialog [data-workspace-readonly] h3 { margin-top: 0; font-size: 13px; }
.workspace-member { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 13px; }
.workspace-member span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.workspace-dialog [data-leave] { margin-top: 24px; color: var(--danger); }
@media (max-width: 640px) {
  .workspace-dialog-header { padding: 20px 20px 0; }
  .workspace-dialog-heading h2 { font-size: 22px; }
  .workspace-settings-tabs { gap: 16px; }
  .workspace-dialog-body { padding: 20px; scrollbar-gutter: auto; }
  .workspace-dialog form:not(.workspace-dialog-heading) { flex-wrap: wrap; }
  .workspace-dialog label { flex-basis: 100%; }
  .workspace-member { flex-wrap: wrap; }
  .workspace-member span { flex-basis: 100%; }
}
@media (max-width: 360px) {
  .workspace-dialog-header { padding-inline: 16px; }
  .workspace-dialog-heading h2 { font-size: 20px; }
  .workspace-settings-tabs { gap: 12px; }
  .workspace-settings-tabs [role="tab"] { font-size: 12px; }
  .workspace-dialog-body { padding-inline: 16px; }
}
.target-picker { margin: 0; padding: 0; border: 0; min-width: 0; }
.target-options { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.target-options label { position: relative; margin: 0 0 -1px; cursor: pointer; }
.target-options input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.target-options span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px 10px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--muted); }
.target-icon { width: 17px; height: 17px; flex-shrink: 0; }
.target-options small { font-size: 11px; font-weight: 400; }
.target-options label:hover span { color: var(--ink); }
.target-options input:checked + span { color: var(--theme); border-bottom-color: var(--theme); }
.target-options input:focus-visible + span { outline: 2px solid var(--theme); outline-offset: 4px; }
