/* =========================================================
   짱구넷 — OFFICIAL LINK INDEX
   Editorial black / warm grey / electric blue theme.
   Loaded after style.css; intentionally overrides the old look.
   ========================================================= */

:root {
  --paper: #f2efe8;
  --paper-2: #f7f4ed;
  --cream: #e7e2d7;
  --ink: #11110f;
  --ink-soft: #37352f;
  --muted: #6f6a60;
  --line: #11110f;
  --yellow: #1f45ff;
  --red: #ff4b2b;
  --blue: #1f45ff;
  --green: #1f45ff;
  --purple: #1f45ff;
  --shadow: none;
  --shadow-strong: none;
  --radius: 0;
  --font-display: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  background: var(--paper);
}

body {
  border-top: 7px solid var(--blue);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(17, 17, 15, 0.045) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.012em;
}

body::selection {
  background: var(--blue);
  color: #fff;
}

.paper-noise,
.tape,
.sketchbook,
.mascot,
.cat-tab,
.page-doodle {
  display: none !important;
}

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

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

h1,
h2 {
  word-break: keep-all;
}

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

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

.skip-link {
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--ink);
  background: rgba(242, 239, 232, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  gap: 20px;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  transform: none;
  flex: none;
}

.brand-text strong {
  font-family: var(--font-body);
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-text small {
  margin-top: 2px;
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.desktop-nav {
  gap: 0;
}

.desktop-nav a {
  padding: 9px 12px;
  border-radius: 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.header-search {
  border-radius: 0 !important;
  border: 1px solid var(--ink) !important;
  background: transparent !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.header-search:hover {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}

.mobile-nav {
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.mobile-nav a {
  border-bottom: 1px solid rgba(17, 17, 15, 0.14);
  border-radius: 0;
}

/* ---------- shared type ---------- */

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 52px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--blue);
  content: "";
  vertical-align: 1px;
}

.section-head h2,
.section-head .section-desc {
  margin-bottom: 0;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.08;
}

.section-desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

/* ---------- buttons ---------- */

.btn {
  gap: 9px;
  padding: 12px 17px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: none;
}

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

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--yellow {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

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

/* ---------- home hero ---------- */

.hero {
  padding: 70px 0 62px;
  border-bottom: 1px solid var(--ink);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.eyebrow {
  margin-bottom: 22px;
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.index-label::before {
  width: 22px;
  height: 2px;
  background: var(--blue);
  content: "";
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.25vw, 5.15rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.085em;
}

.h1-mark {
  display: inline-block;
  padding: 0 0.08em 0.04em;
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
  transform: none;
}

.h1-mark::after {
  display: none;
}

.hero-desc {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}

.hero-search {
  max-width: 670px;
  margin: 28px 0 15px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-search input {
  padding: 15px 16px;
  font-size: 0.9rem;
}

.hero-search button {
  padding: 0 20px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
}

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

.quick-chips {
  gap: 0;
  margin-bottom: 28px;
}

.quick-chips span {
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-chips a {
  padding: 3px 9px;
  border: 0;
  border-left: 1px solid rgba(17, 17, 15, 0.2);
  border-radius: 0;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
}

.quick-chips a:hover {
  background: transparent;
  color: var(--blue);
  text-decoration: underline;
}

.hero-stats {
  max-width: 620px;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.stat {
  padding: 14px 14px 13px;
  border-top: 0;
  border-left: 1px solid var(--ink);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat strong {
  font-family: var(--font-body);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.stat span {
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-art {
  display: block;
}

.index-panel {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 420px;
  margin-left: auto;
  padding: 24px 24px 20px;
  border: 1px solid var(--ink);
  border-top: 10px solid var(--blue);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 14px 14px 0 rgba(31, 69, 255, 0.16);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(242, 239, 232, 0.28);
  color: rgba(242, 239, 232, 0.64);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.panel-number {
  margin: 12px 0 -10px;
  color: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(6rem, 11vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.panel-title {
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.04em;
}

.panel-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 11px;
  border-top: 1px solid rgba(242, 239, 232, 0.28);
  color: rgba(242, 239, 232, 0.64);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.panel-meta b {
  color: var(--paper);
  font-size: 0.78rem;
}

.panel-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 3px;
  height: 52px;
  margin: 16px 0 14px;
}

.panel-bars i {
  display: block;
  height: 100%;
  background: var(--blue);
}

.panel-bars i:nth-child(3n) {
  background: var(--paper);
}

.panel-bars i:nth-child(4n) {
  height: 62%;
}

.panel-bars i:nth-child(5n) {
  height: 38%;
}

.index-panel p {
  margin: 0;
  color: rgba(242, 239, 232, 0.7);
  font-size: 0.72rem;
  line-height: 1.6;
}

/* ---------- section index cards ---------- */

.cat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

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

.cat-card {
  min-height: 226px;
  padding: 22px 22px 18px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: background 0.15s ease, color 0.15s ease;
}

.cat-card:hover {
  background: var(--ink);
  color: var(--paper);
  transform: none;
  box-shadow: none;
}

.cat-no {
  position: static;
  order: -2;
  margin-bottom: 4px;
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.07em;
  opacity: 1;
}

.cat-icon {
  display: none;
}

.cat-kicker {
  order: -1;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cat-card h3 {
  margin: 10px 0 7px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.12;
}

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

.cat-card:hover .cat-desc,
.cat-card:hover .cat-kicker,
.cat-card:hover .cat-foot {
  color: rgba(242, 239, 232, 0.72);
}

.cat-foot {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 17, 15, 0.22);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cat-card:hover .cat-foot {
  border-top-color: rgba(242, 239, 232, 0.28);
}

.cat-arrow {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: var(--blue);
  color: #fff;
}

.cat-card:hover .cat-arrow {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- recommendation ---------- */

.rec-grid {
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.rec-card {
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rec-label {
  border-radius: 0;
  background: var(--blue);
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: none;
}

.rec-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
}

.rec-domain {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.rec-card p {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- trust ---------- */

.trust {
  gap: 44px;
  padding: 44px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: rgba(242, 239, 232, 0.78);
}

.trust::before {
  display: none;
}

.trust h2 {
  font-family: var(--font-display);
  font-weight: 900;
}

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

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

.trust-no {
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
}

.trust-item {
  border-top-color: rgba(242, 239, 232, 0.24);
}

.trust-item h3 {
  color: var(--paper);
}

/* ---------- featured section / preview ---------- */

.preview {
  gap: 44px;
}

.preview-copy h2 {
  font-family: var(--font-display);
  font-weight: 900;
}

.preview-list {
  padding: 6px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.preview-link {
  border-bottom: 1px solid rgba(17, 17, 15, 0.18);
}

.preview-no {
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
}

.preview-name {
  font-weight: 800;
}

.preview-domain {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.62rem;
}

/* ---------- steps ---------- */

.steps-grid {
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.step {
  padding: 24px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.step-no {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: var(--blue);
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
}

.step p {
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- FAQ ---------- */

.faq-section {
  gap: 44px;
}

.faq-intro h2 {
  font-family: var(--font-display);
  font-weight: 900;
}

.faq-item {
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--ink);
}

.faq-item summary {
  padding: 16px 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.faq-q {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  border-radius: 0;
  background: var(--blue);
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.68rem;
}

.faq-a {
  padding: 0 0 16px 30px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- CTA ---------- */

.cta {
  padding: 36px 38px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}

.cta h2 {
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 900;
}

.cta p {
  color: rgba(242, 239, 232, 0.68);
}

.cta .btn {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.cta .btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ---------- page hero / breadcrumb ---------- */

.page-hero {
  padding: 58px 0 44px;
  border-bottom: 1px solid var(--ink);
  background: transparent;
}

.page-hero-inner {
  gap: 40px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.075em;
}

.page-hero-desc {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero-art {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  border: 1px solid var(--ink);
  border-top: 9px solid var(--blue);
  background: var(--ink);
  color: var(--paper);
}

.page-hero-art .icon {
  width: 66px;
  height: 66px;
  color: var(--blue);
}

.breadcrumb {
  padding-top: 18px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  list-style: none;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  color: var(--blue);
  content: "/";
}

.breadcrumb a {
  text-decoration: none;
}

/* ---------- category hero ---------- */

.cat-hero {
  padding: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink) !important;
  color: var(--paper);
}

.cat-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 40px;
  align-items: end;
  padding: 52px 0 42px;
}

.cat-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  color: rgba(242, 239, 232, 0.58);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cat-hero-meta span + span::before {
  margin-right: 12px;
  color: var(--blue);
  content: "/";
}

.cat-hero h1 {
  margin-bottom: 16px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.cat-big-no {
  display: inline-block;
  margin-right: 0.16em;
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.42em;
  font-weight: 900;
  vertical-align: 0.55em;
  letter-spacing: -0.06em;
}

.cat-hero p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(242, 239, 232, 0.7);
  font-size: 0.94rem;
  line-height: 1.8;
}

.cat-hero-art {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin-left: auto;
  border: 1px solid rgba(242, 239, 232, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--blue);
}

.cat-hero-art::before,
.cat-hero-art::after {
  display: none;
}

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

/* ---------- link index cards ---------- */

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.link-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 20px 20px 16px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.link-card:hover {
  background: var(--ink);
  color: var(--paper);
  transform: none;
  box-shadow: none;
}

.link-top {
  align-items: center;
  margin-bottom: 13px;
}

.link-no {
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.official-badge {
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 0;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-card:hover .official-badge,
.link-card:hover .link-domain,
.link-card:hover .link-tags,
.link-card:hover > p {
  color: rgba(242, 239, 232, 0.66);
  border-color: rgba(242, 239, 232, 0.4);
}

.link-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.15;
}

.link-card h3 a:hover {
  color: var(--blue);
}

.link-card:hover h3 a:hover {
  color: #fff;
}

.external-icon {
  color: var(--blue);
}

.link-domain {
  margin-bottom: 10px;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.link-card > p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.link-foot {
  padding-top: 9px;
  border-top: 1px solid rgba(17, 17, 15, 0.2);
}

.link-card:hover .link-foot {
  border-top-color: rgba(242, 239, 232, 0.25);
}

.link-tags {
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}

.copy-btn {
  border: 1px solid rgba(17, 17, 15, 0.35);
  border-radius: 0;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.04em;
}

.copy-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.link-card:hover .copy-btn {
  border-color: rgba(242, 239, 232, 0.4);
  color: rgba(242, 239, 232, 0.72);
}

/* ---------- search / prose / panels ---------- */

.search-panel {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.search-form input,
.search-form select {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

.search-form button {
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
}

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

.search-meta {
  border-top: 1px solid rgba(17, 17, 15, 0.2);
}

.search-clear {
  border-radius: 0;
  border: 1px solid var(--ink);
  background: transparent;
}

.prose {
  max-width: 860px;
  color: var(--ink-soft);
}

.prose h2,
.prose h3 {
  font-weight: 900;
}

.paper-card {
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.paper-card--yellow {
  background: var(--blue);
  color: #fff;
}

.paper-card--blue {
  background: var(--ink);
  color: var(--paper);
}

.paper-card--yellow *,
.paper-card--blue * {
  color: inherit;
}

.paper-card h3 {
  font-weight: 900;
}

.check-list li::before,
.dot-list li::before {
  color: var(--blue);
}

.paper-card--yellow .check-list li::before,
.paper-card--blue .dot-list li::before {
  color: #fff;
}

/* ---------- pager ---------- */

.pager {
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.pager-link {
  padding: 18px 20px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

.pager-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.pager-link span {
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pager-link strong {
  font-weight: 900;
}

.pager-link:hover span {
  color: rgba(242, 239, 232, 0.6);
}

/* ---------- contact ---------- */

.contact-mail {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 2px solid var(--blue);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.contact-mail:hover {
  color: var(--blue);
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: rgba(242, 239, 232, 0.72);
}

.footer-inner {
  gap: 48px;
  padding: 52px 0 34px;
}

.brand--footer .brand-mark {
  border: 1px solid rgba(242, 239, 232, 0.3);
}

.brand--footer .brand-text small {
  color: var(--blue);
}

.footer-brand p {
  color: rgba(242, 239, 232, 0.62);
}

.footer-badge {
  padding: 4px 8px;
  border: 1px solid var(--blue);
  border-radius: 0;
  color: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-cols h2 {
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-cols a {
  color: rgba(242, 239, 232, 0.72);
  font-size: 0.78rem;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  border-top-color: rgba(242, 239, 232, 0.2);
  color: rgba(242, 239, 232, 0.5);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.03em;
}

/* ---------- error / sitemap ---------- */

.error-page {
  padding: 76px 0 90px;
}

.error-code {
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  -webkit-text-stroke: 0;
}

.error-page h1 {
  font-family: var(--font-display);
  font-weight: 900;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
  }

  .index-panel {
    min-height: 380px;
    padding: 20px;
  }

  .cat-card {
    min-height: 210px;
  }

  .link-card {
    min-height: 240px;
  }
}

@media (max-width: 860px) {
  .wrap {
    width: min(100% - 40px, 760px);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

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

  .index-panel {
    max-width: 100%;
    min-height: 0;
    margin-left: 0;
  }

  .panel-number {
    font-size: 6.4rem;
  }

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

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

  .trust,
  .preview,
  .faq-section {
    grid-template-columns: 1fr;
  }

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

  .cat-hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 0 34px;
  }

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

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

  .hero {
    padding: 46px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
    letter-spacing: -0.075em;
  }

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

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

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

  .stat {
    padding: 11px 10px;
  }

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

  .section {
    padding: 48px 0;
  }

  .section--tight {
    padding: 38px 0;
  }

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

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

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

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

  .trust {
    padding: 28px 22px;
  }

  .trust h2 {
    font-size: 1.8rem;
  }

  .cta {
    padding: 28px 22px;
  }

  .page-hero {
    padding: 38px 0 30px;
  }

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

  .link-card {
    min-height: 0;
    padding: 18px 16px 14px;
  }

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

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

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    display: grid;
    gap: 4px;
  }
}

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

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

  .panel-number {
    font-size: 5.4rem;
  }

  .quick-chips a {
    padding-inline: 6px;
    font-size: 0.68rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}
