:root {
  color-scheme: light;
  --ink: #19352f;
  --muted: #5b6d65;
  --green: #19674f;
  --line: #d8e1d9;
  --paper: #f5f6f0;
  --mint: #eaf1e5;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.masthead {
  max-width: 1160px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 680;
  font-size: 16px;
  letter-spacing: -0.025em;
}
.brand-symbol {
  width: 30px;
  height: 31px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #edf6e6;
  border-radius: 7px;
  position: relative;
  font-weight: 800;
  font-size: 20px;
}
.brand-symbol span {
  position: absolute;
  right: 2px;
  top: 0;
  font-size: 14px;
}
.review-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 9px;
  border-radius: 4px;
}
main {
  max-width: 1160px;
  margin: auto;
  padding: 50px 32px 25px;
}
.intro {
  max-width: 720px;
}
.eyebrow,
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
}
h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  font-weight: 640;
  margin: 19px 0;
}
h1 span {
  color: var(--green);
}
p {
  line-height: 1.65;
}
.lead {
  font-size: 17px;
  max-width: 660px;
  color: var(--muted);
  margin-bottom: 20px;
}
.privacy {
  font-size: 12px;
  color: #365e48;
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy span {
  color: var(--green);
}
.usage-notice {
  margin-top: 26px;
  border-left: 4px solid #93622b;
  border-radius: 4px;
  background: #faf1e3;
  color: #493b2c;
  padding: 15px 18px;
  font-size: 14px;
  line-height: 1.65;
}
.usage-notice strong {
  display: block;
  margin-bottom: 3px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr);
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 26px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  min-height: 15px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  padding: 1px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
label {
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.025em;
  display: block;
}
textarea {
  display: block;
  width: 100%;
  min-height: 178px;
  resize: vertical;
  max-height: 600px;
  border: 1px solid #bacabd;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  padding: 15px;
  margin: 17px 0 8px;
  background: #fdfefb;
  color: var(--ink);
}
textarea::placeholder {
  color: #738176;
}
.input-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
button {
  font-family: inherit;
}
.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 7px;
  padding: 14px 17px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  width: 100%;
  margin: 21px 0 17px;
  cursor: pointer;
}
.primary:hover {
  background: #11513c;
}
.primary:disabled {
  opacity: 0.6;
  cursor: default;
}
.primary span {
  font-size: 20px;
  line-height: 1;
}
.samples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
.samples > span {
  margin-right: 3px;
}
.samples button {
  font-size: 10px;
  font-weight: 550;
  border: 1px solid #d8e3d7;
  background: #f5f8f2;
  color: #3a5846;
  border-radius: 20px;
  padding: 6px 9px;
  cursor: pointer;
}
.samples button:hover {
  background: var(--mint);
}
:focus-visible {
  outline: 3px solid #7eae96;
  outline-offset: 3px;
}
h2 {
  font-size: 25px;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.scope {
  background: var(--mint);
  border-color: #d5e1cd;
}
.scope-list {
  padding: 0;
  margin: 23px 0;
  list-style: none;
  display: grid;
  gap: 19px;
}
.scope-list li {
  padding-left: 22px;
  position: relative;
}
.scope-list li:before {
  content: '↗';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-size: 16px;
}
.scope-list strong {
  font-size: 13px;
  font-weight: 650;
  display: block;
  margin-bottom: 4px;
}
.scope-list span {
  display: block;
  font-size: 12px;
  line-height: 1.65;
  color: #53654e;
}
.scope-limit {
  font-size: 11px;
  color: #556b4e;
  line-height: 1.65;
  border-top: 1px solid #cad8c2;
  padding-top: 16px;
  margin-bottom: 0;
}
.status {
  font-size: 12px;
  color: var(--muted);
  margin: 13px 0;
  min-height: 0;
}
.status:empty {
  display: none;
}
.results {
  margin-top: 24px;
  padding: 30px;
}
.results h2 {
  font-size: 29px;
  margin-bottom: 8px;
}
.result-summary {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}
.results h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin: 26px 0 11px;
}
.observation {
  border-left: 3px solid #bd9456;
  padding: 17px 19px;
  background: #faf7ee;
  border-radius: 0 7px 7px 0;
  margin: 12px 0;
}
.observation h4,
.link-note h4 {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  margin: 0 0 8px;
}
.observation p,
.link-note p {
  font-size: 13px;
  color: #586458;
  margin: 8px 0 0;
}
.observation .advice {
  color: #304f3d;
}
.quote {
  unicode-bidi: plaintext;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 11px 0;
  padding: 10px 13px;
  border: 1px solid #e4ddca;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  background: #fffdfa;
}
.section-hint,
.result-limit {
  font-size: 12px;
  color: var(--muted);
}
.section-hint {
  margin: 0 0 13px;
}
.link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 13px 0;
  overflow: hidden;
}
.link-top {
  padding: 18px 20px;
  background: #f3f7f0;
}
.host-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #597057;
  margin-bottom: 5px;
}
.hostname {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
  line-height: 1.45;
  unicode-bidi: isolate;
  direction: ltr;
}
.link-scheme {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
}
.link-body {
  padding: 3px 20px 15px;
}
.link-body .quote {
  background: #f7f8f5;
  border-color: var(--line);
  font-size: 12px;
  color: #617160;
}
.link-note {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.next-step {
  padding: 20px 22px;
  background: #edf3e8;
  border-radius: 8px;
  margin-top: 26px;
}
.next-step .section-label {
  margin-bottom: 8px;
}
.next-step p {
  font-size: 13px;
  color: #35523c;
  margin: 0;
}
.result-limit {
  margin: 17px 0 0;
}
.scan-note {
  font-size: 12px;
  border: 1px solid #e6d7b4;
  border-radius: 5px;
  padding: 12px;
  color: #665737;
  background: #fffbf0;
}
.about {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
details p {
  font-size: 12px;
  color: var(--muted);
  max-width: 850px;
}
.error {
  font-size: 13px;
  color: #973b2e;
}
.error[hidden] {
  display: none;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
  padding-top: 24px;
}
footer span:first-child {
  font-weight: 600;
}
[hidden] {
  display: none !important;
}
@media (max-width: 780px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .scope-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .scope-limit {
    margin-top: 0;
  }
  .scope {
    padding: 22px;
  }
  .intro {
    max-width: 650px;
  }
}
@media (max-width: 520px) {
  .masthead {
    padding: 19px 20px;
  }
  .brand {
    font-size: 13px;
    gap: 7px;
  }
  .review-tag {
    font-size: 8px;
    padding: 6px;
  }
  .brand-symbol {
    width: 26px;
    height: 27px;
    font-size: 17px;
  }
  main {
    padding: 32px 20px 22px;
  }
  .lead {
    font-size: 15px;
  }
  .privacy {
    font-size: 11px;
  }
  .workspace {
    margin-top: 25px;
    gap: 16px;
  }
  .card {
    padding: 20px;
  }
  .scope-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .input-meta {
    font-size: 10px;
    gap: 8px;
  }
  label {
    font-size: 17px;
  }
  .samples {
    gap: 6px;
  }
  .samples > span {
    width: 100%;
    margin-bottom: 2px;
  }
  .results h2 {
    font-size: 25px;
  }
  .hostname {
    font-size: 16px;
  }
  .link-top {
    padding: 15px;
  }
  .link-body {
    padding: 3px 15px 13px;
  }
  .observation {
    padding: 14px;
  }
  .next-step {
    padding: 17px;
  }
  footer {
    font-size: 9px;
  }
  .privacy {
    line-height: 1.6;
  }
}

/* Shared site identity; no third-party assets. */
a {
  color: var(--green);
  text-underline-offset: 3px;
}
.brand {
  display: block;
}
.brand img {
  display: block;
  width: 215px;
  max-width: 100%;
  height: auto;
}
.masthead nav,
footer nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.masthead nav a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  transform: none;
}
footer {
  line-height: 1.7;
}
footer nav {
  gap: 14px;
}
.results {
  scroll-margin-top: 20px;
}
@media (max-width: 520px) {
  .brand img {
    width: 165px;
  }
  .masthead nav {
    gap: 12px;
  }
  .masthead nav a {
    font-size: 11px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
}

.masthead {
  flex-wrap: wrap;
}
.masthead nav {
  margin-left: auto;
}
.masthead .language-link {
  border: 1px solid var(--line);
  padding: 6px 9px;
  border-radius: 4px;
}

.input-modes {
  border: 0;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}
.input-modes legend {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.input-modes label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 500;
  cursor: pointer;
}
.input-modes input {
  accent-color: var(--green);
}
.file-label {
  font-size: 16px;
  margin-bottom: 12px;
}
input[type='file'] {
  display: block;
  max-width: 100%;
  width: 100%;
  padding: 14px 10px;
  border: 1px dashed #7f9f89;
  border-radius: 8px;
  background: #f5f8f2;
  font: inherit;
  font-size: 12px;
  margin-bottom: 12px;
}
input[type='file']::file-selector-button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  padding: 7px 9px;
  margin-right: 10px;
  cursor: pointer;
  color: var(--ink);
}
.file-status {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.file-status:empty {
  display: none;
}
#text-panel .section-hint {
  margin-top: 12px;
}
.report-limits {
  margin-top: 24px;
}
.report-limits .scan-note {
  max-width: none;
}
.link-body h4 {
  margin-bottom: 8px;
}
.link-body p {
  overflow-wrap: anywhere;
}
