/* Application frame and typography */
:root {
  --graphite: #06283e;
  --teal: #006e70;
  --tint: #e7f3f1;
  --highlight: #81d7cc;
  --sheet: #fff;
  --wash: #edf2f3;
  --gutter: clamp(16px, 4.1vw, 72px);
  --measure: 1360px;
  --mono: "Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --header-height: 66px;
}
html {
  scroll-padding-top: calc(var(--header-height) + 16px);
}
body {
  background: var(--paper);
}
.studio-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
.studio-bar,
.studio-main,
.studio-footer {
  width: min(calc(100% - 2 * var(--gutter)), var(--measure));
  margin-inline: auto;
}
.studio-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--t-fffffff5);
  color: var(--graphite);
}
@supports (backdrop-filter: blur(1px)) {
  .studio-header {
    background: var(--t-ffffffd6);
    backdrop-filter: saturate(1.5) blur(12px);
  }
}
.studio-header[data-raised] {
  box-shadow: 0 12px 32px -24px var(--shadow-06283e99);
}
.studio-header .bar-cta {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: var(--graphite);
  color: var(--t-ffffff);
  font-size: 0.86rem;
  white-space: nowrap;
}
.studio-header .bar-cta:hover {
  background: var(--t-164861);
}
.studio-bar {
  height: 66px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}
.studio-brand img {
  display: block;
  width: 133px;
}
.studio-header nav {
  display: flex;
  gap: 26px;
  align-self: stretch;
}
.studio-header nav a {
  position: relative;
  display: grid;
  align-items: center;
  font-size: 0.91rem;
  color: var(--muted);
  font-weight: 500;
}
.studio-header nav a:hover,
.studio-header nav a[aria-current="page"] {
  color: var(--ink);
}
.studio-header nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--teal);
}
.bar-tools,
.workspace-access {
  display: flex;
  align-items: center;
  gap: 9px;
}
.bar-tools {
  margin-left: auto;
  gap: 13px;
}
.bar-tools button {
  color: var(--ink);
}
.bar-tools .icon-button:hover,
.workspace-access:hover {
  background: var(--wash);
}
.workspace-access {
  font-size: 0.81rem;
  border-left: 1px solid var(--line);
  padding: 6px 0 6px 16px;
}
.report-state :focus-visible {
  outline-color: var(--band-accent);
}
.studio-main {
  flex: 1;
  padding: 0 0 54px;
  max-width: none;
  outline: none;
  min-width: 0;
}
.studio-main .view {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}
.studio-main > .notice,
.studio-main > .active-banner {
  margin-top: 14px;
}
.studio-main > .page-head {
  margin: 38px 0 24px;
}
.entry-copy h1,
.studio-main > .page-head h1,
.journey h1,
.report-cover h1 {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-transform: none;
  line-height: 1.05;
}
.studio-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 36px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px 40px;
  font-size: 0.86rem;
}
.footer-brand strong {
  color: var(--graphite);
  font-size: 0.98rem;
}
.footer-brand p {
  margin: 6px 0 0;
  max-width: 40ch;
}
.studio-footer nav {
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  justify-content: flex-end;
}
.studio-footer nav div {
  display: grid;
  gap: 4px;
  align-content: start;
}
.footer-heading {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.studio-footer nav a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.studio-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
.section-label,
.plate-label,
.report-measures dt,
.section-index h2,
.mobile-index,
.plan-items small {
  font:
    400 0.71rem/1.45 Mono,
    monospace;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.section-label {
  display: block;
  color: var(--muted);
}
.studio-shell .button,
dialog .button {
  border-radius: 3px;
  min-height: 42px;
  font-weight: 600;
}
.primary,
.studio-main .primary {
  background: var(--graphite);
  border-color: var(--graphite);
}
.primary:hover:enabled,
.studio-main .primary:hover:enabled {
  background: var(--t-164861);
}
.quiet-link {
  padding: 4px 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--t-929990);
}
.quiet-link:hover {
  text-decoration-color: var(--ink);
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--t-1167a1);
  outline-offset: 3px;
}
input[type="checkbox"] {
  accent-color: var(--graphite);
}
.panel,
dialog,
.finding-group {
  border-radius: 4px;
}
dialog {
  background: var(--t-fafbf7);
}
dialog::backdrop {
  background: var(--shadow-12161288);
  backdrop-filter: blur(3px);
}
.dialog-head {
  background: var(--band);
  color: white;
}
.dialog-head .icon-button:hover {
  background: #424641;
}
.dialog-head .icon-button:focus-visible {
  outline-color: var(--band-accent);
}
.panel-head h2,
.dialog-head h2,
.run-progress h2 {
  font: 600 1.45rem/1.2 var(--display);
  letter-spacing: -0.025em;
}
.module-icon,
.module-icon:where(:not(.sand):not(.lilac)),
.run-icon {
  border-radius: 3px;
  background: var(--wash);
}
.severity,
.status {
  border-radius: 3px;
}

/* Start a review */
.entry-copy label,
.dns-values label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 7px;
}
.url-field,
.path-field {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--t-ffffff);
  border: 1px solid var(--t-858d81);
  border-radius: 3px;
}
.url-field {
  padding: 0 14px;
  height: 49px;
}
.url-field input,
.path-field input {
  width: 100%;
  min-width: 0;
  outline: 0;
  border: 0;
  background: none;
  color: var(--ink);
}
.url-field input:focus-visible,
.path-field input:focus-visible {
  outline: 0;
}
.url-field:focus-within,
.path-field:focus-within {
  outline: 2px solid var(--t-1167a1);
  outline-offset: 2px;
}
.field-help,
.release-note,
.sheet-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.field-help {
  margin-top: 6px;
}
.journey-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
}
.release-note {
  max-width: 430px;
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 16px;
}
.release-note svg,
.sheet-note svg {
  margin-top: 2px;
}
.atlas-standalone h1 {
  font: normal clamp(2rem, 4vw, 4rem)/1 Georgia, serif;
  letter-spacing: -.055em;
}
.atlas-standalone { min-height: 100dvh; margin: 0; background: var(--t-f4f3e9); font: 1rem/1.5 system-ui, sans-serif; color: var(--t-223921); }
.atlas-standalone main { max-width: 48rem; margin: auto; padding: 3vw 5vw; }
.atlas-standalone figure { margin: 1rem 0; }
.atlas-standalone img { width: 100%; height: auto; }
.atlas-standalone a { display: inline-block; padding-block: .8rem; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Report cover and run measurements */
[data-page="report"] .view {
  row-gap: 0;
}
[data-page="report"] .view > .panel,
[data-page="report"] .view > .notice {
  margin-top: 20px;
}
.report-cover {
  margin-top: 22px;
}
.report-plate {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(165px, 15vw, 208px);
  padding: 22px clamp(20px, 3.2vw, 48px);
  background: var(--sheet);
  border-top: 2px solid var(--graphite);
}
.report-plate::before {
  content: "";
  position: absolute;
  inset-inline-end: clamp(16px, 3.2vw, 48px);
  width: clamp(48px, 7vw, 88px);
  aspect-ratio: 1;
  background: url("/brand/guardian.png") center / contain no-repeat;
}
.report-identity {
  min-width: 0;
  width: calc(100% - clamp(70px, 11vw, 150px));
  overflow-wrap: anywhere;
}
.plate-label {
  color: var(--muted);
}
.plate-id {
  display: inline-block;
  white-space: nowrap;
}
.plate-id::before {
  content: "/";
  margin-right: 6px;
}
.plate-host span {
  margin-inline: 4px;
}
.report-cover h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  margin: 7px 0 12px -0.016em;
  color: var(--ink);
}
.plate-host {
  color: var(--muted);
  font:
    500 0.9rem/1.45 "Instrument Sans",
    sans-serif;
}
.report-strip {
  padding: 14px clamp(20px, 3.2vw, 48px);
  background: var(--band);
  color: #fff;
  display: flex;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
}
.report-measures {
  display: flex;
  align-items: stretch;
  margin: 0;
}
.report-measures > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-inline: clamp(12px, 2.3vw, 34px);
  border-left: 1px solid #52564e;
}
.report-measures > div:first-child {
  padding-left: 0;
  border: 0;
}
.report-measures dt {
  order: 1;
  color: #c8cdc5;
  font-size: 0.65rem;
  line-height: 1.3;
}
.report-measures dd {
  font: 600 1.9rem/1 var(--numeral);
  margin: 0;
}
.report-measures dd small {
  color: #c3c8bd;
  font:
    400 0.8rem Mono,
    monospace;
}
.report-state {
  display: flex;
  align-items: center;
  gap: 21px;
}
.report-state > div {
  display: grid;
  gap: 4px;
  justify-items: end;
}
.report-state .status {
  background: transparent;
  color: #f0f3eb;
  padding: 0;
  font-size: 0.84rem;
}
.report-state .status i {
  background: #9cd7a7;
}
.report-state .failed i,
.report-state .cancelled i {
  background: #f0aa8e;
}
.report-state .running i,
.report-state .queued i {
  background: #8fcaff;
}
.report-date {
  color: #c5cac2;
  font-size: 0.73rem;
}
.retest-button {
  background: var(--band-accent);
  color: #1e211e;
  border-color: var(--band-accent);
}
.retest-button:hover {
  background: #a8e6dd;
}
.report-tabs {
  gap: 24px;
  align-items: stretch;
  min-width: 0;
}
.report-tabs button {
  padding: 15px 1px 13px;
}
.report-tabs button.active {
  border-color: var(--graphite);
}
.report-workspace {
  display: grid;
  grid-template-columns: clamp(204px, 20%, 280px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "index content" "coverage content";
  gap: 18px clamp(28px, 4.2vw, 68px);
  align-items: start;
  margin-top: 28px;
}
.section-index {
  grid-area: index;
  min-width: 0;
}
.mobile-index {
  display: none;
}
.plan-control,
.report-section-grid button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.plan-control {
  padding: 12px;
  border: 1px solid var(--t-aab0a5);
  border-radius: 2px;
  font-size: 0.91rem;
  font-weight: 600;
}
.plan-control[aria-pressed="true"] {
  color: var(--t-ffffff);
  background: var(--graphite);
  border-color: var(--graphite);
}
.plan-control[aria-pressed="true"] svg {
  color: var(--highlight);
}
.plan-control:hover:not([aria-pressed="true"]) {
  background: var(--wash);
}
.section-index h2 {
  margin: 20px 0 5px;
  color: var(--muted);
}
.report-section-grid {
  display: grid;
}
.report-section-grid button {
  padding: 9px 5px;
  border-bottom: 1px solid var(--line);
}
.report-section-grid button:hover {
  background: var(--wash);
}
.report-section-grid button[aria-pressed="true"] {
  background: var(--tint);
  box-shadow: inset 3px 0 var(--teal);
}
.report-section-grid button > span:nth-child(2) {
  flex: 1;
}
.report-section-grid strong {
  font-weight: 600;
  font-size: 0.91rem;
}
.report-section-grid small,
.repair-options small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}
.report-section-grid .module-icon {
  width: 30px;
  height: 30px;
}
.report-reading {
  grid-area: content;
  min-width: 0;
  animation: reading-enter 0.2s ease-out;
}
@keyframes reading-enter {
  from {
    opacity: 0.45;
    transform: translateY(4px);
  }
}
.section-report h2 {
  font: 600 clamp(1.75rem, 2.7vw, 2.6rem)/1.08 var(--display);
  letter-spacing: -0.035em;
}
.section-report > .section-label {
  margin-bottom: 7px;
}
.section-report > p,
.verify-release p {
  line-height: 1.5;
  color: var(--muted);
  margin: 8px 0 17px;
  max-width: 70ch;
  font-size: 0.94rem;
}
.section-report ul {
  padding-left: 20px;
}
.section-report li {
  line-height: 1.45;
}
.plan-items {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 2px solid var(--graphite);
}
.section-report .plan-items {
  padding-left: 0;
}
.plan-items li {
  border-bottom: 1px solid var(--line);
}
.plan-items button {
  display: grid;
  width: 100%;
  grid-template-columns: 38px minmax(0, 1fr) auto 14px;
  gap: 14px;
  align-items: center;
  padding: 15px 12px;
  color: var(--ink);
  text-align: left;
}
.plan-items button:hover {
  background: var(--t-e8ebe2);
}
.plan-items .plan-rank {
  font: 600 1.72rem/1 var(--numeral);
  color: var(--t-60665c);
}
.ranked li:first-child {
  background: var(--t-ffffff);
  box-shadow: inset 3px 0 var(--teal);
}
.ranked li:first-child .plan-rank {
  color: var(--t-1d201d);
  background: var(--highlight);
  padding: 8px 0;
  text-align: center;
}
.plan-items strong,
.plan-items small,
.plan-impact {
  display: block;
}
.plan-items small {
  color: var(--t-575e55);
  font-size: 0.65rem;
}
.plan-items small code {
  text-transform: none;
}
.plan-items strong {
  margin: 3px 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}
.ranked li:first-child strong {
  font-size: 1.25rem;
}
.plan-impact {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.4;
}
.evidence-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  font-size: 0.78rem;
  font-weight: 600;
}
.evidence-link > span {
  margin-left: 4px;
  padding-left: 7px;
  border-left: 1px solid var(--line);
  font-weight: 400;
  color: var(--muted);
}
.plan-items .severity {
  white-space: nowrap;
}
.report-scope {
  grid-area: coverage;
  padding: 10px 12px;
  background: var(--wash);
  font-size: 0.84rem;
  min-width: 0;
}
.report-scope summary {
  cursor: pointer;
  font-weight: 600;
  padding: 3px 0;
}
.report-scope ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.report-scope li,
.verified-note,
.sheet-note {
  display: flex;
  gap: 7px;
  align-items: baseline;
}
.report-scope p {
  margin-top: 4px;
  line-height: 1.45;
  color: var(--muted);
}
.scope-sheet dl,
.report-scope dl {
  margin: 15px 0;
  border-block: 1px solid var(--line);
}
.scope-sheet dl div,
.report-scope dl div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.85rem;
}
.scope-sheet dl div + div,
.report-scope dl div + div {
  border-top: 1px solid var(--line);
}
.scope-sheet dd,
.report-scope dd {
  margin: 0;
  font-weight: 600;
}
.report-scope dt,
.scope-sheet dt {
  color: var(--muted);
}
.repair-paths {
  margin-top: 28px;
}
.repair-paths h3 {
  margin: 0 0 12px;
}
.repair-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.repair-options button,
.verify-release {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--sheet);
  text-align: left;
}
.repair-options button:hover {
  border-color: var(--t-798172);
}
.repair-options button > span:nth-child(2) {
  flex: 1;
}
.verify-release {
  margin-top: 10px;
  align-items: flex-start;
  background: transparent;
}
.verify-release p {
  margin: 4px 0;
  font-size: 0.87rem;
}
.area-checks {
  margin: 24px 0;
}
.area-checks h3 {
  margin-bottom: 10px;
  font-size: 1.65rem;
}
.area-checks details {
  border-block-start: 1px solid var(--line);
}
.area-checks details:last-child {
  border-bottom: 1px solid var(--line);
}
.area-checks summary {
  padding: 12px 4px;
  cursor: pointer;
}
.area-checks summary small {
  display: inline-block;
  color: var(--muted);
  margin-left: 10px;
}
.area-check-observation {
  display: grid;
  grid-template-columns: minmax(95px, 1fr) 3fr;
  gap: 8px;
  padding: 8px 0;
  margin-inline: 6px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.timing-table {
  width: 100%;
  border-collapse: collapse;
}
.timing-table th,
.timing-table td,
.timing-table caption {
  text-align: left;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line);
}
.timing-table caption {
  color: var(--muted);
}
/* Scope, ownership, and report history */
.journey {
  margin: clamp(24px, 3.8vw, 56px) auto 0;
  width: 100%;
  max-width: 1150px;
}
.studio-main > .page-head h1,
.journey h1 {
  font-size: clamp(2.2rem, 4.1vw, 3.9rem);
}
.steps {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0 0 24px;
  padding: 0;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted);
}
.steps li + li::before {
  content: "";
  width: 23px;
  height: 1px;
  background: var(--t-a7aea1);
  margin-inline: 4px 6px;
}
.steps b {
  width: 22px;
  height: 22px;
  border: 1px solid var(--t-a7aea1);
  border-radius: 2px;
  display: grid;
  place-items: center;
  font:
    400 0.72rem Mono,
    monospace;
}
.steps .current {
  font-weight: 600;
  color: var(--ink);
}
.steps .current b {
  background: var(--highlight);
  border-color: var(--highlight);
}
.steps .done b {
  background: var(--graphite);
  color: var(--t-ffffff);
  border-color: var(--graphite);
}
.journey-deck,
.section-explainer {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.5;
}
.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.85fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
  margin-top: 30px;
}
.journey-grid > * {
  min-width: 0;
}
.journey-fields {
  border-top: 2px solid var(--ink);
  padding-top: 17px;
}
.journey fieldset {
  border: 0;
  min-width: 0;
  padding: 0;
  margin: 0 0 24px;
}
.journey legend,
.journey-fields > h2 {
  font: 600 1.4rem/1.2 var(--display);
  letter-spacing: -0.025em;
  margin: 0 0 13px;
}
.area-choice,
.scope-static {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
}
.area-choice {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--t-ffffff);
  cursor: pointer;
}
.area-choice.chosen {
  background: var(--tint);
  border-color: var(--t-9bbcb8);
}
.area-choice span:nth-child(2),
.scope-static > div {
  flex: 1;
}
.area-choice strong,
.area-choice small,
.scope-static small {
  display: block;
}
.area-choice small,
.scope-static small,
.scope-static p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 3px 0 0;
}
.scope-group {
  margin: 7px 0;
}
.scope-static {
  border-bottom: 1px solid var(--line);
}
.scope-subchecks,
.scope-subchecks label,
.sample-route {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.87rem;
}
.scope-subchecks {
  gap: 10px 17px;
  flex-wrap: wrap;
  margin: 9px 0 14px 15px;
}
.sample-route {
  padding: 7px 0;
}
.path-field {
  padding: 5px 9px;
  margin: 8px 0;
}
.path-field label {
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--muted);
}
.path-field input {
  padding: 7px 4px;
  font:
    400 0.9rem Mono,
    monospace;
}
.path-field button {
  display: inline-flex;
  padding: 5px;
}
.scope-sheet {
  padding: clamp(18px, 2vw, 28px);
  background: var(--wash);
  border-top: 4px solid var(--graphite);
}
.scope-sheet .section-label {
  color: var(--ink);
}
.scope-sheet h2,
.scope-sheet li,
.facts dd,
.saved-setups strong,
.dns-values code {
  overflow-wrap: anywhere;
}
.scope-sheet h2 {
  margin: 8px 0;
  font-size: 2.05rem;
}
.scope-sheet p {
  color: var(--muted);
  line-height: 1.45;
}
.scope-sheet ul {
  padding-left: 18px;
}
.scope-sheet li {
  margin: 5px 0;
  font-size: 0.9rem;
}
.field-error {
  color: var(--t-8b321f);
  margin: 9px 0;
  font-size: 0.88rem;
}
.dns-values > div {
  margin: 16px 0;
}
.dns-values > div > div {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: space-between;
  padding: 6px 8px 6px 12px;
  background: var(--t-ffffff);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.dns-values code {
  font-size: 0.87rem;
  min-width: 0;
}
.dns-values .icon-button {
  flex: none;
}
.verification-feedback {
  font-size: 0.9rem;
  color: var(--t-305740);
  margin-top: 12px;
}
.verified-note {
  color: var(--t-305740);
}
.saved-setups {
  padding-top: 16px;
  border-top: 2px solid var(--graphite);
}
.saved-setups h2 {
  margin-bottom: 8px;
}
.saved-setups a {
  padding: 14px 3px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.saved-setups a:hover {
  background: var(--wash);
}
.saved-setups a > span {
  min-width: 0;
  flex: 1;
}
.saved-setups small,
.saved-setups strong {
  display: block;
}
.saved-setups small,
.saved-setups b {
  font-size: 0.79rem;
  color: var(--muted);
}
[data-page="reviews"] .page-head {
  border-bottom: 2px solid var(--graphite);
  padding-bottom: 19px;
}
[data-page="reviews"] .panel {
  border: 0;
  background: transparent;
}
[data-page="reviews"] .panel-head {
  padding: 0 0 14px;
}
.run-list a {
  background: var(--sheet);
}
.run-list a:hover {
  background: var(--t-ebece6);
}
.run-list .run-icon {
  background: var(--tint);
}
.run-list .row-content strong {
  font-size: 1rem;
}
.report-downloads,
.area-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.report-downloads {
  margin: 16px 20px 0;
}
.area-filters {
  margin: 0 0 15px;
}
.area-filters button {
  border: 1px solid var(--t-b9bdb5);
  border-radius: 3px;
  padding: 7px 12px;
  font-size: 0.85rem;
}
.area-filters button[aria-pressed="true"] {
  color: var(--t-ffffff);
  background: var(--graphite);
  border-color: var(--graphite);
}
.finding-groups {
  display: grid;
  gap: 15px;
}
.finding-group {
  border: 1px solid var(--line);
  background: var(--t-ffffff);
  overflow: hidden;
}
.finding-group header,
.library-section > header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 17px;
  background: var(--wash);
}
.finding-group h3,
.library-section > header h3 {
  font: 600 1.3rem/1.2 var(--display);
  letter-spacing: -0.02em;
}
.finding-group .finding-row .module-icon {
  display: none;
}
.panel > .finding-groups {
  padding: 13px;
}
.library-section > header p,
.ledger-fact {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}
.observed-fact {
  margin: 0 0 16px;
  border-left: 3px solid var(--t-d19821);
  background: var(--t-fff4d8);
  padding: 16px;
}
.observed-fact p {
  margin: 7px 0;
  font-size: 1.05rem;
}
.observed-fact small {
  color: var(--muted);
}
.change-summary h3 {
  font-size: 1rem;
  padding: 14px 20px 8px;
}
.change-summary .plain-row small {
  display: block;
  color: var(--muted);
}
.handoff-content fieldset {
  margin: 16px 0;
  border: 1px solid var(--line);
}
.handoff-content label {
  display: block;
  padding: 6px 3px;
}
.handoff-content input {
  margin-right: 8px;
}
.handoff-content details {
  margin: 12px 0;
}
.handoff-content .brief {
  max-height: 250px;
  overflow: auto;
}
@media (max-width: 860px) {
  .studio-bar {
    gap: 30px;
  }

  .report-workspace {
    column-gap: 22px;
  }
  .plan-items button {
    gap: 9px;
  }
  .report-state {
    gap: 10px;
  }
  .journey-grid {
    gap: 24px;
  }
}
@media (max-width: 700px) {
  .studio-bar {
    height: 56px;
    gap: 18px;
  }
  .studio-brand img {
    width: 95px;
  }
  .studio-header nav {
    gap: 14px;
  }
  .studio-header nav a {
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .bar-tools {
    gap: 1px;
  }
  .workspace-access {
    width: 32px;
    height: 36px;
    justify-content: center;
    padding: 0;
    border: 0;
  }
  .workspace-access span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .bar-tools .icon-button {
    width: 32px;
  }
  .studio-main {
    padding-bottom: 28px;
  }
  .studio-main > .page-head {
    margin-top: 25px;
  }
  .report-cover {
    margin-top: 14px;
  }
  .report-plate {
    min-height: 154px;
    padding: 16px;
  }
  .report-cover h1 {
    margin-block: 7px 8px;
  }
  .plate-label {
    font-size: 0.6rem;
    line-height: 1.6;
  }
  .plate-label span,
  .plate-host span {
    margin-inline: 1px;
  }
  .plate-host {
    font-size: 0.78rem;
    max-width: 20ch;
  }
  .report-strip {
    padding: 12px 15px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .report-measures {
    flex: 1 1 100%;
  }
  .report-measures > div {
    flex: 1;
    padding-inline: 10px;
  }
  .report-measures dt {
    font-size: 0.59rem;
  }
  .report-measures dd {
    font-size: 1.65rem;
  }
  .report-state {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid #50534d;
    padding-top: 9px;
  }
  .report-state > div {
    justify-items: start;
    gap: 2px;
  }
  .report-state .button {
    min-height: 34px;
    padding: 6px 10px;
  }
  .report-tabs {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0 16px;
  }
  .report-tabs button {
    font-size: 0.8rem;
    padding: 13px 0 10px;
  }
  .report-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "index" "content" "coverage";
    gap: 17px;
    margin-top: 16px;
  }
  .desktop-index {
    display: none;
  }
  .mobile-index {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 0.65rem;
  }
  .mobile-index select {
    min-width: 0;
    max-width: 100%;
    flex: 1;
    padding: 8px;
    min-height: 38px;
    border-radius: 3px;
    color: var(--ink);
    font:
      500 0.86rem "Instrument Sans",
      sans-serif;
    letter-spacing: normal;
  }
  .section-report h2 {
    font-size: clamp(2.12rem, 7.5vw, 3.3rem);
  }
  .section-report > p {
    font-size: 0.89rem;
  }
  .plan-items button {
    grid-template-columns: 29px minmax(0, 1fr) auto;
    gap: 6px;
    align-items: start;
    padding: 13px 6px;
  }
  .plan-items button > svg {
    display: none;
  }
  .plan-items strong,
  .ranked li:first-child strong {
    font-size: 1rem;
  }
  .plan-items .plan-rank {
    font-size: 1.35rem;
  }
  .plan-items .module-icon {
    width: 26px;
    height: 26px;
  }
  .plan-items .severity {
    font-size: 0.64rem;
    padding: 3px 4px;
  }
  .plan-impact {
    font-size: 0.81rem;
  }
  .repair-options,
  .journey-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .journey-grid {
    gap: 22px;
    margin-top: 23px;
  }
  .timing-table {
    font-size: 0.8rem;
  }
  .timing-table th,
  .timing-table td {
    padding: 6px 3px;
  }
  .scope-sheet {
    padding: 16px;
  }
  .saved-setups a {
    flex-wrap: wrap;
  }
}
@media (max-width: 475px) {
  .repair-paths h3 {
    font-size: 1.75rem;
  }
  .steps {
    gap: 3px;
  }
  .steps li + li::before {
    width: 8px;
    margin-inline: 2px;
  }
}
/* Compact header up to 400px: at 375px the roomier spacing pushed the account button off-screen. */
@media (max-width: 400px) {
  .studio-bar {
    gap: 9px;
  }
  .studio-brand img {
    width: 77px;
  }
  .studio-header nav {
    gap: 8px;
  }
  .studio-header nav a {
    font-size: 0.74rem;
  }
  .bar-tools .icon-button,
  .workspace-access {
    width: 28px;
  }
  .steps li {
    font-size: 0.72rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .report-reading { animation: none; transition: none; }
}
@media print {
  .studio-header,
  .studio-footer,
  .report-tabs,
  .report-state button,
  .section-index,
  .repair-options,
  .journey-actions {
    display: none;
  }
  .studio-main {
    width: 100%;
  }
  .report-workspace {
    display: block;
  }
  .report-plate {
    min-height: auto;
    padding: 8px 0;
    background: none;
  }
  .report-plate::before {
    display: none;
  }
  .report-strip,
  .report-measures dt,
  .report-date,
  .report-state .status {
    color: #222;
    background: none;
  }
  .report-scope {
    margin-top: 12px;
  }
}
[data-page="site-report"] .view {
  row-gap: 0;
}
.live-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: 28px;
}
.live-scope {
  align-self: start;
  min-width: 0;
  border-top: 2px solid var(--graphite);
  padding-top: 12px;
}
.live-scope h2 {
  font: 600 1.3rem/1.2 var(--display);
  letter-spacing: -0.02em;
}
.live-scope ul {
  padding-left: 17px;
  margin: 14px 0;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.live-scope li + li {
  margin-top: 6px;
}
.live-scope .quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.live-group {
  margin: 18px 0;
  border-top: 2px solid var(--graphite);
  background: var(--sheet);
}
.live-group header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: var(--wash);
}
.live-group header h3 {
  font-size: 1.5rem;
}
.live-group header small {
  margin-left: auto;
  color: var(--muted);
}
.live-group article,
.live-group > p,
.live-group details {
  padding: 12px 16px;
}
.live-group article + article,
.live-group details,
.live-observation {
  border-top: 1px solid var(--line);
}
.live-group .section-label code {
  text-transform: none;
}
.live-group h4 {
  margin: 4px 0;
}
.live-group p,
.live-observation small {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.live-group article p + p {
  margin-top: 5px;
}
.live-group summary {
  cursor: pointer;
  font-weight: 600;
}
.live-observation {
  margin-top: 8px;
  padding-top: 8px;
}
.live-observation small {
  display: block;
}
.live-body code,
.live-group .section-label {
  overflow-wrap: anywhere;
}
.live-readiness {
  margin-top: 24px;
}
.status.partial i {
  background: var(--t-a66a10);
}
.steps {
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .live-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .live-scope {
    order: 2;
  }
}
.live-scope nav {
  margin-bottom: 22px;
}
.live-scope nav h2 {
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  .live-scope nav {
    display: none;
  }
}
.sample-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}
.sample-actions > button:last-child {
  font: inherit;
  font-size: 0.78rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.journey .proof-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 22px;
}
.proof-choice label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  cursor: pointer;
}
.proof-choice input {
  accent-color: var(--graphite);
}
.proof-instructions p,
.saved-preview .journey-fields > p {
  line-height: 1.5;
}
.proof-instructions .button,
.proof-instructions details,
.ownership .scope-sheet p,
.saved-preview .scope-sheet p {
  margin-block: 12px;
}
.proof-instructions summary {
  cursor: pointer;
  font-size: 0.9rem;
}
.proof-instructions pre {
  padding: 12px;
  background: var(--wash);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}
.ownership .scope-sheet hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.saved-preview .journey-fields > label {
  display: block;
  font-weight: 600;
  margin: 16px 0 6px;
}
.saved-preview input[type="file"] {
  max-width: 100%;
  padding: 8px 0;
  font: inherit;
}
.saved-preview input::file-selector-button {
  font: inherit;
  border-radius: 3px;
  border: 1px solid var(--ink);
  background: var(--t-ffffff);
  color: var(--ink);
  padding: 8px;
  margin-right: 10px;
  cursor: pointer;
}
.saved-preview [role="status"] {
  margin: 12px 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .sample-actions {
    justify-items: start;
  }
}

.public-options .scope-sheet h2,
.public-path {
  overflow-wrap: anywhere;
}
.public-options .public-path {
  font-family: var(--mono);
  margin: 0 0 12px;
}
.public-options .scope-sheet dl {
  margin: 20px 0;
}
.expand-review {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.expand-review .button {
  margin-top: 12px;
  max-width: 100%;
  white-space: normal;
}

.owner-requirements label {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  font-weight: 600;
}
.owner-requirements small {
  font-weight: 400;
}
.owner-requirements input,
.owner-requirements select {
  font: inherit;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--t-ffffff);
  color: var(--ink);
}
.expand-review .field-help {
  margin-top: 12px;
}

.account-form { padding: 1rem 1.5rem 1.5rem; }
.section-body .account-form { padding: 0; }
.account-form fieldset, .expectations fieldset { display: grid; gap: 1rem; border: 0; padding: 0; margin: 1rem 0; min-width: 0; }
.account-form label, .expectations label { display: grid; gap: .4rem; font-weight: 600; }
.account-form input, .expectations input, .expectations select { font: inherit; border: 1px solid currentColor; border-radius: 4px; padding: .6rem .7rem; background: var(--t-ffffff); color: var(--t-1b2531); width: 100%; min-width: 0; }
.expectations, .comparison-panel { margin: 1.5rem 0; }
.expectations summary, .expand-review summary { cursor: pointer; font-weight: 600; }
.change-counts { display: flex; gap: 2rem; margin: 1rem 0; }
.change-counts dt, .change-list small { font-size: .85rem; }
.change-counts dd { font-size: 1.7rem; margin: 0; }
.change-list { padding: 0; list-style: none; }
.change-list li { padding: .7rem 0; border-top: 1px solid var(--t-d6d7d6); }
.change-list small { display: block; }
.public-options .journey-deck strong, .live-scope code, .change-list small { overflow-wrap: anywhere; }

.team-contact {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1.5rem;
  overflow-wrap: anywhere;
}
.team-contact > .button { justify-self: start; }
.team-topics { border: 0; margin: 0; padding: 0; min-width: 0; }
.team-topics legend, .team-email { font-weight: 600; }
.team-topics legend { padding: 0; margin-bottom: .5rem; }
.team-topics label, .team-attachment label {
  display: flex; align-items: center; gap: .65rem; padding-block: .38rem; cursor: pointer;
}
.team-contact input[type="radio"], .team-contact input[type="checkbox"] { accent-color: var(--graphite); flex: none; }
.team-email { display: grid; gap: .4rem; }
.team-email input {
  border: 1px solid var(--muted); border-radius: 3px; background: var(--t-ffffff); padding: .65rem .75rem; width: 100%; min-width: 0; font: inherit; font-weight: 400;
}
.team-attachment { border-block: 1px solid var(--line); padding: .5rem 0; }
.team-attachment small, .team-evidence { display: block; margin: .25rem 0 .4rem; color: var(--muted); }
.team-evidence p { margin-top: .4rem; }
.finding-actions { display: flex; gap: .6rem 1rem; align-items: center; flex-wrap: wrap; margin-top: .65rem; }
.focused-fix { padding: .85rem 1rem; background: var(--wash); border-left: 3px solid var(--graphite); overflow-wrap: anywhere; }
.account-form p { overflow-wrap: anywhere; }
.demo-scope { padding: .75rem 0; font-size: .94rem; line-height: 1.5; color: var(--muted); }

.issue-worklist { display: grid; gap: .75rem; }
.issue-card { border: 1px solid var(--line); border-radius: 4px; }
.issue-card > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .25rem .8rem;
  list-style: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  padding: .9rem 1rem;
}
.issue-card > summary::-webkit-details-marker { display: none; }
.issue-card > summary strong { grid-column: 1; }
.issue-card > summary svg { grid-column: 2; grid-row: 1 / 3; }
.issue-card[open] > summary svg { transform: rotate(90deg); }
.issue-card[open] > summary { background: var(--wash); }
.issue-instructions { padding: .8rem 1rem; }
.issue-instructions h3 { margin-top: .8rem; font: 600 1rem var(--body, sans-serif); }
.issue-prompt { display: flex; align-items: baseline; gap: .65rem; flex-wrap: wrap; margin-block: .75rem; }
.issue-prompt details { border: 0; padding: 0; }
.issue-prompt details[open] { flex: 1 0 100%; min-width: 0; }
.issue-prompt summary { cursor: pointer; }
.issue-prompt pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.team-email textarea, .team-email select { font: inherit; font-weight: 400; border: 1px solid var(--muted); border-radius: 3px; padding: .6rem; width: 100%; }
.team-email textarea { resize: vertical; }
.verify-release .button { margin-top: .5rem; }

/* Website report and return visit */
.live-cover .report-plate { min-height: 8rem; }
.release-priority, .saved-finding-list {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-top: 3px solid var(--graphite);
  padding: clamp(16px, 2vw, 28px);
  overflow-wrap: anywhere;
}
.release-priority { margin-bottom: 20px; }
.priority-label, .saved-finding-list li {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
}
.priority-label { font-size: .9rem; font-weight: 600; }
.release-priority .priority-evidence { margin: .85rem 0 0; color: var(--muted); font-size: .9rem; }
.release-priority h2, .saved-finding-list h2 { font: 600 clamp(1.5rem, 2.4vw, 2.1rem)/1.15 var(--display); letter-spacing: -0.03em; margin: .5rem 0; }
.release-priority p, .saved-finding-list p { margin: .5rem 0; max-width: 68ch; line-height: 1.5; }
.release-priority details { margin-block: .75rem; }
.release-priority summary { cursor: pointer; }
.save-confirmation { padding: 14px 18px; background: var(--wash); }
.save-confirmation a { margin-left: .4rem; }
.saved-finding-list ul { list-style: none; margin: 0; padding: 0; }
.saved-finding-list li { border-top: 1px solid var(--line); padding: .9rem 0; }
.saved-finding-list li div { flex: 1 1 15rem; }
.saved-finding-list small { display: block; margin-top: .25rem; overflow-wrap: anywhere; }

.report-secondary-action {
  color: #f0f3eb;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding-block: .55rem;
  font-size: .85rem;
}
.coverage-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .2rem 1rem;
  padding: .65rem clamp(15px, 2.4vw, 36px);
  background: var(--wash);
  color: var(--graphite);
}
.coverage-summary p { margin: 0; line-height: 1.45; font-size: .94rem; }
.coverage-summary button { display: inline-flex; align-items: center; gap: .35rem; }
.priority-label { color: var(--teal); }
.priority-label code { color: var(--muted); font-weight: 400; }
.release-priority .finding-actions { margin-top: 1rem; }
.release-priority button[aria-expanded="true"] svg,
.page-evidence[open] > summary svg { transform: rotate(180deg); }
.priority-repair { margin-top: .8rem; border-top: 1px solid var(--line); padding-top: .3rem; }
.priority-repair h3 { margin: .9rem 0 0; font: 600 .94rem/1.4 "Instrument Sans", sans-serif; }
.priority-repair h3 + p { margin-top: .2rem; }
.comparison-panel { margin-top: 0; }
.comparison-panel .comparison-date { color: var(--muted); margin: .3rem 0 1rem; font-size: .88rem; }
.comparison-proof { padding: clamp(12px, 2vw, 20px); border: 1px solid var(--line); border-top: 3px solid var(--graphite); }
.comparison-proof .focused-fix { margin: 0 0 .8rem; padding: 0; border: 0; background: transparent; overflow-wrap: anywhere; }
.comparison-proof .focused-fix strong { font-size: 1.12rem; }
.evidence-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: .5rem 0 0; }
.evidence-pair > div { padding: .65rem .85rem; background: var(--t-f2f3ee); border-inline-start: 2px solid var(--t-92998d); }
.evidence-pair > div + div { border-color: var(--t-60695b); background: var(--t-e8ede4); }
.evidence-pair dt { font-size: .82rem; font-weight: 600; }
.evidence-pair dd { margin: .3rem 0 0; line-height: 1.45; font-size: .92rem; overflow-wrap: anywhere; }
.change-counts { flex-wrap: wrap; gap: .75rem 1.8rem; }
.comparison-panel summary { cursor: pointer; padding: .65rem 0; font-weight: 600; }
.comparison-panel .previous-report { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; }
@media (max-width: 600px) {
  .evidence-pair { grid-template-columns: 1fr; }
}
.live-group .repair-group { padding: 16px; }
.repair-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .82rem; }
.repair-group > p { max-width: 70ch; }
.repair-group .page-evidence { margin: 0; padding: 0; }
.repair-group .page-evidence:first-of-type { margin-top: .75rem; }
.page-evidence > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  list-style: none;
  font-size: .9rem;
}
.page-evidence > summary::-webkit-details-marker { display: none; }
.page-evidence > summary span { display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.page-evidence > summary:hover { background: var(--wash); }
.page-evidence > div { padding: 0 0 1rem; }
.live-readiness h2, .page-evidence { scroll-margin-block: 1rem; }
@media (max-width: 700px) {
  .coverage-summary { padding-block: .5rem; }
  .coverage-summary p { font-size: .89rem; }
  .live-cover .report-plate { min-height: 6rem; }
  .live-cover .report-state { padding-top: .25rem; }
}
@media (max-width: 370px) {
  .live-cover .report-plate { min-height: 5rem; padding-block: 9px; }
  .live-cover .report-strip { padding-block: 8px; gap: 8px; }
  .live-body { margin-top: 16px; }
}
.search-results small { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .search-results button { display: grid; justify-content: stretch; gap: .25rem; }
}

/* Homepage intake and sample report */

.entry-copy {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3vw, 40px);
  padding-block: clamp(48px, 7vw, 108px) clamp(36px, 4.5vw, 64px);
  clip-path: inset(0 calc(-1 * var(--gutter)));
}
/* A faint inspection grid and a single scan pass set the subject. */
.entry-copy::before,
.entry-copy::after {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 75% 95% at 80% 35%,
    #000 20%,
    transparent 72%
  );
  mask-image: radial-gradient(
    ellipse 75% 95% at 80% 35%,
    #000 20%,
    transparent 72%
  );
}
.entry-copy::before {
  background-image:
    linear-gradient(to right, var(--t-06283e12) 1px, transparent 1px),
    linear-gradient(to bottom, var(--t-06283e12) 1px, transparent 1px);
  background-size: 48px 48px;
}
.entry-copy::after {
  background: linear-gradient(
      to bottom,
      transparent 0,
      var(--t-81d7cc4c) 88px,
      var(--highlight) 95px,
      transparent 96px
    )
    no-repeat;
  background-size: 100% 96px;
  opacity: 0;
}
.entry-intro {
  display: grid;
  gap: 18px;
}
.entry-copy h1 {
  font-size: clamp(2.65rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  max-width: 13ch;
  color: var(--graphite);
}
.entry-copy h1 span {
  color: var(--teal);
}
.entry-deck {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}
.entry-copy form {
  min-width: 0;
  max-width: 740px;
}
.entry-copy label {
  margin-bottom: 8px;
}
.entry-field {
  display: flex;
  gap: 8px;
}
.entry-field .url-field {
  min-width: 0;
  flex: 1;
  height: 58px;
  border-color: var(--t-899ba5);
  border-radius: 4px;
  box-shadow:
    0 1px 2px var(--shadow-06283e0f),
    0 14px 34px -20px var(--shadow-06283e66);
}
.entry-field .url-field:focus-within {
  outline: 0;
  border-color: var(--teal);
  box-shadow:
    0 0 0 4px var(--shadow-81d7cc80),
    0 14px 34px -20px var(--shadow-06283e66);
}
.entry-field input {
  min-width: 0;
  font-size: 1.05rem;
}
.entry-field input::placeholder {
  color: var(--t-596d78);
}
.entry-field .entry-submit {
  background: var(--graphite);
  color: var(--t-ffffff);
  border: 1px solid var(--graphite);
  border-radius: 4px;
  gap: 9px;
  min-height: 58px;
  padding-inline: 24px;
  font-size: 1rem;
}
.entry-field .entry-submit:hover:enabled {
  background: var(--t-164861);
}
.entry-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  margin-top: 12px;
}
.entry-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
}
.entry-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.entry-trust svg {
  flex: none;
  color: var(--teal);
}
.entry-customize {
  min-height: 44px;
}
.repair-story {
  --annotation: #90492e;
  min-width: 0;
  border-block: 2px solid var(--graphite);
}
.story-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px clamp(16px, 2.25vw, 36px);
  min-height: 70px;
  padding-block: 3px;
}
.story-top h2,
.check-index h2 {
  font:
    600 clamp(1.4rem, 2.1vw, 2.05rem)/1.18 "Instrument Sans",
    sans-serif;
  letter-spacing: -0.035em;
}
.story-play,
.story-next,
.story-footer button,
.final-call-actions .quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.story-play {
  justify-self: end;
  color: var(--muted);
  font-size: 0.87rem;
  padding-inline: 8px;
}
.story-play:hover {
  color: var(--teal);
}
.story-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  border-block-end: 1px solid var(--line);
}
.story-tabs button {
  padding-inline: clamp(12px, 1.4vw, 23px);
  min-height: 44px;
  color: var(--muted);
  font-size: 0.9rem;
}
.story-tabs button[aria-selected="true"] {
  color: var(--graphite);
  font-weight: 600;
}
.story-tabs::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 33.3333%;
  height: 3px;
  background: var(--teal);
  transform: translateX(var(--chapter-offset, 0%));
  pointer-events: none;
}
.repair-story[data-chapter="1"] {
  --chapter-offset: 100%;
  --photo-scale: 1.12;
  --annotation: var(--graphite);
}
.repair-story[data-chapter="2"] {
  --chapter-offset: 200%;
  --photo-scale: 1.03;
  --annotation: var(--teal);
}
#story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: var(--sheet);
  border: 1px solid var(--line);
}
.story-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  position: relative;
  min-width: 0;
  background: var(--t-f2efe7);
  color: var(--t-2e332b);
}
.story-specimen {
  align-self: center;
  padding: clamp(16px, 2.6vw, 40px);
  min-width: 0;
}
.specimen-source {
  font:
    600 0.88rem/1.45 Georgia,
    serif;
  color: var(--t-3f4239);
}
.specimen-source span {
  font:
    0.73rem/1.4 Mono,
    monospace;
  margin-inline-start: 0.45rem;
}
.print-name {
  margin: clamp(18px, 2vw, 32px) 0 9px;
  font:
    400 clamp(2.6rem, 4vw, 4.25rem)/0.98 Georgia,
    serif;
  letter-spacing: -0.06em;
  max-width: 7ch;
}
.story-specimen a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  font-size: 0.86rem;
  color: var(--t-29382c);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.story-specimen a::before,
.story-specimen a::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 7px;
  pointer-events: none;
  border-color: var(--annotation);
  border-style: solid;
}
.story-specimen a::before {
  left: -3px;
  top: 6px;
  border-width: 1px 0 0 1px;
}
.story-specimen a::after {
  right: -3px;
  bottom: 6px;
  border-width: 0 1px 1px 0;
}
.story-specimen a:hover {
  background: var(--t-e3dfd3);
}
.story-art {
  position: relative;
  overflow: hidden;
  min-height: clamp(235px, 20vw, 310px);
}
.story-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
  transform: scale(var(--photo-scale, 1));
}
.story-code {
  margin: 20px 0 0;
}
.story-code div + div {
  margin-top: 12px;
}
.story-code dt,
.story-comparison dt {
  font-size: 0.79rem;
  color: var(--muted);
}
.story-code dd {
  font:
    0.86rem/1.4 Mono,
    monospace;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.story-destination:not([hidden]) {
  grid-column: 1/-1;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--tint);
  border-block-start: 1px solid var(--teal);
  font-size: 0.9rem;
}
.story-reading {
  align-self: center;
  min-width: 0;
  padding: clamp(20px, 2.6vw, 43px) clamp(20px, 3.4vw, 52px);
}
.finding-source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--annotation);
}
.finding-source code {
  color: var(--ink);
}
.story-result h3 {
  margin: 12px 0 8px;
  font:
    600 clamp(1.65rem, 2.55vw, 2.7rem)/1.08 "Instrument Sans",
    sans-serif;
  color: var(--graphite);
  letter-spacing: -0.035em;
}
.story-result > p:not(.finding-source) {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 48ch;
}
.story-next {
  color: var(--teal);
  padding: 0;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}
.story-next:hover,
.story-play:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.story-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}
.story-comparison div {
  border-inline-start: 2px solid var(--line);
  padding-inline-start: 9px;
}
.story-comparison div + div {
  border-color: var(--teal);
}
.story-comparison dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 16px;
  min-height: 49px;
  padding: 3px 0;
}
.story-footer span {
  color: var(--muted);
  font-size: 0.78rem;
}
.story-footer b {
  font-weight: 500;
  color: var(--ink);
  margin-left: 0.4rem;
}
.check-index {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: clamp(24px, 6vw, 90px);
  margin-top: clamp(10px, 2vw, 30px);
}
.check-index-intro p {
  margin: 10px 0;
  max-width: 39ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}
.check-index-intro a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.check-index-list {
  margin: 0;
}
.check-index-list > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.76fr) minmax(0, 1.5fr);
  align-items: baseline;
  gap: 8px 16px;
  padding: 13px 0;
  border-block-start: 1px solid var(--line);
}
.check-index-list > div:first-child {
  border-color: var(--graphite);
}
.check-index-list dt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.94rem;
  font-weight: 600;
}
.check-index-list dt .module-icon {
  background: transparent;
  width: 21px;
  height: 21px;
}
.check-index-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .entry-field .url-field {
    padding-inline: 8px;
    gap: 6px;
  }
  .story-specimen {
    padding: 16px;
  }
  .story-reading {
    padding: 20px;
  }
}
@media (max-width: 720px) {
  .entry-copy {
    gap: 22px;
    padding-block: 34px 20px;
  }
  .entry-copy h1 {
    font-size: clamp(2.3rem, 10.5vw, 3.3rem);
  }
  .entry-field .url-field,
  .entry-field .entry-submit {
    height: 52px;
    min-height: 52px;
  }
  .entry-deck {
    margin-top: 8px;
  }
  .entry-field .url-field {
    padding-inline: 12px;
    gap: 8px;
  }
  .story-top {
    grid-template-columns: 1fr auto;
    padding: 7px 0 0;
    gap: 0 4px;
  }
  .story-tabs {
    grid-column: 1/-1;
    margin-bottom: 8px;
  }
  #story-panel {
    grid-template-columns: 1fr;
  }
  .story-frame {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .story-art {
    min-height: 165px;
  }
  .story-specimen {
    padding: 15px 13px;
  }
  .print-name {
    font-size: clamp(2.05rem, 8vw, 3.3rem);
    margin: 13px 0 3px;
  }
  .story-reading {
    padding: 17px 15px 9px;
  }
  .story-result h3 {
    margin: 8px 0 5px;
  }
  .story-next {
    margin-top: 4px;
  }
  .check-index {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .check-index-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0 12px;
  }
  .check-index-intro a {
    grid-column: 2;
    grid-row: 1;
  }
  .check-index-intro p {
    grid-row: 2;
    grid-column: 1/-1;
    margin: 2px 0;
    max-width: 48ch;
  }
}
@media (max-width: 480px) {
  .report-plate::before {
    display: none;
  }
  .report-identity {
    width: 100%;
  }
  .live-cover .report-plate {
    min-height: 0;
    padding: 10px 13px;
  }
  .live-cover h1 {
    font-size: clamp(1.5rem, 6.7vw, 2rem);
  }
}
@media (max-width: 460px) {
  .entry-field .entry-submit {
    padding-inline: 10px;
    font-size: 0.9rem;
    gap: 5px;
  }
  .entry-field input {
    width: 100%;
  }
  .entry-field .url-field {
    padding-inline: 8px;
  }
  .story-footer {
    padding-block: 5px;
  }
  .story-footer span {
    flex: 1 1 8rem;
  }
  .story-footer b {
    display: block;
    margin: 2px 0 0;
  }
  .check-index-list > div {
    grid-template-columns: minmax(7.5rem, 0.8fr) minmax(0, 1.2fr);
  }
}
@media (max-width: 360px) {
  .entry-field .url-field > svg {
    display: none;
  }
  .story-specimen a {
    font-size: 0.79rem;
  }
}
.review-path { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 20px; color:var(--muted); }
.review-path a { text-decoration:underline; text-underline-offset:3px; }
.review-path strong { color:var(--teal); }
.review-in-flight { position:relative; overflow:hidden; background:var(--tint); color:var(--ink); padding:14px clamp(16px, 2.4vw, 36px) 17px; }
.flight-title { display:flex; align-items:center; gap:.55rem; }
.review-in-flight p { margin:5px 0 0; font-size:.93rem; overflow-wrap:anywhere; }
.flight-line { position:absolute; bottom:0; left:0; width:100%; height:3px; background:var(--teal); }
.review-in-flight code { font-size:.88em; }
.release-priority { border-top-color:var(--teal); }
@keyframes launch-reveal { from { opacity:0; transform:translateY(13px); } to { opacity:1; transform:translateY(0); } }
@keyframes scene-reveal { from { opacity:.15; transform:translateX(9px); } to { opacity:1; transform:none; } }
@keyframes record-arrives { from { transform:scaleX(.05); opacity:.35; } to { transform:scaleX(1); opacity:1; } }
@keyframes route-out { to { opacity:0; transform:translateX(calc(-1 * var(--route-shift, 12px))); } }
@keyframes route-in { from { opacity:.2; transform:translateX(var(--route-shift, 12px)); } }
@media (prefers-reduced-motion: no-preference) {
  .story-tabs::after { transition:transform .36s cubic-bezier(.2,.75,.2,1); }
  .story-photo { transition:transform .75s cubic-bezier(.2,.75,.2,1); }
  .story-result, .story-specimen, .story-destination:not([hidden]) { animation:scene-reveal .34s cubic-bezier(.22,.7,.24,1) backwards; }
  .story-next svg, .entry-submit svg { transition:transform .18s ease; }
  .story-next:hover svg, .entry-submit:hover svg { transform:translateX(3px); }
  .flight-line { transform-origin:left; animation:record-arrives .6s cubic-bezier(.2,.75,.2,1) both; }
  .release-priority, .priority-repair:not([hidden]), .comparison-proof .evidence-pair > div { animation:launch-reveal .35s cubic-bezier(.2,.75,.2,1) backwards; }
  .comparison-proof .evidence-pair > div + div { animation-delay:.11s; }
  .story-comparison > div + div { animation:scene-reveal .3s .12s ease-out backwards; }
  :root[data-review-direction="back"] { --route-shift:-12px; }
  ::view-transition-old(main-view) { animation:route-out .14s ease-in both; }
  ::view-transition-new(main-view) { animation:route-in .26s cubic-bezier(.2,.75,.2,1) both; }
}

/* Landing story, data promise, questions and closing call */
.landing-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(20px, 2.6vw, 32px);
}
.landing-head h2,
.final-call h2 {
  font: 600 clamp(1.6rem, 2.6vw, 2.35rem)/1.1 var(--display);
  letter-spacing: -0.035em;
  color: var(--graphite);
  text-wrap: balance;
}
.landing-head p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
}
.how-it-works,
.data-promise,
.landing-faq {
  margin-top: clamp(40px, 6vw, 88px);
}
.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--line);
}
.how-steps::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform-origin: left;
}
.how-steps li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px clamp(14px, 2vw, 28px) 4px 0;
}
.how-steps li + li {
  padding-left: clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
}
.how-index {
  font: 600 2.4rem/1 var(--numeral);
  color: var(--teal);
}
.how-steps h3 {
  margin: 4px 0 0;
  font: 600 1.12rem/1.25 var(--display);
  letter-spacing: -0.015em;
  color: var(--graphite);
}
.how-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}
.how-steps small {
  margin-top: 4px;
  color: var(--ink);
  font: 0.74rem/1.4 var(--mono);
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.promise-grid > div {
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--sheet);
}
.promise-grid .promise-never {
  background: var(--band);
  color: #e7f1ef;
}
.promise-grid h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font: 600 1.05rem/1.3 var(--display);
}
.promise-grid h3 svg {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--teal);
}
.promise-never h3 svg {
  background: rgb(255 255 255 / 0.12);
  color: var(--band-accent);
}
.promise-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 0.95rem;
  line-height: 1.5;
}
.promise-do ul {
  color: var(--ink);
}
.promise-never ul {
  color: #c9d8dc;
}
.promise-grid code {
  font: 0.86em var(--mono);
}
.faq-list {
  border-top: 2px solid var(--graphite);
  max-width: 880px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 600;
  color: var(--graphite);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  flex: none;
  color: var(--muted);
  transform: rotate(90deg);
}
.faq-list details[open] summary svg {
  transform: rotate(-90deg);
}
.faq-list details p {
  margin: 0 0 18px;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.6;
}
.faq-list details a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.final-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(28px, 4vw, 52px);
  background: var(--band);
  color: #e7f1ef;
}
.final-call h2 {
  color: white;
}
.final-call p {
  margin: 8px 0 0;
  color: #b8cbd0;
}
.final-call-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.final-call .final-start {
  min-height: 52px;
  padding-inline: 22px;
  gap: 9px;
  border: 0;
  border-radius: 4px;
  background: var(--band-accent);
  color: var(--band);
}
.final-call .final-start:hover {
  background: #a3e4db;
}
.final-call .quiet-link {
  color: white;
  text-decoration-color: rgb(255 255 255 / 0.5);
}
.final-call .quiet-link:hover {
  text-decoration-color: white;
}
.final-call :focus-visible {
  outline-color: var(--band-accent);
}
@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 700px) {
  :root {
    --header-height: 56px;
  }
  .studio-header .bar-cta {
    display: none;
  }
  .studio-footer {
    grid-template-columns: minmax(0, 1fr);
  }
  .studio-footer nav {
    justify-content: flex-start;
  }
  .how-steps,
  .promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .how-steps li,
  .how-steps li + li {
    padding: 18px 0 14px;
    border-left: 0;
  }
  .how-steps li + li {
    border-top: 1px solid var(--line);
  }
}

/* Landing motion: one scan pass, a staggered hero reveal and a step line
   drawn by scroll position. Reduced motion keeps every element at rest. */
@keyframes hero-scan {
  0% {
    opacity: 0;
    transform: translateY(-96px);
  }
  12% {
    opacity: 1;
  }
  78% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}
@keyframes cta-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }
}
@keyframes draw-line {
  from {
    transform: scaleX(0);
  }
}
@keyframes step-lift {
  from {
    opacity: 0.4;
    transform: translateY(14px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .studio-header {
    transition: box-shadow 0.2s ease;
  }
  .studio-header .bar-cta {
    animation: cta-in 0.28s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }
  .entry-copy::after {
    animation: hero-scan 2.2s 0.35s cubic-bezier(0.45, 0, 0.25, 1) both;
  }
  .entry-intro > *,
  .entry-copy form {
    animation: launch-reveal 0.6s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .entry-intro > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .entry-copy form {
    animation-delay: 0.16s;
  }
  .entry-field .url-field {
    transition:
      border-color 0.18s ease,
      box-shadow 0.18s ease;
  }
  .entry-field .entry-submit,
  .final-call .final-start {
    transition:
      background-color 0.18s ease,
      transform 0.12s ease;
  }
  .entry-field .entry-submit:active:enabled,
  .final-call .final-start:active {
    transform: scale(0.98);
  }
  .faq-list summary svg {
    transition: transform 0.22s cubic-bezier(0.2, 0.75, 0.2, 1);
  }
  @supports (animation-timeline: view()) {
    .how-steps::before {
      animation: draw-line linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 50%;
    }
    .how-steps li {
      animation: step-lift linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}

/* Severity tiers: shape and color together, so color is never the only cue. */
.tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 7px;
  border: 1px solid;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
}
.tier-chip::before,
.severity::before {
  content: "";
  flex: none;
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
}
.severity::before {
  margin-right: 5px;
  vertical-align: 1px;
}
.tier-high {
  color: var(--t-9b2c1f);
  background: var(--t-fdeae6);
  border-color: var(--t-f2c9c0);
}
.tier-high::before,
.severity.high::before {
  transform: rotate(45deg);
}
.tier-medium {
  color: var(--t-84501d);
  background: var(--t-fbefd9);
  border-color: var(--t-ead5ab);
}
.tier-medium::before,
.severity.medium::before {
  border-radius: 1px;
}
.tier-low {
  color: var(--t-3e6474);
  background: var(--t-eaf1f5);
  border-color: var(--t-d4e1e7);
}
.tier-low::before,
.severity.low::before {
  border-radius: 50%;
}
.tier-review {
  color: var(--t-47525c);
  background: var(--t-eef1f3);
  border-color: var(--t-d6dce1);
}
.tier-review::before {
  width: 7px;
  height: 7px;
  box-sizing: border-box;
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

/* Launch verdict in the report header band */
.report-strip.has-verdict {
  flex-wrap: wrap;
}
.launch-verdict {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 24rem;
  min-width: 0;
}
.verdict-ring {
  position: relative;
  flex: none;
  width: 66px;
  height: 66px;
}
.verdict-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.verdict-ring circle {
  fill: none;
  stroke-width: 5;
}
.ring-track {
  stroke: rgb(255 255 255 / 0.16);
}
.ring-value {
  stroke: var(--band-accent);
  stroke-linecap: round;
}
.verdict-high .ring-value {
  stroke: #ff9d8f;
}
.verdict-medium .ring-value {
  stroke: #f3c26b;
}
.verdict-incomplete .ring-value {
  stroke: #c5cac2;
}
.verdict-ring b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 1.45rem/1 var(--numeral);
  color: #fff;
}
.verdict-ring b small {
  font-size: 0.62em;
  margin-left: 1px;
}
.verdict-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.launch-verdict h2 {
  margin: 0;
  font: 600 1.22rem/1.2 var(--display);
  letter-spacing: -0.02em;
  color: #fff;
}
.launch-verdict p {
  margin: 0;
  color: #c5cdcf;
  font-size: 0.8rem;
  line-height: 1.4;
}
.verdict-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
  font: 600 0.78rem/1 var(--numeral);
  color: #fff;
}
.verdict-tiers li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
}
.has-verdict .report-measures {
  padding-left: clamp(12px, 2.3vw, 34px);
  border-left: 1px solid #52564e;
}

/* Severity filter above the grouped findings */
.tier-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 18px;
}
.tier-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 12px 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}
.tier-filter button:first-child {
  padding-left: 13px;
}
.tier-filter button:hover {
  border-color: var(--muted);
}
.tier-filter button[aria-pressed="true"] {
  border-color: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--graphite);
}
.tier-count {
  color: var(--muted);
  font: 0.78rem var(--mono);
}
.repair-group-tier {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

/* Live scan while a website review runs */
.scan-theatre {
  display: grid;
  gap: 14px;
  padding: 16px clamp(16px, 2.4vw, 36px) 18px;
  background: var(--tint);
  color: var(--ink);
}
.scan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
.scan-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.scan-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.scan-clock {
  margin-left: auto;
  color: var(--t-005a5c);
  font: 0.8rem var(--mono);
}
.scan-progress {
  height: 3px;
  overflow: hidden;
  background: var(--t-06283e1a);
}
.scan-progress i {
  display: block;
  height: 100%;
  background: var(--teal);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}
.scan-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.scan-browser {
  min-width: 0;
  overflow: hidden;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.scan-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--t-f3f6f5);
  border-bottom: 1px solid var(--line);
}
.scan-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-cbd3d6);
}
.scan-chrome span {
  margin-left: 6px;
  overflow: hidden;
  color: var(--muted);
  font: 0.74rem var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scan-page {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 176px;
  padding: 14px;
  overflow: hidden;
}
.scan-page .sk {
  display: block;
  height: 8px;
  border-radius: 3px;
  background: var(--t-e6eceb);
}
.scan-page .sk-nav {
  width: 38%;
}
.scan-page .sk-title {
  width: 62%;
  height: 16px;
}
.scan-page .sk-line {
  width: 44%;
}
.scan-page .sk-hero {
  height: 62px;
  background: linear-gradient(135deg, var(--t-cde6e2), var(--t-e6eceb));
}
.sk-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.scan-page .sk-cols .sk {
  height: 30px;
}
.scan-beam {
  position: absolute;
  inset: 0 0 auto;
  height: 56px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--t-81d7cc52) 88%,
    var(--teal) 98%,
    transparent
  );
  opacity: 0;
}
.scan-feed {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scan-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--sheet);
  font-size: 0.84rem;
}
.scan-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-c4ccce);
}
.scan-row code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scan-row span {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}
.scan-done i {
  background: var(--teal);
}
.scan-gap i {
  background: var(--t-b4441c);
}
.scan-reading i {
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--shadow-81d7cc73);
}
.scan-queued {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--shadow-06283e1a);
}
.scan-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 20px;
}
.scan-sections,
.scan-found {
  margin: 0;
  padding: 0;
  list-style: none;
}
.scan-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.scan-sections li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  color: var(--muted);
  font-size: 0.78rem;
}
.scan-sections li.seen {
  border-color: transparent;
  background: var(--t-d3ebe7);
  color: var(--t-005a5c);
}
.scan-found {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.scan-found li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 0.82rem;
}
.scan-found code {
  color: var(--muted);
}

/* Finding detail as a side sheet beside the report */
dialog.sheet {
  width: min(720px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  overflow-y: auto;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
}
dialog.sheet[open] {
  animation: none;
}
dialog.sheet .dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
}
dialog.sheet .dialog-foot {
  position: sticky;
  bottom: 0;
  background: var(--t-fafbf7);
  box-shadow: 0 -1px 0 var(--line);
}
.detail-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.detail-stepper > span:last-child {
  display: flex;
  gap: 4px;
}
.detail-stepper button:first-child svg {
  transform: rotate(-90deg);
}
.detail-stepper button:last-child svg {
  transform: rotate(90deg);
}
.detail-stepper button:disabled {
  opacity: 0.4;
}
.detail-keys {
  margin-left: 10px;
}
.detail-keys kbd {
  padding: 0 4px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 3px;
  font: 0.7rem var(--mono);
}

@media (max-width: 1100px) {
  .has-verdict .launch-verdict {
    flex-basis: 100%;
  }
  .has-verdict .report-measures {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 700px) {
  .has-verdict .report-measures {
    display: none;
  }
  .launch-verdict {
    gap: 12px;
  }
  .verdict-ring {
    width: 52px;
    height: 52px;
  }
  .verdict-ring b {
    font-size: 1.15rem;
  }
  .launch-verdict h2 {
    font-size: 1.02rem;
  }
  .launch-verdict p {
    font-size: 0.76rem;
  }
  .scan-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .scan-page {
    min-height: 120px;
  }
  .detail-keys {
    display: none;
  }
}

@keyframes ring-fill {
  from {
    stroke-dashoffset: 131.95;
  }
}
@keyframes scan-sweep {
  0% {
    opacity: 0;
    transform: translateY(-56px);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(220px);
  }
}
@keyframes sheet-in {
  from {
    opacity: 0.4;
    transform: translateX(48px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ring-value {
    animation: ring-fill 1.1s 0.15s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .launch-verdict .verdict-copy {
    animation: launch-reveal 0.45s 0.1s cubic-bezier(0.2, 0.75, 0.2, 1)
      backwards;
  }
  .scan-beam {
    animation: scan-sweep 1.8s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  }
  .scan-progress i {
    transition: transform 0.5s linear;
  }
  .scan-row,
  .scan-found li {
    animation: launch-reveal 0.35s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .scan-reading i {
    animation: scan-pulse 1.2s ease-in-out infinite;
  }
  .tier-filter button {
    transition:
      border-color 0.18s ease,
      box-shadow 0.18s ease;
  }
  dialog.sheet[open] {
    animation: sheet-in 0.32s cubic-bezier(0.2, 0.75, 0.2, 1);
  }
}
@keyframes scan-pulse {
  50% {
    box-shadow: 0 0 0 7px var(--shadow-81d7cc26);
  }
}
/* On small phones the first repair must stay on the opening screen, so the
   severity counts move to the filter beside the findings. */
@media (max-width: 480px) {
  .verdict-tiers {
    display: none;
  }
}

/* Prompts tailored to the founder's coding tool */
.issue-prompt-actions,
.worklist-tools,
.issue-followups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.tool-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}
.tool-picker select {
  min-height: 38px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--t-899ba5);
  border-radius: 4px;
  background-color: var(--sheet);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}
.worklist-tools {
  justify-content: space-between;
  padding: 12px 14px;
  margin: 4px 0 0;
  background: var(--wash);
}
.worklist-notice {
  min-height: 1.2em;
  margin: 6px 0 2px;
  color: var(--teal);
  font-size: 0.84rem;
}
.issue-followups {
  margin-top: 12px;
}

/* Retest proof: rolled-up counts, verified fixes and the trend */
.change-counts .change-resolved dd {
  color: var(--teal);
}
.change-counts .change-new dd {
  color: var(--t-9b2c1f);
}
.change-counts .is-zero dd {
  color: var(--muted);
}
.live-scope .save-pdf {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.change-counts dd {
  font: 600 2rem/1 var(--numeral);
  font-variant-numeric: tabular-nums;
}
.evidence-pair.result-resolved > div:first-child dd {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--t-9b2c1f80);
}
.evidence-pair.result-resolved > div:last-child {
  position: relative;
  background: var(--t-e2f2ee);
  border-color: var(--teal);
}
.evidence-pair.result-resolved > div:last-child dt::before {
  content: "✓ ";
  color: var(--teal);
}
.fixed-stack {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.fixed-stack li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 9px 12px;
  background: var(--t-e2f2ee);
  border-left: 3px solid var(--teal);
  font-size: 0.9rem;
}
.fixed-stack li svg {
  flex: none;
  color: var(--teal);
}
.fixed-stack small {
  margin-left: auto;
  color: var(--t-005a5c);
  font-size: 0.78rem;
}
.progress-trend {
  display: grid;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 14px 16px 10px;
  border: 1px solid var(--line);
  background: var(--sheet);
}
.progress-trend figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}
.progress-trend figcaption strong {
  color: var(--ink);
}
.progress-trend svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  overflow: visible;
}
.trend-base {
  stroke: var(--line);
  stroke-width: 1;
}
.trend-area {
  fill: var(--t-006e701a);
}
.trend-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trend-dot {
  fill: var(--sheet);
  stroke: var(--teal);
  stroke-width: 2;
}
.trend-dot.now {
  fill: var(--teal);
}
.progress-trend text {
  fill: var(--ink);
  font: 600 10px var(--numeral);
}
.progress-trend .trend-axis {
  fill: var(--muted);
  font: 9px "Instrument Sans", sans-serif;
}
@keyframes trend-draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes proof-wipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .trend-line {
    animation: trend-draw 0.9s 0.2s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .comparison-proof .evidence-pair.result-resolved > div:last-child {
    animation: proof-wipe 0.6s 0.25s cubic-bezier(0.65, 0, 0.35, 1) backwards;
  }
  .fixed-stack li {
    animation: launch-reveal 0.4s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .fixed-stack li:nth-child(2) {
    animation-delay: 0.08s;
  }
  .fixed-stack li:nth-child(n + 3) {
    animation-delay: 0.16s;
  }
}

/* A clean PDF of the website report */
@media print {
  .live-scope,
  .tier-filter,
  .finding-actions,
  .issue-prompt,
  .issue-followups,
  .scan-theatre,
  .save-confirmation,
  .coverage-summary button,
  .previous-report,
  .page-evidence > summary svg {
    display: none !important;
  }
  .live-body {
    display: block;
  }
  .launch-verdict,
  .tier-chip,
  .fixed-stack li,
  .evidence-pair > div {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .launch-verdict h2,
  .verdict-ring b,
  .verdict-tiers {
    color: #111;
  }
  .launch-verdict p {
    color: #333;
  }
  .ring-track {
    stroke: #ddd;
  }
  .release-priority,
  .repair-group,
  .comparison-proof,
  .progress-trend {
    break-inside: avoid;
  }
  .section-report h2,
  .live-group header {
    break-after: avoid;
  }
}

/* Sharing a report and viewing a shared link */
.share-body {
  display: grid;
  gap: 14px;
}
.share-body > p:first-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.share-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px;
  background: var(--wash);
}
.share-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  border: 0;
}
.share-form legend {
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.88rem;
}
.share-choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
}
.share-created {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--t-e2f2ee);
  border-left: 3px solid var(--teal);
}
.share-created label {
  font-weight: 600;
}
.share-url {
  display: flex;
  gap: 8px;
}
.share-url input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--t-899ba5);
  border-radius: 4px;
  background: var(--sheet);
  font: 0.82rem var(--mono);
}
.share-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.share-created .quiet-link {
  justify-self: start;
}
.share-body h3 {
  margin: 4px 0 0;
  font: 600 1rem/1.3 var(--display);
}
.share-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.share-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.share-list span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.share-list small,
.share-empty {
  color: var(--muted);
  font-size: 0.82rem;
}
.share-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--teal);
  font-size: 0.84rem;
}
.share-button {
  gap: 8px;
}
.shared-badge {
  padding: 5px 10px;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.shared-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 0;
  padding: 12px 16px;
  background: var(--wash);
  border-left: 3px solid var(--teal);
  font-size: 0.9rem;
}
.shared-banner svg {
  flex: none;
  margin-top: 2px;
  color: var(--teal);
}
.shared-banner + .report-cover {
  margin-top: 12px;
}
@media (max-width: 700px) {
  .studio-header .bar-cta.shared-cta {
    display: inline-flex;
    align-items: center;
  }
  .share-url {
    flex-wrap: wrap;
  }
}
@media print {
  .shared-banner {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .shared-badge {
    color: #111;
    border-color: #999;
  }
}
.shared-missing h1 {
  margin: 8px 0;
  color: var(--ink);
  font: 600 1.35rem/1.2 var(--display);
  letter-spacing: -0.02em;
}

/* Evidence screenshots that point at the failing element */
.evidence-shot {
  display: grid;
  gap: 8px;
  margin: 0;
}
.shot-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  transform-origin: var(--zoom-origin, 50% 50%);
}
.shot-frame img {
  display: block;
}
dialog.sheet .shot img {
  max-height: 340px;
}
.shot-frame.zoomed {
  transform: scale(2.4);
}
.evidence-highlight {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.evidence-dim {
  fill: var(--evidence-dim);
}
.evidence-target {
  fill: none;
  stroke: var(--evidence-target);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.evidence-shot figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  color: var(--muted);
  font-size: 0.84rem;
}
.evidence-controls {
  display: inline-flex;
  gap: 16px;
}
.evidence-controls button[aria-pressed="true"] {
  color: var(--teal);
  text-decoration-color: currentColor;
}
@keyframes target-pulse {
  50% {
    stroke-width: 5;
    stroke-opacity: 0.55;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .shot-frame {
    transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
  }
  .evidence-highlight {
    animation: launch-reveal 0.35s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .evidence-target {
    animation: target-pulse 1.2s 0.3s ease-in-out 3;
  }
}

/* Launch-ready moment: a clean result, or a retest that fixed everything */
.launch-ready {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px 32px;
  margin-bottom: 20px;
  padding: clamp(20px, 3vw, 36px);
  padding-right: clamp(20px, 15vw, 210px);
  background: linear-gradient(120deg, var(--tint), var(--sheet) 72%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
}
.launch-seal {
  width: clamp(112px, 12vw, 150px);
}
.launch-seal svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.seal-rays line {
  stroke: var(--teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.4;
}
.seal-ring {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  opacity: 0.45;
}
.seal-text {
  fill: var(--teal);
  font: 600 9.5px var(--mono);
  letter-spacing: 1.5px;
}
.seal-core {
  fill: var(--teal);
}
.seal-check {
  fill: none;
  stroke: var(--sheet);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.launch-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.launch-copy .launch-kicker {
  margin: 0;
  color: var(--teal);
  font: 600 0.74rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.launch-kicker span {
  letter-spacing: 0;
  text-transform: none;
}
.launch-ready h2 {
  margin: 0;
  color: var(--graphite);
  font: 600 clamp(1.6rem, 2.8vw, 2.4rem)/1.08 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.launch-copy p {
  margin: 0;
  max-width: 60ch;
  color: var(--ink);
  line-height: 1.5;
}
.launch-copy .launch-limits {
  color: var(--muted);
  font-size: 0.88rem;
}
.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.launch-actions .button {
  gap: 8px;
}
.launch-mascot {
  position: absolute;
  right: clamp(12px, 3vw, 40px);
  bottom: -4px;
  z-index: -1;
  width: clamp(96px, 11vw, 150px);
}
.launch-ready .mascot-dark {
  display: none;
}
@media (max-width: 700px) {
  .launch-ready {
    grid-template-columns: minmax(0, 1fr);
    padding-right: clamp(20px, 3vw, 36px);
  }
  .launch-seal {
    width: 104px;
  }
  .launch-mascot {
    top: 18px;
    bottom: auto;
    width: 84px;
  }
}
@keyframes seal-pop {
  0% {
    transform: scale(0.3);
  }
  70% {
    transform: scale(1.08);
  }
}
@keyframes seal-draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes seal-burst {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
}
@keyframes seal-turn {
  from {
    opacity: 0;
    transform: rotate(-50deg);
  }
}
@keyframes mascot-rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .launch-ready[data-celebrate] .seal-core {
    transform-box: fill-box;
    transform-origin: center;
    animation: seal-pop 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) backwards;
  }
  .launch-ready[data-celebrate] .seal-check {
    animation: seal-draw 0.45s 0.4s cubic-bezier(0.65, 0, 0.35, 1) backwards;
  }
  .launch-ready[data-celebrate] .seal-rays {
    transform-box: view-box;
    transform-origin: 80px 80px;
    animation: seal-burst 0.7s 0.55s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .launch-ready[data-celebrate] .seal-text,
  .launch-ready[data-celebrate] .seal-ring {
    transform-box: view-box;
    transform-origin: 80px 80px;
    animation: seal-turn 0.9s 0.2s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .launch-ready[data-celebrate] .launch-mascot {
    animation: mascot-rise 0.6s 0.35s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
  .launch-ready[data-celebrate] .launch-copy > * {
    animation: launch-reveal 0.5s 0.15s cubic-bezier(0.2, 0.75, 0.2, 1)
      backwards;
  }
}
@media print {
  .launch-ready {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    break-inside: avoid;
  }
  .launch-actions {
    display: none;
  }
}

/* Landing hero: a replay of the Atlas Studio sample review */
.hero-scan {
  display: none;
  margin: 0;
}
@media (min-width: 900px) {
  .entry-copy {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    column-gap: clamp(32px, 4vw, 64px);
    align-items: center;
  }
  .entry-copy .entry-intro,
  .entry-copy form {
    grid-column: 1;
  }
  .entry-copy h1 {
    font-size: clamp(2.65rem, 5vw, 4.6rem);
  }
  .hero-scan {
    display: grid;
    gap: 10px;
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
.hs-card {
  overflow: hidden;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 30px 60px -36px var(--shadow-06283e66, rgb(6 40 62 / 0.4));
}
.hs-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.hs-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.hs-chrome span {
  margin-left: 8px;
  color: var(--muted);
  font: 0.74rem var(--mono);
}
.hs-page {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 16px 18px 18px;
  overflow: hidden;
}
.hs-sk {
  display: block;
  height: 8px;
  border-radius: 3px;
  background: var(--wash);
}
.hs-nav {
  width: 36%;
}
.hs-title {
  width: 58%;
  height: 18px;
}
.hs-text {
  width: 46%;
}
.hs-link {
  width: 26%;
  height: 9px;
  background: var(--tint);
}
.hs-image {
  height: 92px;
  background: linear-gradient(135deg, var(--tint), var(--wash));
}
.hs-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hs-cols .hs-sk {
  height: 26px;
}
.hs-beam {
  position: absolute;
  inset: 0 0 auto;
  height: 56px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgb(129 215 204 / 0.32) 88%,
    var(--highlight) 98%,
    transparent
  );
  opacity: 0;
  pointer-events: none;
}
.hs-box {
  position: absolute;
  border: 2px solid var(--evidence-target);
  border-radius: 6px;
}
.hs-box b {
  position: absolute;
  left: -2px;
  bottom: calc(100% + 5px);
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--evidence-target);
  color: var(--sheet);
  font: 600 0.68rem/1.3 var(--display);
  white-space: nowrap;
}
/* Rows from the top padding (16) with 9px gaps: the link bar spans
   77-86px and the image 95-187px; each outline clears its element by 5px. */
.hs-box-link {
  top: 72px;
  left: 13px;
  width: calc(26% + 10px);
  height: 19px;
}
.hs-box-image {
  top: 90px;
  left: 13px;
  right: 13px;
  height: 102px;
}
.hs-box-image b {
  top: 8px;
  bottom: auto;
  left: 8px;
}
.hs-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 14px 18px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
  background: var(--tint);
}
.hs-feed,
.hs-sections {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hs-feed {
  display: grid;
  gap: 5px;
  align-content: start;
}
.hs-feed li {
  display: grid;
  grid-template-columns: 7px auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}
.hs-feed i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.hs-feed span {
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.hs-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  grid-column: 1;
}
.hs-sections li {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sheet);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
}
.hs-verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.hs-ring {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
}
.hs-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.hs-ring circle {
  fill: none;
  stroke-width: 5;
}
.hs-ring .ring-track {
  stroke: var(--line);
}
.hs-ring .ring-value {
  stroke: #e0a83a;
  stroke-linecap: round;
}
.hs-ring b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font: 600 1.15rem/1 var(--numeral);
}
.hs-ring b small {
  font-size: 0.62em;
}
.hs-verdict-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.hs-verdict-copy strong {
  color: var(--graphite);
  font: 600 0.92rem/1.25 var(--display);
}
.hs-verdict-copy small {
  color: var(--muted);
  font-size: 0.74rem;
}
.hs-tiers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  color: var(--ink);
  font: 600 0.8rem/1 var(--numeral);
}
.hero-scan figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}
.hero-scan figcaption .quiet-link {
  min-height: 32px;
  font-size: 0.8rem;
}
@keyframes hs-sweep {
  0% {
    opacity: 0;
    transform: translateY(-56px);
  }
  12% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(260px);
  }
}
@keyframes hs-pop {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}
@keyframes hs-tick {
  from {
    background: transparent;
    color: var(--muted);
    box-shadow: inset 0 0 0 1px var(--line);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scan .hs-card {
    animation: launch-reveal 0.6s 0.2s cubic-bezier(0.2, 0.75, 0.2, 1)
      backwards;
  }
  .hs-beam {
    animation: hs-sweep 1.6s 0.4s cubic-bezier(0.45, 0, 0.25, 1) both;
  }
  .hs-box,
  .hs-feed li,
  .hs-verdict {
    animation: hs-pop 0.35s var(--at, 0s) cubic-bezier(0.3, 1.3, 0.5, 1)
      backwards;
  }
  .hs-sections li {
    animation: hs-tick 0.3s var(--at, 0s) ease-out backwards;
  }
  .hs-ring .ring-value {
    animation: ring-fill 1s 3s cubic-bezier(0.2, 0.75, 0.2, 1) backwards;
  }
}

/* Plain-language report: issues grouped by what to do, in founder words */
.verdict-ring b {
  flex-direction: column;
  gap: 1px;
}
.verdict-ring b small,
.hs-ring b small {
  margin: 0;
  font: 600 0.5rem/1 "Instrument Sans", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.ring-seg {
  fill: none;
  stroke-width: 5;
}
.seg-high { stroke: #ff9d8f; }
.seg-medium { stroke: #f3c26b; }
.seg-low { stroke: #9fc6d8; }
.seg-review { stroke: rgb(255 255 255 / 0.62); }
.hs-ring .seg-medium { stroke: #e0a83a; }
.hs-ring .seg-low { stroke: #6f9bb0; }
@media (prefers-reduced-motion: no-preference) {
  .ring-seg {
    animation: ring-seg-in 0.6s 0.15s ease-out backwards;
  }
  .hs-ring .ring-seg {
    animation-delay: 3s;
  }
}
@keyframes ring-seg-in {
  from {
    opacity: 0;
  }
}

.report-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.report-toc li + li {
  margin: 0;
}
.report-toc button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font: 600 0.92rem/1.3 "Instrument Sans", sans-serif;
  text-align: left;
  cursor: pointer;
}
.report-toc button:hover {
  background: var(--wash);
}
.report-toc small {
  color: var(--muted);
  font: 600 1rem/1 var(--numeral);
}
.copy-all {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin: 22px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.copy-all p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.copy-all small:empty {
  margin-top: -8px;
}
.copy-all .tool-picker,
.release-priority .tool-picker {
  font-size: 0.85rem;
}

.issue-plain {
  display: grid;
  gap: 6px;
  margin: 8px 0 4px;
  max-width: 70ch;
}
.issue-plain div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 10px;
}
.issue-plain dt {
  font-weight: 600;
  font-size: 0.88rem;
}
.issue-plain dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .issue-plain div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
.issue-actions .finding-actions {
  margin-top: 12px;
}
.issue-notice:empty {
  margin: 0;
}
.issue-notice {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-weight: 600;
}
.live-group .more-options,
.more-options {
  margin-top: 6px;
  padding: 0;
  border: 0;
}
.more-options > summary,
.priority-dev > summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.more-options > summary::-webkit-details-marker,
.priority-dev > summary::-webkit-details-marker {
  display: none;
}
.more-options[open] > summary svg,
.priority-dev[open] > summary svg {
  transform: rotate(180deg);
}
.more-options > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}
.live-group .prompt-preview,
.prompt-preview {
  flex: 1 0 100%;
  min-width: 0;
  padding: 0;
  border: 0;
}
.prompt-preview summary {
  font-size: 0.9rem;
}
.prompt-preview pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.issue-pages-label {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.repair-group .issue-pages-label + .page-evidence {
  margin-top: 0;
}
.page-evidence > summary span {
  color: var(--muted);
  font-weight: 500;
}
.priority-dev {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.priority-dev p {
  font-size: 0.9rem;
  color: var(--muted);
}
.release-priority .saved-state {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
}
.release-priority .issue-actions .finding-actions {
  margin-top: 14px;
}

.tier-group header h3 {
  font-size: 1.35rem;
}
.tier-group-high {
  border-top-color: var(--t-9b2c1f);
}
.tier-group-medium {
  border-top-color: var(--t-84501d);
}
.passed-group ul.passed-list {
  list-style: none;
  margin: 0;
  padding: 6px 16px 12px;
}
.passed-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.passed-list li:last-child {
  border-bottom: 0;
}
.passed-list li svg {
  flex: none;
  color: var(--teal);
  align-self: center;
}
.passed-list li small {
  margin-left: auto;
  color: var(--muted);
  white-space: nowrap;
}
.passed-list.notes li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  color: var(--muted);
}
.passed-group h4 {
  margin: 6px 16px 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.hs-ring b {
  flex-direction: column;
  gap: 1px;
}
.repair-group > .issue-pages-label {
  max-width: none;
}
.release-priority .priority-todo {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.release-priority .priority-todo strong {
  color: var(--ink);
}

/* Results grouped by the review sections the founder chose */
.sec-cards-wrap {
  margin-top: 18px;
}
.sec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.sec-card {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--line);
  border-radius: 10px;
  background: var(--sheet);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.sec-card:hover {
  background: var(--wash);
}
.sec-card-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.sec-card-name .module-icon {
  width: 28px;
  height: 28px;
}
.sec-card-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 1.4rem/1.1 var(--display);
  letter-spacing: -0.02em;
}
.sec-card small {
  color: var(--muted);
  font-size: 0.82rem;
}
.sec-card.tone-high,
.sec-panel.tone-high > header {
  border-left-color: var(--t-9b2c1f);
}
.sec-card.tone-medium,
.sec-panel.tone-medium > header {
  border-left-color: var(--t-84501d);
}
.sec-card.tone-low,
.sec-panel.tone-low > header {
  border-left-color: var(--t-3e6474);
}
.sec-card.tone-review,
.sec-panel.tone-review > header {
  border-left-color: var(--t-47525c);
}
.sec-card.tone-clear,
.sec-panel.tone-clear > header {
  border-left-color: var(--teal);
}
.sec-card.tone-high .sec-card-status {
  color: var(--t-9b2c1f);
}
.sec-card.tone-medium .sec-card-status {
  color: var(--t-84501d);
}
.sec-card.tone-clear .sec-card-status {
  color: var(--teal);
}

.sec-report > p {
  color: var(--muted);
}
.sec-panel {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sheet);
  overflow: hidden;
}
.sec-panel > header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-left: 5px solid var(--line);
  background: var(--wash);
}
.sec-panel > header h3 {
  margin: 0;
  font: 600 1.3rem/1.2 var(--display);
  letter-spacing: -0.02em;
}
.sec-pill {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--sheet);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.sec-pill.tone-high {
  color: var(--t-9b2c1f);
  background: var(--t-fdeae6);
  border-color: var(--t-f2c9c0);
}
.sec-pill.tone-medium {
  color: var(--t-84501d);
  background: var(--t-fbefd9);
  border-color: var(--t-ead5ab);
}
.sec-pill.tone-low {
  color: var(--t-3e6474);
  background: var(--t-eaf1f5);
  border-color: var(--t-d4e1e7);
}
.sec-pill.tone-clear {
  color: var(--teal);
}
.sec-issues {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sec-issue {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.sec-issue:first-child {
  border-top: 0;
}
.sec-issue-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 12px;
}
.sec-issue-head .tier-chip {
  margin-top: 3px;
}
.sec-issue-title h4 {
  margin: 0;
  font-size: 1.02rem;
}
.sec-issue-title p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 70ch;
}
.sec-issue-where {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.sec-issue-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 10px;
}
.sec-issue-actions .button {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.88rem;
}
.sec-issue-actions .issue-notice {
  order: 10;
  flex-basis: 100%;
  margin-top: 0;
}
.sec-issue-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
}
.sec-issue-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.sec-issue-body {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--wash);
}
.sec-issue-body .issue-plain {
  margin-top: 0;
}
.sec-dev {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.sec-dev p {
  margin: 0 0 8px;
}
.sec-dev-label {
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sec-dev .page-evidence {
  margin: 0 0 10px;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--line);
}
.sec-dev .page-evidence:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.sec-dev .page-evidence p {
  margin: 4px 0;
}
.page-evidence-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.sec-empty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
}
.sec-empty svg {
  color: var(--teal);
}
.sec-measures {
  list-style: none;
  margin: 0;
  padding: 4px 16px;
}
.sec-measures li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.sec-measures li:last-child {
  border-bottom: 0;
}
.sec-measures small {
  color: var(--muted);
}
.sec-passed {
  padding: 6px 16px 10px;
  border-top: 1px solid var(--line);
}
.sec-passed > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}
.sec-passed > button svg:first-child {
  color: var(--teal);
}
.sec-passed > button[aria-expanded="true"] svg:last-child {
  transform: rotate(180deg);
}
.sec-passed .passed-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sec-passed .passed-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
}
.sec-passed .passed-list svg {
  color: var(--teal);
}
.sec-passed .passed-list small {
  margin-left: auto;
  color: var(--muted);
}
@media (max-width: 560px) {
  .sec-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .sec-card {
    padding: 10px 12px;
  }
  .sec-card-status {
    font-size: 1.15rem;
  }
  .sec-card-name .module-icon {
    display: none;
  }
  .sec-issue-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .sec-issue-head .tier-chip {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
.live-scope > .copy-all:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.sec-card.tone-low .sec-card-status {
  color: var(--t-3e6474);
}
.sec-speed {
  padding: 4px 16px 10px;
}
.sec-speed p {
  margin: 6px 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}
.sample-body {
  margin-top: 20px;
}

/* Verdict band: decision, severity counts and status read left to right,
   each in its own zone. */
.report-strip.has-verdict {
  padding: 22px clamp(20px, 3.2vw, 48px);
  gap: 16px 32px;
  align-items: center;
}
.launch-verdict {
  gap: 22px;
  flex: 1 1 36rem;
}
.launch-verdict .verdict-copy {
  flex: 1 1 16rem;
  gap: 6px;
}
.verdict-ring {
  width: 84px;
  height: 84px;
}
.verdict-ring .ring-seg,
.verdict-ring circle {
  stroke-width: 5.5;
}
.verdict-ring b {
  font-size: 2.05rem;
  gap: 2px;
}
.verdict-ring b small {
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.launch-verdict h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.launch-verdict p {
  max-width: 46ch;
  color: #d5dde0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.verdict-stats {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 30px;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
  border-left: 1px solid rgb(255 255 255 / 0.16);
}
.verdict-stat {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.verdict-stat b {
  color: #fff;
  font: 600 2.15rem/1 var(--numeral);
}
.verdict-stat > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.verdict-stat > span::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: currentColor;
}
.stat-high span {
  color: #ffb3a7;
}
.stat-high span::before {
  transform: rotate(45deg);
}
.stat-medium span {
  color: #f5c873;
}
.stat-medium span::before {
  border-radius: 1px;
}
.stat-low span {
  color: #a9d0e2;
}
.stat-low span::before {
  border-radius: 50%;
}
.stat-review span {
  color: #d3d9dd;
}
.stat-review span::before {
  box-sizing: border-box;
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.has-verdict .report-state {
  align-self: stretch;
  gap: 22px;
  padding-left: 28px;
  border-left: 1px solid rgb(255 255 255 / 0.16);
}
.has-verdict .report-state .status {
  padding: 4px 11px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
  font-size: 0.82rem;
  font-weight: 600;
}
.has-verdict .report-state > div {
  gap: 6px;
}
.has-verdict .report-date {
  color: #ccd4d7;
  font-size: 0.78rem;
}
@media (max-width: 1100px) {
  .has-verdict .report-state {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 0.16);
  }
  .has-verdict .report-state > div {
    justify-items: start;
  }
}
@media (max-width: 760px) {
  .launch-verdict {
    flex-wrap: wrap;
    gap: 14px;
  }
  .verdict-ring {
    width: 64px;
    height: 64px;
  }
  .verdict-ring b {
    font-size: 1.55rem;
  }
  .launch-verdict .verdict-copy {
    flex: 1 1 12rem;
  }
  .verdict-stats {
    flex-basis: 100%;
    gap: 24px;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 0.16);
  }
  .verdict-stat b {
    font-size: 1.6rem;
  }
}
/* Small phones keep the section cards on the first screen; the cards
   carry the same severity breakdown. */
@media (max-width: 480px) {
  .verdict-stats {
    display: none;
  }
  .report-strip.has-verdict {
    padding-block: 14px;
  }
  .verdict-ring {
    width: 54px;
    height: 54px;
  }
  .verdict-ring b {
    font-size: 1.25rem;
  }
  .verdict-ring b small {
    font-size: 0.46rem;
  }
  .launch-verdict h2 {
    font-size: 1.08rem;
  }
  .launch-verdict p {
    font-size: 0.8rem;
  }
}
@media print {
  .verdict-stat b {
    color: #111;
  }
  .verdict-stats,
  .has-verdict .report-state {
    border-color: #ccc;
  }
  .stat-high span {
    color: #9b2c1f;
  }
  .stat-medium span {
    color: #84501d;
  }
  .stat-low span {
    color: #3e6474;
  }
  .stat-review span {
    color: #47525c;
  }
  .launch-verdict p {
    color: #333;
  }
}
@media (max-width: 480px) {
  .launch-verdict {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .launch-verdict .verdict-copy {
    flex: 1 1 0;
    min-width: 0;
  }
  .has-verdict .report-state {
    padding-top: 10px;
  }
  .has-verdict .report-state .report-secondary-action {
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .report-strip.has-verdict {
    padding-block: 12px;
  }
  .verdict-ring {
    width: 50px;
    height: 50px;
  }
  .launch-verdict h2 {
    font-size: 1rem;
  }
  .has-verdict .report-state .status {
    padding: 2px 9px;
    font-size: 0.78rem;
  }
}
@media (max-width: 480px) {
  .verdict-ring b small {
    display: none;
  }
}

/* ── Enterprise report skin ──────────────────────────────────────────
   One surface language for both reports: white cards on the paper
   background, 12px radius, hairline borders and a soft shadow. Headings
   step down to a working-tool scale; colour is reserved for status. */
:root {
  --ent-radius: 12px;
  --ent-shadow:
    0 1px 2px rgb(6 40 62 / 0.06), 0 3px 10px -4px rgb(6 40 62 / 0.08);
  --ent-shadow-hover:
    0 2px 4px rgb(6 40 62 / 0.06), 0 10px 24px -10px rgb(6 40 62 / 0.22);
}
:root[data-theme="dark"] {
  --ent-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
  --ent-shadow-hover: 0 6px 18px -8px rgb(0 0 0 / 0.6);
}

/* Page header: breadcrumb, title, details and the report's actions */
.report-cover {
  margin-top: 14px;
}
.ent-head {
  padding: 4px 0 18px;
}
.ent-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}
.ent-crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.ent-crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.ent-crumbs [aria-current] {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ent-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px 24px;
}
.report-cover .ent-title h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.ent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.ent-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.ent-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ent-toolbar .button {
  min-height: 38px;
  padding: 7px 14px;
  background: var(--sheet);
  font-size: 0.86rem;
  box-shadow: var(--ent-shadow);
}

/* Summary panel: the navy verdict band and its coverage note read as one
   rounded card. */
.report-cover .report-strip {
  border-radius: var(--ent-radius) var(--ent-radius) 0 0;
  background: linear-gradient(
    115deg,
    var(--band) 0%,
    color-mix(in oklab, var(--band) 86%, var(--band-accent)) 100%
  );
  box-shadow: var(--ent-shadow);
}
.report-cover .report-strip:last-child {
  border-radius: var(--ent-radius);
}
.report-cover .coverage-summary {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--ent-radius) var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.report-cover .coverage-summary p {
  color: var(--muted);
}
.report-cover .coverage-summary strong {
  color: var(--ink);
}

/* Section cards */
.sec-cards-wrap {
  margin-top: 20px;
}
.sec-cards {
  gap: 14px;
}
.sec-card,
.sec-card.tone-high,
.sec-card.tone-medium,
.sec-card.tone-low,
.sec-card.tone-review,
.sec-card.tone-clear {
  position: relative;
  overflow: hidden;
  gap: 8px;
  padding: 16px 18px 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  box-shadow: var(--ent-shadow);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}
.sec-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent, var(--line));
}
.sec-card:hover {
  background: var(--sheet);
  transform: translateY(-1px);
  box-shadow: var(--ent-shadow-hover);
}
.tone-high {
  --accent: var(--t-9b2c1f);
}
.tone-medium {
  --accent: var(--t-84501d);
}
.tone-low {
  --accent: var(--t-3e6474);
}
.tone-review {
  --accent: var(--t-47525c);
}
.tone-clear {
  --accent: var(--teal);
}
.sec-card-name {
  color: var(--muted);
  font-size: 0.88rem;
}
.sec-card-name .module-icon {
  width: 30px;
  height: 30px;
}
.sec-card-status {
  font-size: 1.55rem;
}
.sec-card-bar {
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--wash);
}
.sec-card-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

/* Body: a sticky stack of cards beside the results */
.live-body {
  gap: clamp(20px, 2.6vw, 36px);
  margin-top: 26px;
}
.live-scope {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  display: grid;
  gap: 14px;
  padding-top: 0;
  border-top: 0;
}
.side-card,
.live-scope > .copy-all:first-child,
.expand-review.side-card {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.side-accent,
.live-scope > .copy-all.side-accent:first-child {
  border-top: 3px solid var(--teal);
}
.side-card h2,
.live-scope .side-card h2 {
  margin: 0 0 6px;
  font: 600 1.02rem/1.3 var(--display);
  letter-spacing: -0.01em;
}
.side-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.side-card .button {
  margin-top: 4px;
}
.side-pages,
.live-scope .side-pages {
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}
.side-pages li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.side-pages li:last-child {
  border-bottom: 0;
}
.side-pages svg {
  flex: none;
  color: var(--teal);
}
.side-card > ul:not(.side-pages) {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* First fix */
.release-priority,
.live-body .release-priority {
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.release-priority .priority-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.release-priority .priority-label code {
  letter-spacing: 0;
  text-transform: none;
}
.release-priority h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
}

/* Results by section */
.section-report.sec-report > h2 {
  margin: 8px 0 4px;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: -0.025em;
}
.section-report.sec-report > p {
  margin: 0 0 6px;
  font-size: 0.92rem;
}
.sec-panel {
  margin: 16px 0;
  border-radius: var(--ent-radius);
  box-shadow: var(--ent-shadow);
}
.sec-panel > header,
.sec-panel.tone-high > header,
.sec-panel.tone-medium > header,
.sec-panel.tone-low > header,
.sec-panel.tone-review > header,
.sec-panel.tone-clear > header {
  position: relative;
  padding: 14px 18px 14px 20px;
  border-left: 0;
  border-bottom: 1px solid var(--line);
  background: var(--sheet);
}
.sec-panel > header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent, var(--line));
}
.sec-panel > header h3 {
  font-size: 1.12rem;
}
.sec-pill {
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}
.sec-issue {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr) auto;
  column-gap: 14px;
  padding: 16px 18px 16px 20px;
  transition: background 0.15s ease;
}
.sec-issue:hover {
  background: color-mix(in oklab, var(--wash) 45%, var(--sheet));
}
.sec-issue-head {
  display: contents;
}
.sec-issue-head .tier-chip {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin-top: 2px;
}
.sec-issue-title {
  grid-column: 2;
  grid-row: 1;
}
.sec-issue-where {
  grid-column: 3;
  grid-row: 1;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
}
.sec-issue-actions,
.sec-issue-body {
  grid-column: 2 / -1;
}
.sec-issue-actions {
  margin-top: 12px;
}
.sec-passed {
  padding: 8px 18px 10px 20px;
  background: color-mix(in oklab, var(--wash) 35%, var(--sheet));
}
.sec-measures,
.sec-speed {
  padding-left: 20px;
}
.tier-chip {
  padding: 2px 8px;
  border-radius: 999px;
}

/* What this report covers */
.section-report.live-readiness {
  margin-top: 26px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.section-report.live-readiness h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  letter-spacing: -0.02em;
}
.section-report.live-readiness p {
  color: var(--muted);
}

/* Tabs on the sample report */
.report-tabs {
  margin-top: 22px;
}

@media (max-width: 700px) {
  .live-scope {
    position: static;
  }
  .ent-toolbar {
    width: 100%;
  }
  .ent-toolbar .button {
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .sec-issue {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px 14px 14px 16px;
  }
  .sec-issue-head .tier-chip {
    grid-column: 1;
    grid-row: 1;
  }
  .sec-issue-where {
    grid-column: 2;
    grid-row: 1;
  }
  .sec-issue-title {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 6px;
  }
  .sec-issue-actions,
  .sec-issue-body {
    grid-column: 1 / -1;
  }
  .release-priority,
  .live-body .release-priority {
    padding: 18px 16px;
  }
  .ent-head {
    padding-bottom: 14px;
  }
  .ent-crumbs {
    margin-bottom: 6px;
  }
  .ent-meta {
    margin-top: 8px;
  }
  .ent-meta li {
    font-size: 0.74rem;
    padding: 2px 8px;
  }
}
@media print {
  .ent-toolbar,
  .ent-crumbs {
    display: none;
  }
  .sec-card,
  .sec-panel,
  .side-card,
  .release-priority {
    box-shadow: none;
  }
}
.sec-issue-head .tier-chip,
.sec-issue-where {
  align-self: start;
  justify-self: start;
  line-height: 1.5;
}
.sec-issue-where {
  justify-self: end;
}
@media (max-width: 560px) {
  .sm-hide {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .sm-drop {
    display: none !important;
  }
  .ent-toolbar {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .ent-toolbar .button {
    flex: 1 1 0;
    min-height: 36px;
    padding: 6px 8px;
    font-size: 0.82rem;
    gap: 6px;
  }
  .ent-head {
    padding-bottom: 12px;
  }
  .ent-title {
    gap: 10px;
  }
  .report-cover .ent-title h1 {
    font-size: 1.55rem;
  }
  .report-cover {
    margin-top: 8px;
  }
  .sec-cards-wrap {
    margin-top: 14px;
  }
}
@media (max-width: 560px) {
  .ent-crumbs {
    display: none;
  }
}
/* Small phones: each section card keeps its name, status and bar so the
   whole overview fits on the first screen. */
@media (max-width: 400px) {
  .sec-card > small {
    display: none;
  }
  .sec-card {
    gap: 6px;
  }
}
.sec-report .verify-release {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}

/* Technical details: the same card language as the report */
.tech-panel,
.limits-panel,
.change-summary {
  margin-top: 20px;
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
  overflow: hidden;
}
.tech-panel > .panel-head {
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 18px 22px;
}
.tech-panel > .panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.tech-panel > .panel-head .report-downloads {
  margin: 0;
}
.tech-panel > .panel-head .button {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.86rem;
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.tech-subhead,
.tech-panel .ledger-title {
  margin: 0;
  padding: 18px 22px 8px;
  color: var(--muted);
  font: 700 0.74rem/1.3 "Instrument Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tech-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0 22px 6px;
}
.tech-facts > div,
.tech-facts > div:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in oklab, var(--wash) 40%, var(--sheet));
}
.tech-facts dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tech-facts dd {
  color: var(--ink);
  font-size: 0.9rem;
}
.tech-facts > div:nth-last-child(-n + 2) dd {
  font-family: var(--mono);
  font-size: 0.78rem;
}
.tech-panel .ledger {
  margin: 0 22px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.tech-panel .ledger:last-of-type {
  margin-bottom: 22px;
}
.tech-panel .ledger summary {
  padding: 12px 16px;
  background: var(--sheet);
}
.tech-panel .ledger summary:hover {
  background: color-mix(in oklab, var(--wash) 45%, var(--sheet));
}
.tech-panel .ledger summary code {
  font-weight: 600;
}
.tech-panel .ledger[open] summary {
  border-bottom: 1px solid var(--line);
}
.ledger-count {
  padding: 2px 10px;
  border: 1px solid var(--t-d4e1e7);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
}
.ledger-count.has-failed {
  border-color: var(--t-f2c9c0);
  background: var(--t-fdeae6);
  color: var(--t-9b2c1f);
}
.tech-panel .ledger-item {
  align-items: center;
  padding: 9px 16px;
  border-top: 1px solid var(--line);
  background: var(--sheet);
}
.tech-panel .ledger-item:first-of-type {
  border-top: 0;
}
.outcome {
  flex: none;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600 !important;
  text-transform: none !important;
}
.outcome-passed {
  border-color: var(--t-d4e1e7);
  color: var(--teal);
}
.outcome-failed {
  border-color: var(--t-f2c9c0);
  background: var(--t-fdeae6);
  color: var(--t-9b2c1f);
}
.outcome-needs_review {
  border-color: var(--t-ead5ab);
  background: var(--t-fbefd9);
  color: var(--t-84501d);
}
.outcome-not_applicable {
  color: var(--muted);
}
.limits-panel .panel-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}
.limits-panel .section-body p {
  margin: 0;
  font-size: 0.92rem;
}

/* Issue details sheet */
dialog.sheet {
  background: var(--paper);
}
dialog.sheet .dialog-head {
  padding-block: 16px;
  background: linear-gradient(
    115deg,
    var(--band) 0%,
    color-mix(in oklab, var(--band) 86%, var(--band-accent)) 100%
  );
}
dialog.sheet .dialog-head h2 {
  font-size: 1.15rem;
}
dialog.sheet .detail {
  padding: 18px 24px 24px;
}
.detail-stepper {
  margin-bottom: 16px;
  padding-bottom: 12px;
}
.detail-stepper > span:last-child .icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sheet);
}
dialog.sheet .detail-meta {
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
dialog.sheet .detail-meta .module-icon {
  border-radius: 8px;
}
dialog.sheet .detail-title {
  margin: 12px 0 14px;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}
dialog.sheet .detail .issue-plain {
  max-width: none;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.detail-where {
  margin: 14px 0 18px;
}
dialog.sheet .detail .tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
}
dialog.sheet .detail .tabs button {
  padding: 7px 14px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
dialog.sheet .detail .tabs button.active {
  background: var(--sheet);
  color: var(--ink);
  box-shadow: var(--ent-shadow);
}
dialog.sheet .evidence-line {
  margin-bottom: 10px;
}
dialog.sheet .evidence-line h4 {
  padding-top: 0;
  font-size: 1rem;
}
dialog.sheet .evidence-line select {
  border-radius: 8px;
}
dialog.sheet .observed-fact {
  margin-bottom: 14px;
  border: 1px solid var(--t-ead5ab);
  border-left: 4px solid var(--t-d19821);
  border-radius: 10px;
}
dialog.sheet .evidence-shot {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
dialog.sheet .evidence-shot .shot {
  overflow: hidden;
  border-radius: 8px;
}
.evidence-controls {
  gap: 6px;
}
.evidence-controls button {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  font-size: 0.8rem;
  text-decoration: none;
}
.evidence-controls button[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--tint);
}
dialog.sheet .detail .facts {
  margin-top: 14px;
  padding: 4px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sheet);
}
dialog.sheet .dialog-foot {
  padding: 14px 24px;
  background: var(--sheet);
}
dialog.sheet .detail .brief {
  border-radius: 10px;
}
@media (max-width: 560px) {
  dialog.sheet .detail {
    padding: 14px 16px 20px;
  }
  .tech-panel > .panel-head,
  .tech-subhead,
  .tech-panel .ledger-title {
    padding-inline: 16px;
  }
  .tech-facts {
    padding-inline: 16px;
  }
  .tech-panel .ledger {
    margin-inline: 16px;
  }
}

/* Landing page: the same surfaces as the report */
.entry-field .url-field {
  border-radius: 10px;
}
.entry-field .entry-submit {
  border-radius: 10px;
}
.entry-trust {
  gap: 6px 8px;
}
.entry-trust li {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  font-size: 0.8rem;
}
.hs-card {
  border-radius: 14px;
}
.hs-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--sheet);
}
.hs-verdict {
  grid-column: 1 / -1;
  grid-row: auto;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(
    115deg,
    var(--band) 0%,
    color-mix(in oklab, var(--band) 86%, var(--band-accent)) 100%
  );
  color: #fff;
}
.hs-verdict .hs-ring .ring-track {
  stroke: rgb(255 255 255 / 0.16);
}
.hs-verdict .hs-ring .seg-medium {
  stroke: #f3c26b;
}
.hs-verdict .hs-ring .seg-low {
  stroke: #9fc6d8;
}
.hs-verdict .hs-ring b {
  color: #fff;
}
.hs-verdict .hs-verdict-copy {
  flex: 1;
}
.hs-verdict .hs-verdict-copy strong {
  color: #fff;
  font-size: 1rem;
}
.hs-verdict .hs-verdict-copy small {
  color: #d5dde0;
}
.hs-stats {
  display: flex;
  gap: 18px;
  padding-left: 16px;
  border-left: 1px solid rgb(255 255 255 / 0.16);
}
.hs-stats .verdict-stat b {
  font-size: 1.45rem;
}
.hs-stats .verdict-stat > span {
  font-size: 0.62rem;
}
.hs-stats .verdict-stat > span::before {
  width: 6px;
  height: 6px;
}

.repair-story {
  border-block: 0;
}
#story-panel {
  overflow: hidden;
  border-radius: var(--ent-radius);
  box-shadow: var(--ent-shadow);
}
.story-tabs {
  display: inline-grid;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
}
.story-tabs::after {
  display: none;
}
.story-tabs button {
  min-height: 36px;
  border-radius: 7px;
  font-weight: 600;
}
.story-tabs button[aria-selected="true"] {
  background: var(--sheet);
  color: var(--ink);
  box-shadow: var(--ent-shadow);
}
.story-top {
  margin-bottom: 14px;
}

.how-steps {
  gap: 14px;
  border-top: 0;
}
.how-steps::before {
  display: none;
}
.how-steps li,
.how-steps li + li {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.how-index {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--tint);
  font-size: 1.5rem;
}

.check-index-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.check-index-list > div,
.check-index-list > div:first-child {
  padding: 14px 18px;
  border-color: var(--line);
}
.check-index-list > div:first-child {
  border-top: 0;
}
.check-index-list dt .module-icon {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 8px;
  background: var(--wash);
}

.promise-grid {
  gap: 14px;
  border: 0;
  background: none;
}
.promise-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  box-shadow: var(--ent-shadow);
}
.promise-grid .promise-never {
  border-color: transparent;
  background: linear-gradient(
    115deg,
    var(--band) 0%,
    color-mix(in oklab, var(--band) 86%, var(--band-accent)) 100%
  );
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: var(--sheet);
  box-shadow: var(--ent-shadow);
}
.faq-list details {
  padding: 0 20px;
}
.faq-list details:last-child {
  border-bottom: 0;
}
.faq-list details[open] {
  background: color-mix(in oklab, var(--wash) 35%, var(--sheet));
}

.final-call {
  border-radius: 16px;
  background: linear-gradient(
    115deg,
    var(--band) 0%,
    color-mix(in oklab, var(--band) 80%, var(--band-accent)) 100%
  );
  box-shadow: var(--ent-shadow-hover);
}
.final-call .final-start {
  border-radius: 10px;
}
@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .how-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .story-tabs {
    display: grid;
  }
}
dialog.sheet .detail .facts + p {
  margin-top: 16px;
}
dialog.sheet .dialog-foot {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
@media (max-width: 560px) {
  dialog.sheet .dialog-foot {
    padding: 12px 16px;
  }
  dialog.sheet .dialog-foot .button {
    flex: 1 1 100%;
    justify-content: center;
  }
  dialog.sheet .detail .tabs {
    display: flex;
  }
  dialog.sheet .detail .tabs button {
    flex: 1 1 auto;
    padding-inline: 10px;
  }
}

/* Dvarin color themes.

   The app follows the system theme unless the founder picks one; theme.js
   sets data-theme on <html> before first paint and switches to light while
   printing. Named tokens (--ink, --sheet, --teal...) carry meaning; the
   --t-* tokens are the remaining one-off colors, named after their light
   value. New styles should use a named token where one fits.

   Dark values for --t-* were derived in OKLCH: lightness follows the curve
   set by the named tokens below, hues are kept, and neutrals take a slight
   navy cast. --shadow-* tokens stay dark in both themes. The navy bands
   (report header strip, dialog headers, closing call to action and the
   "never do" panel) use --band and look the same in both themes. */

:root {
  --band: #06283e;
  --band-accent: #81d7cc;
  --shadow-06283e0f: #06283e0f;
  --shadow-06283e1a: #06283e1a;
  --shadow-06283e66: #06283e66;
  --shadow-06283e99: #06283e99;
  --shadow-092b2b12: #092b2b12;
  --shadow-0a222b78: #0a222b78;
  --shadow-112a3440: #112a3440;
  --shadow-12161288: #12161288;
  --shadow-143c3020: #143c3020;
  --shadow-297564: #297564;
  --shadow-81d7cc26: #81d7cc26;
  --shadow-81d7cc73: #81d7cc73;
  --shadow-81d7cc80: #81d7cc80;
  --t-005a5c: #005a5c;
  --t-006e701a: #006e701a;
  --t-06283e12: #06283e12;
  --t-06283e1a: #06283e1a;
  --t-082a33: #082a33;
  --t-087f75: #087f75;
  --t-092933: #092933;
  --t-09293350: #09293350;
  --t-092933bf: #092933bf;
  --t-092933e8: #092933e8;
  --t-0a3037: #0a3037;
  --t-1167a1: #1167a1;
  --t-153b34: #153b34;
  --t-164861: #164861;
  --t-174e42: #174e42;
  --t-1b2531: #1b2531;
  --t-1d201d: #1d201d;
  --t-1f5347: #1f5347;
  --t-223921: #223921;
  --t-242825: #242825;
  --t-29382c: #29382c;
  --t-2c7254: #2c7254;
  --t-2e332b: #2e332b;
  --t-2e6252: #2e6252;
  --t-305740: #305740;
  --t-326540: #326540;
  --t-335b46: #335b46;
  --t-335e77: #335e77;
  --t-35846c: #35846c;
  --t-366249: #366249;
  --t-375847: #375847;
  --t-384b40: #384b40;
  --t-393f39: #393f39;
  --t-397c69: #397c69;
  --t-3e6474: #3e6474;
  --t-3f4239: #3f4239;
  --t-405750: #405750;
  --t-426680: #426680;
  --t-445d51: #445d51;
  --t-47525c: #47525c;
  --t-476557: #476557;
  --t-4d6c5f: #4d6c5f;
  --t-4f685a: #4f685a;
  --t-50645f: #50645f;
  --t-51665d: #51665d;
  --t-517078: #517078;
  --t-53685e: #53685e;
  --t-54685f: #54685f;
  --t-575e55: #575e55;
  --t-596d78: #596d78;
  --t-60665c: #60665c;
  --t-60695b: #60695b;
  --t-628376: #628376;
  --t-677b70: #677b70;
  --t-695685: #695685;
  --t-71867c: #71867c;
  --t-724735: #724735;
  --t-74dab9: #74dab9;
  --t-764922: #764922;
  --t-798172: #798172;
  --t-81d7cc4c: #81d7cc4c;
  --t-81d7cc52: #81d7cc52;
  --t-83918a: #83918a;
  --t-84501d: #84501d;
  --t-84afa3: #84afa3;
  --t-858d81: #858d81;
  --t-876024: #876024;
  --t-899ba5: #899ba5;
  --t-8a9990: #8a9990;
  --t-8b321f: #8b321f;
  --t-8bdfc6: #8bdfc6;
  --t-92998d: #92998d;
  --t-929990: #929990;
  --t-98654a: #98654a;
  --t-9b2c1f: #9b2c1f;
  --t-9b2c1f80: #9b2c1f80;
  --t-9bbab5: #9bbab5;
  --t-9bbcb8: #9bbcb8;
  --t-a5ead9: #a5ead9;
  --t-a66a10: #a66a10;
  --t-a7aea1: #a7aea1;
  --t-aab0a5: #aab0a5;
  --t-b4441c: #b4441c;
  --t-b9bdb5: #b9bdb5;
  --t-bdd6d2: #bdd6d2;
  --t-c3e8db: #c3e8db;
  --t-c4ccce: #c4ccce;
  --t-c5d3ca: #c5d3ca;
  --t-c6d4cb: #c6d4cb;
  --t-cbd3d6: #cbd3d6;
  --t-cbd7d0: #cbd7d0;
  --t-ccd8d1: #ccd8d1;
  --t-ccd9d0: #ccd9d0;
  --t-cde6e2: #cde6e2;
  --t-d0dfd0: #d0dfd0;
  --t-d19821: #d19821;
  --t-d3ebe7: #d3ebe7;
  --t-d4e1e7: #d4e1e7;
  --t-d4e4e1: #d4e4e1;
  --t-d4e6d9: #d4e6d9;
  --t-d6d7d6: #d6d7d6;
  --t-d6dce1: #d6dce1;
  --t-d7dfd9: #d7dfd9;
  --t-dce8dc: #dce8dc;
  --t-dce9df: #dce9df;
  --t-dee9df: #dee9df;
  --t-dfe5df: #dfe5df;
  --t-dfede1: #dfede1;
  --t-e0e6df: #e0e6df;
  --t-e0e7df: #e0e7df;
  --t-e2e8e1: #e2e8e1;
  --t-e2f0e6: #e2f0e6;
  --t-e2f2ee: #e2f2ee;
  --t-e2f3e9: #e2f3e9;
  --t-e3dfd3: #e3dfd3;
  --t-e3e8e2: #e3e8e2;
  --t-e3eae2: #e3eae2;
  --t-e4edf4: #e4edf4;
  --t-e6ece5: #e6ece5;
  --t-e6eceb: #e6eceb;
  --t-e6f0e6: #e6f0e6;
  --t-e6f0f6: #e6f0f6;
  --t-e7ece6: #e7ece6;
  --t-e7ede7: #e7ede7;
  --t-e7eee8: #e7eee8;
  --t-e8ebe2: #e8ebe2;
  --t-e8ede4: #e8ede4;
  --t-e8eee9: #e8eee9;
  --t-e8efe9: #e8efe9;
  --t-e9f3e9: #e9f3e9;
  --t-ead5ab: #ead5ab;
  --t-eaf0e9: #eaf0e9;
  --t-eaf1f5: #eaf1f5;
  --t-eaf4eb: #eaf4eb;
  --t-ebece6: #ebece6;
  --t-edf2ec: #edf2ec;
  --t-edf3ed: #edf3ed;
  --t-edf3ee: #edf3ee;
  --t-eeebf7: #eeebf7;
  --t-eef1f3: #eef1f3;
  --t-f1f4f0: #f1f4f0;
  --t-f2c9c0: #f2c9c0;
  --t-f2efe7: #f2efe7;
  --t-f2f3ee: #f2f3ee;
  --t-f3e9e4: #f3e9e4;
  --t-f3f6f5: #f3f6f5;
  --t-f3f7f1: #f3f7f1;
  --t-f4f3e9: #f4f3e9;
  --t-f4f6f3: #f4f6f3;
  --t-f5f8f3: #f5f8f3;
  --t-f5fcf5: #f5fcf5;
  --t-f6ecdf: #f6ecdf;
  --t-fafbf7: #fafbf7;
  --t-fbefd9: #fbefd9;
  --t-fbfcf9: #fbfcf9;
  --t-fcf0df: #fcf0df;
  --t-fdeae6: #fdeae6;
  --t-fdfefb: #fdfefb;
  --t-fff4d8: #fff4d8;
  --t-ffffff: #ffffff;
  --t-ffffffd6: #ffffffd6;
  --t-fffffff5: #fffffff5;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --band: #0c2f45;
  --band-accent: #81d7cc;
  --ink: #e3ecef;
  --muted: #a3b5bd;
  --accent: #cfe1ea;
  --line: #2c3d47;
  --paper: #0e1a21;
  --graphite: #e6eef1;
  --teal: #4fc3b4;
  --tint: #12302f;
  --highlight: #81d7cc;
  --sheet: #13222b;
  --wash: #182a33;
  --annotation: #e0956f;
  --shadow-06283e0f: #00000033;
  --shadow-06283e1a: #00000033;
  --shadow-06283e66: #000000b8;
  --shadow-06283e99: #000000d9;
  --shadow-092b2b12: #00000033;
  --shadow-0a222b78: #000000d8;
  --shadow-112a3440: #00000073;
  --shadow-12161288: #000000d9;
  --shadow-143c3020: #0000003a;
  --shadow-297564: #000000d9;
  --shadow-81d7cc26: #00000045;
  --shadow-81d7cc73: #000000cf;
  --shadow-81d7cc80: #000000d9;
  --t-005a5c: #92cecf;
  --t-006e701a: #76bcbd1a;
  --t-06283e12: #daeeff12;
  --t-06283e1a: #daeeff1a;
  --t-082a33: #d2f1fb;
  --t-087f75: #60aea4;
  --t-092933: #d3f1fc;
  --t-09293350: #d3f1fc50;
  --t-092933bf: #d3f1fcbf;
  --t-092933e8: #d3f1fce8;
  --t-0a3037: #d0f1f9;
  --t-1167a1: #73b2e7;
  --t-153b34: #c6e9e1;
  --t-164861: #abd5ef;
  --t-174e42: #abd9cc;
  --t-1b2531: #e1edfb;
  --t-1d201d: #e7edf1;
  --t-1f5347: #a6d3c6;
  --t-223921: #d1e9d0;
  --t-242825: #e6ecef;
  --t-29382c: #d5e5d8;
  --t-2c7254: #80b99d;
  --t-2e332b: #dfe5dc;
  --t-2e6252: #97c4b4;
  --t-305740: #a9cdb5;
  --t-326540: #97c4a0;
  --t-335b46: #a4c8b3;
  --t-335e77: #96bcd4;
  --t-35846c: #67a690;
  --t-366249: #9bc3aa;
  --t-375847: #aac8b7;
  --t-384b40: #bdd0c5;
  --t-393f39: #d0d7d0;
  --t-397c69: #74ab99;
  --t-3e6474: #94b6c5;
  --t-3f4239: #cfd2c9;
  --t-405750: #aec4bd;
  --t-426680: #90b1c9;
  --t-445d51: #a7bfb3;
  --t-47525c: #b5c0ca;
  --t-476557: #9db9ab;
  --t-4d6c5f: #95b0a4;
  --t-4f685a: #9cb3a6;
  --t-50645f: #a1b4af;
  --t-51665d: #9fb3aa;
  --t-517078: #8ca7af;
  --t-53685e: #9db0a7;
  --t-54685f: #9db0a7;
  --t-575e55: #aeb5ad;
  --t-596d78: #94a6b0;
  --t-60665c: #a6aba2;
  --t-60695b: #a2aa9d;
  --t-628376: #7b978b;
  --t-677b70: #889a90;
  --t-695685: #b4a4d0;
  --t-71867c: #7c8e85;
  --t-724735: #dcb19f;
  --t-74dab9: #135341;
  --t-764922: #dcb08e;
  --t-798172: #878e81;
  --t-81d7cc4c: #1c4f4a4c;
  --t-81d7cc52: #1c4f4a52;
  --t-83918a: #737f79;
  --t-84501d: #d6a57b;
  --t-84afa3: #4a6c63;
  --t-858d81: #7a8177;
  --t-876024: #c19d6d;
  --t-899ba5: #64737b;
  --t-8a9990: #6b7770;
  --t-8b321f: #f8a28f;
  --t-8bdfc6: #174a3d;
  --t-92998d: #6e746a;
  --t-929990: #6e736c;
  --t-98654a: #ba8c74;
  --t-9b2c1f: #fc9685;
  --t-9b2c1f80: #fc968580;
  --t-9bbab5: #495b58;
  --t-9bbcb8: #465957;
  --t-a5ead9: #153d35;
  --t-a66a10: #b98546;
  --t-a7aea1: #5b5f57;
  --t-aab0a5: #595c56;
  --t-b4441c: #e37f5f;
  --t-b9bdb5: #445056;
  --t-bdd6d2: #323f3d;
  --t-c3e8db: #243731;
  --t-c4ccce: #374249;
  --t-c5d3ca: #373f3a;
  --t-c6d4cb: #363e39;
  --t-cbd3d6: #313c42;
  --t-cbd7d0: #353b37;
  --t-ccd8d1: #343a37;
  --t-ccd9d0: #333a35;
  --t-cde6e2: #283533;
  --t-d0dfd0: #303730;
  --t-d19821: #815d15;
  --t-d3ebe7: #25312f;
  --t-d4e1e7: #2d3336;
  --t-d4e4e1: #2b3332;
  --t-d4e6d9: #2b342d;
  --t-d6d7d6: #2e393f;
  --t-d6dce1: #2b363c;
  --t-d7dfd9: #2a353b;
  --t-dce8dc: #2b312b;
  --t-dce9df: #2a302b;
  --t-dee9df: #2a302b;
  --t-dfe5df: #273137;
  --t-dfede1: #272e28;
  --t-e0e6df: #263137;
  --t-e0e7df: #2c302c;
  --t-e2e8e1: #253035;
  --t-e2f0e6: #252c28;
  --t-e2f2ee: #232b29;
  --t-e2f3e9: #232b27;
  --t-e3dfd3: #34322c;
  --t-e3e8e2: #252f35;
  --t-e3eae2: #2a2e2a;
  --t-e4edf4: #272b2e;
  --t-e6ece5: #232d33;
  --t-e6eceb: #222d33;
  --t-e6f0e6: #262b26;
  --t-e6f0f6: #252a2d;
  --t-e7ece6: #222d33;
  --t-e7ede7: #222c32;
  --t-e7eee8: #212c32;
  --t-e8ebe2: #2b2c28;
  --t-e8ede4: #292c27;
  --t-e8eee9: #212c32;
  --t-e8efe9: #212b31;
  --t-e9f3e9: #252a25;
  --t-ead5ab: #40351f;
  --t-eaf0e9: #202b30;
  --t-eaf1f5: #1f2a2f;
  --t-eaf4eb: #242925;
  --t-ebece6: #222c32;
  --t-edf2ec: #1f292f;
  --t-edf3ed: #1e292f;
  --t-edf3ee: #1e292e;
  --t-eeebf7: #2a292e;
  --t-eef1f3: #1f292f;
  --t-f1f4f0: #1b252b;
  --t-f2c9c0: #48332f;
  --t-f2efe7: #202a30;
  --t-f2f3ee: #1c262c;
  --t-f3e9e4: #2e2927;
  --t-f3f6f5: #172127;
  --t-f3f7f1: #172126;
  --t-f4f3e9: #252520;
  --t-f4f6f3: #172127;
  --t-f5f8f3: #151f24;
  --t-f5fcf5: #101a1f;
  --t-f6ecdf: #2d2822;
  --t-fafbf7: #111b20;
  --t-fbefd9: #2d271c;
  --t-fbfcf9: #121c22;
  --t-fcf0df: #2b251d;
  --t-fdeae6: #2f2624;
  --t-fdfefb: #151f25;
  --t-fff4d8: #262013;
  --t-ffffff: #172227;
  --t-ffffffd6: #172227d6;
  --t-fffffff5: #172227f5;
}

/* Brand artwork: the dark theme uses the light-on-dark versions. */
.studio-brand .logo-dark {
  display: none;
}
:root[data-theme="dark"] .studio-brand .logo-light {
  display: none;
}
:root[data-theme="dark"] .studio-brand .logo-dark {
  display: block;
}
:root[data-theme="dark"] .report-plate::before {
  background-image: url("/brand/guardian-inverse.png");
}

/* Header and footer theme controls */
.theme-toggle {
  color: var(--ink);
}
.footer-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.theme-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.theme-select select {
  min-height: 34px;
  background-color: var(--sheet);
  color: var(--ink);
  border-color: var(--line);
}
@media (max-width: 700px) {
  .studio-header .theme-toggle {
    display: none;
  }
}

/* Dark-only adjustments where a fixed accent meets a color that flips. */
:root[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23a3b5bd' stroke-width='1.5'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .plan-control[aria-pressed="true"] svg {
  color: #0b5d58;
}
:root[data-theme="dark"] .ranked li:first-child .plan-rank,
:root[data-theme="dark"] .steps .current b {
  color: #06283e;
}
:root[data-theme="dark"] .studio-header {
  background: rgb(14 26 33 / 0.9);
}

/* The sample walkthrough sets its annotation color on the story itself. */
:root[data-theme="dark"]
  .repair-story:not([data-chapter="1"]):not([data-chapter="2"]) {
  --annotation: #e0956f;
}

/* Section icons are dark line art; flip them so they read on dark chips. */
:root[data-theme="dark"] .module-icon img {
  filter: invert(1) hue-rotate(180deg);
}

/* Highlighted evidence on screenshots */
:root {
  --evidence-target: #d23d2a;
  --evidence-dim: rgb(6 40 62 / 0.5);
}
:root[data-theme="dark"] {
  --evidence-target: #ff8f7a;
  --evidence-dim: rgb(0 0 0 / 0.55);
}

/* The launch-ready mascot switches to its light-on-dark artwork. */
:root[data-theme="dark"] .launch-ready .mascot-light {
  display: none;
}
:root[data-theme="dark"] .launch-ready .mascot-dark {
  display: block;
}

/* Landing page: the "inspection instrument" design.

   Dark stages (hero and closing call) frame light, editorial sections.
   Motion is layered on top: everything here renders complete without
   JavaScript, and with reduced motion nothing is hidden or moved. The hook
   in motion.tsx adds data-motion="on" to .lp, data-in to revealed elements
   and pointer values (--mx/--my, --px/--py, --tx/--ty) to [data-spot] and
   [data-magnetic] elements. Loaded last, after studio.css and theme.css. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@property --mx {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 72%;
}
@property --my {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 36%;
}

:root {
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --stage: #041a28;
  --stage-2: #072a40;
  --stage-ink: #f2f7f8;
  --stage-muted: #a6bcc4;
  --stage-line: rgb(255 255 255 / 0.12);
  --glow: #81d7cc;
  --glow-2: #a5ead9;
  --coral: #ff8a73;
  --amber: #f3c26b;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.8, 0.24, 1);
  --lp-wm-a: #06283e;
  --lp-wm-b: #006e70;
  --lp-art-alert: #b23a22;
}
:root[data-theme="dark"] {
  --stage: #03101a;
  --stage-2: #082233;
  --lp-wm-a: #cfe1ea;
  --lp-wm-b: #4fc3b4;
  --lp-art-alert: #ff9a83;
}

/* ---------- Frame: full-width sections inside the app shell ---------- */

.studio-shell[data-page="start"] .studio-main {
  width: 100%;
  padding-bottom: 0;
}
.studio-shell[data-page="start"] .studio-main > :not(.view),
.studio-shell[data-page="start"] .view > :not(.lp),
.lp > :not(.lp-bleed),
.lp-inner {
  width: min(calc(100% - 2 * var(--gutter)), var(--measure));
  margin-inline: auto;
}
.studio-shell[data-page="start"] .view {
  gap: 0;
}
.lp {
  display: block;
}
.lp > * + * {
  margin-top: clamp(96px, 12vw, 176px);
}
.lp > .lp-facts {
  margin-top: clamp(40px, 5vw, 72px);
}
.lp > .lp-how,
.lp > .lp-how + * {
  margin-top: clamp(80px, 9vw, 136px);
}
.lp > .saved-setups {
  margin-top: 48px;
}

/* ---------- Header: transparent over the stage, a glass pill after ---------- */

.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-header {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: color 0.3s;
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-header:not([data-raised]) {
  --ink: #f2f7f8;
  --muted: #c3d3d9;
  --graphite: #f2f7f8;
  --line: rgb(255 255 255 / 0.16);
  --wash: rgb(255 255 255 / 0.1);
  --teal: #81d7cc;
  color: var(--ink);
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  )
  .studio-header:not([data-raised])
  .studio-brand
  .logo-light {
  display: none;
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  )
  .studio-header:not([data-raised])
  .studio-brand
  .logo-dark {
  display: block;
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-header :focus-visible {
  outline-color: var(--teal);
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-bar {
  position: relative;
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-bar::before,
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-bar::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.35s,
    transform 0.6s var(--ease-out);
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-bar::before {
  inset: 7px -16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--t-ffffffd6, rgb(255 255 255 / 0.84));
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 18px 44px -26px var(--shadow-06283e99);
  transform: translateY(-8px) scale(0.985);
}
/* Reading progress along the bottom edge of the pill. */
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-bar::after {
  left: 2px;
  right: 2px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--highlight));
  transform-origin: left;
  transform: scaleX(var(--lp-scroll, 0));
  transition: opacity 0.35s;
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-header[data-raised] .studio-bar::before {
  opacity: 1;
  transform: none;
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-header[data-raised] .studio-bar::after {
  opacity: 0.85;
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-header nav a[aria-current="page"]::after {
  inset: auto 0 16px;
  height: 2px;
  border-radius: 2px;
}
.studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-header .bar-cta {
  border-radius: 999px;
  padding-inline: 18px;
}

/* ---------- Stage: grid, pointer lens, glow and grain ---------- */

.lp-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.lp-grid,
.lp-lens,
.lp-grain {
  position: absolute;
  inset: 0;
}
.lp-grid {
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(
    ellipse 95% 85% at 60% 30%,
    #000 25%,
    transparent 85%
  );
  mask-image: radial-gradient(
    ellipse 95% 85% at 60% 30%,
    #000 25%,
    transparent 85%
  );
}
/* The lens is a soft light where the pointer is: a glow, the grid's points
   and only a faint lift of its lines, so it never draws sharp lines through
   the words and controls above it. */
.lp-lens {
  background-image:
    radial-gradient(circle, rgb(165 234 217 / 0.7) 1px, transparent 1.5px),
    linear-gradient(to right, rgb(129 215 204 / 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(129 215 204 / 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position:
    -28px -28px,
    -1px -1px,
    -1px -1px;
  -webkit-mask-image: radial-gradient(
    230px circle at var(--mx) var(--my),
    #000 0%,
    rgb(0 0 0 / 0.45) 36%,
    transparent 68%
  );
  mask-image: radial-gradient(
    230px circle at var(--mx) var(--my),
    #000 0%,
    rgb(0 0 0 / 0.45) 36%,
    transparent 68%
  );
}
.lp-lens::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    460px circle at var(--mx) var(--my),
    rgb(129 215 204 / 0.13),
    transparent 70%
  );
}
.lp-aurora::before,
.lp-aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.lp-aurora::before {
  width: 62vmax;
  height: 62vmax;
  right: -22vmax;
  top: -34vmax;
  background: radial-gradient(
    closest-side,
    rgb(47 196 176 / 0.34),
    rgb(47 196 176 / 0.08) 60%,
    transparent
  );
}
.lp-aurora::after {
  width: 48vmax;
  height: 48vmax;
  left: -18vmax;
  bottom: -30vmax;
  background: radial-gradient(
    closest-side,
    rgb(64 110 255 / 0.2),
    transparent
  );
}
.lp-grain {
  opacity: 0.11;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Measuring rulers and crop marks, as on a technical drawing. */
.lp-ruler {
  position: absolute;
  background-repeat: repeat;
  opacity: 0.9;
}
.lp-ruler-top {
  top: calc(var(--header-height) + 14px);
  left: var(--gutter);
  right: var(--gutter);
  height: 10px;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.32) 1px, transparent 1px),
    linear-gradient(to right, rgb(255 255 255 / 0.14) 1px, transparent 1px);
  background-size:
    112px 10px,
    14px 5px;
  background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  transform-origin: left;
}
.lp-ruler-left {
  top: calc(var(--header-height) + 40px);
  bottom: 120px;
  left: calc(var(--gutter) / 2 - 5px);
  width: 10px;
  background-image:
    linear-gradient(to bottom, rgb(255 255 255 / 0.32) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.14) 1px, transparent 1px);
  background-size:
    10px 112px,
    5px 14px;
  background-repeat: repeat-y;
  -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 70%, transparent);
  mask-image: linear-gradient(transparent, #000 15%, #000 70%, transparent);
  transform-origin: top;
}
.lp-mark {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid rgb(129 215 204 / 0.6);
}
.lp-mark-tl {
  top: calc(var(--header-height) + 34px);
  left: var(--gutter);
  border-width: 1px 0 0 1px;
}
.lp-mark-tr {
  top: calc(var(--header-height) + 34px);
  right: var(--gutter);
  border-width: 1px 1px 0 0;
}

/* ---------- Hero ---------- */

.lp-hero {
  --mx: 72%;
  --my: 36%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * (var(--header-height) + 1px));
  padding-top: calc(var(--header-height) + clamp(56px, 8vw, 116px));
  background:
    radial-gradient(110% 70% at 78% 0%, rgb(14 74 100 / 0.75), transparent 62%),
    linear-gradient(180deg, var(--stage-2) 0%, var(--stage) 78%);
  color: var(--stage-ink);
}
.lp-hero :focus-visible,
.lp-final :focus-visible {
  outline-color: var(--glow);
}
.lp-hero-grid {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
  padding-bottom: clamp(64px, 8vw, 112px);
}
@media (min-width: 1040px) {
  .lp-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(40px, 5vw, 88px);
  }
}
.lp-hero-copy {
  display: grid;
  justify-items: start;
  min-width: 0;
}
/* A soft shadow keeps small text crisp wherever the light passes behind. */
.lp-deck,
.lp-form label,
.lp-customize,
.lp-final-inner p {
  text-shadow: 0 1px 14px rgb(4 26 40 / 0.85);
}
.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--stage-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #d6e4e8;
  font: 0.74rem/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lp-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 12px var(--glow);
}
.lp-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--glow);
  opacity: 0;
}
/* Sized so the question takes two balanced lines and "Find out in a
   minute." stays on one line from phones to wide screens. */
.lp-hero h1 {
  color: var(--stage-ink);
  font: 600 clamp(2.9rem, 5vw, 4.8rem) / 0.94 var(--display);
  letter-spacing: -0.055em;
  text-wrap: balance;
}
@media (max-width: 600px) {
  .lp-hero h1 {
    font-size: min(10.5vw, 2.9rem);
  }
}
.lp-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.lp-line > * {
  display: inline-block;
}
.lp-hero h1 em {
  padding-right: 0.06em;
  color: var(--glow);
  font-family: var(--serif);
  font-size: 1.1em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-shadow: 0 0 48px rgb(129 215 204 / 0.35);
}
.lp-deck {
  max-width: 54ch;
  margin-top: 26px;
  color: var(--stage-muted);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* The address bar works like a command bar: field and action in one. */
.lp-form {
  width: 100%;
  max-width: 640px;
  margin-top: 36px;
}
.lp-form label {
  display: block;
  margin-bottom: 10px;
  color: #c8d8dd;
  font: 0.74rem/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lp-field {
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 30px 80px -40px rgb(0 0 0 / 0.85);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
.lp-field:hover {
  border-color: rgb(255 255 255 / 0.26);
}
.lp-field:focus-within {
  border-color: rgb(129 215 204 / 0.75);
  background: rgb(255 255 255 / 0.08);
  box-shadow:
    0 0 0 4px rgb(129 215 204 / 0.18),
    0 30px 80px -40px rgb(0 0 0 / 0.85);
}
.lp-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  color: var(--stage-muted);
}
.lp-url svg {
  flex: none;
}
.lp-url input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 1.08rem;
  -webkit-appearance: none;
  appearance: none;
}
.lp-url input:focus-visible {
  outline: 0;
}
.lp-url input::placeholder {
  color: #8ea7b1;
  opacity: 1;
}
.lp-url input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 40px #0b2f44 inset;
}

/* Primary action: bright, magnetic, with a light sweep on hover. */
.lp-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--glow);
  color: #04202f;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgb(165 234 217 / 0.5),
    0 12px 34px -12px rgb(129 215 204 / 0.7);
  transform: translate(var(--tx, 0px), var(--ty, 0px));
  transition:
    transform 0.45s var(--ease-out),
    background 0.3s,
    box-shadow 0.3s;
}
.lp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgb(255 255 255 / 0.65) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
}
.lp-cta svg {
  transition: transform 0.35s var(--ease-out);
}
.lp-cta:hover:enabled {
  background: var(--glow-2);
  box-shadow:
    0 0 0 1px rgb(165 234 217 / 0.8),
    0 18px 44px -12px rgb(129 215 204 / 0.9);
}
.lp-cta:hover:enabled svg {
  transform: translateX(4px);
}
.lp-cta:active:enabled {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(0.97);
}
.lp-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.lp-form .field-error {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid rgb(255 138 115 / 0.4);
  border-radius: 12px;
  background: rgb(255 138 115 / 0.1);
  color: #ffc2b6;
}
.lp-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 16px;
}
.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 9px;
  border: 1px solid var(--stage-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #d0dfe4;
  font-size: 0.8rem;
}
.lp-trust svg {
  color: var(--glow);
}
.lp-customize {
  min-height: 36px;
  padding: 0;
  color: #e6eff2;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.35);
  text-underline-offset: 5px;
}
.lp-customize:hover:enabled {
  color: var(--glow);
  text-decoration-color: currentColor;
}

/* ---------- Hero: real screens on a curved wall ---------- */

/* The viewer stands inside a curved gallery wall: --sw-p is how far the eye
   is from the screen plane, --sw-r the wall's radius around the viewer.
   hero-scan.tsx places each screen along the arc. */
.sw {
  --sw-p: 760px;
  --sw-r: 760px;
  --sw-h: clamp(128px, 11vw, 168px);
  position: relative;
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
}
.sw-wall {
  position: relative;
  height: calc(var(--sw-h) * 2.75);
  margin-right: calc(-1 * var(--gutter));
  perspective: var(--sw-p);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 16%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 90%, transparent);
}
.sw-wall[data-dragging] {
  cursor: grabbing;
}
.sw-wall::after {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 32%;
  background: radial-gradient(closest-side, rgb(129 215 204 / 0.18), transparent);
  filter: blur(28px);
  pointer-events: none;
}
.sw-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.sw-card {
  position: absolute;
  top: 27%;
  left: 50%;
  width: calc(var(--sw-h) * var(--sw-ratio));
  height: var(--sw-h);
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.sw-card[data-row="1"] {
  top: 71%;
}
.sw-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 10px;
  background: #07202f;
  box-shadow: 0 36px 70px -34px rgb(0 0 0 / 0.95);
  pointer-events: none;
}
.sw-card > span {
  position: absolute;
  top: calc(100% + 12px);
  left: 2px;
  color: #9fb4bc;
  font: 0.64rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sw figcaption {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #b9cbd2;
  font: 0.74rem var(--mono);
  letter-spacing: 0.04em;
}
.sw-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sw-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.04);
  color: #e6eff2;
  font-size: 1rem;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.sw-arrow:hover {
  border-color: var(--glow);
  color: var(--glow);
}
.sw-hint {
  margin-right: 6px;
  color: #8fa6ae;
  font: 0.7rem var(--mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .sw-hint {
    display: none;
  }
}

/* Browser chrome, used around the demo video. */
.sc-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: #0a2535;
}
.sc-dots {
  display: flex;
  gap: 6px;
}
.sc-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
}
.sc-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.22);
  color: #c3d3d9;
  font: 0.72rem var(--mono);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Ticker: the real check names, as inspection tape ---------- */

.lp-ticker {
  position: relative;
  overflow: hidden;
  padding-block: 20px;
  border-top: 1px solid var(--stage-line);
  background: rgb(0 0 0 / 0.16);
}
.lp-ticker-track {
  display: flex;
  width: min(calc(100% - 2 * var(--gutter)), var(--measure));
  margin-inline: auto;
}
.lp-ticker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-ticker-row[aria-hidden] {
  display: none;
}
.lp-ticker-row li {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  color: #b9cbd2;
  font: 0.78rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lp-ticker-row li::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--glow);
  transform: rotate(45deg);
  opacity: 0.8;
}

/* ---------- Shared section voice ---------- */

.lp-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--teal);
  font: 0.76rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lp-eyebrow span {
  display: inline-grid;
  place-items: center;
  height: 24px;
  padding: 0 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.lp-eyebrow::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.lp-title {
  max-width: 15ch;
  color: var(--graphite);
  font: 600 clamp(2.4rem, 5.2vw, 4.6rem) / 0.98 var(--display);
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.lp-title em,
.lp-final-title em {
  padding-right: 0.05em;
  font-family: var(--serif);
  font-size: 1.08em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.lp-title em {
  color: var(--teal);
}
.lp-lede {
  max-width: 52ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.6;
}
.lp-head {
  margin-bottom: clamp(36px, 5vw, 64px);
}
.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 4px;
  white-space: nowrap;
}
.lp-link:hover {
  text-decoration-color: currentColor;
}
.lp-link svg {
  transition: transform 0.3s var(--ease-out);
}
.lp-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Facts ---------- */

.lp-facts ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}
.lp-facts li {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 30px clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.lp-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}
.lp-facts strong {
  color: var(--graphite);
  font: 400 clamp(3.2rem, 6.4vw, 5.6rem) / 0.86 var(--serif);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.lp-facts li > span {
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

/* ---------- Demo video: a real review, start to finish ---------- */

/* Copy and steps on the left, the video on the right; stacked on phones
   with the video between the heading and the steps. */
.lp-demo {
  display: grid;
  gap: 22px clamp(32px, 4.5vw, 64px);
}
.lp-demo-head {
  display: grid;
  gap: 14px;
  max-width: 52ch;
}
@media (min-width: 1040px) {
  .lp-demo {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    grid-template-areas:
      "eyebrow video"
      "head video"
      "steps video"
      "foot video";
    grid-template-rows: auto auto auto 1fr;
    align-items: start;
  }
  .lp-demo > .lp-eyebrow {
    grid-area: eyebrow;
  }
  .lp-demo-head {
    grid-area: head;
  }
  .lp-demo-frame {
    grid-area: video;
    align-self: center;
  }
  .lp-demo-steps {
    grid-area: steps;
  }
  .lp-demo-foot {
    grid-area: foot;
    justify-content: flex-start;
  }
}
.lp-demo-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 16px;
  background: var(--stage);
  box-shadow:
    0 2px 4px rgb(6 40 62 / 0.08),
    0 50px 100px -50px rgb(4 26 40 / 0.75);
}
.lp-demo-screen {
  position: relative;
}
.lp-demo-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--stage);
}
.lp-demo-frame video::cue {
  background: rgb(4 26 40 / 0.86);
  color: #f2f7f8;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
}
.lp-sound {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(4 26 40 / 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #f2f7f8;
  font: 600 0.82rem var(--display);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.8);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.lp-sound:hover {
  border-color: var(--glow);
  color: var(--glow);
}
.lp-demo-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-demo-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.lp-demo-steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.lp-demo-steps li > span {
  grid-row: span 2;
  padding-top: 3px;
  color: var(--teal);
  font: 500 0.72rem var(--mono);
  letter-spacing: 0.08em;
}
.lp-demo-steps strong {
  font: 600 0.98rem/1.3 var(--display);
  letter-spacing: -0.01em;
}
.lp-demo-steps p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.lp-demo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.lp-demo-foot .quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- How it works: a sticky intro beside stacking cards ---------- */

.lp-how {
  position: relative;
  isolation: isolate;
  padding-block: clamp(88px, 10vw, 148px);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--sheet), var(--paper));
}
.lp-how::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
    to right,
    var(--t-06283e12) 1px,
    transparent 1px
  );
  background-size: calc(100% / 12) 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}
.lp-how-grid {
  display: grid;
  gap: 48px;
}
.lp-rail {
  position: relative;
  width: min(340px, 100%);
  height: 3px;
  margin-top: 44px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.lp-rail span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal), var(--highlight));
  transform-origin: left;
  transform: scaleX(var(--progress, 1));
}
.lp-steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 170px);
  align-items: center;
  gap: 24px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--sheet);
  box-shadow:
    0 1px 2px var(--shadow-06283e0f),
    0 -18px 40px -30px var(--shadow-06283e66),
    0 30px 60px -44px var(--shadow-06283e66);
}
.lp-step-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.lp-step-index {
  color: var(--teal);
  font: italic 400 3.2rem/0.9 var(--serif);
}
.lp-steps h3 {
  color: var(--graphite);
  font: 600 clamp(1.35rem, 2vw, 1.7rem) / 1.15 var(--display);
  letter-spacing: -0.03em;
}
.lp-steps p {
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.55;
}
.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.lp-chips li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 0.72rem/1 var(--mono);
  letter-spacing: 0.04em;
}
@media (min-width: 980px) {
  .lp-how-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(48px, 6vw, 104px);
    align-items: start;
  }
  .lp-how-intro {
    position: sticky;
    top: calc(var(--header-height) + 56px);
  }
  .lp-steps {
    gap: 14vh;
    padding-bottom: 4vh;
  }
  .lp-steps > li {
    position: sticky;
    top: calc(var(--header-height) + 40px + var(--n, 0) * 24px);
  }
}

/* Line drawings shared by the step and check illustrations. */
.lp-step-art,
.lp-check-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
:is(.lp-step-art, .lp-check-art) .ln {
  stroke: var(--graphite);
  stroke-opacity: 0.5;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:is(.lp-step-art, .lp-check-art) .ln.accent {
  stroke: var(--teal);
  stroke-opacity: 1;
  stroke-width: 2;
}
:is(.lp-step-art, .lp-check-art) .ln.alert {
  stroke: var(--lp-art-alert);
  stroke-opacity: 1;
  stroke-width: 2;
}
:is(.lp-step-art, .lp-check-art) .ln.on-fill {
  stroke: var(--sheet);
  stroke-opacity: 1;
  stroke-width: 2;
}
:is(.lp-step-art, .lp-check-art) .dash {
  stroke-dasharray: 4 6;
}
:is(.lp-step-art, .lp-check-art) .soft {
  fill: var(--wash);
}
:is(.lp-step-art, .lp-check-art) .fill {
  fill: var(--teal);
}
:is(.lp-step-art, .lp-check-art) .accent-fill {
  fill: var(--teal);
}
.lp-check-art .lbl {
  fill: var(--muted);
  font: 11px var(--mono);
  letter-spacing: 0.02em;
}
.lp-check-art .lbl.accent {
  fill: var(--teal);
}
.lp-check-art .lbl.alert {
  fill: var(--lp-art-alert);
}

/* ---------- What we check: a bento of review areas ---------- */

.lp-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.lp-cell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-column: span 3;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 320px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--sheet);
  transition:
    transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    border-color 0.3s;
}
.lp-cell-qa,
.lp-cell-performance {
  grid-column: span 4;
}
.lp-cell-security,
.lp-cell-ux {
  grid-column: span 2;
}
/* A spotlight and a lit edge follow the pointer across each card. */
.lp-cell::before,
.lp-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.lp-cell::before {
  z-index: -1;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    color-mix(in srgb, var(--highlight) 22%, transparent),
    transparent 62%
  );
}
.lp-cell::after {
  padding: 1px;
  background: radial-gradient(
    260px circle at var(--mx) var(--my),
    var(--teal),
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
}
.lp-cell[data-pointer]::before,
.lp-cell[data-pointer]::after {
  opacity: 1;
}
.lp-cell:hover {
  box-shadow: 0 40px 70px -48px var(--shadow-06283e99);
}
.lp-cell dt {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--graphite);
  font: 600 clamp(1.2rem, 1.6vw, 1.4rem) / 1.2 var(--display);
  letter-spacing: -0.02em;
}
.lp-cell dd {
  display: contents;
}
.lp-cell dd p {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.lp-plate {
  position: relative;
  order: -1;
  display: grid;
  place-items: center;
  height: 196px;
  margin-bottom: 14px;
  padding: 34px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle, var(--t-06283e1a) 1px, transparent 1.4px) 0 0 / 16px
      16px,
    var(--paper);
  overflow: hidden;
}
.lp-fig {
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--muted);
  font: 0.68rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lp-check-art {
  width: 100%;
  max-width: 340px;
  height: 100%;
}

/* ---------- Data promise ---------- */

.lp-promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.lp-promise-do,
.lp-promise-never {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 30px;
}
.lp-promise-do {
  border: 1px solid var(--line);
  background:
    radial-gradient(
      520px circle at var(--mx, 15%) var(--my, 0%),
      color-mix(in srgb, var(--highlight) 16%, transparent),
      transparent 65%
    ),
    var(--sheet);
}
.lp-promise-never {
  background:
    radial-gradient(
      520px circle at var(--mx, 85%) var(--my, 0%),
      rgb(129 215 204 / 0.16),
      transparent 60%
    ),
    linear-gradient(160deg, var(--band), #02131f);
  color: #e6eff2;
}
.lp-promise-grid h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font: 600 clamp(1.4rem, 2vw, 1.75rem) / 1.15 var(--display);
  letter-spacing: -0.03em;
}
.lp-promise-do h3 {
  color: var(--graphite);
}
.lp-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--teal);
}
.lp-promise-never .lp-badge {
  background: rgb(255 138 115 / 0.14);
  color: #ffb3a7;
}
.lp-promise-grid ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-promise-grid li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}
.lp-promise-grid li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--teal);
}
.lp-promise-do li {
  color: var(--ink);
}
.lp-promise-never li {
  border-top-color: rgb(255 255 255 / 0.12);
  color: #d5e2e6;
}
.lp-promise-never li::before {
  width: 10px;
  height: 2px;
  margin-top: 0.75em;
  border-radius: 1px;
  background: #ffb3a7;
}
.lp-promise-grid code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--wash);
  font-size: 0.9em;
}

/* ---------- FAQ ---------- */

.lp-faq {
  display: grid;
  gap: 40px;
}
.lp-faq-list details {
  border-top: 1px solid var(--line);
}
.lp-faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.lp-faq-list summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  padding: 24px 4px;
  color: var(--graphite);
  cursor: pointer;
  list-style: none;
  font: 500 clamp(1.05rem, 1.45vw, 1.28rem) / 1.35 var(--display);
  letter-spacing: -0.01em;
}
.lp-faq-list summary::-webkit-details-marker {
  display: none;
}
.lp-q {
  transition: color 0.25s;
}
.lp-faq-list summary:hover .lp-q {
  color: var(--teal);
}
.lp-q-index {
  color: var(--teal);
  font: 0.76rem var(--mono);
  letter-spacing: 0.08em;
}
.lp-plus {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--graphite);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.5s var(--ease-out);
}
.lp-plus::before,
.lp-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  translate: -50% -50%;
  transition: rotate 0.4s var(--ease-out);
}
.lp-plus::after {
  rotate: 90deg;
}
.lp-faq-list details[open] .lp-plus {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--sheet);
  transform: rotate(180deg);
}
.lp-faq-list details[open] .lp-plus::after {
  rotate: 0deg;
}
.lp-faq-list details p {
  max-width: 62ch;
  padding: 0 44px 26px 60px;
  color: var(--muted);
  line-height: 1.65;
}
.lp-faq-list details a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 980px) {
  .lp-faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 7vw, 120px);
    align-items: start;
  }
  .lp-faq-intro {
    position: sticky;
    top: calc(var(--header-height) + 56px);
  }
}

/* ---------- Closing call ---------- */

.lp-final {
  --mx: 50%;
  --my: 30%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 176px);
  background:
    radial-gradient(90% 70% at 50% 0%, rgb(14 74 100 / 0.7), transparent 65%),
    linear-gradient(180deg, var(--stage-2), var(--stage));
  color: var(--stage-ink);
  text-align: center;
}
.lp-final-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
}
.lp-final-title {
  max-width: 13ch;
  color: var(--stage-ink);
  font: 600 clamp(2.7rem, 7.4vw, 6.8rem) / 0.95 var(--display);
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.lp-final-title em {
  color: var(--glow);
  text-shadow: 0 0 60px rgb(129 215 204 / 0.35);
}
.lp-final-inner > p {
  color: var(--stage-muted);
  font-size: 1.1rem;
}
.lp-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 14px;
}
.lp-final .lp-cta {
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 1.06rem;
}
.lp-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: #e6eff2;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.35);
  text-underline-offset: 6px;
}
.lp-ghost:hover:enabled {
  color: var(--glow);
  text-decoration-color: currentColor;
}
.lp-final-guardian {
  position: absolute;
  right: max(-40px, calc(50% - 780px));
  bottom: -30px;
  z-index: 0;
  width: clamp(220px, 30vw, 440px);
  height: auto;
  opacity: 0.12;
  pointer-events: none;
}
.lp-seal {
  width: 116px;
  height: 116px;
  margin-bottom: 8px;
  overflow: visible;
}
.lp-seal .seal-edge {
  fill: none;
  stroke: rgb(255 255 255 / 0.16);
}
.lp-seal text {
  fill: #cfe0e5;
  font: 13px var(--mono);
  letter-spacing: 0.18em;
}
.lp-seal .seal-core {
  fill: var(--glow);
  filter: drop-shadow(0 0 18px rgb(129 215 204 / 0.6));
}
.lp-seal .seal-check {
  fill: none;
  stroke: #04202f;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Footer wordmark (landing only) ---------- */

.lp-wordmark {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
  overflow: visible;
}
.lp-wordmark text {
  fill: url(#lp-wordmark-fill);
  font: 600 310px var(--display);
  letter-spacing: -0.055em;
}
.lp-wordmark stop:first-child {
  stop-color: var(--lp-wm-a);
}
.lp-wordmark stop:last-child {
  stop-color: var(--lp-wm-b);
  stop-opacity: 0.12;
}

/* ---------- Narrow screens ---------- */

@media (max-width: 1039px) {
  .sw {
    --sw-p: 620px;
    --sw-r: 620px;
    --sw-h: clamp(108px, 24vw, 160px);
  }
  .sw-wall {
    margin-inline: calc(-1 * var(--gutter));
  }
}
@media (max-width: 979px) {
  .lp-steps > li {
    grid-template-columns: minmax(0, 1fr) 120px;
  }
}
@media (max-width: 760px) {
  .lp-facts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-facts li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .lp-facts li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .lp-bento,
  .lp-promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-cell,
  .lp-cell-qa,
  .lp-cell-performance,
  .lp-cell-security,
  .lp-cell-ux {
    grid-column: auto;
    min-height: 0;
  }
  .lp-faq-list details p {
    padding: 0 8px 24px 56px;
  }
  .lp-ruler-left,
  .lp-mark {
    display: none;
  }
}
@media (max-width: 600px) {
  .studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-bar::before {
    inset: 7px -8px;
    border-radius: 16px;
  }
  .studio-shell:is(
    [data-page="start"]:has(.lp),
    [data-page="signin"],
    :has(> .studio-main > .view:first-child > .report-cover:first-child),
    :has(> .studio-main > .page-stage:first-child)
  ) .studio-bar::after {
    left: 8px;
    right: 8px;
  }
  .lp-field {
    flex-direction: column;
  }
  .lp-url input {
    height: 50px;
  }
  .lp-cta.lp-submit {
    width: 100%;
  }
  .lp-steps > li {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-step-art {
    display: none;
  }
  .lp-faq-list summary {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 10px;
  }
  .lp-faq-list details p {
    padding: 0 4px 22px 40px;
  }
  .lp-seal {
    width: 92px;
    height: 92px;
  }
  .lp-final-guardian {
    right: -60px;
    opacity: 0.08;
  }
}
@media (max-width: 600px) {
  .lp-trust {
    gap: 6px;
  }
  .lp-trust li {
    padding: 4px 10px 4px 8px;
    gap: 6px;
    font-size: 0.76rem;
  }
}

/* ---------- Motion (only when the visitor has not asked for less) ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Opening sequence for the hero. */
  .lp-kicker {
    animation: lp-fade-down 0.9s 0.05s var(--ease-out) backwards;
  }
  .lp-pulse::after {
    animation: lp-ping 2.4s 1s var(--ease-soft) infinite;
  }
  .lp-line > * {
    animation: lp-rise 1.15s var(--ease-out) backwards;
  }
  .lp-line:nth-of-type(1) > * {
    animation-delay: 0.12s;
  }
  .lp-line:nth-of-type(2) > * {
    animation-delay: 0.26s;
  }
  .lp-deck {
    animation: lp-fade-up 1s 0.42s var(--ease-out) backwards;
  }
  .lp-form {
    animation: lp-fade-up 1s 0.54s var(--ease-out) backwards;
  }
  .sw {
    animation: lp-fade 1.4s 0.35s var(--ease-out) backwards;
  }
  .lp-ticker {
    animation: lp-fade 1.2s 0.8s var(--ease-out) backwards;
  }
  .lp-ruler-top {
    animation: lp-draw-x 1.6s 0.2s var(--ease-out) backwards;
  }
  .lp-ruler-left {
    animation: lp-draw-y 1.6s 0.3s var(--ease-out) backwards;
  }
  .lp-aurora::before {
    animation: lp-drift-a 22s ease-in-out infinite alternate;
  }
  .lp-aurora::after {
    animation: lp-drift-b 26s ease-in-out infinite alternate;
  }
  /* On touch screens the lens drifts on its own. */
  @media (hover: none) {
    .lp-hero {
      animation: lp-lens-drift 16s ease-in-out infinite alternate;
    }
  }
  .lp-hero[data-pointer] .lp-lens,
  .lp-final[data-pointer] .lp-lens {
    transition: none;
  }

  /* Ticker: two copies scroll as one endless strip. */
  .lp-ticker {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .lp-ticker-track {
    width: max-content;
    margin: 0;
    animation: lp-marquee 56s linear infinite;
  }
  .lp-ticker:hover .lp-ticker-track {
    animation-play-state: paused;
  }
  .lp-ticker-row {
    flex-wrap: nowrap;
  }
  .lp-ticker-row[aria-hidden] {
    display: flex;
  }

  /* Reveal on scroll. */
  [data-motion="on"] [data-reveal] {
    transition:
      opacity 1s var(--ease-out),
      transform 1s var(--ease-out),
      filter 1s var(--ease-out);
    transition-delay: calc(var(--n, 0) * 90ms);
  }
  [data-motion="on"] [data-reveal]:not([data-in]) {
    opacity: 0;
    transform: translateY(32px);
  }
  [data-motion="on"] .lp-steps > li[data-reveal]:not([data-in]) {
    transform: translateY(48px) scale(0.97);
  }
  [data-motion="on"] .lp-cell[data-reveal]:not([data-in]) {
    transform: translateY(40px) scale(0.98);
  }
  [data-motion="on"] .lp-final-guardian[data-reveal] {
    transition-duration: 1.6s;
  }
  [data-motion="on"] .lp-final-guardian[data-reveal]:not([data-in]) {
    transform: translateY(120px);
  }
  /* Headings rise word by word. */
  [data-motion="on"] :is(.lp-title, .lp-final-title)[data-reveal]:not([data-in]) {
    opacity: 1;
    transform: none;
  }
  [data-motion="on"] :is(.lp-title, .lp-final-title) .lp-w {
    display: inline-block;
    transition:
      opacity 0.9s var(--ease-out),
      transform 0.9s var(--ease-out),
      filter 0.9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms + 60ms);
  }
  [data-motion="on"] :is(.lp-title, .lp-final-title):not([data-in]) .lp-w {
    opacity: 0;
    transform: translateY(0.5em) rotate(2deg);
    filter: blur(12px);
  }
  /* Line drawings draw themselves once revealed. */
  [data-motion="on"] :is(.lp-steps li, .lp-cell) .draw:not(.dash) {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1.8s 0.3s var(--ease-soft);
  }
  [data-motion="on"] :is(.lp-steps li, .lp-cell)[data-in] .draw:not(.dash) {
    stroke-dashoffset: 0;
  }
  .lp-step-art .dash.draw,
  .lp-check-art .dash.draw {
    animation: lp-march 1.4s linear infinite;
  }
  .lp-check-art .caret {
    animation: lp-blink 1.1s steps(2) infinite;
  }
  [data-motion="on"] .lp-cell .bar {
    transform-box: fill-box;
    transform-origin: left;
    transition: transform 1.3s var(--ease-out);
  }
  [data-motion="on"] .lp-cell .bar:nth-of-type(2) {
    transition-delay: 0.15s;
  }
  [data-motion="on"] .lp-cell .bar:nth-of-type(3) {
    transition-delay: 0.3s;
  }
  [data-motion="on"] .lp-cell:not([data-in]) .bar {
    transform: scaleX(0);
  }
  .lp-cell:hover {
    transform: translateY(-6px);
  }
  .lp-steps > li .lp-step-art {
    transition: transform 0.8s var(--ease-out);
  }
  .lp-steps > li:hover .lp-step-art {
    transform: rotate(-3deg) scale(1.04);
  }
  .lp-cta:hover:enabled::before {
    transform: translateX(120%);
    transition: transform 0.9s var(--ease-out);
  }
  .lp-seal text {
    transform-box: view-box;
    transform-origin: 100px 100px;
    animation: lp-spin 28s linear infinite;
  }
  .lp-faq-list {
    interpolate-size: allow-keywords;
  }
  .lp-faq-list details::details-content {
    block-size: 0;
    overflow-y: clip;
    transition:
      block-size 0.5s var(--ease-out),
      content-visibility 0.5s allow-discrete;
  }
  .lp-faq-list details[open]::details-content {
    block-size: auto;
  }
  @supports (animation-timeline: view()) {
    .lp-wordmark text {
      animation: lp-wordmark linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
  }
}

@keyframes lp-rise {
  from {
    transform: translateY(105%) rotate(2deg);
  }
}
@keyframes lp-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes lp-fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}
@keyframes lp-fade {
  from {
    opacity: 0;
  }
}
@keyframes lp-assemble {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.94) rotateX(14deg);
    filter: blur(10px);
  }
}
@keyframes lp-draw-x {
  from {
    transform: scaleX(0);
  }
}
@keyframes lp-draw-y {
  from {
    transform: scaleY(0);
  }
}
@keyframes lp-ping {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}
@keyframes lp-drift-a {
  to {
    transform: translate(-8vmax, 6vmax) scale(1.08);
  }
}
@keyframes lp-drift-b {
  to {
    transform: translate(10vmax, -5vmax) scale(1.12);
  }
}
@keyframes lp-lens-drift {
  0% {
    --mx: 78%;
    --my: 30%;
  }
  50% {
    --mx: 30%;
    --my: 60%;
  }
  100% {
    --mx: 62%;
    --my: 82%;
  }
}
@keyframes lp-ring {
  from {
    stroke-dasharray: 0 200;
  }
}
@keyframes lp-blink {
  50% {
    opacity: 0.2;
  }
}
@keyframes lp-marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes lp-march {
  to {
    stroke-dashoffset: -20;
  }
}
@keyframes lp-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes lp-wordmark {
  from {
    opacity: 0.2;
    transform: translateY(40%);
  }
}

/* Reports and review options in the landing page's "inspection instrument"
   look. Each report opens on a dark stage (grid, pointer lens, glow and
   grain) that slides under the header; the verdict reads as a glass
   instrument panel and the section cards float over the stage's lower edge.
   Below it the report stays a light, quiet working surface. Options pages
   get an editorial heading, spotlight section choices and a dark scope
   sheet. Loaded last, after landing.css, whose tokens and keyframes it uses.
   Motion follows the landing rules: everything renders complete without
   it, and entrance animations only fill backwards, so hover and focus
   styles are never held by a finished animation. */

/* ---------- Report cover: a dark stage ---------- */

@media screen {
  .report-cover {
    --ink: var(--stage-ink);
    --muted: var(--stage-muted);
    --graphite: var(--stage-ink);
    --line: rgb(255 255 255 / 0.14);
    --wash: rgb(255 255 255 / 0.08);
    --sheet: rgb(255 255 255 / 0.05);
    --tint: rgb(255 255 255 / 0.04);
    --teal: var(--glow);
    --t-005a5c: var(--glow);
    --t-f3f6f5: rgb(255 255 255 / 0.06);
    --t-06283e1a: rgb(255 255 255 / 0.12);
    --t-929990: rgb(129 215 204 / 0.55);
    /* The live scan while a review runs */
    --t-cbd3d6: rgb(255 255 255 / 0.28);
    --t-e6eceb: rgb(255 255 255 / 0.1);
    --t-cde6e2: rgb(129 215 204 / 0.2);
    --t-c4ccce: rgb(255 255 255 / 0.32);
    --t-b4441c: var(--coral);
    --t-d3ebe7: rgb(129 215 204 / 0.2);
    position: relative;
    isolation: isolate;
    margin-top: 0;
    padding: 30px 0 34px;
    color: var(--ink);
  }
  .report-cover :focus-visible {
    outline-color: var(--glow);
  }
  /* The stage paints edge to edge behind the centred cover; the shell clips
     the overflow, so the page never scrolls sideways. */
  .report-cover > .lp-stage {
    inset: 0 calc(50% - 50vw);
    background:
      radial-gradient(90% 120% at 82% -10%, rgb(14 74 100 / 0.8), transparent 60%),
      linear-gradient(180deg, var(--stage-2) 0%, var(--stage) 100%);
  }
  .report-cover > .lp-stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgb(129 215 204 / 0.55) 30%,
      rgb(129 215 204 / 0.55) 70%,
      transparent
    );
  }
  .report-cover .lp-grid {
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(
      ellipse 80% 120% at 70% 0%,
      #000 20%,
      transparent 80%
    );
    mask-image: radial-gradient(
      ellipse 80% 120% at 70% 0%,
      #000 20%,
      transparent 80%
    );
  }
  .report-cover .lp-lens {
    background-size: 44px 44px;
    background-position:
      -22px -22px,
      -1px -1px,
      -1px -1px;
  }

  /* When the report is the first thing on the page, the stage runs up under
     the header, which turns transparent (see the header rules in
     landing.css). */
  .studio-main > .view:first-child > .report-cover:first-child {
    margin-top: calc(-1 * (var(--header-height) + 1px));
    padding-top: calc(var(--header-height) + 1px + 30px);
  }
  /* Section cards straddle the stage's lower edge. */
  .report-cover:has(+ .sec-cards-wrap) {
    padding-bottom: 76px;
  }
  .report-cover + .sec-cards-wrap {
    position: relative;
    z-index: 1;
    margin-top: -76px;
  }

  /* Breadcrumb, title and details */
  .report-cover .ent-head {
    padding-bottom: 22px;
  }
  .report-cover .ent-crumbs {
    margin-bottom: 14px;
    color: var(--stage-muted);
    font: 500 0.72rem/1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .report-cover .ent-crumbs a {
    color: var(--stage-muted);
  }
  .report-cover .ent-crumbs a:hover {
    color: var(--glow);
  }
  .report-cover .ent-crumbs [aria-current] {
    color: var(--stage-ink);
    font-weight: 500;
  }
  .report-cover .ent-crumbs svg {
    opacity: 0.6;
  }
  .report-cover .ent-title h1 {
    font-size: clamp(1.7rem, 1rem + 3.4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--stage-ink);
    text-shadow: 0 0 40px rgb(129 215 204 / 0.18);
  }
  .report-cover .ent-meta {
    margin-top: 16px;
  }
  .report-cover .ent-meta li {
    border-color: rgb(255 255 255 / 0.14);
    background: rgb(255 255 255 / 0.06);
    color: #c9d8dd;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .report-cover .ent-meta svg {
    color: var(--glow);
  }
  .report-cover .ent-toolbar .button {
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.06);
    color: var(--stage-ink);
    box-shadow: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition:
      background 0.2s,
      border-color 0.2s,
      box-shadow 0.3s;
  }
  .report-cover .ent-toolbar .button:hover {
    border-color: rgb(129 215 204 / 0.6);
    background: rgb(129 215 204 / 0.12);
    box-shadow: 0 0 24px -6px rgb(129 215 204 / 0.5);
  }

  /* The verdict: a glass instrument panel */
  .report-cover .report-strip {
    position: relative;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 18px 18px 0 0;
    background: linear-gradient(
      135deg,
      rgb(255 255 255 / 0.1),
      rgb(255 255 255 / 0.03) 55%,
      rgb(129 215 204 / 0.06)
    );
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.1),
      0 40px 80px -40px rgb(0 0 0 / 0.7);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
  }
  .report-cover .report-strip:last-child {
    border-radius: 18px;
  }
  .report-cover .verdict-ring svg {
    filter: drop-shadow(0 0 10px rgb(129 215 204 / 0.35));
  }
  @media (min-width: 761px) {
    .report-cover .launch-verdict h2 {
      font-size: clamp(1.35rem, 2.3vw, 1.95rem);
      letter-spacing: -0.03em;
    }
  }
  .report-cover .verdict-stats {
    border-left-color: rgb(255 255 255 / 0.14);
  }
  .report-cover .coverage-summary,
  .report-cover .scan-theatre {
    border: 1px solid rgb(255 255 255 / 0.14);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: rgb(255 255 255 / 0.04);
    box-shadow: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .report-cover .coverage-summary p {
    color: var(--stage-muted);
  }
  .report-cover .coverage-summary strong {
    color: var(--stage-ink);
  }
  .report-cover .quiet-link:hover {
    color: var(--glow);
  }
  .report-cover .scan-browser {
    background: rgb(255 255 255 / 0.04);
  }

  /* Section cards float over the stage edge, with a spotlight that follows
     the pointer in the section's colour. */
  .sec-cards .sec-card {
    background-color: var(--sheet);
    box-shadow:
      0 1px 2px rgb(6 40 62 / 0.06),
      0 24px 48px -28px rgb(4 26 40 / 0.55);
  }
  .sec-cards .sec-card[data-pointer] {
    border-color: color-mix(in oklab, var(--accent, var(--teal)) 45%, var(--line));
    background-image: radial-gradient(
      260px circle at var(--mx) var(--my),
      color-mix(in oklab, var(--accent, var(--teal)) 13%, transparent),
      transparent 70%
    );
  }
  .sec-card-bar i {
    background: linear-gradient(90deg, var(--teal), var(--highlight));
  }
}

/* ---------- Report body ---------- */

/* First fix: a lit top edge and a corner of drawing paper. */
.live-body .release-priority {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-radius: 16px;
}
.live-body .release-priority::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--highlight), var(--teal));
  background-size: 200% 100%;
}
.live-body .release-priority::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(340px, 60%);
  height: 220px;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 100% 0%, #000, transparent 72%);
}
.release-priority .priority-label {
  font-family: var(--mono);
  font-weight: 500;
}
.release-priority .priority-label::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--teal) 18%, transparent);
}
.release-priority h2 {
  letter-spacing: -0.035em;
}

/* Side cards and panels share the softer radius of the cover. */
.side-card,
.live-scope > .copy-all:first-child,
.expand-review.side-card {
  border-radius: 14px;
}
.section-report.sec-report > h2 em,
.journey h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--teal);
}
.section-report.sec-report > h2 em {
  font-size: 1.12em;
}
.sec-panel {
  overflow: hidden;
  border-radius: 14px;
}
.sec-panel > header,
.sec-panel.tone-high > header,
.sec-panel.tone-medium > header,
.sec-panel.tone-low > header,
.sec-panel.tone-review > header,
.sec-panel.tone-clear > header {
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--accent, var(--line)) 9%, var(--sheet)),
    var(--sheet) 55%
  );
}
.sec-issue {
  position: relative;
}
.sec-issue::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease-out);
}
.sec-issue:hover::before,
.sec-issue:focus-within::before {
  transform: none;
}

/* ---------- Review options ---------- */

.journey .review-path {
  font: 500 0.72rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.journey h1 {
  letter-spacing: -0.045em;
}
.journey h1 em {
  font-size: 1.08em;
}
.area-choice {
  position: relative;
  border-radius: 14px;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    box-shadow 0.3s,
    transform 0.3s var(--ease-out);
}
.area-choice:hover {
  box-shadow: 0 18px 36px -26px var(--shadow-06283e99, rgb(6 40 62 / 0.6));
}
.area-choice[data-pointer] {
  background-image: radial-gradient(
    240px circle at var(--mx) var(--my),
    rgb(0 110 112 / 0.1),
    transparent 70%
  );
}
.area-choice .module-icon {
  transition: transform 0.4s var(--ease-out);
}
.area-choice:hover .module-icon {
  transform: rotate(-6deg) scale(1.08);
}
/* Section choices switch on and off. */
.area-choice input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  position: relative;
  width: 42px;
  height: 24px;
  margin: 0;
  border: 1px solid color-mix(in oklab, var(--muted) 70%, transparent);
  border-radius: 999px;
  background: var(--wash);
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.area-choice input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 1px 3px rgb(6 40 62 / 0.35);
  transition:
    transform 0.3s var(--ease-out),
    background 0.25s;
}
.area-choice input[type="checkbox"]:checked {
  border-color: var(--teal);
  background: var(--teal);
}
.area-choice input[type="checkbox"]:checked::before {
  transform: translateX(18px);
  background: var(--t-ffffff, #fff);
}
.area-choice input[type="checkbox"]:indeterminate {
  border-color: var(--teal);
  background: color-mix(in oklab, var(--teal) 45%, var(--wash));
}
.area-choice input[type="checkbox"]:indeterminate::before {
  transform: translateX(9px);
  background: var(--t-ffffff, #fff);
}
.area-choice input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.area-choice input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* The scope sheet is a small stage of its own. */
@media screen {
  .scope-sheet {
    --ink: var(--stage-ink);
    --muted: var(--stage-muted);
    --graphite: var(--stage-ink);
    --line: rgb(255 255 255 / 0.14);
    --wash: rgb(255 255 255 / 0.08);
    --sheet: rgb(255 255 255 / 0.05);
    --teal: var(--glow);
    --t-929990: rgb(129 215 204 / 0.55);
    --mx: 80%;
    --my: 10%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.08);
    border-radius: 20px;
    background: linear-gradient(170deg, var(--stage-2), var(--stage));
    color: var(--ink);
    box-shadow: 0 40px 80px -48px rgb(4 26 40 / 0.9);
  }
  .scope-sheet > .lp-stage {
    background:
      radial-gradient(120% 70% at 90% 0%, rgb(14 74 100 / 0.85), transparent 65%),
      linear-gradient(170deg, var(--stage-2), var(--stage));
  }
  .scope-sheet .lp-grid,
  .scope-sheet .lp-lens {
    background-size: 32px 32px;
  }
  .scope-sheet .lp-lens {
    background-position:
      -16px -16px,
      -1px -1px,
      -1px -1px;
  }
  .scope-sheet :focus-visible {
    outline-color: var(--glow);
  }
  .scope-sheet .section-label {
    color: var(--glow);
    font-family: var(--mono);
    letter-spacing: 0.1em;
  }
  .scope-sheet h2 {
    letter-spacing: -0.04em;
  }
  .scope-sheet dl div,
  .scope-sheet dl div + div {
    border-color: rgb(255 255 255 / 0.12);
  }
  .scope-sheet .field-error {
    padding: 9px 12px;
    border: 1px solid rgb(255 138 115 / 0.4);
    border-radius: 10px;
    background: rgb(255 138 115 / 0.1);
    color: #ffc4b8;
  }
  .scope-sheet .sheet-note svg {
    color: var(--glow);
  }
  .scope-sheet .journey-actions .primary {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    padding-inline: 22px;
    background: var(--glow);
    color: #04202b;
    box-shadow:
      0 0 0 1px rgb(129 215 204 / 0.5),
      0 12px 32px -10px rgb(129 215 204 / 0.65);
    transform: translate(var(--tx, 0), var(--ty, 0));
    transition:
      transform 0.5s var(--ease-out),
      background 0.2s,
      box-shadow 0.3s;
  }
  .scope-sheet .journey-actions .primary:hover:enabled {
    background: var(--glow-2);
    box-shadow:
      0 0 0 1px rgb(165 234 217 / 0.7),
      0 16px 40px -10px rgb(129 215 204 / 0.85);
  }
  .scope-sheet .journey-actions .primary[data-pointer] {
    transition:
      transform 0.15s linear,
      background 0.2s,
      box-shadow 0.3s;
  }
  .scope-sheet .journey-actions .primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      100deg,
      transparent 30%,
      rgb(255 255 255 / 0.55) 50%,
      transparent 70%
    );
    transform: translateX(-120%);
    pointer-events: none;
  }
}

/* ---------- Phones ---------- */

/* The opening phone screen must still show the coverage note and every
   section card (browser QA checks it at 320 × 640), so the stage adds no
   height here: it starts under the header and the cards overlap it. */
@media (max-width: 760px) {
  .report-cover {
    padding: 16px 0 20px;
  }
  .studio-main > .view:first-child > .report-cover:first-child {
    padding-top: calc(var(--header-height) + 1px + 8px);
  }
  .report-cover:has(+ .sec-cards-wrap) {
    padding-bottom: 42px;
  }
  .report-cover + .sec-cards-wrap {
    margin-top: -32px;
  }
  .report-cover .ent-head {
    padding-top: 2px;
    padding-bottom: 12px;
  }
  .report-cover .ent-title h1 {
    font-size: 1.55rem;
    line-height: 0.95;
  }
  .report-cover .ent-crumbs {
    margin-bottom: 8px;
  }
  .report-cover .ent-meta {
    margin-top: 10px;
  }
  .report-cover .report-strip {
    border-radius: 16px 16px 0 0;
  }
  .report-cover .coverage-summary,
  .report-cover .scan-theatre {
    border-radius: 0 0 16px 16px;
  }
}

/* The smallest phones: the report's two detail chips (review type and date)
   must share one row even for the longest date, such as "Dec 30, 12:59 PM",
   or the section cards fall below the first screen. */
@media (max-width: 400px) {
  .report-cover .ent-meta {
    gap: 6px;
  }
  .report-cover .ent-meta li {
    gap: 4px;
    padding: 2px 8px;
    font-size: 0.72rem;
  }
  .report-cover .ent-meta svg {
    width: 12px;
    height: 12px;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .report-cover .ent-crumbs {
    animation: lp-fade-down 0.8s var(--ease-out) backwards;
  }
  .report-cover .ent-title h1 {
    animation: as-focus 1.1s 0.05s var(--ease-out) backwards;
  }
  .report-cover .ent-meta {
    animation: lp-fade-up 0.9s 0.15s var(--ease-out) backwards;
  }
  .report-cover .ent-toolbar {
    animation: lp-fade-up 0.9s 0.22s var(--ease-out) backwards;
  }
  .report-cover .report-strip {
    animation: as-panel 1.1s 0.25s var(--ease-out) backwards;
  }
  .report-cover .coverage-summary,
  .report-cover .scan-theatre {
    animation: lp-fade-up 1s 0.42s var(--ease-out) backwards;
  }
  .report-cover .verdict-ring :is(.ring-seg, .ring-value) {
    animation: lp-ring 1.5s 0.55s var(--ease-out) backwards;
  }
  .report-cover .verdict-stat {
    animation: lp-fade-up 0.8s calc(0.5s + var(--k, 0) * 90ms) var(--ease-out)
      backwards;
  }
  .report-cover .verdict-stat:nth-child(2) {
    --k: 1;
  }
  .report-cover .verdict-stat:nth-child(3) {
    --k: 2;
  }
  .report-cover .verdict-stat:nth-child(4) {
    --k: 3;
  }
  .sec-cards .sec-card {
    animation: lp-fade-up 0.9s calc(0.45s + var(--n, 0) * 80ms) var(--ease-out)
      backwards;
  }
  .sec-card-bar i {
    transform-origin: left;
    animation: as-grow 1.4s calc(0.75s + var(--n, 0) * 80ms) var(--ease-out)
      backwards;
  }
  .live-scope > *,
  .live-body .release-priority {
    animation: lp-fade-up 1s 0.6s var(--ease-out) backwards;
  }
  .live-scope > :nth-child(2) {
    animation-delay: 0.7s;
  }
  .live-scope > :nth-child(n + 3) {
    animation-delay: 0.8s;
  }
  /* App pages settle after they load: their effects run a few times and
     stop, so nothing keeps moving while someone works (and anything that
     waits for animations to finish, such as the browser QA, can). */
  .live-body .release-priority::before {
    animation: as-sheen 3s 0.8s linear 2;
  }
  .release-priority .priority-label::before {
    animation: as-pulse 2.4s 1.2s var(--ease-soft) 3;
  }
  :is(.report-cover, .page-stage, .scope-sheet) .lp-aurora::before,
  :is(.report-cover, .page-stage, .scope-sheet) .lp-aurora::after {
    animation: none;
  }
  [data-motion="on"] .sec-panel[data-reveal]:not([data-in]) {
    transform: translateY(36px) scale(0.985);
  }
  [data-motion="on"] .sec-panel[data-in] .sec-issue {
    animation: lp-fade-up 0.7s var(--ease-out) backwards;
  }
  [data-motion="on"] .sec-panel[data-in] .sec-issue:nth-child(2) {
    animation-delay: 0.08s;
  }
  [data-motion="on"] .sec-panel[data-in] .sec-issue:nth-child(3) {
    animation-delay: 0.16s;
  }
  [data-motion="on"] .sec-panel[data-in] .sec-issue:nth-child(n + 4) {
    animation-delay: 0.24s;
  }
  /* Options */
  .journey .review-path,
  .journey .steps {
    animation: lp-fade-down 0.8s var(--ease-out) backwards;
  }
  .journey h1 {
    animation: as-focus 1.1s 0.06s var(--ease-out) backwards;
  }
  .journey .journey-deck {
    animation: lp-fade-up 0.9s 0.16s var(--ease-out) backwards;
  }
  .journey .scope-group,
  .journey .scope-static {
    animation: lp-fade-up 0.8s calc(0.24s + var(--k, 0) * 70ms) var(--ease-out)
      backwards;
  }
  .journey .scope-group:nth-of-type(2) {
    --k: 1;
  }
  .journey .scope-group:nth-of-type(3) {
    --k: 2;
  }
  .journey .scope-group:nth-of-type(4) {
    --k: 3;
  }
  .journey .scope-group:nth-of-type(n + 5) {
    --k: 4;
  }
  .journey .scope-sheet {
    animation: lp-assemble 1.2s 0.2s var(--ease-out) backwards;
  }
  .area-choice:hover {
    transform: translateY(-2px);
  }
  .scope-sheet .journey-actions .primary:hover:enabled::before {
    transform: translateX(120%);
    transition: transform 0.9s var(--ease-out);
  }
}

@keyframes as-focus {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(14px);
    letter-spacing: 0.02em;
  }
}
@keyframes as-panel {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
}
@keyframes as-grow {
  from {
    transform: scaleX(0);
  }
}
@keyframes as-sheen {
  to {
    background-position: -200% 0;
  }
}
@keyframes as-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--teal) 55%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px transparent;
  }
}

/* ---------- Workspace pages: Your reviews, Review checks, Sample scope ---------- */

@media screen {
  .studio-main > .page-stage {
    --ink: var(--stage-ink);
    --muted: var(--stage-muted);
    --teal: var(--glow);
    position: relative;
    isolation: isolate;
    display: block;
    margin: calc(-1 * (var(--header-height) + 1px)) 0 28px;
    padding: calc(var(--header-height) + 1px + clamp(36px, 5vw, 64px)) 0
      clamp(36px, 4.5vw, 56px);
    border-bottom: 0;
    color: var(--ink);
  }
  .page-stage :focus-visible {
    outline-color: var(--glow);
  }
  .page-stage > .lp-stage {
    inset: 0 calc(50% - 50vw);
    background:
      radial-gradient(90% 120% at 82% -10%, rgb(14 74 100 / 0.8), transparent 60%),
      linear-gradient(180deg, var(--stage-2) 0%, var(--stage) 100%);
  }
  .page-stage > .lp-stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgb(129 215 204 / 0.55) 30%,
      rgb(129 215 204 / 0.55) 70%,
      transparent
    );
  }
  .page-stage .page-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--glow);
    font: 500 0.74rem/1.3 var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .page-stage .page-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
  }
  .studio-main > .page-stage h1 {
    color: var(--stage-ink);
    font-size: clamp(2.4rem, 1rem + 4.4vw, 5rem);
    line-height: 0.98;
    text-shadow: 0 0 40px rgb(129 215 204 / 0.18);
  }
  .page-stage h1 em {
    font-family: var(--serif);
    font-size: 1.08em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--glow);
  }
  .page-stage p:not(.page-kicker) {
    max-width: 54ch;
    margin-top: 14px;
    color: var(--stage-muted);
    font-size: 1.02rem;
  }
  /* The first block of the page rises over the stage's lower edge. */
  .page-stage:has(+ .view > .stage-lift:first-child) {
    padding-bottom: clamp(84px, 8vw, 104px);
  }
  .page-stage + .view > .stage-lift:first-child {
    position: relative;
    z-index: 1;
    margin-top: calc(-28px - clamp(48px, 5vw, 64px));
  }
}

/* Your reviews: a summary strip, then each review as a card. */
.hist-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hist-stats li {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: var(--sheet);
  box-shadow:
    0 1px 2px rgb(6 40 62 / 0.06),
    0 24px 48px -28px rgb(4 26 40 / 0.55);
}
.hist-stats li[data-pointer] {
  background-image: radial-gradient(
    220px circle at var(--mx) var(--my),
    rgb(0 110 112 / 0.1),
    transparent 70%
  );
}
.hist-stats b {
  color: var(--ink);
  font: 400 clamp(2.3rem, 3.4vw, 3.1rem)/1 var(--serif);
  letter-spacing: -0.02em;
}
.hist-stats li > span {
  color: var(--muted);
  font: 500 0.72rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-page="reviews"] .panel-head select,
.library-panel .panel-head select {
  border-radius: 999px;
  padding-inline: 14px 32px;
}
.run-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.run-list a,
.run-list a:last-child {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--sheet);
  box-shadow: var(--ent-shadow);
  transition:
    border-color 0.2s,
    box-shadow 0.3s,
    transform 0.35s var(--ease-out);
}
.run-list a:hover {
  border-color: color-mix(in oklab, var(--teal) 40%, var(--line));
  background-color: var(--sheet);
  box-shadow: var(--ent-shadow-hover);
}
.run-list a[data-pointer] {
  background-image: radial-gradient(
    260px circle at var(--mx) var(--my),
    rgb(0 110 112 / 0.08),
    transparent 70%
  );
}
.run-list .run-icon {
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--tint),
    color-mix(in oklab, var(--teal) 16%, var(--sheet))
  );
  color: var(--teal);
}
.run-list a > svg:last-child {
  transition:
    transform 0.3s var(--ease-out),
    color 0.2s;
}
.run-list a:hover > svg:last-child {
  color: var(--teal);
  transform: translateX(4px);
}
.saved-setups,
.saved-finding-list {
  border-radius: 16px;
}

/* Review checks: the sections as a grid of numbered cards. */
.library-panel {
  overflow: hidden;
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgb(6 40 62 / 0.06),
    0 24px 48px -28px rgb(4 26 40 / 0.55);
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}
.library-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--sheet);
  transition:
    border-color 0.2s,
    box-shadow 0.3s;
}
.library-section:hover {
  border-color: color-mix(in oklab, var(--teal) 40%, var(--line));
  box-shadow: var(--ent-shadow-hover);
}
.library-section[data-pointer] {
  background-image: radial-gradient(
    280px circle at var(--mx) var(--my),
    rgb(0 110 112 / 0.09),
    transparent 70%
  );
}
.library-section > header {
  align-items: flex-start;
  padding: 20px 56px 18px 20px;
  background: transparent;
}
.library-section > header .module-icon {
  flex: none;
  transition: transform 0.4s var(--ease-out);
}
.library-section:hover > header .module-icon {
  transform: rotate(-6deg) scale(1.08);
}
.library-index {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--muted);
  font: 500 0.74rem/1 var(--mono);
  letter-spacing: 0.08em;
}
.library-section .rule-row {
  margin: 0 16px;
  padding: 16px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

@media (max-width: 760px) {
  .studio-main > .page-stage {
    padding-top: calc(var(--header-height) + 1px + 28px);
    padding-bottom: 32px;
  }
  .page-stage:has(+ .view > .stage-lift:first-child) {
    padding-bottom: 72px;
  }
  .page-stage + .view > .stage-lift:first-child {
    margin-top: calc(-28px - 44px);
  }
  .studio-main > .page-stage h1 {
    font-size: clamp(2.3rem, 11vw, 3rem);
  }
  .page-stage p:not(.page-kicker) {
    font-size: 0.92rem;
  }
  .hist-stats {
    grid-template-columns: none;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 8px;
  }
  .hist-stats li {
    padding: 12px;
    border-radius: 14px;
  }
  .hist-stats b {
    font-size: 2rem;
  }
  .hist-stats li > span {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }
  .library-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-stage .page-kicker {
    animation: lp-fade-down 0.8s var(--ease-out) backwards;
  }
  .page-stage h1 {
    animation: as-focus 1.1s 0.05s var(--ease-out) backwards;
  }
  .page-stage p:not(.page-kicker) {
    animation: lp-fade-up 0.9s 0.18s var(--ease-out) backwards;
  }
  .hist-stats li {
    animation: lp-fade-up 0.9s calc(0.3s + var(--n, 0) * 80ms)
      var(--ease-out) backwards;
  }
  .library-panel {
    animation: as-panel 1.1s 0.25s var(--ease-out) backwards;
  }
  /* Once revealed, cards answer the pointer quickly again. */
  [data-motion="on"] :is(.run-list a, .library-section)[data-in] {
    transition:
      border-color 0.2s,
      box-shadow 0.3s,
      transform 0.35s var(--ease-out);
    transition-delay: 0s;
  }
  .run-list a:hover {
    transform: translateY(-2px);
  }
}

/* A printed report is plain: no stage, light ink, everything shown. */
@media print {
  .report-cover > .lp-stage,
  .scope-sheet > .lp-stage {
    display: none;
  }
  [data-motion="on"] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ---------- Sign in: the home page's dark stage, with a glass sign-in card ---------- */

.studio-shell[data-page="signin"] .studio-main {
  padding-bottom: 0;
}
@media screen {
  .signin-stage {
    --mx: 74%;
    --my: 42%;
    --ink: var(--stage-ink);
    --muted: var(--stage-muted);
    --graphite: var(--stage-ink);
    --line: rgb(255 255 255 / 0.16);
    --wash: rgb(255 255 255 / 0.08);
    --teal: var(--glow);
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: center;
    min-height: min(100dvh, 980px);
    margin-top: calc(-1 * (var(--header-height) + 1px));
    padding: calc(var(--header-height) + 1px + clamp(40px, 6vw, 88px)) 0
      clamp(48px, 6vw, 80px);
    color: var(--ink);
  }
  .signin-stage :focus-visible {
    outline-color: var(--glow);
  }
  /* The stage paints edge to edge behind the centred content. */
  .signin-stage > .lp-stage {
    inset: 0 calc(50% - 50vw);
    background:
      radial-gradient(110% 70% at 78% 0%, rgb(14 74 100 / 0.75), transparent 62%),
      linear-gradient(180deg, var(--stage-2) 0%, var(--stage) 82%);
  }
  .signin-stage > .lp-stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgb(129 215 204 / 0.55) 30%,
      rgb(129 215 204 / 0.55) 70%,
      transparent
    );
  }
  .signin-grid {
    display: grid;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
  }
  .signin-copy {
    display: grid;
    justify-items: start;
    min-width: 0;
  }
  .signin-copy h1 {
    color: var(--stage-ink);
    font: 600 clamp(2.6rem, 4.6vw, 4.3rem) / 0.95 var(--display);
    letter-spacing: -0.052em;
    text-wrap: balance;
  }
  .signin-copy h1 em {
    padding-right: 0.06em;
    color: var(--glow);
    font-family: var(--serif);
    font-size: 1.08em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-shadow: 0 0 48px rgb(129 215 204 / 0.35);
  }
  .signin-deck {
    max-width: 46ch;
    margin-top: 24px;
    color: var(--stage-muted);
    font-size: clamp(1rem, 1.2vw, 1.14rem);
    line-height: 1.6;
    text-wrap: pretty;
    text-shadow: 0 1px 14px rgb(4 26 40 / 0.85);
  }
  .signin-points {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
  }
  .signin-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d6e4e8;
    font-size: 0.96rem;
    text-shadow: 0 1px 14px rgb(4 26 40 / 0.85);
  }
  .signin-points svg {
    box-sizing: content-box;
    flex: none;
    padding: 5px;
    border: 1px solid rgb(129 215 204 / 0.35);
    border-radius: 50%;
    background: rgb(129 215 204 / 0.12);
    color: var(--glow);
  }

  /* The card: frosted glass with a lit edge, like the hero's address bar. */
  .signin-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    justify-self: center;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 22px;
    background: linear-gradient(
      180deg,
      rgb(255 255 255 / 0.09),
      rgb(255 255 255 / 0.035)
    );
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.1),
      0 40px 100px -40px rgb(0 0 0 / 0.9);
  }
  .signin-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(
      140deg,
      rgb(129 215 204 / 0.65),
      transparent 38%,
      transparent 68%,
      rgb(64 110 255 / 0.35)
    );
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
  }
  .signin-card-label {
    margin: 0 0 6px;
    color: #c8d8dd;
    font: 0.74rem/1.2 var(--mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .signin-pending {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0 16px;
    padding: 10px 12px;
    border: 1px solid rgb(129 215 204 / 0.3);
    border-radius: 12px;
    background: rgb(129 215 204 / 0.1);
    color: #dff3ef;
    font-size: 0.9rem;
    line-height: 1.45;
  }
  .signin-pending svg {
    flex: none;
    margin-top: 2px;
    color: var(--glow);
  }
  .signin-pending strong {
    overflow-wrap: anywhere;
  }
  .signin-card .account-form {
    padding: 0;
  }
  .signin-card .account-form > p {
    margin: 0;
    color: var(--stage-muted);
    font-size: 0.95rem;
  }
  .signin-card .account-form fieldset {
    gap: 1.1rem;
    margin: 1.25rem 0 0;
  }
  .signin-card .account-form fieldset:disabled {
    opacity: 0.75;
  }
  .signin-card .account-form label {
    color: #e6eff2;
    font-size: 0.9rem;
  }
  .signin-card .account-form input {
    height: 50px;
    padding: 0 14px;
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 12px;
    background: rgb(4 26 40 / 0.55);
    box-shadow: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    transition:
      border-color 0.25s,
      box-shadow 0.25s,
      background 0.25s;
  }
  .signin-card .account-form input:hover {
    border-color: rgb(255 255 255 / 0.3);
  }
  .signin-card .account-form input:focus-visible {
    outline: 0;
    border-color: rgb(129 215 204 / 0.8);
    background: rgb(4 26 40 / 0.7);
    box-shadow: 0 0 0 4px rgb(129 215 204 / 0.2);
  }
  .signin-card .account-form input:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    box-shadow: 0 0 0 40px #0b2f44 inset;
  }
  .signin-stage .signin-card .account-form .button.primary {
    width: 100%;
    min-height: 52px;
    margin-top: 0.25rem;
    border: 0;
    border-radius: 12px;
    background: var(--glow);
    color: #04202f;
    font-size: 1rem;
    font-weight: 600;
    box-shadow:
      0 0 0 1px rgb(165 234 217 / 0.5),
      0 12px 34px -12px rgb(129 215 204 / 0.7);
    transition:
      background 0.3s,
      box-shadow 0.3s,
      transform 0.2s var(--ease-out);
  }
  .signin-stage .signin-card .account-form .button.primary:hover:enabled {
    background: var(--glow-2);
    box-shadow:
      0 0 0 1px rgb(165 234 217 / 0.8),
      0 18px 44px -12px rgb(129 215 204 / 0.9);
  }
  .signin-stage .signin-card .account-form .button.primary:active:enabled {
    transform: scale(0.98);
  }
  .signin-stage .signin-card .account-form .button.primary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }
  .signin-card .field-error {
    margin: 0;
    padding: 10px 14px;
    border: 1px solid rgb(255 138 115 / 0.4);
    border-radius: 12px;
    background: rgb(255 138 115 / 0.1);
    color: #ffc2b6;
  }
  .signin-note {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    color: var(--stage-muted);
    font-size: 0.86rem;
  }
  .signin-back {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    margin-top: clamp(36px, 5vw, 60px);
    color: #c8d8dd;
    font-size: 0.92rem;
    text-decoration: none;
  }
  .signin-back svg {
    transform: rotate(180deg);
    transition: transform 0.3s var(--ease-out);
  }
  .signin-back:hover {
    color: #fff;
  }
  .signin-back:hover svg {
    transform: rotate(180deg) translateX(3px);
  }
}
@media screen and (min-width: 960px) {
  .signin-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .signin-card {
    justify-self: end;
  }
}
/* On phones and tablets the card comes straight after the heading, so the
   form is on the first screen; the three points follow it. */
@media screen and (max-width: 959px) {
  .signin-grid {
    gap: 0;
    justify-items: start;
  }
  .signin-copy {
    display: contents;
  }
  .signin-card {
    order: 1;
    justify-self: stretch;
    max-width: 520px;
    margin-top: 32px;
  }
  .signin-points {
    order: 2;
    margin-top: 30px;
  }
}
@media screen and (max-width: 600px) {
  .signin-stage {
    min-height: 0;
    padding-top: calc(var(--header-height) + 1px + 32px);
  }
  .signin-copy h1 {
    font-size: min(10.4vw, 2.7rem);
  }
  .signin-points li {
    font-size: 0.9rem;
  }
}
/* Entrance: the heading rises like the home page's, then the card lifts in.
   Everything settles; the stage's glow holds still on this page. */
@media screen and (prefers-reduced-motion: no-preference) {
  .signin-deck {
    animation: lp-fade-up 1s 0.38s var(--ease-out) backwards;
  }
  .signin-points li {
    animation: lp-fade-up 0.8s var(--ease-out) backwards;
  }
  .signin-points li:nth-child(1) {
    animation-delay: 0.5s;
  }
  .signin-points li:nth-child(2) {
    animation-delay: 0.58s;
  }
  .signin-points li:nth-child(3) {
    animation-delay: 0.66s;
  }
  .signin-card {
    animation: lp-fade-up 1s 0.3s var(--ease-out) backwards;
  }
  .signin-back {
    animation: lp-fade 1s 0.8s var(--ease-out) backwards;
  }
  .signin-stage .lp-pulse::after {
    animation-iteration-count: 3;
  }
  .signin-stage .lp-aurora::before,
  .signin-stage .lp-aurora::after {
    animation: none;
  }
}
