@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Outfit:wght@500;600;700&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --bg: #f6f5f0;
  --ink: #20211f;
  --muted: #5c5e57;
  --line: #d9d7ce;
  --card: #ffffff;
  --accent: #e5f75b;
  --warn: #f3e8a8;
  --danger: #f3d1c8;
  --shadow: 3px 3px 0 rgba(32, 33, 31, 0.9);
  --font: "IBM Plex Sans", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --display: "Space Grotesk", "IBM Plex Sans", "Noto Sans SC", sans-serif;
  /* Wordmark: round geometric counters to match symbol-a strokes */
  --brand: "Outfit", "Space Grotesk", "IBM Plex Sans", sans-serif;
  --max: 1100px;
  --page-max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(229, 247, 91, 0.38), transparent 55%),
    radial-gradient(720px 380px at 96% 0%, rgba(32, 33, 31, 0.07), transparent 52%),
    linear-gradient(180deg, #f8f7f2 0%, var(--bg) 42%, #f3f1ea 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
}
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 0.92rem; }

.topbar {
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 20;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(32, 33, 31, 0.18);
  box-shadow: 0 1px 0 rgba(32, 33, 31, 0.04);
  backdrop-filter: blur(8px);
}
.topbar-inner {
  width: min(var(--page-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.55rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-select {
  display: inline-flex;
  align-items: center;
}
.lang-select select {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  min-height: 2.75rem;
  cursor: pointer;
}
.lang-select select:focus {
  outline: 3px solid var(--accent);
}
.brand {
  --brand-mark-size: 36px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  min-height: 2.75rem;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: calc(var(--brand-mark-size) + 10px);
  height: calc(var(--brand-mark-size) + 10px);
  background: var(--accent);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.92);
  border-radius: 8px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.brand:hover .brand-badge,
.footer-brand:hover .brand-badge {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(32, 33, 31, 0.92);
}
.brand-mark,
.brand-logo {
  height: var(--brand-mark-size);
  width: var(--brand-mark-size);
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  border-radius: 6px;
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--brand);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  text-transform: lowercase;
  font-feature-settings: "ss01" 1, "kern" 1;
}
.bw-name {
  display: inline-flex;
  align-items: baseline;
}
.bw-micro,
.bw-icro,
.bw-valid {
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.045em;
}
.bw-micro {
  font-weight: 700;
}
.brand-text { white-space: nowrap; }
.pills { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}
.field-error {
  margin: 0.45rem 0 0;
  color: #9a3412;
  font-size: 0.88rem;
  font-weight: 700;
}
.privacy-note {
  margin: 0.55rem 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.45;
  max-width: 36rem;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.35rem 0 0.15rem;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
  line-height: 1.4;
}
.check-row input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #20211f;
}
.change-note {
  margin: 0.85rem 0;
  padding: 0.85rem 0.95rem;
  background: #fffcf7;
}
.change-note h3 { margin: 0 0 0.45rem; font-size: 0.95rem; }
.change-note p { margin: 0.25rem 0; font-size: 0.88rem; }
.challenge-block.compact { margin-top: 0.85rem; }
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.top-nav-link {
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--muted);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.top-nav-link:hover { color: var(--ink); }
.text-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 0.05rem;
}
.text-link:hover { border-bottom-color: var(--ink); }
.btn.soft {
  background: var(--card);
  border-color: var(--line);
  box-shadow: none;
  font-weight: 650;
  font-size: 0.86rem;
  padding: 0.5rem 0.85rem;
}
.evidence-note { margin: 0.65rem 0 0; }

/* ===== Homepage layout ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap.home-wrap {
  padding: 2.75rem 0 3.25rem;
  width: min(52rem, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.home-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.75rem;
  margin: 0 0 3.5rem;
  min-height: 0;
}
.home-hero-copy {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.home-hero-copy .status-row {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem;
}
.hero-tag,
.home-hero-copy .pill.soft {
  background: var(--accent);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(32, 33, 31, 0.85);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.7rem;
}
.home-hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.05rem, 4.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  font-weight: 700;
}
.hero-lead {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 30rem;
  font-weight: 500;
  line-height: 1.55;
}
.home-form.neo-panel,
.neo-panel {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: left;
  background: var(--card);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(32, 33, 31, 0.92);
  padding: 1.45rem 1.45rem 1.25rem;
  position: relative;
  z-index: 1;
}
.form-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.form-checklist {
  list-style: none;
  margin: 0 0 0.7rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
}
.form-checklist li {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--accent);
  border: 1.5px solid var(--ink);
  padding: 0.22rem 0.45rem;
  box-shadow: 1px 1px 0 rgba(32, 33, 31, 0.75);
}
.form-hint {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.4;
}
.home-form textarea {
  display: block;
  width: 100%;
  min-height: 7.5rem;
  height: auto;
  background: #fffcf7;
  font-size: 1.08rem;
  line-height: 1.55;
  padding: 1.05rem 1.1rem;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(32, 33, 31, 0.55);
  resize: vertical;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}
.home-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent), 2px 2px 0 rgba(32, 33, 31, 0.55);
}
.home-form textarea::placeholder {
  color: #8a8c84;
  font-weight: 500;
}
.form-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
}
.form-toolbar .inspire-row {
  margin-top: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.quota-inline {
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}
.form-footer .btn.primary {
  min-height: 3rem;
  padding: 0.75rem 1.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-width: 3px;
  box-shadow: 4px 4px 0 rgba(32, 33, 31, 0.92);
  margin-left: auto;
}
.form-footer .btn.primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(32, 33, 31, 0.92);
}
.trust-inline {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3f7d4e;
  line-height: 1.3;
  max-width: 18rem;
}
.trust-inline span[aria-hidden="true"] {
  flex: 0 0 auto;
  font-weight: 800;
}
.check-row-quiet {
  margin: 0.95rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.home-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 0.95rem;
}
.home-cta .btn.primary {
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  font-size: 1.02rem;
  box-shadow: 4px 4px 0 rgba(32, 33, 31, 0.92);
}
.home-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.55rem;
}

.home-steps {
  margin: 0 0 3.5rem;
  scroll-margin-top: 4.5rem;
  padding-top: 0.5rem;
  border-top: none;
}
.home-steps > h2 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
}
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}
.step-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
  min-height: 100%;
  padding: 1.05rem 1.1rem 1.15rem;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.75);
}
.step-card:nth-child(2) { background: #fffcf7; }
.step-card:nth-child(3) .step-num {
  background: var(--accent);
  color: var(--ink);
}
.step-num {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  flex: 0 0 auto;
  color: var(--accent);
  background: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.4rem 0.5rem;
}
.step-body { min-width: 0; }
.steps-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.steps-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}
.report-lang-note {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.25rem 0.45rem;
  background: #fffcf7;
}
.seed-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.75rem;
}
.seed-row .chip.seed {
  background: var(--accent);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
}
.seed-kw {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.feed-seed {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.feed-seed span {
  display: inline-block;
  margin-right: 0.25rem;
  padding: 0.1rem 0.35rem;
  border: 1.5px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
}
.next-action {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--accent);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.next-action h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.next-action p { margin: 0; font-weight: 700; font-size: 1.02rem; }
.dim.accent { background: #fffcf7; }
.dim.accent .dim-score { font-size: 1.55rem; }
.score-note {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  padding: 0.1rem 0.35rem;
  vertical-align: middle;
}

.section { scroll-margin-top: 4.5rem; }
details.advanced { margin-top: 0.5rem; }
details.advanced > summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
}
.pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border: 1.5px solid var(--ink);
  background: var(--accent);
}
.pill.soft { background: var(--card); font-weight: 600; }

.wrap {
  width: min(var(--page-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}
.hero { text-align: left; margin-bottom: 1.5rem; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}
.hero h1 .mark {
  background: var(--accent);
  border: 2px solid var(--ink);
  padding: 0 0.2em;
}
.hero p { margin: 0; color: var(--muted); max-width: 40rem; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.panel.hard {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.panel label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
textarea {
  width: 100%;
  min-height: 110px;
  border: 2px solid var(--ink);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1.02rem;
  background: #fffcf7;
  resize: vertical;
}
textarea:focus { outline: 3px solid var(--accent); }
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.9rem;
}
.hint { font-size: 0.86rem; font-weight: 600; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: var(--card);
  font: inherit;
  font-weight: 700;
  padding: 0.65rem 1rem;
  cursor: pointer;
  text-decoration: none;
}
.btn.primary { background: var(--accent); }
.btn:active { transform: translate(1px, 1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.inspire-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
  margin-top: 0.9rem;
}
.inspire-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
.inspire-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.inspire-pill {
  border: 1.5px solid var(--ink);
  background: var(--card);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  min-height: 2.35rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(32, 33, 31, 0.55);
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.inspire-pill:hover {
  background: #fffcf7;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.7);
}
.inspire-pill.on,
.inspire-pill:active {
  background: var(--accent);
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(32, 33, 31, 0.9);
}

.loading {
  text-align: center;
  padding: 1.5rem 1rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 700;
  margin-bottom: 1rem;
}
.spinner {
  width: 1.6rem;
  height: 1.6rem;
  border: 3px solid var(--ink);
  border-top-color: transparent;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.load-stages {
  list-style: none;
  margin: 1rem auto 0;
  padding: 0;
  max-width: 22rem;
  text-align: left;
}
.load-stages li {
  position: relative;
  padding: 0.35rem 0.35rem 0.35rem 1.6rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--muted);
  border-left: 2px solid var(--line);
  margin-left: 0.55rem;
}
.load-stages li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--ink);
  background: var(--card);
  border-radius: 50%;
}
.load-stages li.active {
  color: var(--ink);
  border-left-color: var(--accent);
}
.load-stages li.active::before {
  background: var(--accent);
}
.load-stages li.done {
  color: var(--ink);
}
.load-stages li.done::before {
  background: var(--ink);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.live-draft {
  margin: 1.1rem auto 0;
  max-width: 28rem;
  text-align: left;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  background: #fffcf7;
  padding: 0.9rem 1rem;
}
.live-draft-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.live-score {
  background: var(--accent);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.15rem 0.4rem;
  font-size: 0.85rem;
}
.live-title {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  min-height: 1.4em;
}
.live-judgment {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  min-height: 2.8em;
  white-space: pre-wrap;
}
.live-judgment.typewriter::after {
  content: "▍";
  animation: blink 1s step-end infinite;
  color: var(--ink);
}
@keyframes blink {
  50% { opacity: 0; }
}
.live-meta { margin: 0.5rem 0 0; font-size: 0.8rem; }

.codebox {
  margin-top: 0.75rem;
  border: 2px solid var(--ink);
  background: #1e1f1c;
  color: #f3f4ef;
  padding: 0.85rem;
  overflow: auto;
  max-height: 360px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  line-height: 1.45;
  white-space: pre;
}
.codegen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.sc-foot {
  align-items: flex-end;
}
.sc-qr {
  position: relative;
  width: 72px;
  height: 72px;
  border: 2px solid currentColor;
  background: #fff;
  padding: 3px;
  flex: 0 0 auto;
}
.sc-qr > canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.share-card.theme-ink .sc-qr {
  border-color: #f6f5f0;
}
.share-card.ratio-og .sc-qr {
  width: 56px;
  height: 56px;
}
.share-card.ratio-square .sc-qr {
  width: 64px;
  height: 64px;
}

.cards-2, .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.soft-card, .feature-grid article, .scan-card, .meta-tile {
  background: var(--card);
  border: 1.5px solid var(--line);
  padding: 1rem 1.05rem;
}
.soft-card.hard, .scan-card.hard, .meta-tile.hard {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.soft-card.accent {
  background: var(--accent);
}
.soft-card h3, .feature-grid h3, .scan-card h3, .meta-tile h3 {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.soft-card p, .feature-grid p, .scan-card p, .meta-tile p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink);
}
.feature-grid article {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  background: #fffcf7;
}
.feature-grid h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.scan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.85rem 0;
}
.scan-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.scan-card.accent,
.meta-tile.accent {
  background: var(--accent);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.meta-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topic-chips li {
  border: 1.5px solid var(--ink);
  background: #fffcf7;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 650;
  max-width: 100%;
}
.tasks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.exp-card {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--card);
  padding: 1rem 1.05rem 1.05rem;
}
.exp-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.exp-step {
  flex: 0 0 auto;
  min-width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--accent);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(32, 33, 31, 0.85);
}
.exp-task {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.exp-meta {
  display: grid;
  gap: 0.45rem;
}
.exp-row {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0.65rem;
  background: #fffcf7;
  border: 1px solid var(--line);
}
.exp-row.observe { border-left: 3px solid #5c6bc0; }
.exp-row.go { border-left: 3px solid #3f7d4e; }
.exp-row.stop { border-left: 3px solid #9a3412; }
.exp-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.1rem;
}
.exp-row p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.45;
  color: var(--ink);
}
@media (max-width: 640px) {
  .exp-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.feed-section {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: none;
  scroll-margin-top: 4.5rem;
}
.home-section-title {
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.feed-head h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.feed-head .section-lead { margin: 0; max-width: 36rem; }
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.feed-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.78);
  padding: 0.95rem 1rem 1.05rem;
  min-width: 0;
}
.feed-card.compact {
  padding: 0.8rem 0.85rem 0.9rem;
  gap: 0.45rem;
}
.feed-card.compact .feed-judgment {
  -webkit-line-clamp: 2;
  font-size: 0.84rem;
}
.feed-card.compact .feed-next {
  display: none;
}
.feed-card.compact h3 {
  font-size: 0.95rem;
}
.feed-card.featured {
  grid-column: auto;
  background: #fffcf7;
}
.feed-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.feed-score {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  background: var(--ink);
  color: var(--accent);
  border: 2px solid var(--ink);
  padding: 0.3rem 0.5rem;
  line-height: 1;
}
.feed-score strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.feed-score .score-den {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
}
.feed-score em {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 700;
  color: #f6f5f0;
  opacity: 0.78;
}
.feed-card .chip {
  font-size: 0.7rem;
  font-weight: 650;
  border: 1.5px solid var(--line);
  background: #fffcf7;
  padding: 0.2rem 0.4rem;
  color: var(--muted);
}
.feed-status li.on {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}
.feed-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.feed-card h3 a {
  text-decoration: none;
}
.feed-card h3 a:hover { text-decoration: underline; }
.feed-judgment {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feed-status li {
  font-size: 0.74rem;
  font-weight: 650;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.18rem 0.4rem;
  background: #fffcf7;
}
.feed-next {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.feed-next b { color: var(--ink); }
.feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.55rem;
  border-top: 2px solid var(--ink);
}
.feed-card.compact .feed-actions {
  gap: 0.25rem;
  padding-top: 0.4rem;
}
.feed-actions .btn {
  padding: 0.35rem 0.55rem;
  font-size: 0.76rem;
  border-width: 1.5px;
  box-shadow: none;
}
.feed-card.compact .feed-actions .btn {
  font-size: 0.7rem;
  padding: 0.28rem 0.4rem;
}
.feed-actions .btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
  padding-left: 0;
}
.feed-actions .btn.ghost:hover { color: var(--ink); }
.feed-actions .btn.on {
  background: var(--accent);
  border-color: var(--ink);
}
.feed-actions .text-link,
.feed-actions .btn.feed-open {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--accent);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(32, 33, 31, 0.75);
  padding: 0.4rem 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.feed-actions .text-link:hover,
.feed-actions .btn.feed-open:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.85);
}
.feed-comments {
  border-top: 1px dashed var(--line);
  padding-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.feed-comments.hidden { display: none; }
.feed-comment {
  font-size: 0.84rem;
  background: #fffcf7;
  border: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
}
.feed-comment b { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 0.15rem; }
.feed-comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
}
.feed-comment-form input {
  border: 1.5px solid var(--ink);
  background: var(--card);
  font: inherit;
  padding: 0.45rem 0.55rem;
}
.feed-empty { margin: 0.75rem 0 0; }

.footer,
.site-footer {
  margin-top: auto;
  border-top: 3px solid var(--ink);
  background: var(--card);
  text-align: center;
  padding: 2rem 0 2.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.footer-inner {
  width: min(var(--page-max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
}
/* Same lockup rules as .brand — only size tokens differ */
.footer-brand {
  --brand-mark-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.footer-brand .brand-badge {
  width: calc(var(--brand-mark-size) + 8px);
  height: calc(var(--brand-mark-size) + 8px);
  border-width: 2px;
  box-shadow: 2px 2px 0 rgba(32, 33, 31, 0.9);
  border-radius: 6px;
}
.footer-brand:hover .brand-badge {
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.9);
}
.footer-brand .brand-word {
  font-size: 1.2rem;
  gap: 0.28rem;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border: 2px solid var(--ink);
  background: var(--bg);
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.75);
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--ink);
  border: 1.5px solid transparent;
  text-decoration: none;
  transition:
    background 0.12s ease,
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.footer-social-btn:hover {
  background: var(--accent);
  border-color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 rgba(32, 33, 31, 0.75);
}
.footer-social-btn svg {
  display: block;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  font-family: var(--brand);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 0.05rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.footer-sep {
  color: color-mix(in srgb, var(--ink) 28%, transparent);
  user-select: none;
}
.footer-bound {
  margin: 0;
  font-family: var(--brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.45;
  max-width: 28rem;
  text-align: center;
  white-space: normal;
}

.legal-wrap {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: center;
}
.legal-card {
  background: var(--card);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(32, 33, 31, 0.88);
  padding: 1.5rem 1.5rem 1.75rem;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
}
.legal-card h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.legal-updated { margin: 0 0 1.25rem; font-size: 0.82rem; font-weight: 650; }
.legal-card section { margin: 0 0 1.15rem; }
.legal-card h2 {
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
}
.legal-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 860px) {
  .legal-card { padding: 1.2rem 1.15rem 1.35rem; }
}

.home-faq {
  margin: 2.5rem 0 1rem;
}
.home-faq .faq-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}
.faq-item {
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.75);
  padding: 0.85rem 1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 750;
  font-size: 0.98rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 500;
}
.faq-more {
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: center;
}
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.guide-toc a {
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  padding: 0.25rem 0.55rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--accent, #d8f34a);
}
.guide-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.legal-card ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}
.legal-card li {
  margin: 0.25rem 0;
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 500;
}

/* ===== Report layout ===== */
.report-shell {
  width: min(var(--page-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 5rem;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.toc {
  position: sticky;
  top: 4.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.toc-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.toc a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.4rem;
  border-left: 2px solid transparent;
}
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.report-shell[data-report-view="core"] .toc a {
  font-weight: 750;
  color: var(--ink);
}

.report-main { min-width: 0; }
.report-view-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.report-view-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.report-view-tabs {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.report-view-tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin: 0;
  padding: 0.2rem 0.15rem 0.35rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
}
.report-view-tab + .report-view-tab {
  margin-left: 0.85rem;
}
.report-view-tab:hover { color: var(--ink); }
.report-view-tab.is-active {
  color: var(--ink);
  font-weight: 800;
  background: transparent;
  border-bottom-color: var(--ink);
  box-shadow: none;
}
.report-shell[data-report-view="core"] .section[data-view="full"] {
  display: none !important;
}
.report-shell[data-report-view="core"] .view-only-full,
.report-shell[data-report-view="full"] .view-only-core {
  display: none !important;
}
.section {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
}
.section h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  line-height: 1.2;
  margin: 0.35rem 0 1rem;
  letter-spacing: -0.02em;
}
.section h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}
.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-lead { color: var(--muted); margin: 0 0 0.9rem; }
.subh { font-size: 0.95rem; margin: 1rem 0 0.4rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.9fr);
  gap: 1.1rem;
}
.lede {
  font-size: 1.12rem;
  font-weight: 650;
  margin: 0 0 0.9rem;
}
.key-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.key-lines li {
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
  font-size: 0.95rem;
}
.key-lines span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.dim-cards { display: flex; flex-direction: column; gap: 0.65rem; }
.dim {
  padding: 0.85rem 0.9rem;
  background: #fffcf7;
}
.dim.hard {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.dim.accent { background: var(--accent); }
.dim-label { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.dim-value { font-family: var(--display); font-size: 1.25rem; font-weight: 700; margin: 0.2rem 0; }
.dim-score {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.2rem 0;
}
.dim-score span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.dim p { margin: 0; font-size: 0.8rem; color: var(--muted); }

.hard {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.hard-soft {
  border: 1px solid var(--line);
  background: #fffcf7;
}

.rationale { margin-top: 0.9rem; font-size: 0.92rem; }
.rationale summary { cursor: pointer; font-weight: 700; }
.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  padding: 0.2rem 0.45rem;
  background: var(--card);
}
.chip.warn { background: var(--warn); }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}
.chart-pane { padding: 0.9rem; background: #fffcf7; }
.spark { width: 100%; height: auto; display: block; }
.meta-line {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.6rem 0 0;
  word-break: break-word;
}
.evidence-notes { display: flex; flex-direction: column; gap: 0.7rem; }
.evidence-notes h4 { margin: 0 0 0.25rem; font-size: 0.88rem; }
.evidence-notes p { margin: 0; font-size: 0.9rem; }
.empty-evidence { padding: 1rem; background: #fffcf7; }

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--ink);
  background: var(--card);
  padding: 0.35rem 0.55rem;
  font: inherit;
  cursor: pointer;
}
.tag em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 0.4rem;
}

.bullets { margin: 0.25rem 0 0 1.1rem; padding: 0; }
.bullets li { margin: 0.25rem 0; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.tier-card h3 { font-size: 0.82rem; margin: 0 0 0.35rem; }
.challenge-block { margin-top: 0.85rem; }
.challenge-lines { margin-top: 0.35rem; }
.gaps-panel {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  background: #fffcf7;
}
.gaps-panel h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.gap-item {
  margin: 0.65rem 0;
  padding: 0.75rem;
}
.gap-item legend {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0 0.25rem;
}
.gap-answer-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0.45rem 0 0.25rem;
}
.gap-answer {
  width: 100%;
  min-height: 3.2rem;
  border: 1.5px solid var(--ink);
  background: var(--card);
  font: inherit;
  padding: 0.45rem 0.55rem;
  resize: vertical;
}
.method-note { margin-top: 0.85rem; font-size: 0.78rem; }
.field-error {
  color: #9b1c1c;
  font-size: 0.88rem;
  font-weight: 650;
  margin: 0.45rem 0 0;
}
.field-error.hidden { display: none; }

/* Share: caption + platforms + story poster */
.share-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 1.1rem;
  align-items: start;
}
.share-compose {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.share-caption-label,
.share-platforms-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.share-caption {
  width: 100%;
  min-height: 7.5rem;
  resize: vertical;
  box-sizing: border-box;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--ink);
  background: var(--card);
  color: var(--ink);
}
.share-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.share-plat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}
.share-plat:hover { background: var(--accent); }
.share-plat:disabled {
  opacity: 0.55;
  cursor: wait;
}
.share-plat-ico {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.share-plat-ico svg { display: block; }
.toast {
  display: inline-block;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent);
  border: 1.5px solid var(--ink);
  padding: 0.3rem 0.55rem;
}

.preview-frame {
  overflow: hidden;
  border: 1px dashed var(--line);
  background: #ebe8df;
  padding: 0.75rem;
  display: flex;
  justify-content: center;
}
.preview-scaler {
  transform-origin: top center;
}

.share-card {
  width: 360px;
  height: 480px;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--display);
  overflow: hidden;
  box-sizing: border-box;
}
.share-card.ratio-square { width: 360px; height: 360px; }
.share-card.ratio-og {
  width: 480px;
  height: 252px;
  gap: 0.35rem;
  padding: 0.75rem 0.9rem;
  overflow: hidden;
}
/* Landscape: brand + title + judgment + next + score/QR only */
.share-card.ratio-og .sc-grid > div:not(.sc-next) { display: none; }
.share-card.ratio-og .sc-next { grid-column: 1 / -1; }
.share-card.ratio-og .sc-evidence { display: none; }
.share-card.ratio-og .sc-judge {
  align-items: center;
}
.share-card.ratio-og .sc-score {
  font-size: 0.95rem;
  padding: 0.25rem 0.4rem;
}
.share-card.ratio-og .sc-score .score-note {
  display: inline;
  font-size: 0.62rem;
}
.share-card.ratio-story { width: 360px; height: 480px; }

.share-card .sc-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.share-card .sc-judge p,
.share-card .sc-grid p,
.share-card .sc-evidence {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.share-card.ratio-og .sc-title {
  -webkit-line-clamp: 2;
  font-size: 1.05rem;
  flex: 0 0 auto;
  overflow: hidden;
}
.share-card.ratio-og .sc-judge p { -webkit-line-clamp: 2; font-size: 0.8rem; }

/* Square: keep judgment + one next action */
.share-card.ratio-square .sc-grid > div:not(.sc-next) { display: none; }
.share-card.ratio-square .sc-next { grid-column: 1 / -1; }
.share-card.ratio-square .sc-evidence { display: none; }

.share-card.theme-paper {
  background: #f6f5f0;
  color: #20211f;
}
.share-card.theme-ink {
  background: #20211f;
  color: #f6f5f0;
}
.share-card.theme-ink .sc-score {
  background: #e5f75b;
  color: #20211f;
}
.share-card.theme-ink .sc-grid,
.share-card.theme-ink .sc-foot {
  border-color: rgba(246, 245, 240, 0.25);
}

.sc-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
}
.sc-brand-lockup {
  --brand-mark-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.sc-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--brand-mark-size) + 6px);
  height: calc(var(--brand-mark-size) + 6px);
  background: var(--accent);
  border: 1.5px solid currentColor;
  box-shadow: 2px 2px 0 currentColor;
  border-radius: 4px;
  flex: 0 0 auto;
}
.sc-brand-mark {
  width: var(--brand-mark-size);
  height: var(--brand-mark-size);
  object-fit: contain;
  border-radius: 3px;
  flex: 0 0 auto;
}
.sc-brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  line-height: 1;
}
.sc-brand-word .bw-icro,
.sc-brand-word .bw-micro,
.sc-brand-word .bw-valid {
  font-weight: 800;
  color: inherit;
  opacity: 1;
}
.sc-brand-word .bw-micro { font-weight: 700; }
.share-card.theme-ink .sc-brand-badge {
  background: var(--accent);
  border-color: #f6f5f0;
  box-shadow: 2px 2px 0 #f6f5f0;
}
.sc-sub { opacity: 0.75; }
.sc-title {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}
.sc-judge { display: flex; gap: 0.7rem; align-items: flex-start; }
.sc-score {
  flex: 0 0 auto;
  background: #e5f75b;
  color: #20211f;
  border: 2px solid #20211f;
  font-size: 1.4rem;
  font-weight: 800;
  padding: 0.35rem 0.5rem;
  line-height: 1;
}
.sc-judge p { margin: 0; font-size: 0.92rem; font-weight: 650; }
.sc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  border-top: 2px solid var(--ink);
  padding-top: 0.65rem;
  font-family: var(--font);
}
.sc-grid b { display: block; font-size: 0.7rem; margin-bottom: 0.15rem; }
.sc-grid p { margin: 0; font-size: 0.78rem; font-weight: 600; }
.sc-next { grid-column: 1 / -1; }
.share-card.ratio-og .sc-grid { grid-template-columns: 1fr; }
.sc-evidence {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.45rem 0.55rem;
  border: 1.5px dashed currentColor;
  opacity: 0.9;
}
.sc-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 2px solid var(--ink);
  padding-top: 0.55rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
}

.mobile-share-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(246, 245, 240, 0.94);
  border-top: 1px solid var(--line);
  z-index: 30;
}
.mobile-share-bar .btn { width: 100%; }

@media (max-width: 960px) {
  .home-hero { margin-bottom: 2.25rem; }
  .steps-list { grid-template-columns: 1fr; gap: 0.85rem; }
  .home-steps { margin-bottom: 2.25rem; }
  .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .report-shell { grid-template-columns: 1fr; }
  .share-layout {
    grid-template-columns: 1fr;
  }
  .preview-frame {
    max-width: 18rem;
    margin-inline: auto;
  }
  .brand { --brand-mark-size: 30px; gap: 0.5rem; min-height: 2.5rem; }
  .brand-word { font-size: 1.25rem; letter-spacing: -0.04em; }
  .brand-badge { border-radius: 7px; }
  .topbar-inner {
    padding: 0.4rem 0;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .topbar-actions {
    gap: 0.4rem;
    flex-wrap: nowrap;
    flex: 0 0 auto;
  }
  .top-nav { gap: 0.45rem; }
  .top-nav-link {
    font-size: 0.8rem;
    min-height: 2.4rem;
  }
  .top-nav-link[href="#how"] { display: none; }
  .lang-select select {
    min-height: 2.4rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
  }
  .toc {
    position: static;
    gap: 0.4rem;
    padding-bottom: 0.25rem;
  }
  .toc-links {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.25rem;
  }
  .toc a {
    white-space: nowrap;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    padding: 0.35rem 0.55rem;
    background: var(--card);
  }
  .report-view-bar {
    gap: 0.4rem 0.75rem;
  }
  .hero-grid,
  .evidence-grid,
  .cards-2,
  .cards-3,
  .feature-grid,
  .scan-grid,
  .scan-grid.cols-3,
  .meta-tiles {
    grid-template-columns: 1fr;
  }
  .cta-group { width: 100%; }
  .cta-group .btn { flex: 1 1 auto; }
  .mobile-share-bar { display: block; }
  .report-page { padding-bottom: 4.5rem; }
  .section { scroll-margin-top: 3.6rem; }
  .home-hero-copy h1 { font-size: clamp(1.7rem, 7vw, 2.05rem); }
  .wrap.home-wrap { padding: 1.35rem 0 2.25rem; width: min(52rem, calc(100% - 1.25rem)); }
  .home-form.neo-panel { padding: 1.15rem 1.05rem 1.05rem; }
  .home-hero { gap: 1.35rem; margin-bottom: 2.5rem; }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .form-footer .btn.primary {
    width: 100%;
    margin-left: 0;
    min-height: 3.1rem;
    font-size: 1.05rem;
  }
  .form-toolbar { align-items: flex-start; }
  .home-form textarea {
    min-height: 120px;
    font-size: 1.05rem;
    padding: 1rem 1.05rem;
  }
  .check-row {
    min-height: 2.5rem;
    align-items: center;
  }
  .inspire-pill { min-height: 2.5rem; padding: 0.45rem 0.8rem; font-size: 0.8rem; }
  .footer-bound {
    white-space: normal;
    text-align: center;
  }
  .home-hero-copy { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
  .home-hero-copy .status-row { justify-content: flex-start; }
  .hero-lead { margin-left: 0; margin-right: 0; max-width: none; }
  .form-footer .btn.primary { margin-left: 0; width: 100%; }
}

@media (max-width: 640px) {
  .feed-grid { grid-template-columns: 1fr; }
  .explore-filters { flex-direction: column; align-items: stretch; }
  .explore-field { width: 100%; }
  .explore-field input,
  .explore-field select { width: 100%; }
}

@media (max-width: 420px) {
  .brand { --brand-mark-size: 28px; gap: 0.4rem; }
  .brand-word { font-size: 1.1rem; }
  .top-nav-link { font-size: 0.75rem; }
  .lang-select select { font-size: 0.75rem; padding: 0.3rem 0.4rem; }
}

@media (max-width: 720px) {
  .preview-frame { padding: 0.75rem; }
}

/* Explore list */
.explore-wrap {
  padding: 1.5rem 0 3rem;
  max-width: 1120px;
  margin: 0 auto;
}
.explore-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.explore-head h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.explore-head .section-lead { margin: 0; max-width: 36rem; }
.explore-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(32, 33, 31, 0.7);
}
.explore-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.explore-field input,
.explore-field select {
  min-height: 2.4rem;
  padding: 0.4rem 0.65rem;
  border: 1.5px solid var(--ink);
  background: #fffcf7;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  min-width: 9rem;
}
.explore-field input[type="search"] { min-width: 14rem; }
.explore-grid { margin-top: 0.25rem; }
