:root {
  --ink:#203d38;
  --muted:#53645f;
  --teal:#214e48;
  --paper:#f7f8f2;
  --line:#d4dcd1;
  --white:#fff;
  --soft:#eaf0e5;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  font-size:1.125rem;
  line-height:1.6;
}

button,input,textarea {
  font:inherit;
}

button,a,input,textarea,summary {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
  line-height:1.35;
}

a {
  color:inherit;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible {
  outline:3px solid #88620b;
  outline-offset:4px;
}

h1:focus,main:focus,#next-title:focus {
  outline:none;
}

[hidden] {
  display:none!important;
}

.wrap {
  width:min(1160px,calc(100% - 80px));
  margin:auto;
}

.site-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:30px 0 26px;
  border-bottom:1px solid var(--line);
  gap:24px;
}

.brand {
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  font-size:1.4375rem;
  font-weight:700;
  letter-spacing:-.6px;
}

.brand-mark {
  display:grid;
  grid-auto-flow:column;
  align-items:center;
  padding:7px 10px;
  width:61px;
  height:61px;
  border-radius:18px 18px 18px 4px;
  background:var(--teal);
  color:white;
  font-size:1.5625rem;
  letter-spacing:-3px;
  flex-shrink:0;
}

.brand-mark span {
  color:#d4e5a5;
}

.brand-caption {
  display:block;
  font-size:0.875rem;
  letter-spacing:.15px;
  font-weight:400;
  margin-top:1px;
}

.prototype-tag {
  font-size:0.875rem;
  border:1px solid #bbc8b6;
  border-radius:30px;
  padding:7px 13px;
  white-space:nowrap;
}

.prototype-note {
  display:flex;
  gap:12px;
  align-items:center;
  margin:25px 0 48px;
  font-size:1rem;
  color:#465a50;
}

.prototype-note p {
  margin:0;
}

.note-dot {
  flex-shrink:0;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#607651;
}

.home-layout {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:74px;
  align-items:start;
}

.eyebrow {
  font-size:1rem;
  font-weight:700;
  letter-spacing:2px;
  margin:0 0 22px;
  color:#536b5b;
}

h1 {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  font-size:3.375rem;
  line-height:1.12;
  letter-spacing:-1.9px;
  margin:0 0 24px;
}

h2 {
  font-size:1.25rem;
  line-height:1.3;
  margin:0 0 12px;
}

.lead {
  font-size:1.25rem;
  color:var(--muted);
  max-width:460px;
  margin:0;
  line-height:1.65;
}

.how-it-works {
  margin-top:36px;
}

.how-it-works h2 {
  font-size:1rem;
}

.how-it-works ol {
  list-style:none;
  padding:0;
  margin:18px 0;
}

.how-it-works li {
  display:flex;
  align-items:center;
  gap:13px;
  font-size:1.0625rem;
  margin:12px 0;
}

.how-it-works li span {
  border:1px solid #b5c4af;
  border-radius:50%;
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  font-size:0.875rem;
}

.privacy {
  font-size:0.875rem;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:23px;
  margin-top:30px;
}

.privacy span {
  float:left;
  font-size:1.5rem;
  margin-right:12px;
}

.submission-card {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  padding:30px;
  box-shadow:0 10px 35px #233b3110;
}

.submission-card h2 {
  font-size:1.5625rem;
  letter-spacing:-.6px;
  margin:0 0 3px;
}

.channel-question {
  border:0;
  padding:0;
  margin:24px 0;
}
.channel-question legend {
  font-size:1rem;
  font-weight:700;
  margin-bottom:12px;
}
.channel-options {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.option {
  border:1px solid #738377;
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  padding:16px 8px 16px 18px;
  text-align:left;
  font-size:1rem;
  font-weight:700;
  display:block;
}

.option.active {
  border:2px solid var(--teal);
  background:#edf3e9;
  padding:15px 7px 15px 17px;
}

/* The selected choice is also marked by a check, not by color and border width alone.
   aria-pressed already tells screen readers, so the mark has empty alternative text. */
.option[aria-pressed="true"]::before,
.self-check-option[aria-pressed="true"]::before {
  content:"\2713\00a0";
  content:"\2713\00a0" / "";
  font-weight:700;
}

.option:hover {
  background:#f1f5ee;
}

label {
  font-size:1rem;
  font-weight:700;
  display:block;
  margin-bottom:9px;
}

textarea {
  width:100%;
  resize:vertical;
  min-height:156px;
  border:1px solid #738377;
  border-radius:8px;
  background:#fcfdfb;
  padding:15px;
  color:var(--ink);
  font-size:1.0625rem;
  line-height:1.5;
}

textarea::placeholder {
  color:#66746b;
}

.hint {
  font-size:1rem;
  color:var(--muted);
  line-height:1.5;
  margin:9px 0 18px;
}

.primary {
  min-height:52px;
  border:1px solid var(--teal);
  border-radius:8px;
  padding:14px 22px;
  font-size:1.0625rem;
  font-weight:700;
}

.primary {
  background:var(--teal);
  color:white;
}

.primary:hover {
  background:#153c36;
}

.primary span {
  margin-left:14px;
}

.full {
  width:100%;
}

.form-footnote {
  font-size:0.875rem;
  text-align:center;
  color:var(--muted);
  margin:14px 0 0;
}

.error {
  color:#923823;
  font-size:1rem;
  margin:12px 0;
}

.error:empty {
  display:none;
}

input::file-selector-button {
  background:var(--soft);
  color:var(--ink);
  border:1px solid #a9b8a3;
  border-radius:6px;
  min-height:48px;
  margin-right:12px;
  cursor:pointer;
}

.example-loaded {
  font-size:0.875rem;
  background:#f0f2e9;
  padding:10px;
  border-radius:5px;
}

.demo-tools {
  border-top:1px solid var(--line);
  margin-top:48px;
  padding-top:19px;
  font-size:0.875rem;
}

summary {
  cursor:pointer;
  min-height:44px;
  padding:8px 0;
  font-weight:700;
}

summary span {
  font-weight:400;
  color:var(--muted);
  margin-left:14px;
  font-size:0.875rem;
}

.demo-inner {
  padding:5px 0 16px;
}

.scenario-buttons {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:18px 0;
}

.scenario-buttons button {
  background:white;
  border:1px solid #738377;
  color:var(--ink);
  border-radius:7px;
  padding:12px 16px;
  min-height:44px;
  font-size:0.875rem;
}

.scenario-buttons button:hover {
  background:var(--soft);
}

.text-button {
  min-height:44px;
  background:none;
  border:0;
  text-decoration:underline;
  text-underline-offset:5px;
  color:var(--teal);
  font-size:1rem;
  padding:8px 0;
}

.site-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:0.875rem;
  color:var(--muted);
  padding:25px 0 28px;
}

.site-footer>span:first-child {
  font-weight:bold;
  letter-spacing:1.5px;
}

.site-footer p {
  margin:0;
}

.result {
  max-width:1000px;
  margin:auto;
}

.result>.eyebrow {
  margin-top:20px;
}

.result-banner {
  display:flex;
  gap:24px;
  border:1px solid;
  padding:30px;
  border-radius:12px;
}

.result-banner.mismatch {
  background:#fbede6;
  border-color:#b76a47;
  color:#70391f;
}

.result-banner.match {
  background:#edf2eb;
  border-color:#7d9576;
  color:#29492c;
}

.result-banner.unknown {
  background:#f8f0dd;
  border-color:#ad8a37;
  color:#674d12;
}

.state-symbol {
  font-family:Georgia,serif;
  font-size:1.75rem;
  width:46px;
  height:46px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border:1px solid currentColor;
  border-radius:50%;
}

.state-label {
  font-size:1.0625rem;
  font-weight:700;
  margin:0 0 9px;
}

.result-banner h1 {
  font-size:2.5rem;
  letter-spacing:-1px;
  margin:0 0 14px;
  text-wrap:balance;
}

.result-banner p:last-child {
  margin:0;
  font-size:1.125rem;
}

/* Everything we checked, folded away under the next steps and the marked message. */
.evidence-details {
  margin-top:24px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:0 26px;
  min-width:0;
}

.evidence-details > summary {
  min-height:56px;
  display:flex;
  align-items:center;
  font-size:1.125rem;
  font-weight:700;
  cursor:pointer;
}

.evidence-details[open] > summary {
  border-bottom:1px solid var(--line);
  margin-bottom:23px;
}

.evidence section {
  border-bottom:1px solid var(--line);
  padding:0 0 23px;
  margin-bottom:23px;
}

.evidence h2 {
  font-size:1rem;
  color:var(--muted);
}

.evidence p {
  margin:8px 0;
}

.identity {
  font-size:1.4375rem;
  font-weight:700;
}

.inspected {
  font-family:monospace;
  font-size:1rem;
  background:#eaf0e5;
  display:inline-block;
  padding:7px 10px;
  border-radius:5px;
  overflow-wrap:anywhere;
  max-width:100%;
}

.checks {
  padding:0;
  list-style:none;
}

.checks li {
  margin-bottom:20px;
}

.check-label {
  display:block;
  font-size:1rem;
  font-weight:700;
}

.source {
  display:block;
  font-size:1rem;
  color:var(--muted);
  margin-top:8px;
}

.next-steps {
  margin-top:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:27px;
}

.next-steps h2 {
  font-family:Georgia,serif;
  font-size:1.6875rem;
  font-weight:400;
}

.next-steps ol {
  padding-left:22px;
}

.next-steps li {
  padding-left:5px;
  margin-bottom:16px;
}

.warning {
  border-left:4px solid #976328;
  background:#faf1df;
  padding:16px;
  margin:22px 0;
  font-weight:700;
  color:#674414;
}

.result-bottom {
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-top:22px;
}

.result-bottom p {
  font-size:1rem;
  color:var(--muted);
  max-width:380px;
}

@media(min-width:1400px) {
  .home-layout {
    gap:100px;
  }
  .wrap {
    width:min(1200px,calc(100% - 100px));
  }
  .prototype-note {
    margin-bottom:62px;
  }
}

@media(max-width:900px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .home-layout {
    gap:30px;
  }
  h1 {
    font-size:2.6875rem;
  }
  .submission-card {
    padding:23px;
  }
  .brand-caption {
    font-size:0.875rem;
  }
}

@media(max-width:680px) {
  body {
    font-size:1.125rem;
  }
  .wrap {
    width:calc(100% - 32px);
  }
  .site-header {
    padding:21px 0;
    gap:12px;
  }
  .brand {
    font-size:1.25rem;
    gap:10px;
  }
  .brand-mark {
    width:48px;
    height:48px;
    font-size:1.4375rem;
    border-radius:13px 13px 13px 3px;
  }
  .brand-caption {
    font-size:0.875rem;
  }
  .prototype-tag {
    font-size:0.875rem;
    padding:5px 8px;
    white-space:normal;
    max-width:120px;
    text-align:center;
  }
  .prototype-note {
    margin:20px 0 30px;
    align-items:start;
    font-size:0.875rem;
  }
  .note-dot {
    margin-top:7px;
  }
  .home-layout {
    grid-template-columns:1fr;
    gap:22px;
  }
  h1 {
    font-size:2.625rem;
  }
  .desktop-break {
    display:none;
  }
  .lead {
    font-size:1.1875rem;
  }
  .how-it-works {
    display:none;
  }
  .privacy {
    margin:20px 0 4px;
    padding-top:16px;
  }
  .submission-card {
    padding:22px;
  }
  .eyebrow {
    font-size:0.875rem;
    margin-bottom:16px;
  }
  .demo-tools {
    margin-top:30px;
  }
  .site-footer {
    align-items:start;
    flex-wrap:wrap;
    gap:12px;
    font-size:0.875rem;
  }
  .site-footer p {
    width:100%;
    order:3;
  }
  .result-banner {
    padding:22px;
    gap:13px;
  }
  .result-banner h1 {
    font-size:1.9375rem;
  }
  .state-symbol {
    width:32px;
    height:32px;
    font-size:1.375rem;
  }
  .result-banner p:last-child {
    font-size:1.0625rem;
  }
  .result-bottom {
    align-items:stretch;
    flex-direction:column;
    gap:8px;
  }
  .next-steps {
    padding:22px;
  }
  summary span {
    display:block;
    margin:4px 0 0 18px;
  }
}

.skip-link {
  position:absolute;
  top:-100px;
  left:16px;
  background:white;
  padding:12px;
  z-index:10;
}

.skip-link:focus {
  top:12px;
}


/* Added with the checker: request signals and stacked warnings. */
.asks .quote {
  font-style:italic;
  margin:4px 0 0;
}

.warning + .warning {
  margin-top:-10px;
  font-weight:400;
}

.result-banner.match.risky {
  background:#f8f0dd;
  border-color:#ad8a37;
  color:#674d12;
}

/* Result details can contain very long addresses; keep them within the grid. */
.home-layout > *, .evidence-details, .result-banner > div {
  min-width:0;
}
.result, .prototype-note, .brand, .option {
  overflow-wrap:anywhere;
}
.character-count {
  color:var(--muted);
  font-size:1rem;
  margin:4px 0 0;
  text-align:right;
}
.over-limit {
  color:#923823;
  font-weight:700;
}
.action-note {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:18px;
  padding:22px 26px;
  background:#edf1e8;
  border-left:4px solid var(--teal);
  border-radius:0 8px 8px 0;
}
.action-note.high-risk {
  background:#fbefdd;
  border-color:#946024;
  color:#654011;
}
.action-note h2 {
  font-size:1rem;
  margin-bottom:6px;
}
.action-note p {
  margin:0;
  max-width:65ch;
}
.check-item {
  padding-left:16px;
  border-left:2px solid #b4c3af;
}
.check-item.contradicts {
  border-left-color:#a76745;
}
.check-item.unknown {
  border-left-color:#a68a47;
}
.check-source {
  margin-top:8px;
}
.check-source summary {
  color:var(--muted);
  font-size:1rem;
  font-weight:400;
}
.check-source .source {
  margin:0 0 12px;
}
#next-title {
  scroll-margin-top:24px;
}
@media (max-width:680px) {
  .site-header { flex-wrap:wrap; }
  .brand-caption { max-width:220px; }
  .prototype-tag { max-width:none; }
  .prototype-note { margin-bottom:24px; }
  .action-note { align-items:flex-start; flex-direction:column; gap:8px; padding:20px; }
  .result-banner { flex-direction:column; }
  .checks { margin-bottom:0; }
  .source, .hint, .privacy { font-size:1rem; }
}
@media (max-width:360px) {
  .channel-options { grid-template-columns:1fr; }
  .submission-card { padding:18px; }
}
.self-check {
  margin:8px 0 32px;
  padding:27px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}
.self-check h2 {
  font-family:Georgia,serif;
  font-size:1.6875rem;
  font-weight:400;
  margin-bottom:8px;
}
.self-check-intro {
  max-width:65ch;
  margin:0 0 20px;
}
.self-check-step {
  border:0;
  padding:0;
  margin:0 0 20px;
}
.self-check-step legend {
  font-size:1rem;
  font-weight:700;
  margin-bottom:12px;
}
.self-check-options {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.self-check-option {
  min-height:56px;
  border:1px solid #738377;
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  padding:14px 16px;
  text-align:left;
  font-size:1rem;
  cursor:pointer;
}
.self-check-option:hover {
  background:#f1f5ee;
}
.self-check-option[aria-pressed="true"] {
  border:2px solid var(--teal);
  background:#edf3e9;
  padding:13px 15px;
}
.choice-label {
  display:block;
  font-weight:700;
}
.choice-hint {
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:0.9375rem;
}
.self-check-outcome {
  padding:20px 22px;
  border-left:4px solid #8a9a86;
  background:var(--soft);
  border-radius:0 8px 8px 0;
}
.self-check-outcome h3 {
  font-size:1.125rem;
  margin:0 0 8px;
}
.self-check-outcome ul {
  margin:0;
  padding-left:20px;
}
.self-check-outcome li + li {
  margin-top:6px;
}
.self-check-outcome.confirmed {
  border-color:var(--teal);
  background:#edf3e9;
}
.self-check-outcome.not_them,
.self-check-outcome.confirmed_but_risky {
  border-color:#946024;
  background:#fbefdd;
  color:#654011;
}
@media (max-width:680px) {
  .self-check { padding:20px; }
  .self-check-options { grid-template-columns:1fr; }
}
@media (forced-colors:active) {
  .option.active, .self-check-option[aria-pressed="true"] { outline:3px solid Highlight; }
  .action-note, .check-item { border-color:CanvasText; }
}

/* Annotations on the pasted message. Marks differ by line style and symbol, not color alone. */
.annotated {
  margin-top:18px;
  padding:22px 26px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:8px;
}
.annotated h2 {
  font-size:1.125rem;
  margin:0 0 6px;
}
.annotated-key {
  color:var(--muted);
  margin:0 0 12px;
}
.annotated-message {
  font-size:1.125rem;
  line-height:1.9;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:0 0 16px;
  padding:16px;
  background:var(--paper);
  border-radius:6px;
}
.ann {
  color:inherit;
  padding:1px 2px;
  border-radius:3px;
}
.ann:focus-visible {
  outline:3px solid var(--teal);
  outline-offset:2px;
}
.ann-strong {
  background:#fbe3d6;
  text-decoration:underline 3px solid #8c2f14;
  text-underline-offset:4px;
}
.ann-check {
  background:#f6edd2;
  text-decoration:underline 2px dashed #7a5a12;
  text-underline-offset:4px;
}
.ann-list {
  background:transparent;
  border:1px dotted var(--muted);
}
.ann-ref {
  font-size:0.9375rem;
  font-weight:700;
  margin:0 2px;
}
.annotation-notes {
  margin:0;
  padding-left:28px;
  font-size:1.125rem;
}
.ann-note + .ann-note {
  margin-top:10px;
}
.ann-label {
  display:block;
  font-weight:700;
}
.ann-note.ann-strong, .ann-note.ann-check, .ann-note.ann-list {
  background:none;
  text-decoration:none;
  border:0;
}
@media (max-width:680px) {
  .annotated { padding:20px 16px; }
  .evidence-details { padding:0 16px; }
  .next-steps { padding:20px 16px; }
  .annotated-message { padding:12px; }
}
@media (forced-colors:active) {
  .ann { border:1px solid CanvasText; }
}


/* Screenshot preview */
.ocr-button { min-height:52px; padding:12px; border:2px solid var(--teal); border-radius:8px; background:var(--soft); color:var(--ink); font-size:1.125rem; font-weight:700; }
.ocr-preview { border:2px solid var(--teal); border-radius:8px; padding:14px; margin-bottom:18px; }
.ocr-preview h3 { margin:0 0 12px; font-size:1.125rem; }
.ocr-preview img { display:block; max-width:100%; max-height:200px; margin:12px auto 0; object-fit:contain; }
.ocr-preview p, .ocr-preview summary, .ocr-review, #ocr-status { font-size:1.125rem; line-height:1.5; }
.ocr-preview pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:220px; overflow:auto; font:inherit; }
.ocr-review { display:flex; gap:12px; align-items:flex-start; padding:12px 0; cursor:pointer; }
.ocr-review input { flex:0 0 24px; width:24px; height:24px; margin:4px 0 0; accent-color:var(--teal); }
.ocr-warning { padding:12px; border-left:4px solid #923823; background:#fff0e6; color:#682515; }
button:disabled { opacity:0.65; cursor:default; }

.ocr-image-link { display:block; min-height:48px; padding:10px 0; color:var(--teal); font-size:1.125rem; }

/* "Already did something?" help */
.help-after { margin:40px 0; padding:24px; border:1px solid #738377; border-radius:16px; background:#fff; }
.help-after h2 { margin-top:0; }
.help-draft { padding:8px 12px; border-radius:8px; background:#fff6e5; color:#5c3d00; }
.help-topics { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; }
.help-topic { min-height:48px; padding:10px 16px; border:1px solid #738377; border-radius:10px; background:#fff; color:var(--ink); font:inherit; font-size:17px; text-align:left; cursor:pointer; }
.help-topic:hover, .help-topic:focus-visible { border-color:var(--ink); }
.help-form label { display:block; margin-top:16px; font-weight:600; }
.help-search-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.help-search-row input { flex:1 1 240px; min-height:48px; padding:0 14px; border:1px solid #738377; border-radius:8px; font:inherit; font-size:17px; }
.help-card { margin-top:16px; padding:18px; border-radius:12px; background:#f6f8f5; }
.help-card h3 { margin-top:0; }
.help-steps li { margin:10px 0; font-size:17px; line-height:1.45; }
.help-source { display:block; margin-top:2px; font-size:14px; color:#4b5b4f; }

/* "Why this is a warning sign" */
.why { margin:18px 0; padding:18px 20px; border-radius:14px; background:#fff; border:1px solid #738377; }
.why h2 { margin:0 0 8px; }
.why-list { margin:0; padding-left:20px; }
.why-list > li { margin:12px 0; font-size:18px; line-height:1.45; }
.why-quote { margin:6px 0 0; font-size:15px; color:#33423a; }
.why-source { font-size:14px; color:#4b5b4f; }
.why-words { margin:6px 0 0; font-size:16px; color:var(--ink); }
.why-mark { margin-left:4px; font-size:15px; }
