:root {
  --black: #090c0a;
  --black-2: #111612;
  --ink: #f5f7f0;
  --muted: #9ea7a0;
  --line: #465049;
  --paper: #edf1e9;
  --paper-2: #f8faf5;
  --paper-ink: #111612;
  --paper-muted: #4f5b53;
  --acid: #c7ff45;
  --cyan: #5ee3df;
  --coral: #ff7768;
  --yellow: #ffdf61;
  --max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: Consolas, "SFMono-Regular", "Liberation Mono", monospace;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a,
select,
input[type="range"] {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--yellow);
  color: #111;
  font-size: 11px;
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

.tool-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 10, 0.97);
  backdrop-filter: blur(10px);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  min-width: 44px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
}

.brand b {
  overflow: hidden;
  color: var(--ink);
  font-size: 10px;
  text-overflow: ellipsis;
}

.tool-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tool-header nav a {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid transparent;
  color: #b7c0b9;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.tool-header nav a:hover,
.tool-header nav a[aria-current="page"] {
  border-color: var(--line);
  color: var(--acid);
}

.locale-state {
  justify-self: end;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.tool-intro {
  width: min(var(--max), calc(100% - 56px));
  min-height: 390px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 70px;
  align-items: end;
  padding: 68px 0 54px;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
}

.tool-intro h1 {
  max-width: 910px;
  margin: 18px 0 20px;
  font-size: 58px;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.tool-intro__copy > p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #c3cbc4;
  font-size: 13px;
  line-height: 1.7;
}

.tool-intro__copy > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  padding: 0 16px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.tool-intro__copy > a:hover {
  background: var(--acid);
  color: var(--black);
}

.tool-intro__signal {
  border-top: 1px solid var(--coral);
  border-left: 1px solid var(--coral);
}

.tool-intro__signal div {
  min-height: 74px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-right: 1px solid var(--coral);
  border-bottom: 1px solid var(--coral);
}

.tool-intro__signal span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
}

.tool-intro__signal b {
  color: #e5e9e3;
  font-size: 9px;
  line-height: 1.45;
}

.contract-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black-2);
}

.contract-rail div {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 24px;
  border-right: 1px solid var(--line);
}

.contract-rail div:last-child {
  border-right: 0;
}

.contract-rail b {
  color: var(--ink);
  font-size: 11px;
}

.contract-rail span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.workspace {
  background: var(--paper);
  color: var(--paper-ink);
  padding: 78px max(28px, calc((100% - var(--max)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 410px);
  gap: 50px;
  align-items: end;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #68726b;
}

.section-heading .eyebrow {
  color: #006b70;
}

.section-heading h2 {
  margin: 9px 0 0;
  font-size: 40px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.section-heading > p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 10px;
  line-height: 1.65;
}

.workspace-entry-context {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 5px;
  margin: -8px 0 24px;
  padding: 16px 18px;
  border: 1px solid #006b70;
  background: #dff5f2;
}

.workspace-entry-context span {
  grid-row: span 2;
  align-self: center;
  color: #006b70;
  font-size: 9px;
  font-weight: 800;
}

.workspace-entry-context strong {
  color: var(--paper-ink);
  font-size: 13px;
}

.workspace-entry-context p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 10px;
  line-height: 1.55;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.83fr) minmax(0, 1.17fr);
  border-top: 1px solid #657068;
  border-left: 1px solid #657068;
}

.file-station,
.privacy-station {
  min-width: 0;
  padding: 26px;
  border-right: 1px solid #657068;
  border-bottom: 1px solid #657068;
  background: var(--paper-2);
}

.drop-zone {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 34px;
  border: 1px dashed #667269;
  background: #e7ebe4;
  text-align: center;
  cursor: pointer;
}

.drop-zone[data-drag="true"] {
  border-style: solid;
  border-color: #006b70;
  background: #dff5f2;
}

.drop-zone__mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid #006b70;
  color: #006b70;
  font-size: 14px;
  font-weight: 800;
}

.drop-zone h3 {
  max-width: 430px;
  margin: 25px 0 9px;
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.drop-zone p {
  max-width: 440px;
  margin: 0;
  color: var(--paper-muted);
  font-size: 9px;
  line-height: 1.6;
}

.drop-zone button,
.primary-command,
.clean-result button,
.export-actions button {
  border: 1px solid var(--paper-ink);
  border-radius: 0;
  background: transparent;
  color: var(--paper-ink);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.drop-zone button {
  min-height: 40px;
  margin-top: 24px;
  padding: 0 15px;
}

.drop-zone button:hover,
.primary-command:hover:not(:disabled),
.clean-result button:hover:not(:disabled),
.export-actions button:hover:not(:disabled) {
  background: var(--paper-ink);
  color: var(--paper-2);
}

.demo-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #8aa8a1;
  background: #dff5f2;
}

.demo-entry button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #006b70;
  border-radius: 0;
  background: transparent;
  color: #00565a;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.demo-entry button:hover {
  background: #006b70;
  color: #ffffff;
}

.demo-entry p {
  margin: 0;
  color: #3d5b55;
  font-size: 9px;
  line-height: 1.5;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.scan-progress {
  margin-top: 18px;
}

.scan-progress > div {
  height: 4px;
  overflow: hidden;
  background: #cbd1cb;
}

.scan-progress span {
  width: 12%;
  height: 100%;
  display: block;
  background: #006b70;
  transition: width 180ms ease;
}

.scan-progress p {
  margin: 8px 0 0;
  color: var(--paper-muted);
  font-size: 9px;
}

.station-error {
  margin: 16px 0 0;
  padding: 12px;
  border: 1px solid #9c3c33;
  color: #7f241d;
  font-size: 10px;
  line-height: 1.55;
}

.photo-preview {
  margin: 18px 0 0;
}

.photo-preview > div {
  height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #657068;
  background: #171c18;
}

.photo-preview img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.photo-preview figcaption {
  margin-top: 8px;
  color: var(--paper-muted);
  font-size: 8px;
  line-height: 1.5;
}

.file-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 0;
  border-top: 1px solid #8d968f;
  border-left: 1px solid #8d968f;
}

.file-facts div {
  min-width: 0;
  min-height: 70px;
  padding: 12px;
  border-right: 1px solid #8d968f;
  border-bottom: 1px solid #8d968f;
}

.file-facts dt {
  color: var(--paper-muted);
  font-size: 8px;
  font-weight: 800;
}

.file-facts dd {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.privacy-station {
  display: grid;
  align-content: start;
}

.privacy-state {
  min-height: 122px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 24px;
  align-items: center;
  padding-bottom: 23px;
  border-bottom: 1px solid #657068;
}

.privacy-state .eyebrow {
  color: #a33229;
}

.privacy-state h3 {
  margin: 9px 0 8px;
  font-size: 28px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.privacy-state p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--paper-muted);
  font-size: 10px;
  line-height: 1.55;
}

.privacy-state > strong {
  min-width: 100px;
  color: #a33229;
  font-size: 68px;
  line-height: 0.9;
  text-align: right;
}

body[data-state="clear"] .privacy-state > strong,
body[data-state="clear"] .privacy-state .eyebrow {
  color: #4d6400;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid #8d968f;
  border-left: 1px solid #8d968f;
}

.category-grid > div {
  min-width: 0;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border-right: 1px solid #8d968f;
  border-bottom: 1px solid #8d968f;
  background: #f5f7f2;
}

.category-grid > div[data-active="true"] {
  background: #fff0ed;
}

.category-grid > div[data-category="technical"][data-active="true"],
.category-grid > div[data-category="embeddedPreview"][data-active="true"] {
  background: #e6f6f4;
}

.category-grid span {
  color: var(--paper-muted);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.category-grid strong {
  margin-top: 12px;
  font-size: 28px;
}

.privacy-controls {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}

.reveal-toggle {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}

.reveal-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reveal-toggle > span {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 22px;
  border: 1px solid #69736c;
  background: #cdd3cd;
}

.reveal-toggle > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: #59635c;
  transition: transform 140ms ease, background-color 140ms ease;
}

.reveal-toggle input:checked + span::after {
  transform: translateX(19px);
  background: #006b70;
}

.reveal-toggle input:focus-visible + span {
  outline: 2px solid #5d4d00;
  outline-offset: 3px;
}

.reveal-toggle b {
  font-size: 9px;
  line-height: 1.4;
}

.export-actions {
  display: flex;
  gap: 7px;
}

.export-actions button {
  min-height: 36px;
  padding: 0 11px;
}

.result-workspace {
  margin-top: 30px;
  border: 1px solid #657068;
  background: var(--paper-2);
}

.result-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #657068;
}

.result-tabs button {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid #657068;
  border-radius: 0;
  background: #e5e9e3;
  color: var(--paper-muted);
  text-align: left;
  cursor: pointer;
}

.result-tabs button:last-child {
  border-right: 0;
}

.result-tabs button[aria-selected="true"] {
  background: var(--paper-ink);
  color: var(--acid);
}

.result-tabs span,
.result-tabs b {
  font-size: 9px;
}

.result-panel {
  padding: 26px;
}

.summary-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #8d968f;
  border-left: 1px solid #8d968f;
}

.summary-ledger div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  border-right: 1px solid #8d968f;
  border-bottom: 1px solid #8d968f;
}

.summary-ledger span {
  color: var(--paper-muted);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.4;
}

.summary-ledger strong {
  margin-top: 14px;
  font-size: 34px;
}

.summary-note {
  display: grid;
  grid-template-columns: minmax(210px, 0.45fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 22px;
  padding: 20px;
  border-left: 3px solid #006b70;
  background: #e6f6f4;
}

.summary-note strong {
  font-size: 10px;
  line-height: 1.5;
}

.summary-note p {
  margin: 0;
  color: #35473f;
  font-size: 10px;
  line-height: 1.6;
}

.summary-share,
.shared-summary {
  display: grid;
  grid-template-columns: minmax(210px, 0.45fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 12px;
  padding: 18px 20px;
  border-left: 3px solid #a93329;
  background: #fff0ed;
}

.summary-share > div:first-child,
.shared-summary > div:first-child {
  display: grid;
  gap: 7px;
}

.summary-share .eyebrow,
.shared-summary .eyebrow {
  color: #8b2b23;
}

.summary-share strong,
.shared-summary strong {
  font-size: 10px;
  line-height: 1.5;
}

.summary-share p,
.shared-summary p {
  margin: 0;
  color: #4f3934;
  font-size: 10px;
  line-height: 1.6;
}

.summary-share__action {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
}

.summary-share__action button,
.summary-share__action a {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #7b2e27;
  border-radius: 0;
  background: transparent;
  color: #7b2e27;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.summary-share__action button:hover:not(:disabled),
.summary-share__action a:hover:not([aria-disabled="true"]) {
  background: #7b2e27;
  color: #fff9f6;
}

.summary-share__action a[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.summary-share__action p {
  min-height: 15px;
  color: #7b2e27;
  font-weight: 800;
}

.shared-summary {
  border-left-color: #006b70;
  background: #e6f6f4;
}

.shared-summary .eyebrow {
  color: #006b70;
}

.shared-summary p {
  color: #35473f;
}

.metadata-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.metadata-toolbar label,
.metadata-toolbar span {
  color: var(--paper-muted);
  font-size: 8px;
  font-weight: 800;
}

.metadata-toolbar input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #657068;
  border-radius: 0;
  background: #fff;
  color: var(--paper-ink);
  font-size: 10px;
}

.metadata-table-wrap {
  max-height: 560px;
  overflow: auto;
  border: 1px solid #657068;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 12px;
  border-right: 1px solid #a4ada6;
  border-bottom: 1px solid #a4ada6;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th:last-child,
td:last-child {
  border-right: 0;
}

th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: var(--paper-ink);
  color: var(--ink);
  font-size: 8px;
}

th:nth-child(1) {
  width: 33%;
}

th:nth-child(2) {
  width: 18%;
}

td {
  font-size: 9px;
  line-height: 1.5;
}

td:nth-child(2) {
  color: #006b70;
  font-weight: 800;
  text-transform: uppercase;
}

td[data-masked="true"] {
  color: #9b342b;
  font-weight: 800;
}

.table-boundary {
  margin: 12px 0 0;
  color: var(--paper-muted);
  font-size: 8px;
  line-height: 1.55;
}

.clean-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 1.1fr);
  border-top: 1px solid #8d968f;
  border-left: 1px solid #8d968f;
}

.clean-controls,
.clean-result {
  min-width: 0;
  min-height: 420px;
  padding: 24px;
  border-right: 1px solid #8d968f;
  border-bottom: 1px solid #8d968f;
}

.clean-controls .eyebrow {
  color: #006b70;
}

.clean-controls h3 {
  margin: 10px 0 13px;
  font-size: 27px;
  line-height: 1.08;
}

.clean-controls > p:not(.eyebrow) {
  margin: 0;
  color: var(--paper-muted);
  font-size: 10px;
  line-height: 1.65;
}

.clean-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.clean-options label {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.clean-options label:first-child {
  grid-column: 1 / -1;
}

.clean-options label > span {
  color: var(--paper-muted);
  font-size: 8px;
  font-weight: 800;
}

.clean-options select {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #657068;
  border-radius: 0;
  background: #fff;
  color: var(--paper-ink);
  font-size: 10px;
}

.clean-options input[type="range"] {
  width: 100%;
  accent-color: #006b70;
}

.clean-options output {
  color: #006b70;
  font-size: 9px;
  font-weight: 800;
}

.clean-method-note {
  margin-top: 16px !important;
  padding-left: 11px;
  border-left: 2px solid #006b70;
}

.clean-options select:disabled,
.clean-options input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.primary-command {
  min-height: 43px;
  margin-top: 25px;
  padding: 0 15px;
}

.clean-warning {
  margin-top: 16px !important;
  padding-left: 11px;
  border-left: 2px solid #a33229;
  color: #6f2e28 !important;
}

.clean-result {
  background: #111612;
  color: var(--ink);
}

.clean-empty {
  min-height: 370px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.clean-empty span {
  color: var(--line);
  font-size: 72px;
  font-weight: 800;
}

.clean-empty p {
  max-width: 300px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.clean-result header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.clean-result header span,
.clean-result header strong {
  font-size: 9px;
  line-height: 1.5;
}

.clean-result header span {
  color: var(--acid);
}

.clean-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.clean-comparison div {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clean-comparison span {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.clean-comparison strong {
  margin-top: 12px;
  color: var(--cyan);
  font-size: 27px;
  overflow-wrap: anywhere;
}

.clean-method-result {
  margin: 14px 0 0;
  padding-left: 11px;
  border-left: 2px solid var(--acid);
  color: #d0ded4;
  font-size: 9px;
  line-height: 1.55;
}

.clean-result button {
  min-height: 42px;
  margin-top: 22px;
  padding: 0 14px;
  border-color: var(--acid);
  color: var(--acid);
}

.clean-result button:hover:not(:disabled) {
  background: var(--acid);
  color: var(--black);
}

.clean-result [data-clean-result] > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.c2pa-handoff {
  width: min(var(--max), calc(100% - 56px));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  padding: 78px 0;
}

.c2pa-handoff img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}

.c2pa-handoff > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border-top: 1px solid var(--coral);
  border-right: 1px solid var(--coral);
  border-bottom: 1px solid var(--coral);
}

.c2pa-handoff h2 {
  margin: 13px 0 16px;
  font-size: 34px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.c2pa-handoff > div > p:not(.eyebrow) {
  margin: 0;
  color: #bec7c0;
  font-size: 11px;
  line-height: 1.65;
}

.c2pa-handoff a {
  min-height: 40px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  margin-top: 24px;
  padding: 0 13px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
}

.c2pa-handoff a:hover {
  background: var(--cyan);
  color: var(--black);
}

.method-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #675d29;
  border-left: 1px solid #675d29;
  background: var(--yellow);
  color: #17170f;
}

.method-strip > div {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid #675d29;
  border-bottom: 1px solid #675d29;
}

.method-strip span {
  color: #5d531d;
  font-size: 8px;
  font-weight: 800;
}

.method-strip strong {
  display: block;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.15;
}

.method-strip p {
  margin: 13px 0 0;
  color: #4c451d;
  font-size: 9px;
  line-height: 1.55;
}

.site-footer {
  width: min(var(--max), calc(100% - 56px));
  min-height: 112px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
}

.site-footer a,
.site-footer span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.site-footer a:first-child {
  color: var(--acid);
  text-decoration: none;
}

@media (max-width: 1080px) {
  .tool-header {
    grid-template-columns: minmax(190px, 1fr) auto;
  }

  .locale-state {
    display: none;
  }

  .tool-intro {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
  }

  .tool-intro h1 {
    font-size: 46px;
  }

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

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .c2pa-handoff {
    grid-template-columns: 1fr;
  }

  .c2pa-handoff img {
    max-height: 430px;
  }

  .c2pa-handoff > div {
    border-top: 0;
    border-left: 1px solid var(--coral);
  }
}

@media (max-width: 720px) {
  .workspace-entry-context {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 18px;
  }

  .workspace-entry-context span {
    grid-row: auto;
  }

  .tool-header {
    min-height: 52px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 12px;
  }

  .brand b {
    display: none;
  }

  .brand span {
    min-width: 40px;
    height: 28px;
  }

  .tool-header nav {
    max-width: calc(100vw - 72px);
    overflow-x: auto;
  }

  .tool-header nav a {
    min-height: 32px;
    padding: 0 8px;
    font-size: 8px;
  }

  .tool-intro {
    width: calc(100% - 30px);
    min-height: 355px;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 44px 0 34px;
  }

  .tool-intro h1 {
    margin: 15px 0 16px;
    font-size: 36px;
    line-height: 1.03;
  }

  .tool-intro__copy > p:not(.eyebrow) {
    font-size: 11px;
  }

  .tool-intro__copy > a {
    min-height: 39px;
    margin-top: 21px;
  }

  .tool-intro__signal {
    display: none;
  }

  .contract-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contract-rail div {
    min-height: 64px;
    padding: 10px 15px;
  }

  .contract-rail div:nth-child(2) {
    border-right: 0;
  }

  .contract-rail div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .workspace {
    padding: 54px 15px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .file-station,
  .privacy-station,
  .result-panel {
    padding: 16px;
  }

  .drop-zone {
    min-height: 280px;
    padding: 24px 16px;
  }

  .drop-zone h3 {
    font-size: 23px;
  }

  .demo-entry {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .demo-entry button {
    width: 100%;
  }

  .photo-preview > div {
    height: 230px;
  }

  .privacy-state {
    min-height: 110px;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 12px;
  }

  .privacy-state h3 {
    font-size: 23px;
  }

  .privacy-state > strong {
    min-width: 70px;
    font-size: 52px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid > div {
    min-height: 86px;
  }

  .privacy-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-tabs button {
    min-height: 62px;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 9px;
  }

  .summary-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-ledger div {
    min-height: 95px;
  }

  .summary-note {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .summary-share,
  .shared-summary {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .metadata-toolbar {
    grid-template-columns: 1fr auto;
  }

  .metadata-toolbar label {
    grid-column: 1 / -1;
  }

  .metadata-table-wrap {
    max-height: 520px;
  }

  th:nth-child(1) {
    width: 42%;
  }

  th:nth-child(2) {
    width: 24%;
  }

  th,
  td {
    padding: 9px 7px;
  }

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

  .clean-controls,
  .clean-result {
    min-height: 0;
    padding: 18px;
  }

  .clean-options {
    grid-template-columns: 1fr;
  }

  .clean-empty {
    min-height: 260px;
  }

  .c2pa-handoff {
    width: calc(100% - 30px);
    padding: 54px 0;
  }

  .c2pa-handoff img {
    min-height: 210px;
    max-height: 260px;
  }

  .c2pa-handoff > div {
    padding: 26px 20px;
  }

  .c2pa-handoff h2 {
    font-size: 27px;
  }

  .method-strip {
    grid-template-columns: 1fr;
  }

  .method-strip > div {
    min-height: 150px;
    padding: 20px;
  }

  .site-footer {
    width: calc(100% - 30px);
    min-height: 140px;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scan-progress span,
  .reveal-toggle > span::after {
    transition: none;
  }
}
