:root {
  --paper: #fffaf0;
  --paper-2: #fffdf7;
  --cream: #f3e8d2;
  --ink: #23201b;
  --ink-soft: #4f473c;
  --muted: #746a5c;
  --line: #23201b;
  --yellow: #f6c945;
  --red: #e5484d;
  --blue: #2f6fed;
  --green: #2f9e67;
  --purple: #6d4aff;
  --shadow: 5px 6px 0 rgba(35, 32, 27, 0.13);
  --shadow-strong: 8px 9px 0 rgba(35, 32, 27, 0.18);
  --radius: 18px;
  --font-display: "Jua", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --font-body: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(35, 32, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 32, 27, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
  color-scheme: light;
}

body::selection {
  background: var(--yellow);
  color: var(--ink);
}

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image: radial-gradient(rgba(35, 32, 27, 0.16) 0.6px, transparent 0.7px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, #000 0 45%, transparent 100%);
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -100px;
  z-index: 200;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  border-radius: 8px;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  transform: rotate(-4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.desktop-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: var(--cream);
  color: var(--ink);
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-search:hover {
  background: var(--yellow);
}

.header-search .icon {
  width: 17px;
  height: 17px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  padding: 0;
}

.nav-toggle .menu-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .menu-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .menu-close {
  display: inline-flex;
}

.mobile-nav {
  display: none;
}

/* shared type */
.section {
  padding: 68px 0;
}

.section--tight {
  padding-top: 34px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
}

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

.section-head h2,
.section > h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.25;
}

.section-desc {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 rgba(35, 32, 27, 0.18);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(35, 32, 27, 0.18);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}

/* hero */
.hero {
  padding: 58px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 18px;
}

.tape {
  display: inline-block;
  padding: 7px 14px;
  background: var(--yellow);
  border: 1.5px solid rgba(35, 32, 27, 0.35);
  box-shadow: 3px 3px 0 rgba(35, 32, 27, 0.12);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transform: rotate(-1.2deg);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.5vw, 4.7rem);
  font-weight: 400;
  line-height: 1.12;
}

.h1-mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.h1-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.02em;
  height: 0.26em;
  border-radius: 5px;
  background: var(--yellow);
  transform: rotate(-1.2deg);
  opacity: 0.9;
}

.hero-desc {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-search {
  display: flex;
  align-items: stretch;
  max-width: 650px;
  margin: 26px 0 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: 5px 5px 0 var(--line);
  overflow: hidden;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 15px 17px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.94rem;
}

.hero-search input:focus {
  outline: 0;
}

.hero-search button {
  flex: none;
  padding: 0 22px;
  border: 0;
  border-left: 2px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.hero-search button:hover {
  background: var(--blue);
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.quick-chips span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  align-self: center;
  margin-right: 3px;
}

.quick-chips a {
  padding: 5px 10px;
  border: 1.5px dashed rgba(35, 32, 27, 0.38);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.65);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.quick-chips a:hover {
  border-style: solid;
  background: var(--yellow);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.stat {
  padding-top: 11px;
  border-top: 2px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.sketchbook {
  position: relative;
  width: min(100%, 380px);
  padding: 28px 22px 22px 42px;
  border: 2px solid var(--line);
  border-radius: 8px 22px 22px 8px;
  background: var(--paper-2);
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

.sketchbook::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 22px;
  bottom: 22px;
  width: 14px;
  background: radial-gradient(circle at 7px 7px, var(--line) 0 3px, transparent 3.6px) 0 0 / 14px 30px repeat-y;
  opacity: 0.35;
}

.sketchbook::after {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 116px;
  height: 27px;
  border: 1px solid rgba(35, 32, 27, 0.22);
  background: rgba(246, 201, 69, 0.8);
  transform: translateX(-50%) rotate(-3deg);
}

.mascot {
  display: block;
  width: min(220px, 70%);
  margin: 0 auto 8px;
  filter: drop-shadow(4px 6px 0 rgba(35, 32, 27, 0.12));
}

.sketchbook-caption {
  text-align: center;
}

.sketchbook-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}

.sketchbook-caption span {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-note {
  position: absolute;
  right: -10px;
  bottom: -48px;
  max-width: 150px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  background: var(--blue);
  color: #fff;
  box-shadow: 3px 3px 0 rgba(35, 32, 27, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
  transform: rotate(-3deg);
}

/* category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cat-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link .icon {
  width: 14px;
  height: 14px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 25px 21px 17px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cat-card:hover {
  transform: translate(-2px, -3px) rotate(-0.4deg);
  box-shadow: 7px 9px 0 rgba(35, 32, 27, 0.16);
}

.cat-tab {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--accent);
}

.cat-no {
  position: absolute;
  top: 19px;
  right: 17px;
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  opacity: 0.95;
}

.cat-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 17px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  color: var(--accent);
  transform: rotate(-2deg);
}

.cat-icon .icon {
  width: 28px;
  height: 28px;
}

.cat-kicker {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
}

.cat-card h3 {
  margin: 3px 0 7px;
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 1.2;
}

.cat-desc {
  flex: 1;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.cat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1.5px dashed rgba(35, 32, 27, 0.24);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.cat-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
}

.cat-arrow .icon {
  width: 17px;
  height: 17px;
}

/* recommendation */
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rec-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: var(--paper-2);
  box-shadow: 4px 5px 0 rgba(35, 32, 27, 0.1);
}

.rec-label {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--yellow);
  font-size: 0.68rem;
  font-weight: 800;
  transform: rotate(-1.5deg);
}

.rec-card h3 {
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 400;
}

.rec-card h3 a {
  text-decoration: none;
}

.rec-card h3 a:hover {
  text-decoration: underline;
}

.rec-domain {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.rec-card p {
  flex: 1;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.rec-card .text-link {
  font-size: 0.8rem;
  font-weight: 800;
}

/* trust */
.trust {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  padding: 46px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--ink);
  color: rgba(255, 250, 240, 0.82);
  overflow: hidden;
}

.trust::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 290px;
  height: 290px;
  border: 2px dashed rgba(246, 201, 69, 0.32);
  border-radius: 50%;
  pointer-events: none;
}

.trust h2 {
  margin-bottom: 16px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.28;
}

.trust .section-kicker {
  color: var(--yellow);
}

.trust .section-kicker::before {
  background: var(--yellow);
}

.trust-copy p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.trust-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 250, 240, 0.18);
}

.trust-no {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}

.trust-item h3 {
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 800;
}

.trust-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

/* preview */
.preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.preview-copy h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.25;
}

.preview-copy p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.preview-list {
  padding: 8px 20px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  transform: rotate(0.5deg);
}

.preview-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1.5px dashed rgba(35, 32, 27, 0.22);
  text-decoration: none;
}

.preview-link:last-child {
  border-bottom: 0;
}

.preview-link:hover .preview-name {
  text-decoration: underline;
}

.preview-no {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.preview-name {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
}

.preview-domain {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.preview-link .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

/* steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: var(--paper-2);
  box-shadow: 4px 5px 0 rgba(35, 32, 27, 0.1);
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.step h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* faq */
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 40px;
  align-items: start;
}

.faq-intro h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.25;
}

.faq-intro p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-list {
  border-top: 2px solid var(--line);
}

.faq-item {
  border-bottom: 1.5px dashed rgba(35, 32, 27, 0.28);
}

.faq-item summary {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.55;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-q {
  flex: none;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
}

.faq-a {
  padding: 0 0 18px 30px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-a p {
  margin: 0;
}

/* cta */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px 40px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--yellow);
  box-shadow: 7px 8px 0 rgba(35, 32, 27, 0.16);
  transform: rotate(-0.25deg);
}

.cta h2 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
}

.cta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* page hero */
.page-hero {
  padding: 34px 0 22px;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  gap: 32px;
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  font-weight: 400;
  line-height: 1.16;
}

.page-hero-desc {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.page-hero-art {
  display: flex;
  justify-content: center;
}

.page-doodle {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border: 2px solid var(--line);
  border-radius: 48% 52% 55% 45% / 52% 44% 56% 48%;
  background: var(--yellow);
  box-shadow: var(--shadow);
  transform: rotate(5deg);
}

.page-doodle .icon {
  width: 84px;
  height: 84px;
  color: var(--ink);
}

.page-doodle::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -8px;
  width: 58px;
  height: 58px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.6px);
  background-size: 8px 8px;
}

/* breadcrumb */
.breadcrumb {
  padding-top: 16px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(35, 32, 27, 0.35);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* category hero */
.cat-hero {
  position: relative;
  margin-top: 16px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--soft);
  overflow: hidden;
}

.cat-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 330px;
  height: 330px;
  border: 2px dashed var(--accent);
  border-radius: 50%;
  opacity: 0.28;
}

.cat-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 30px;
  align-items: center;
  padding: 44px 40px;
}

.cat-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.cat-hero-meta span {
  padding: 4px 9px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

.cat-hero h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  font-weight: 400;
  line-height: 1.12;
}

.cat-big-no {
  color: var(--accent);
  font-size: 0.55em;
  opacity: 0.55;
}

.cat-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.78;
}

.cat-hero-art {
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  justify-self: end;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.65);
  box-shadow: 6px 7px 0 rgba(35, 32, 27, 0.14);
  color: var(--accent);
  transform: rotate(5deg);
}

.cat-hero-art .icon {
  width: 96px;
  height: 96px;
}

/* link cards */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 38px;
}

.link-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: var(--paper-2);
  box-shadow: 4px 5px 0 rgba(35, 32, 27, 0.1);
  scroll-margin-top: 100px;
}

.link-card:hover {
  box-shadow: 6px 7px 0 rgba(35, 32, 27, 0.13);
}

.link-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.link-top-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.link-cat {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
}

.link-no {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border: 1px solid rgba(47, 158, 103, 0.45);
  border-radius: 999px;
  background: rgba(47, 158, 103, 0.1);
  color: #1f7a4f;
  font-size: 0.66rem;
  font-weight: 800;
}

.official-badge .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

.link-card h3 {
  margin-bottom: 1px;
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 400;
  line-height: 1.25;
}

.link-card h3 a {
  text-decoration: none;
}

.link-card h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.external-icon {
  display: inline-flex;
  margin-left: 5px;
  color: var(--muted);
  vertical-align: 0.08em;
}

.external-icon .icon {
  width: 14px;
  height: 14px;
}

.link-domain {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.link-card > p {
  flex: 1;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.68;
}

.link-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1.5px dashed rgba(35, 32, 27, 0.2);
}

.link-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 4px 7px;
  border: 1px solid rgba(35, 32, 27, 0.3);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
}

.copy-btn:hover {
  border-color: var(--line);
  background: var(--cream);
  color: var(--ink);
}

.copy-btn .icon {
  width: 12px;
  height: 12px;
}

.copy-btn.is-copied {
  border-color: var(--green);
  background: rgba(47, 158, 103, 0.1);
  color: #1f7a4f;
}

/* content blocks */
.content-section {
  padding: 42px 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.paper-card {
  padding: 26px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.paper-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.paper-card p:last-child,
.paper-card ul:last-child {
  margin-bottom: 0;
}

.paper-card--yellow {
  background: #fff4cc;
}

.paper-card--blue {
  background: #eaf1ff;
}

.check-list,
.dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.dot-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--red));
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin: 44px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.3;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
}

.prose p {
  margin-bottom: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 7px;
  line-height: 1.75;
}

.prose a {
  color: var(--blue);
  font-weight: 700;
}

.prose strong {
  color: var(--ink);
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border: 2px solid var(--line);
  border-left: 8px solid var(--yellow);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.notice strong {
  color: var(--ink);
}

.page-body {
  padding: 26px 0 64px;
}

.page-body > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.side-note {
  position: sticky;
  top: 102px;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: 4px 5px 0 rgba(35, 32, 27, 0.1);
}

.side-note h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
}

.side-note p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.side-note a {
  font-size: 0.8rem;
  font-weight: 800;
}

/* search */
.search-panel {
  margin: 22px 0 30px;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px auto;
  gap: 9px;
}

.search-form input,
.search-form select {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 2px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
}

.search-form button {
  padding: 0 18px;
  border: 2px solid var(--line);
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.search-meta strong {
  color: var(--ink);
}

.search-clear {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
}

.no-results {
  margin: 28px 0;
  padding: 32px 20px;
  border: 2px dashed rgba(35, 32, 27, 0.35);
  border-radius: 14px;
  text-align: center;
  background: var(--paper-2);
}

.no-results h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.no-results p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* pager */
.pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: 3px 4px 0 rgba(35, 32, 27, 0.1);
  text-decoration: none;
}

.pager-link:hover {
  background: var(--cream);
}

.pager-link span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.pager-link strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.pager-link--next {
  text-align: right;
}

/* timeline */
.timeline {
  margin: 26px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid rgba(35, 32, 27, 0.3);
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 26px 6px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 5px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
}

.timeline time {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.timeline h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* contact */
.contact-box {
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: var(--shadow);
  transform: rotate(-0.3deg);
}

.contact-box p {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-mail:hover {
  text-decoration: underline;
}

/* footer */
.site-footer {
  margin-top: 70px;
  border-top: 2px solid var(--line);
  background: var(--ink);
  color: rgba(255, 250, 240, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr);
  gap: 44px;
  padding: 48px 0 32px;
}

.brand--footer .brand-text strong {
  color: var(--paper);
}

.brand--footer .brand-text small {
  color: rgba(255, 250, 240, 0.52);
}

.footer-brand p {
  max-width: 340px;
  margin: 14px 0;
  font-size: 0.84rem;
  line-height: 1.75;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 800;
}

.footer-badge .icon {
  width: 13px;
  height: 13px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-cols h2 {
  margin-bottom: 9px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}

.footer-cols a {
  display: block;
  padding: 3px 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-cols a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255, 250, 240, 0.16);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

/* 404 */
.error-page {
  padding: 64px 0 80px;
  text-align: center;
}

.error-code {
  margin: 10px 0 4px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 0.9;
  -webkit-text-stroke: 2px var(--line);
}

.error-page h1 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
}

.error-page p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--muted);
}

/* responsive */
@media (max-width: 1020px) {
  .desktop-nav {
    gap: 0;
  }

  .desktop-nav a {
    padding-inline: 8px;
    font-size: 0.84rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-art {
    order: 2;
  }

  .sketchbook {
    width: min(100%, 440px);
  }

  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust,
  .preview,
  .faq-section,
  .two-col,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cat-hero-inner {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .cat-hero-art {
    width: 170px;
    height: 170px;
  }

  .cat-hero-art .icon {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 820px) {
  .wrap {
    width: min(100% - 36px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .desktop-nav,
  .header-search span {
    display: none;
  }

  .header-search {
    margin-left: auto;
    padding: 8px;
  }

  .nav-toggle {
    display: grid;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 18px 16px;
    border-top: 1.5px dashed rgba(35, 32, 27, 0.25);
    background: var(--paper);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    padding: 10px 6px;
    border-radius: 7px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-nav a:hover {
    background: var(--cream);
  }

  .hero {
    padding-top: 38px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-hero-art {
    justify-content: flex-start;
  }

  .page-doodle {
    width: 120px;
    height: 120px;
  }

  .page-doodle .icon {
    width: 54px;
    height: 54px;
  }

  .cat-hero-inner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .cat-hero-art {
    display: none;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .page-body > .wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .side-note {
    position: static;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form button {
    min-height: 46px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    background-size: 22px 22px;
  }

  .wrap {
    width: calc(100% - 30px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 1.25rem;
  }

  .brand-text small {
    font-size: 0.6rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
  }

  .h1-mark {
    white-space: normal;
  }

  .hero-desc {
    font-size: 0.94rem;
  }

  .hero-search {
    flex-direction: column;
    box-shadow: 4px 4px 0 var(--line);
  }

  .hero-search input {
    padding: 13px 14px;
  }

  .hero-search button {
    min-height: 44px;
    border-top: 2px solid var(--line);
    border-left: 0;
  }

  .hero-stats {
    gap: 8px;
  }

  .stat strong {
    font-size: 1.2rem;
  }

  .stat span {
    font-size: 0.66rem;
  }

  .cat-grid,
  .cat-grid--two,
  .rec-grid,
  .steps-grid,
  .pager {
    grid-template-columns: 1fr;
  }

  .pager-link--next {
    text-align: left;
  }

  .cat-card {
    min-height: 0;
  }

  .sketchbook {
    padding: 24px 18px 18px 32px;
  }

  .mascot {
    width: 170px;
  }

  .hero-note {
    display: none;
  }

  .trust {
    padding: 28px 22px;
  }

  .cta {
    transform: none;
  }

  .cat-hero {
    border-radius: 18px;
  }

  .cat-hero h1 {
    gap: 8px;
  }

  .cat-hero p {
    font-size: 0.9rem;
  }

  .link-card {
    padding: 17px;
  }

  .link-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .search-panel {
    padding: 16px;
  }

  .search-meta {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .quick-chips a {
    font-size: 0.7rem;
  }

  .brand-text small {
    display: none;
  }

  .cat-no {
    font-size: 3rem;
  }

  .link-card h3 {
    font-size: 1.2rem;
  }

  .copy-btn {
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-art,
  .quick-chips,
  .copy-btn {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .link-card,
  .cat-card {
    box-shadow: none;
  }
}
