:root {
  color-scheme: light;
  --ink: #29374f;
  --ink-soft: #667186;
  --paper: #fffef9;
  --canvas: #f1eee6;
  --line: #d7d2c6;
  --coral: #e8785e;
  --coral-soft: #ffd9ce;
  --mint: #60a899;
  --mint-soft: #d9eee8;
  --yellow: #efb73f;
  --shadow: 0 24px 70px rgb(41 55 79 / 0.13);
  font-family: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-synthesis: none;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgb(41 55 79 / 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgb(41 55 79 / 0.028) 1px, transparent 1px),
    radial-gradient(circle at 10% 0%, rgb(255 217 206 / 0.5), transparent 28rem), var(--canvas);
  background-size:
    26px 26px,
    26px 26px,
    auto,
    auto;
}

button,
input {
  color: inherit;
  font: inherit;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  background: white;
  left: 1rem;
  padding: 0.6rem 1rem;
  position: fixed;
  top: -4rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
body > footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: 1200px;
  padding: 1.35rem 2rem;
}

.site-header {
  position: relative;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.65rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.brand-mark {
  height: 2rem;
  position: relative;
  width: 2.1rem;
}

.brand-mark i,
.brand-mark b,
.brand-mark em {
  background: var(--paper);
  border: 1px solid var(--ink);
  display: block;
  height: 1.5rem;
  position: absolute;
  top: 0.2rem;
  width: 1.15rem;
}

.brand-mark i {
  left: 0;
  transform: rotate(-7deg);
}

.brand-mark b {
  background: var(--coral-soft);
  left: 0.48rem;
  top: 0.38rem;
  transform: rotate(3deg);
}

.brand-mark em {
  background: var(--mint-soft);
  left: 0.95rem;
  top: 0.52rem;
  transform: rotate(9deg);
}

.site-header nav,
body > footer nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

.site-header nav a,
body > footer a {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-button {
  border: 1px solid rgb(41 55 79 / 0.35);
  padding: 0.5rem 0.9rem;
}

.nav-button:hover {
  background: var(--ink);
  color: white;
}

main {
  overflow: hidden;
}

.unravel-stage {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(17rem, 1fr) minmax(10rem, 0.65fr) minmax(17rem, 1fr);
  margin: 2.5rem auto 6rem;
  max-width: 1160px;
  min-height: 520px;
  padding: 3rem 2rem 4rem;
  position: relative;
}

.unravel-stage::before {
  background: radial-gradient(circle, rgb(255 255 255 / 0.7), transparent 68%);
  content: "";
  height: 44rem;
  left: 50%;
  position: absolute;
  top: 47%;
  transform: translate(-50%, -50%);
  width: 62rem;
}

.site-card,
.thread-bridge,
.stage-caption {
  position: relative;
  z-index: 1;
}

.site-card {
  aspect-ratio: 0.85;
  box-shadow: var(--shadow);
  max-width: 22rem;
  width: 100%;
}

.before-site {
  background: #eef0ef;
  border: 1px solid #b8bfbd;
  justify-self: end;
  transform: rotate(-1.7deg);
}

.browser-bar {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  gap: 0.3rem;
  height: 2.3rem;
  padding: 0 0.7rem;
}

.browser-bar i {
  background: rgb(255 255 255 / 0.4);
  border-radius: 50%;
  height: 0.35rem;
  width: 0.35rem;
}

.browser-bar span {
  color: rgb(255 255 255 / 0.55);
  font-size: 0.46rem;
  margin-left: 0.4rem;
}

.before-canvas {
  background: linear-gradient(rgb(41 55 79 / 0.04) 1px, transparent 1px), var(--paper);
  background-size: 100% 2rem;
  inset: 2.3rem 0 0;
  padding: 2rem;
  position: absolute;
}

.old-nav {
  background: var(--ink);
  display: block;
  height: 0.35rem;
  margin-bottom: 2.8rem;
  width: 55%;
}

.before-canvas strong {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.before-canvas > p {
  background: #cfd4d1;
  height: 0.35rem;
  margin: 1.2rem 0 0;
  width: 78%;
}

.before-canvas > p + p {
  margin-top: 0.55rem;
  width: 52%;
}

.old-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
}

.old-grid i {
  background: linear-gradient(135deg, #cad1ce 50%, #e1e5e2 50%);
  height: 5.5rem;
}

.old-social {
  border-top: 1px solid var(--line);
  bottom: 1.2rem;
  display: flex;
  gap: 0.6rem;
  left: 2rem;
  padding-top: 0.8rem;
  position: absolute;
  right: 2rem;
}

.old-social i {
  border: 1px solid #aeb5b2;
  color: #7e8985;
  display: grid;
  font-size: 0.45rem;
  font-style: normal;
  height: 1.6rem;
  place-items: center;
  width: 1.6rem;
}

.loose-thread {
  border-top: 2px dashed var(--coral);
  height: 3rem;
  position: absolute;
  right: -4.4rem;
  width: 5rem;
}

.loose-thread::before {
  background: var(--paper);
  border: 2px solid var(--coral);
  border-radius: 50%;
  content: "";
  height: 0.45rem;
  left: -0.2rem;
  position: absolute;
  top: -0.3rem;
  width: 0.45rem;
}

.loose-thread.t1 {
  top: 27%;
  transform: rotate(8deg);
}

.loose-thread.t2 {
  border-color: var(--mint);
  top: 49%;
  transform: rotate(-5deg);
}

.loose-thread.t2::before {
  border-color: var(--mint);
}

.loose-thread.t3 {
  border-color: var(--yellow);
  top: 69%;
  transform: rotate(5deg);
}

.loose-thread.t3::before {
  border-color: var(--yellow);
}

.thread-bridge {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thread-bridge svg {
  overflow: visible;
  width: 130%;
}

.thread-bridge .thread {
  fill: none;
  stroke: var(--coral);
  stroke-dasharray: 5 6;
  stroke-width: 2;
}

.thread-bridge .thread.two {
  stroke: var(--mint);
}

.thread-bridge .thread.three {
  stroke: var(--yellow);
}

.thread-bridge circle {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2;
}

.thread-bridge .scissor {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 5;
}

.thread-bridge .handle {
  fill: none;
}

.thread-bridge > span {
  color: var(--coral);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.thread-bridge > b {
  font-family: "Yu Mincho", serif;
  font-size: 1rem;
  margin: 0.25rem 0;
}

.thread-bridge > small {
  color: var(--ink-soft);
  font-size: 0.55rem;
}

.after-site {
  background: var(--paper);
  border: 1px solid var(--line);
  justify-self: start;
  padding: 1.5rem;
  transform: rotate(1.2deg);
}

.draft-label {
  align-items: baseline;
  background: var(--mint-soft);
  display: flex;
  justify-content: space-between;
  left: -0.6rem;
  padding: 0.45rem 0.7rem;
  position: absolute;
  right: -0.6rem;
  top: 1rem;
}

.draft-label span {
  color: #39776a;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.draft-label b {
  font-size: 0.62rem;
}

.after-site > header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.55rem;
  margin-top: 2.5rem;
  padding-bottom: 0.7rem;
}

.after-site > header i {
  background: var(--coral);
  height: 0.75rem;
  transform: rotate(45deg);
  width: 0.75rem;
}

.after-site > header span {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.after-hero {
  padding: 2.2rem 0 1.7rem;
}

.after-hero small {
  color: var(--coral);
  display: block;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
}

.after-hero strong {
  font-family: "Yu Mincho", serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.6;
}

.after-sections {
  border-top: 1px solid var(--line);
}

.after-sections article {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.7rem;
  padding: 0.75rem 0;
}

.after-sections span {
  color: var(--coral);
  font-size: 0.48rem;
  font-weight: 800;
}

.after-sections b {
  font-size: 0.65rem;
}

.after-site > footer {
  display: flex;
  gap: 0.4rem;
  padding-top: 1.4rem;
}

.after-site > footer i {
  background: var(--ink);
  border-radius: 50%;
  height: 0.55rem;
  width: 0.55rem;
}

.stage-caption {
  bottom: -1.2rem;
  left: 2rem;
  position: absolute;
}

.stage-caption.right {
  left: auto;
  right: 2rem;
  text-align: right;
}

.stage-caption span {
  color: var(--ink-soft);
  display: block;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.stage-caption b {
  font-family: "Yu Mincho", serif;
  font-size: 0.8rem;
}

.inspect-shell {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 5rem;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(4rem, 8vw, 7rem) max(2rem, calc((100vw - 1080px) / 2));
}

.inspect-intro {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.eyebrow {
  color: var(--coral);
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.inspect-intro h1,
.guide-board h1,
.prose h1,
.not-found h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.7rem, 2.7vw, 2rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0.9rem 0 1.2rem;
}

.inspect-intro > p {
  color: rgb(255 255 255 / 0.7);
  font-size: 0.84rem;
  max-width: 29rem;
}

.inspect-intro dl {
  border-top: 1px solid rgb(255 255 255 / 0.16);
  margin: 2.5rem 0 0;
}

.inspect-intro dl div {
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
  display: flex;
  gap: 1rem;
  padding: 0.95rem 0;
}

.inspect-intro dt {
  color: var(--coral);
  font-size: 0.62rem;
  font-weight: 800;
}

.inspect-intro dd {
  color: rgb(255 255 255 / 0.76);
  font-size: 0.75rem;
  margin: 0;
}

.inspect-form {
  background: var(--paper);
  box-shadow: 14px 16px 0 rgb(10 18 32 / 0.42);
  color: var(--ink);
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.inspect-form::before {
  background: repeating-linear-gradient(
    90deg,
    var(--coral) 0 2.2rem,
    var(--mint) 2.2rem 4.4rem,
    var(--yellow) 4.4rem 6.6rem
  );
  content: "";
  height: 0.38rem;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.inspect-form > header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
}

.inspect-form header small {
  color: var(--ink-soft);
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.inspect-form h2 {
  font-family: "Yu Mincho", serif;
  font-size: 1.2rem;
  margin: 0.15rem 0 0;
}

.spool-icon {
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  height: 3rem;
  place-items: center;
  position: relative;
  width: 3rem;
}

.spool-icon i {
  border: 4px solid var(--coral);
  border-radius: 50%;
  height: 1.35rem;
  width: 1.35rem;
}

.spool-icon b {
  border-top: 1px dashed var(--coral);
  left: 2.1rem;
  position: absolute;
  top: 1.4rem;
  width: 1rem;
}

.field {
  display: block;
  margin-bottom: 1.3rem;
}

.field > span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.field > small {
  color: var(--ink-soft);
  display: block;
  font-size: 0.62rem;
  margin-top: 0.5rem;
}

.url-field {
  align-items: stretch;
  border: 1px solid #c8c6bd;
  display: flex;
}

.url-field:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgb(41 55 79 / 0.1);
}

.url-field > span {
  align-items: center;
  background: #ebe8df;
  color: var(--ink-soft);
  display: flex;
  font-size: 0.72rem;
  padding: 0 0.7rem;
}

.url-field input {
  background: #faf9f4;
  border: 0;
  min-width: 0;
  outline: 0;
  padding: 0.8rem 0.7rem;
  width: 100%;
}

.ownership-check {
  align-items: start;
  background: #f3f0e8;
  cursor: pointer;
  display: flex;
  font-size: 0.7rem;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem;
}

.ownership-check input {
  accent-color: var(--coral);
  margin-top: 0.25rem;
}

.honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.6rem 0.95rem;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
  color: white;
  min-height: 3.25rem;
  width: 100%;
}

.button.primary:disabled {
  filter: grayscale(1);
  opacity: 0.65;
}

.sample-button {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  display: block;
  font-size: 0.66rem;
  margin: 0.85rem auto 0;
  padding: 0.3rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.sample-button:hover {
  color: var(--coral-dark);
}

.button.compact {
  min-height: 2.2rem;
  padding: 0.42rem 0.75rem;
}

.button.accent {
  background: var(--mint);
  border-color: var(--mint);
  color: white;
}

.action-status {
  font-size: 0.72rem;
  min-height: 1.4rem;
}

.action-status[data-state="error"] {
  color: #b3483c;
}

.action-status[data-state="success"] {
  color: #39776a;
}

.inspect-form > footer {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.inspect-form > footer span {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.55rem;
  padding: 0.22rem 0.45rem;
}

.result-shell {
  margin: 0 auto;
  max-width: 1160px;
  padding: 6rem 2rem;
}

.result-header {
  align-items: end;
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
}

.result-header h2 {
  font-family: "Yu Mincho", serif;
  font-size: 1.65rem;
  margin: 0.35rem 0 0;
}

.result-header p {
  color: var(--ink-soft);
  font-size: 0.7rem;
  margin: 0.25rem 0 0;
}

.result-actions {
  display: flex;
  gap: 0.65rem;
}

.result-board {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr 0.8fr;
}

.map-panel,
.content-panel,
.check-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 25rem;
  padding: 1.3rem;
}

.map-panel > header,
.content-panel > header,
.check-panel > header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
}

.map-panel header span,
.content-panel header span,
.check-panel header span {
  color: var(--ink-soft);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.map-panel header strong,
.content-panel header strong,
.check-panel header strong {
  font-size: 0.65rem;
}

.map-root {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
  position: relative;
}

.map-root::after {
  border-left: 1px dashed var(--ink-soft);
  bottom: -1.2rem;
  content: "";
  height: 1.2rem;
  left: 1.25rem;
  position: absolute;
}

.root-dot {
  background: var(--coral);
  border: 3px solid white;
  border-radius: 50%;
  height: 0.8rem;
  width: 0.8rem;
}

.map-root small {
  color: rgb(255 255 255 / 0.55);
  display: block;
  font-size: 0.48rem;
}

.map-root b {
  display: block;
  font-size: 0.72rem;
}

.map-branches {
  display: grid;
  gap: 0.45rem;
  margin-left: 1.2rem;
}

.map-branches article {
  background: #f4f1e9;
  border-left: 3px solid var(--mint);
  display: grid;
  gap: 0.15rem 0.6rem;
  grid-template-columns: auto 1fr;
  padding: 0.55rem 0.7rem;
  position: relative;
}

.map-branches article::before {
  border-top: 1px dashed var(--ink-soft);
  content: "";
  left: -1.25rem;
  position: absolute;
  top: 50%;
  width: 1.1rem;
}

.map-branches span {
  color: var(--coral);
  font-size: 0.52rem;
  font-weight: 800;
  grid-row: 1 / 3;
}

.map-branches b {
  font-size: 0.67rem;
}

.map-branches small {
  color: var(--ink-soft);
  font-size: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-lede {
  border-left: 3px solid var(--coral);
  color: var(--ink-soft);
  font-family: "Yu Mincho", serif;
  font-size: 0.75rem;
  margin: 0 0 1.2rem;
  padding-left: 0.8rem;
}

.heading-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.heading-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.7rem;
  padding: 0.55rem 0;
}

.heading-list li[data-level="2"] {
  padding-left: 1rem;
}

.heading-list span {
  color: var(--coral);
  font-size: 0.48rem;
  font-weight: 800;
}

.heading-list b {
  font-size: 0.66rem;
}

.check-list {
  display: grid;
  gap: 0.55rem;
}

.check-list article {
  border: 1px solid var(--line);
  display: grid;
  gap: 0.2rem 0.55rem;
  grid-template-columns: auto 1fr;
  padding: 0.7rem;
}

.check-list i {
  background: var(--mint-soft);
  border-radius: 50%;
  color: #39776a;
  display: grid;
  font-size: 0.55rem;
  font-style: normal;
  grid-row: 1 / 3;
  height: 1.2rem;
  place-items: center;
  width: 1.2rem;
}

.check-list article[data-state="check"] i {
  background: #fff0c9;
  color: #8b6819;
}

.check-list article[data-state="missing"] i {
  background: var(--coral-soft);
  color: #9b4838;
}

.check-list b {
  font-size: 0.65rem;
}

.check-list p {
  color: var(--ink-soft);
  font-size: 0.56rem;
  margin: 0;
}

.empty-state {
  color: var(--ink-soft);
  font-size: 0.68rem;
  padding: 1.5rem;
  text-align: center;
}

.result-note {
  background: #e8e4d9;
  color: var(--ink-soft);
  font-size: 0.66rem;
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
}

.guide-board,
.prose,
.not-found {
  margin: 4rem auto 7rem;
  max-width: 980px;
  padding: 0 2rem;
}

.guide-board > header,
.prose > header {
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
}

.guide-board > header p,
.prose p {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.guide-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.guide-steps li > span {
  color: var(--coral);
  font-size: 0.6rem;
  font-weight: 800;
}

.guide-icon {
  border: 1px solid var(--ink);
  height: 3.2rem;
  margin: 1.5rem 0;
  position: relative;
  width: 3.2rem;
}

.browser-mini i {
  background: var(--ink);
  border-radius: 50%;
  height: 0.22rem;
  left: 0.5rem;
  position: absolute;
  top: 0.55rem;
  width: 0.22rem;
}

.browser-mini i:nth-child(2) {
  left: 0.9rem;
}
.browser-mini i:nth-child(3) {
  border-radius: 0;
  height: 1px;
  left: 0.5rem;
  top: 1.25rem;
  width: 2.1rem;
}

.thread-mini i {
  border-top: 1px dashed var(--coral);
  left: 0.45rem;
  position: absolute;
  top: 0.8rem;
  transform: rotate(11deg);
  width: 2.25rem;
}

.thread-mini i:nth-child(2) {
  border-color: var(--mint);
  top: 1.5rem;
  transform: rotate(-8deg);
}

.thread-mini i:nth-child(3) {
  border-color: var(--yellow);
  top: 2.2rem;
  transform: rotate(7deg);
}

.file-mini i {
  border: 1px solid var(--ink);
  height: 2rem;
  left: 0.85rem;
  position: absolute;
  top: 0.55rem;
  transform: rotate(-5deg);
  width: 1.45rem;
}

.file-mini i:nth-child(2) {
  background: var(--coral-soft);
  left: 1rem;
  top: 0.7rem;
  transform: rotate(4deg);
}

.file-mini i:nth-child(3) {
  background: var(--paper);
  left: 1.15rem;
  top: 0.85rem;
  transform: rotate(8deg);
}

.guide-steps h2,
.prose h2 {
  font-family: "Yu Mincho", serif;
  font-size: 0.98rem;
  margin: 0;
}

.guide-steps p {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.guide-note {
  background: var(--ink);
  color: white;
  margin-top: 2rem;
  padding: 1.4rem;
}

.guide-note strong {
  font-size: 0.82rem;
}

.guide-note p {
  color: rgb(255 255 255 / 0.68);
  font-size: 0.72rem;
  margin: 0.45rem 0 0;
}

.prose {
  max-width: 760px;
}

.prose section {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.not-found {
  padding-bottom: 8rem;
  padding-top: 5rem;
  text-align: center;
}

.not-found > span {
  color: var(--coral);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.not-found p {
  color: var(--ink-soft);
  font-size: 0.78rem;
  margin-bottom: 2rem;
}

body > footer {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.68rem;
  margin-top: 2rem;
}

@media (max-width: 840px) {
  .unravel-stage {
    grid-template-columns: 1fr 0.55fr 1fr;
    min-height: 430px;
  }

  .site-card {
    max-width: 17rem;
  }

  .inspect-shell {
    gap: 2.5rem;
    grid-template-columns: 1fr;
  }

  .inspect-intro {
    position: static;
  }

  .result-board {
    grid-template-columns: 1fr 1fr;
  }

  .check-panel {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .check-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 580px) {
  .site-header,
  body > footer {
    padding: 1rem;
  }

  .site-header nav > a:first-child {
    display: none;
  }

  .brand {
    font-size: 0.88rem;
  }

  .unravel-stage {
    grid-template-columns: 1fr 0.35fr 1fr;
    margin: 1rem auto 3.5rem;
    min-height: 330px;
    padding: 2rem 0.8rem 3rem;
  }

  .site-card {
    max-width: 10rem;
  }

  .before-canvas {
    padding: 1rem;
  }

  .before-canvas strong {
    font-size: 0.82rem;
  }

  .old-grid i {
    height: 2.5rem;
  }

  .old-social,
  .stage-caption {
    display: none;
  }

  .after-site {
    padding: 0.7rem;
  }

  .draft-label {
    top: 0.55rem;
  }

  .after-site > header {
    margin-top: 2rem;
  }

  .after-hero {
    padding: 1rem 0;
  }

  .after-hero strong {
    font-size: 0.72rem;
  }

  .after-sections article {
    padding: 0.35rem 0;
  }

  .after-sections b {
    font-size: 0.48rem;
  }

  .thread-bridge svg {
    width: 180%;
  }

  .thread-bridge > b,
  .thread-bridge > small {
    display: none;
  }

  .inspect-shell {
    padding: 3.5rem 1.1rem;
  }

  .inspect-form {
    padding: 1.5rem 1.1rem;
  }

  .url-field > span {
    display: none;
  }

  .result-shell,
  .guide-board,
  .prose,
  .not-found {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .result-header {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .result-actions {
    width: 100%;
  }

  .result-actions .button {
    flex: 1;
  }

  .result-board {
    grid-template-columns: 1fr;
  }

  .map-panel,
  .content-panel,
  .check-panel {
    grid-column: auto;
    min-height: 0;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  body > footer {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  body > footer nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .loose-thread {
    animation: thread-breathe 3s ease-in-out infinite alternate;
  }

  @keyframes thread-breathe {
    from {
      transform: translateX(-2px) rotate(3deg);
    }
    to {
      transform: translateX(2px) rotate(-2deg);
    }
  }
}
