:root {
  color-scheme: light;
  --bg: #f3f5f2;
  --paper: #ffffff;
  --ink: #16201c;
  --soft-ink: #4d5b54;
  --muted: #748078;
  --line: #d8ded9;
  --green: #146b52;
  --green-soft: #e3f1eb;
  --blue: #284d75;
  --blue-soft: #e9f0f7;
  --amber: #9a6117;
  --amber-soft: #f5e8d1;
  --red: #a63f35;
  --red-soft: #f4dfdc;
  --shadow: 0 14px 44px rgba(27, 39, 33, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  display: flex;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
}

.site-header nav a {
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header nav a:hover {
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 198px;
  height: auto;
}

.brand-meta {
  display: grid;
  gap: 4px;
  align-items: start;
}

.brand-meta small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.beta-badge {
  justify-self: start;
  border: 1px solid rgba(20, 107, 82, .26);
  border-radius: 4px;
  padding: 2px 5px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 20px;
  font-weight: 900;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

main {
  flex: 1 0 auto;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding-top: clamp(24px, 5vw, 64px);
}

.hero-copy {
  padding-top: 20px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

h3 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.3;
}

p {
  line-height: 1.55;
}

.lead {
  max-width: 660px;
  color: var(--soft-ink);
  font-size: 18px;
}

.hero-help {
  margin: 12px 0 0;
  font-size: 13px;
}

.hero-help a,
.inline-help a {
  color: var(--blue);
  font-weight: 800;
}

.guide-strip {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(54px, 8vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-strip > div,
.guide-strip-link {
  min-width: 0;
  padding: 24px;
}

.guide-strip > div {
  padding-left: 0;
}

.guide-strip h2 {
  font-size: 22px;
}

.guide-strip-link {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 5px 12px;
  border-left: 1px solid var(--line);
  text-decoration: none;
}

.guide-strip-link > span {
  grid-row: 1 / 3;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.guide-strip-link strong,
.guide-strip-link small {
  display: block;
}

.guide-strip-link small {
  color: var(--muted);
  line-height: 1.4;
}

.guide-strip-link:hover {
  background: var(--paper);
}

.scan-panel,
.list,
.instruction,
.waiting {
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.scan-panel {
  padding: 24px;
}

label {
  display: block;
  margin: 16px 0 8px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 750;
}

textarea {
  min-height: 220px;
  resize: vertical;
}

textarea,
input[type="file"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfa;
  color: var(--ink);
}

textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible,
.drop-zone:focus-within {
  outline: 3px solid rgba(40, 77, 117, 0.22);
  outline-offset: 2px;
}

.drop-zone {
  position: relative;
  display: grid;
  min-height: 116px;
  place-items: center;
  border: 2px dashed #afbbb3;
  border-radius: 8px;
  padding: 18px;
  background: #fbfcfa;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.drop-zone strong,
.drop-zone span {
  display: block;
}

.drop-zone span {
  margin-top: 6px;
  color: var(--muted);
}

.drop-zone.dragging {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.drop-zone.has-file {
  border-color: var(--green);
  background: var(--green-soft);
}

.primary {
  display: inline-flex;
  min-height: 46px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--green);
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary:hover {
  background: #0f5a44;
}

.primary.full {
  width: 100%;
}

.primary.inline {
  width: auto;
}

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

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row small,
.muted {
  display: block;
  color: var(--muted);
}

.passive {
  justify-content: flex-start;
}

.narrow {
  max-width: 760px;
  padding-top: 36px;
}

.send-flow {
  max-width: 680px;
}

.send-title,
.legal-page h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
}

.send-details {
  margin: 28px 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.send-detail-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}

.send-detail-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.send-detail-row code {
  color: var(--ink);
  font-size: 17px;
}

.code-row code {
  color: var(--green);
  font-size: 25px;
  letter-spacing: 0;
}

.copy-code {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #f8faf8;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.copy-code:hover {
  border-color: #aab8ad;
  background: var(--blue-soft);
}

.copy-status {
  min-height: 22px;
  margin: 0;
  padding: 4px 16px 8px 100px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.subject-example {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 14px 0 0;
  color: var(--soft-ink);
  font-size: 13px;
}

.subject-example span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.subject-example code {
  font-weight: 700;
}

.inline-help {
  margin: 8px 0 0;
  font-size: 12px;
}

.waiting-mail {
  padding-top: 14px;
  text-align: center;
}

.waiting-mail h2 {
  margin-top: 28px;
}

.waiting-mail .lead {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
}

.mail-journey {
  position: relative;
  width: min(540px, 100%);
  height: 154px;
  margin: 16px auto 0;
  overflow: hidden;
}

.route-line {
  position: absolute;
  right: 58px;
  bottom: 49px;
  left: 24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #aab6ae 0 7px, transparent 7px 14px);
}

.route-dots {
  position: absolute;
  right: 105px;
  bottom: 43px;
  left: 70px;
  display: flex;
  justify-content: space-around;
}

.route-dots i {
  width: 10px;
  height: 10px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  animation: route-pulse 1.8s ease-in-out infinite;
}

.route-dots i:nth-child(2) { animation-delay: 0.3s; }
.route-dots i:nth-child(3) { animation-delay: 0.6s; }

.envelope-icon {
  position: absolute;
  bottom: 27px;
  left: 22px;
  z-index: 2;
  width: 54px;
  height: 38px;
  border: 3px solid var(--green);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(20, 107, 82, 0.18);
  animation: deliver-mail 3.4s cubic-bezier(.45, .05, .2, 1) infinite;
}

.envelope-icon::before,
.envelope-icon::after {
  position: absolute;
  top: 6px;
  width: 29px;
  height: 3px;
  background: var(--green);
  content: "";
}

.envelope-icon::before {
  left: 1px;
  transform: rotate(31deg);
}

.envelope-icon::after {
  right: 1px;
  transform: rotate(-31deg);
}

.server-node {
  position: absolute;
  right: 18px;
  bottom: 17px;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 5px solid var(--paper);
  border-radius: 8px;
  background: var(--green);
  color: white;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
  font-size: 25px;
  font-weight: 900;
}

@keyframes deliver-mail {
  0% { left: 22px; transform: translateY(0) rotate(-3deg); opacity: 0; }
  8% { opacity: 1; }
  45% { transform: translateY(-42px) rotate(3deg); }
  82% { left: calc(100% - 126px); transform: translateY(0) rotate(-2deg); opacity: 1; }
  92%, 100% { left: calc(100% - 95px); transform: scale(.55); opacity: 0; }
}

@keyframes route-pulse {
  0%, 100% { opacity: .25; transform: scale(.8); }
  45% { opacity: 1; transform: scale(1); }
}

.instruction {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px 16px;
  margin: 28px 0;
  padding: 18px;
}

.waiting {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 20px;
}

.spinner {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 4px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

code {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.report-context {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.report-context div {
  min-width: 0;
}

.report-context span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-context strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.report-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.score-card {
  position: sticky;
  top: 18px;
  overflow: hidden;
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.score-card::before {
  display: block;
  width: calc(100% + 48px);
  height: 8px;
  margin: -24px -24px 20px;
  background: var(--green);
  content: "";
}

.score-card.medium::before {
  background: var(--amber);
}

.score-card.high::before,
.score-card.critical::before {
  background: var(--red);
}

.score-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.score-meter {
  display: grid;
  width: 144px;
  height: 144px;
  margin: 22px auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) var(--score-angle), #e1e6e2 0);
}

.score-card.medium .score-meter {
  background: conic-gradient(var(--amber) var(--score-angle), #e7e3da 0);
}

.score-card.high .score-meter,
.score-card.critical .score-meter {
  background: conic-gradient(var(--red) var(--score-angle), #eadfdd 0);
}

.score-meter > div {
  display: grid;
  width: 112px;
  height: 112px;
  place-content: center;
  border-radius: 50%;
  background: var(--paper);
}

.score-meter strong,
.score-meter span {
  display: block;
}

.score-meter strong {
  font-size: 42px;
  line-height: 1;
}

.score-meter span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.score-card h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.score-summary {
  margin: 10px 0 0;
  color: var(--soft-ink);
  font-size: 14px;
}

.recommendation {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: left;
}

.recommendation strong {
  font-size: 13px;
}

.recommendation p {
  margin: 6px 0 0;
  color: var(--soft-ink);
  font-size: 14px;
}

.report-main {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading .eyebrow {
  margin-bottom: 6px;
}

.count-badge {
  display: inline-grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.count-badge.neutral {
  background: var(--blue-soft);
  color: var(--blue);
}

.risk-finding {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
}

.risk-finding.high,
.risk-finding.critical {
  border-left-color: var(--red);
  background: #fffafa;
}

.risk-finding p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 15px;
}

.point-badge {
  align-self: start;
  white-space: nowrap;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.finding-details {
  margin-top: 12px;
}

.finding-details summary {
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.finding-details p {
  margin-top: 10px;
  font-size: 14px;
}

.quiet-result {
  border-left: 5px solid var(--green);
  border-radius: 8px;
  padding: 18px;
  background: var(--green-soft);
}

.quiet-result p {
  margin: 5px 0 0;
  color: var(--soft-ink);
}

.ai-summary {
  margin-top: 24px;
  border-left: 5px solid var(--blue);
  padding: 4px 0 4px 18px;
}

.ai-summary p:last-child {
  margin-bottom: 0;
  color: var(--soft-ink);
}

.technical-tree {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.technical-tree > summary {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  cursor: pointer;
  list-style: none;
}

.technical-tree > summary::-webkit-details-marker,
.technical-check > summary::-webkit-details-marker {
  display: none;
}

.technical-tree > summary strong,
.technical-tree > summary small {
  display: block;
}

.technical-tree > summary strong {
  font-size: 16px;
}

.technical-tree > summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.technical-tree > summary::after {
  order: 2;
  color: var(--blue);
  content: "+";
  font-size: 22px;
  font-weight: 500;
}

.technical-tree[open] > summary::after {
  content: "−";
}

.technical-tree > summary .count-badge {
  order: 1;
  margin-left: auto;
}

.technical-list {
  border-top: 1px solid var(--line);
}

.technical-check {
  border-bottom: 1px solid var(--line);
}

.technical-check:last-child {
  border-bottom: 0;
}

.technical-check > summary {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 10px 2px;
  cursor: pointer;
  list-style: none;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.technical-check.positive .status-dot {
  background: var(--green);
}

.technical-title {
  font-size: 14px;
  font-weight: 750;
}

.technical-status {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.technical-check.positive .technical-status {
  color: var(--green);
}

.technical-copy {
  padding: 0 2px 16px 31px;
}

.technical-copy p {
  margin: 0 0 8px;
  color: var(--soft-ink);
  font-size: 13px;
}

.nerd {
  overflow-wrap: anywhere;
  color: var(--muted) !important;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px !important;
}

.report-disclaimer {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.legal-page {
  max-width: 780px;
  padding-top: 36px;
}

.guide-hero,
.guide-page {
  max-width: 860px;
  padding-top: 36px;
}

.guide-hero h1,
.guide-page h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.02;
}

.guide-choice {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.guide-choice > a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 32px;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 28px 4px;
  text-decoration: none;
}

.guide-choice > a:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: var(--paper);
}

.guide-choice h2,
.guide-choice p {
  margin: 0;
}

.guide-choice h2 {
  margin-bottom: 6px;
}

.guide-choice p:not(.eyebrow) {
  color: var(--soft-ink);
}

.guide-number {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.guide-arrow {
  color: var(--blue);
  font-size: 26px;
}

.guide-safety {
  display: flex;
  gap: 10px 18px;
  margin-top: 38px;
  border-left: 5px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  background: var(--amber-soft);
  flex-wrap: wrap;
}

.guide-safety span {
  color: var(--soft-ink);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a,
.source-note a,
.guide-callout a {
  color: var(--blue);
  font-weight: 750;
}

.howto-steps {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.howto-steps > li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 26px 4px;
}

.howto-steps > li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.howto-steps h2,
.howto-steps p {
  margin: 0;
}

.howto-steps h2 {
  margin-bottom: 8px;
  font-size: 21px;
}

.howto-steps p {
  color: var(--soft-ink);
}

.subject-demo {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--paper);
}

.subject-demo small,
.subject-demo code {
  display: block;
}

.subject-demo small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.client-guides {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.client-guides details {
  border-bottom: 1px solid var(--line);
}

.client-guides summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 14px 4px;
  cursor: pointer;
}

.client-guides summary span {
  font-size: 20px;
  font-weight: 850;
}

.client-guides summary small {
  color: var(--muted);
}

.client-guides details > div {
  padding: 0 4px 24px;
}

.client-guides ol {
  margin: 0;
  padding-left: 24px;
}

.client-guides li {
  margin: 9px 0;
  padding-left: 5px;
  color: var(--soft-ink);
}

.guide-note {
  margin: 16px 0 0;
  border-left: 3px solid var(--blue);
  padding-left: 14px;
  color: var(--soft-ink);
  font-size: 14px;
}

.guide-callout {
  margin-top: 34px;
  border-radius: 8px;
  padding: 18px;
  background: var(--blue-soft);
}

.guide-callout p {
  margin: 6px 0 0;
  color: var(--soft-ink);
}

.guide-action {
  margin-top: 24px;
}

.source-note {
  margin-top: 42px;
  color: var(--muted);
  font-size: 12px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 21px;
}

.legal-page p:not(.eyebrow):not(.lead) {
  color: var(--soft-ink);
}

.legal-page a {
  color: var(--blue);
  font-weight: 750;
}

.legal-note {
  margin-top: 28px;
  border-left: 5px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  background: var(--amber-soft);
  line-height: 1.55;
}

.policy-date {
  margin-top: 36px;
  color: var(--muted) !important;
  font-size: 13px;
}

.site-footer {
  display: flex;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(22, 32, 28, 0.1);
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.creator-link img {
  width: 132px;
  height: auto;
  opacity: .86;
}

.creator-link:hover,
.footer-links a:hover {
  color: var(--ink);
}

.creator-link:hover img {
  opacity: 1;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.error {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .hero,
  .content-grid,
  .meta-grid,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .score-card {
    position: static;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0 22px;
    align-items: center;
    text-align: left;
  }

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

  .guide-strip > div {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
  }

  .guide-strip-link:first-of-type {
    border-left: 0;
  }

  .score-card::before,
  .score-label {
    grid-column: 1 / -1;
  }

  .score-meter {
    grid-row: span 3;
  }

  .recommendation {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .brand-logo { width: 156px; }
  .brand-meta small { display: none; }
  .site-header nav { gap: 12px; }
  .site-header nav a:first-child { display: none; }

  main {
    padding-top: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .send-title,
  .legal-page h1,
  .guide-page h1,
  .guide-hero h1 {
    font-size: 38px;
  }

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

  .guide-strip > div {
    grid-column: auto;
  }

  .guide-strip-link {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .guide-choice > a,
  .howto-steps > li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .guide-choice .guide-arrow {
    display: none;
  }

  .client-guides summary {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .send-detail-row {
    grid-template-columns: 1fr auto;
  }

  .send-detail-row > span {
    grid-column: 1 / -1;
  }

  .send-detail-row:not(.code-row) code {
    grid-column: 1 / -1;
  }

  .code-row code {
    font-size: 22px;
  }

  .copy-status {
    padding-left: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .report-context {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .score-card {
    display: block;
    text-align: center;
  }

  .recommendation {
    text-align: left;
  }

  .risk-finding {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .point-badge {
    justify-self: start;
  }

  .technical-tree > summary small {
    max-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .envelope-icon,
  .route-dots i,
  .spinner {
    animation: none;
  }

  .envelope-icon {
    left: calc(50% - 27px);
  }
}
