body.verify-page .verify-hero {
  min-height: 440px;
  padding: 68px 0 62px !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(48px, 7vw, 100px);
}

body.verify-page .verify-hero h1 {
  font-size: clamp(50px, 4vw, 64px) !important;
}

.privacy-line {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--forest);
  font-weight: 620;
}

.privacy-line svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.file-drop {
  min-height: 270px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 1px dashed var(--green);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.file-drop:hover,
.file-drop.is-dragging {
  border-color: var(--forest);
  background: var(--white);
}

.file-drop:focus-within {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.file-drop svg {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--forest);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.file-drop strong {
  font-size: 24px;
}

.file-drop span {
  color: var(--muted);
}

.file-drop small {
  margin-top: 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.verification-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.31fr) minmax(0, 0.69fr);
  border: 1px solid var(--border-strong);
  background: var(--white);
}

.selected-file,
.verification-results {
  padding: clamp(24px, 3vw, 42px);
}

.selected-file {
  border-right: 1px solid var(--border-strong);
}

.selected-file h2,
.verification-results h2 {
  margin: 8px 0 24px;
  font-size: clamp(22px, 2vw, 30px);
  overflow-wrap: anywhere;
}

.selected-file dl {
  margin: 0;
}

.selected-file dl > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.selected-file dt {
  color: var(--muted);
}

.selected-file dd {
  margin: 0;
}

.hash-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
}

.hash-block > span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.hash-block > div {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hash-block code {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.hash-block button,
.catalog-controls input,
.catalog-controls select,
.template-intro select {
  min-height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.hash-block button {
  padding: 7px 10px;
  background: var(--mint-soft);
  color: var(--forest);
  cursor: pointer;
}

.hash-block button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.result-heading > p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.result-table-wrap,
.catalog-table-wrap {
  overflow-x: auto;
}

.verification-results table,
.catalog-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent !important;
  border: 0 !important;
}

.verification-results th,
.verification-results td,
.catalog-table th,
.catalog-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.verification-results th,
.catalog-table th {
  color: var(--forest);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.verification-results td {
  font-size: 13px;
}

.result-state {
  display: inline-flex;
  min-width: 66px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.state-pass {
  color: var(--green);
}

.state-warning,
.state-blocked {
  color: var(--danger);
}

.state-info {
  color: var(--muted);
}

.scope-boundary {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.catalog-section {
  padding: 112px 0;
}

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.45fr);
  gap: 48px;
  align-items: end;
}

.catalog-heading h2 {
  margin-bottom: 0;
}

.catalog-controls {
  margin: 42px 0 18px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.28fr);
  gap: 16px;
}

.catalog-controls label,
.template-intro > label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-controls input,
.catalog-controls select,
.template-intro select {
  width: 100%;
  padding: 10px 12px;
}

.catalog-table-wrap {
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.catalog-table td {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-table td:first-child,
.catalog-table td:nth-child(2),
.catalog-table td:last-child {
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.catalog-table tr[hidden] {
  display: none;
}

.template-section {
  padding: 88px clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(48px, 7vw, 100px);
  background: var(--forest);
  color: var(--white);
}

.template-intro h2 {
  margin: 20px 0 24px;
  color: var(--white);
  font-size: clamp(38px, 4vw, 58px);
}

.template-intro h2 code {
  color: inherit;
  font: inherit;
}

.template-intro > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78) !important;
}

.template-section .section-kicker {
  color: var(--mint) !important;
}

.template-intro > label {
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.72);
}

.template-intro select {
  margin: 9px 0 16px;
  background: var(--white) !important;
  color: var(--ink) !important;
}

.template-intro .button-primary {
  width: 100%;
  border-color: var(--white);
  background: var(--white);
  color: var(--forest) !important;
  cursor: pointer;
}

.template-intro .button-primary:hover {
  background: var(--mint);
}

.template-meta {
  min-height: 42px;
  margin-top: 18px;
  font-size: 13px;
}

.template-preview {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--code);
}

.preview-heading {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.66);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.template-preview pre {
  max-height: 560px;
  margin: 0;
  padding: 24px;
  overflow: auto;
  border: 0 !important;
  border-radius: 0 !important;
  color: #dbe8df;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  body.verify-page .verify-hero,
  .template-section {
    grid-template-columns: 1fr;
  }

  .verify-page .site-header nav {
    gap: 20px;
  }
}

@media (max-width: 760px) {
  body.verify-page .verify-hero {
    min-height: auto;
    padding: 68px 0 58px !important;
  }

  body.verify-page .verify-hero h1 {
    font-size: clamp(42px, 12vw, 56px) !important;
  }

  .file-drop {
    min-height: 220px;
    padding: 32px 20px;
  }

  .verification-panel,
  .catalog-heading,
  .catalog-controls {
    grid-template-columns: 1fr;
  }

  .selected-file {
    border-right: 0;
    border-bottom: 1px solid var(--border-strong);
  }

  .result-heading {
    display: block;
  }

  .result-heading > p {
    max-width: none;
    margin-bottom: 18px;
    text-align: left;
  }

  .catalog-section {
    padding: 80px 0;
  }

  .template-section {
    padding: 64px 24px;
  }
}
