@font-face {
  font-display: optional;
  font-family: "Paperlogy";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Paperlogy-4Regular.woff2") format("woff2");
}

@font-face {
  font-display: optional;
  font-family: "Paperlogy";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Paperlogy-7Bold.woff2") format("woff2");
}

:root {
  --hb-blue: #2e75b6;
  --hb-blue-700: #155a9a;
  --hb-blue-50: #eef7ff;
  --hb-blue-25: #f7fbff;
  --hb-accent: #5aa6d6;
  --hb-ink: #0f172a;
  --hb-charcoal: #1f2937;
  --hb-slate: #475569;
  --hb-muted: #64748b;
  --hb-line: #e2e8f0;
  --hb-bg: #f8fafc;
  --hb-surface: #ffffff;
  --hb-soft: #f1f5f9;
  --hb-success: #0f8f68;
  --hb-warning: #be123c;
  --hb-radius-xs: 6px;
  --hb-radius-sm: 8px;
  --hb-radius-md: 10px;
  --hb-radius-lg: 12px;
  --hb-radius-xl: 16px;
  --hb-shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.055);
  --hb-shadow-md: 0 22px 64px rgba(15, 23, 42, 0.105);
  --hb-shadow-lg: 0 36px 92px rgba(15, 23, 42, 0.145);
  --hb-shell: 1360px;
  --hb-font: "Paperlogy", Pretendard, "Pretendard Variable", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hb-fw-regular: 400;
  --hb-fw-medium: 400;
  --hb-fw-semibold: 700;
  --hb-fw-bold: 700;
  --hb-fw-display: 700;
  --hb-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --hb-motion-fast: 160ms var(--hb-ease);
  --hb-motion-base: 220ms var(--hb-ease);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--hb-bg);
  color: var(--hb-ink);
  font-family: var(--hb-font);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 36%, var(--hb-bg) 100%);
  color: var(--hb-ink);
  font-family: var(--hb-font);
  font-size: 17.5px;
  letter-spacing: 0;
  overflow-x: hidden;
  word-break: keep-all;
}

body,
button,
input,
select,
textarea {
  font-family: var(--hb-font);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  margin: 0;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(46, 117, 182, 0.3);
  outline-offset: 3px;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  border-radius: var(--hb-radius-xs);
  background: var(--hb-ink);
  color: #fff;
}

.shell {
  width: min(calc(100% - 72px), var(--hb-shell));
  margin-inline: auto;
}

.site-main {
  min-height: 70vh;
}

.section,
.operation-note,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.9);
  transition: box-shadow var(--hb-motion-base), background var(--hb-motion-base);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 40px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: var(--hb-fw-bold);
  color: var(--hb-ink);
  letter-spacing: 0;
}

.brand img,
.footer-logo img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  transition: transform var(--hb-motion-base);
}

.brand-text {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.brand-name,
.footer-logo > span {
  font-size: 25px;
  line-height: 1;
}

.brand-proof {
  color: var(--hb-muted);
  font-size: 12px;
  font-weight: var(--hb-fw-medium);
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 44px;
  padding: 0 2px;
  border-radius: 0;
  color: var(--hb-slate);
  font-size: 15.5px;
  font-weight: var(--hb-fw-semibold);
  transition: color var(--hb-motion-fast);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list .current-menu-item > a {
  background: transparent;
  color: var(--hb-blue-700);
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 6px;
  left: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--hb-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--hb-motion-fast);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list .current-menu-item > a::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search,
.icon-button,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hb-ink);
  transition: border-color var(--hb-motion-fast), background var(--hb-motion-fast), color var(--hb-motion-fast), transform var(--hb-motion-fast);
}

.header-search:hover,
.icon-button:hover,
.menu-toggle:hover {
  border-color: rgba(46, 117, 182, 0.32);
  background: var(--hb-blue-25);
  color: var(--hb-blue-700);
}

.header-search span {
  font-size: 23px;
  line-height: 1;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  gap: 4px;
  padding: 0;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--hb-ink);
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--hb-radius-sm);
  font-weight: var(--hb-fw-bold);
  line-height: 1.18;
  text-align: center;
  transition: transform var(--hb-motion-fast), box-shadow var(--hb-motion-fast), background var(--hb-motion-fast), border-color var(--hb-motion-fast), color var(--hb-motion-fast);
}

.button:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
}

.button-primary,
.wp-block-button__link {
  background: var(--hb-blue-700);
  color: #fff;
  box-shadow: 0 8px 18px rgba(46, 117, 182, 0.18);
}

.button-primary:hover,
.wp-block-button__link:hover {
  background: #114f88;
}

.button-secondary {
  border-color: var(--hb-line);
  background: #fff;
  color: var(--hb-ink);
}

.button-ghost {
  border-color: rgba(46, 117, 182, 0.16);
  background: var(--hb-blue-50);
  color: var(--hb-blue-700);
}

.button-small {
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
}

.button-block {
  width: 100%;
}

.portal-home {
  position: relative;
  overflow: hidden;
  contain: layout paint;
  padding: 46px 0 58px;
  border-bottom: 1px solid var(--hb-line);
  background: #f8fafc;
}

.portal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: end;
}

.portal-kicker {
  display: block;
  color: var(--hb-blue-700);
  font-size: 14px;
  font-weight: var(--hb-fw-bold);
}

.portal-head h1 {
  margin: 12px 0 0;
  color: var(--hb-ink);
  font-size: 38px;
  line-height: 1.18;
  font-weight: var(--hb-fw-bold);
  letter-spacing: 0;
}

.portal-head p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--hb-slate);
  font-size: 17px;
  line-height: 1.72;
}

.portal-head-meta {
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, 0.96);
  border-radius: var(--hb-radius-lg);
  background: #fff;
}

.portal-head-meta span,
.portal-head-meta small,
.portal-card-head span,
.portal-notice-card > span {
  display: block;
  color: var(--hb-muted);
  font-size: 13px;
  font-weight: var(--hb-fw-semibold);
}

.portal-head-meta strong {
  display: block;
  margin-top: 6px;
  color: var(--hb-ink);
  font-size: 18px;
  line-height: 1.32;
}

.portal-head-meta small {
  margin-top: 4px;
  font-weight: var(--hb-fw-medium);
}

.portal-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 26px;
}

.portal-search-card,
.portal-side-panel,
.portal-list-card {
  border: 1px solid rgba(203, 213, 225, 0.96);
  border-radius: var(--hb-radius-lg);
  background: #fff;
  box-shadow: none;
  transition: border-color var(--hb-motion-fast), background var(--hb-motion-fast), box-shadow var(--hb-motion-fast);
}

.portal-search-card {
  padding: 22px;
}

.portal-search-card label,
.portal-side-panel h2 {
  display: block;
  margin: 0 0 14px;
  color: var(--hb-ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: var(--hb-fw-bold);
}

.portal-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 12px;
}

.portal-search-row input {
  min-width: 0;
  min-height: 62px;
  padding: 0 22px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-md);
  background: var(--hb-blue-25);
  color: var(--hb-ink);
  font-size: 18px;
  outline: none;
  transition: border-color var(--hb-motion-fast), background var(--hb-motion-fast), box-shadow var(--hb-motion-fast);
}

.portal-search-row input:focus {
  border-color: rgba(46, 117, 182, 0.58);
  box-shadow: 0 0 0 4px rgba(46, 117, 182, 0.12);
}

.portal-search-row .button {
  min-height: 62px;
}

.portal-side-panel {
  padding: 22px;
}

.portal-side-panel dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--hb-line);
}

.portal-side-panel div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hb-line);
}

.portal-side-panel dt {
  color: var(--hb-blue-700);
  font-size: 13px;
  font-weight: var(--hb-fw-bold);
}

.portal-side-panel dd {
  margin: 0;
  color: var(--hb-charcoal);
  font-size: 14.5px;
  font-weight: var(--hb-fw-medium);
  line-height: 1.45;
}

.portal-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr) minmax(280px, 0.72fr);
  gap: 24px;
  margin-top: 20px;
}

.portal-list-card {
  min-width: 0;
  padding: 24px;
}

.portal-list-card-wide {
  grid-column: span 1;
}

.portal-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hb-line);
}

.portal-card-head h2,
.portal-notice-card h2 {
  margin: 6px 0 0;
  color: var(--hb-ink);
  font-size: 22px;
  line-height: 1.28;
  font-weight: var(--hb-fw-bold);
}

.portal-card-head a,
.portal-notice-card a {
  color: var(--hb-blue-700);
  font-size: 14px;
  font-weight: var(--hb-fw-bold);
  white-space: nowrap;
}

.portal-record-list,
.portal-shortcuts {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.portal-record-list a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 4px 18px;
  align-items: center;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--hb-radius-md);
  background: #fff;
  transition: border-color var(--hb-motion-fast), background var(--hb-motion-fast), box-shadow var(--hb-motion-fast), transform var(--hb-motion-fast);
}

.portal-record-list a:hover,
.portal-record-list a:focus-visible {
  border-color: rgba(46, 117, 182, 0.32);
  background: #f8fbff;
  box-shadow: inset 3px 0 0 rgba(46, 117, 182, 0.82);
}

.portal-record-list span {
  grid-row: span 2;
  color: var(--hb-blue-700);
  font-size: 13px;
  font-weight: var(--hb-fw-bold);
}

.portal-record-list strong {
  min-width: 0;
  color: var(--hb-ink);
  font-size: 18px;
  line-height: 1.28;
}

.portal-record-list small,
.portal-shortcuts small {
  min-width: 0;
  color: var(--hb-muted);
  font-size: 14px;
  font-weight: var(--hb-fw-medium);
}

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

.portal-shortcuts a {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-md);
  background: #fff;
  transition: border-color var(--hb-motion-fast), background var(--hb-motion-fast), box-shadow var(--hb-motion-fast), transform var(--hb-motion-fast);
}

.portal-shortcuts a:hover,
.portal-shortcuts a:focus-visible {
  border-color: rgba(46, 117, 182, 0.32);
  background: #f8fbff;
  box-shadow: inset 0 -2px 0 rgba(46, 117, 182, 0.2);
}

.portal-shortcuts strong {
  display: block;
  color: var(--hb-ink);
  font-size: 16px;
  line-height: 1.3;
}

.portal-shortcuts small {
  display: block;
  margin-top: 6px;
}

.portal-notice-card {
  background: #fffdfb;
}

.portal-notice-card h2 {
  font-size: 20px;
}

.portal-notice-card p {
  margin-top: 14px;
  color: var(--hb-slate);
  font-size: 15px;
  line-height: 1.7;
}

.portal-notice-card a {
  display: inline-flex;
  margin-top: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 251, 255, 0.86) 58%, rgba(248, 250, 252, 0.98) 100%),
    linear-gradient(90deg, rgba(203, 213, 225, 0.32) 1px, transparent 1px),
    linear-gradient(0deg, rgba(203, 213, 225, 0.24) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 66%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 117, 182, 0.28), transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.66fr);
  gap: 88px;
  align-items: center;
}

.hero-layout,
.hero-stack {
  position: relative;
  display: grid;
  gap: 34px;
}

.hero-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: 52px 86px;
  align-items: center;
}

.hero-copy-block {
  width: 100%;
  max-width: 640px;
}

.hero-grid > *,
.hero-layout > *,
.archive-layout > *,
.detail-layout > *,
.contact-grid > *,
.section-head > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(46, 117, 182, 0.16);
  border-radius: 999px;
  background: rgba(238, 247, 255, 0.84);
  color: var(--hb-blue-700);
  font-size: 14px;
  font-weight: var(--hb-fw-bold);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hb-accent);
}

.hero h1,
.page-hero h1,
.article-hero h1 {
  margin: 24px 0 0;
  color: var(--hb-ink);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: var(--hb-fw-bold);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.07;
  font-weight: var(--hb-fw-display);
}

.page-hero h1,
.article-hero h1 {
  font-size: 54px;
}

.hero h1 span {
  color: var(--hb-blue-700);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-copy,
.page-copy,
.article-lead {
  max-width: 760px;
  margin-top: 28px;
  color: var(--hb-slate);
  font-size: 19px;
  line-height: 1.82;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.hero-copy span {
  display: inline;
}

.hero-product {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.search-console {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: var(--hb-radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 84px rgba(15, 23, 42, 0.12);
}

.search-console::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--hb-blue), var(--hb-accent));
}

.search-console-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--hb-muted);
  font-size: 13px;
}

.search-console-label span {
  color: var(--hb-blue-700);
  font-weight: var(--hb-fw-bold);
}

.search-console-label strong {
  color: var(--hb-slate);
  font-weight: var(--hb-fw-semibold);
}

.search-console-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 14px;
  align-items: center;
}

.search-console-main input {
  min-width: 0;
  min-height: 68px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--hb-radius-lg);
  background: var(--hb-blue-25);
  color: var(--hb-ink);
  font-size: 19px;
  outline: none;
}

.search-console-main input:focus {
  border-color: rgba(46, 117, 182, 0.55);
  box-shadow: 0 0 0 4px rgba(46, 117, 182, 0.12);
}

.search-console-main .button {
  min-height: 68px;
  border-radius: var(--hb-radius-lg);
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 2px 0;
}

.quick-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hb-slate);
  font-size: 14.5px;
  font-weight: var(--hb-fw-semibold);
  transition: border-color var(--hb-motion-fast), background var(--hb-motion-fast), color var(--hb-motion-fast), transform var(--hb-motion-fast);
}

.quick-filters a:hover {
  border-color: rgba(46, 117, 182, 0.35);
  background: var(--hb-blue-25);
  color: var(--hb-blue-700);
}

.portal-preview {
  padding: 24px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: var(--hb-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  box-shadow: var(--hb-shadow-sm);
}

.portal-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hb-line);
}

.portal-preview-head span,
.portal-preview-list span {
  display: block;
  color: var(--hb-blue-700);
  font-size: 13px;
  font-weight: var(--hb-fw-bold);
}

.portal-preview-head strong {
  display: block;
  margin-top: 6px;
  color: var(--hb-ink);
  font-size: 22px;
  line-height: 1.25;
}

.portal-preview-head em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--hb-success);
  font-size: 12px;
  font-style: normal;
  font-weight: var(--hb-fw-bold);
}

.portal-preview-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.portal-preview-list a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 4px 18px;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--hb-radius-md);
  background: #fff;
  transition: transform 150ms ease, border 150ms ease, box-shadow 150ms ease;
}

.portal-preview-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 117, 182, 0.26);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.075);
}

.portal-preview-list strong {
  min-width: 0;
  color: var(--hb-ink);
  font-size: 18px;
  line-height: 1.28;
}

.portal-preview-list small {
  grid-column: 2;
  min-width: 0;
  color: var(--hb-muted);
  font-size: 14px;
  font-weight: var(--hb-fw-medium);
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  width: 100%;
  gap: 18px;
}

.proof-card {
  min-width: 0;
  padding: 23px 24px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--hb-radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
}

.proof-card span {
  display: block;
  color: var(--hb-blue-700);
  font-size: 13px;
  font-weight: var(--hb-fw-bold);
}

.proof-card strong {
  display: block;
  margin-top: 8px;
  color: var(--hb-ink);
  font-size: 17px;
}

.proof-card p {
  margin-top: 8px;
  color: var(--hb-muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--hb-slate);
  font-size: 14px;
  font-weight: var(--hb-fw-semibold);
}

.trust-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hb-success);
}

.finder-card,
.panel,
.benefit-card,
.guide-card,
.source-box,
.contact-card,
.article-shell {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--hb-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--hb-shadow-sm);
}

.finder-card {
  padding: 34px;
  border-radius: var(--hb-radius-xl);
  box-shadow: var(--hb-shadow-lg);
}

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

.finder-head h2,
.section-head h2,
.panel h2,
.source-box h2,
.contact-card h2 {
  margin: 0;
  color: var(--hb-ink);
  font-size: 26px;
  line-height: 1.22;
  font-weight: var(--hb-fw-bold);
}

.finder-head p,
.section-head p,
.panel p,
.source-box p,
.contact-card p {
  margin-top: 8px;
  color: var(--hb-muted);
  line-height: 1.74;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--hb-charcoal);
  font-size: 14px;
  font-weight: var(--hb-fw-bold);
}

.input,
.select,
.textarea,
input[type="search"],
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-sm);
  background: #fff;
  color: var(--hb-ink);
  outline: none;
  transition: border 150ms ease, box-shadow 150ms ease;
}

textarea,
.textarea {
  min-height: 140px;
  padding-top: 14px;
}

.input:focus,
.select:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: rgba(46, 117, 182, 0.58);
  box-shadow: 0 0 0 4px rgba(46, 117, 182, 0.12);
}

.helper-note {
  margin-top: 18px;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 58px 0;
}

.section-tight {
  padding: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.68fr);
  align-items: end;
  gap: 26px 72px;
  margin-bottom: 42px;
}

.section-head > div {
  display: grid;
  gap: 16px;
}

.section-head h2 {
  max-width: 760px;
  font-size: clamp(34px, 2.75vw, 40px);
  line-height: 1.15;
  font-weight: var(--hb-fw-display);
}

.section-head p {
  max-width: 560px;
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.8;
}

.section-head > .text-link {
  justify-self: end;
  margin-bottom: 11px;
}

.grid-3,
.grid-4,
.benefit-grid,
.guide-grid {
  display: grid;
  gap: 30px;
}

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

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

.benefit-grid > .panel {
  grid-column: 1 / -1;
}

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

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

.category-card,
.metric-card {
  position: relative;
  min-height: 232px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--hb-radius-lg);
  background: #fff;
  transition: border-color var(--hb-motion-fast), background var(--hb-motion-fast), box-shadow var(--hb-motion-fast), transform var(--hb-motion-fast);
}

.category-card:hover,
.benefit-card:hover,
.guide-card:hover {
  border-color: rgba(46, 117, 182, 0.28);
  background: #fbfdff;
  box-shadow: inset 0 2px 0 rgba(46, 117, 182, 0.18);
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--hb-radius-md);
  background: var(--hb-blue-50);
  color: var(--hb-blue-700);
  font-weight: var(--hb-fw-bold);
}

.category-card h3,
.benefit-card h2,
.benefit-card h3,
.guide-card h2,
.guide-card h3,
.metric-card strong {
  margin: 28px 0 0;
  color: var(--hb-ink);
  font-size: 21.5px;
  line-height: 1.32;
  font-weight: var(--hb-fw-bold);
}

.benefit-card h2,
.guide-card h2 {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.benefit-card h2 a,
.guide-card h2 a {
  color: inherit;
  overflow-wrap: anywhere;
  word-break: normal;
}

.category-card p,
.benefit-card p,
.guide-card p,
.metric-card p {
  margin-top: 16px;
  color: var(--hb-muted);
  line-height: 1.78;
}

.benefit-card > p,
.guide-card > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.metric-card strong {
  display: block;
  margin: 0;
  color: var(--hb-blue);
  font-size: 32px;
}

.operation-note {
  padding: 10px 0 34px;
}

.operation-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.operation-note-item {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 15px;
  color: var(--hb-muted);
  transition: background var(--hb-motion-fast), transform var(--hb-motion-fast);
}

.operation-note-item::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -1px;
  border-radius: 999px;
  background: var(--hb-blue);
  box-shadow: 0 0 0 4px rgba(46, 117, 182, 0.08);
}

.operation-note-item strong {
  color: var(--hb-ink);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: var(--hb-fw-bold);
}

.operation-note-item p {
  grid-column: auto;
  max-width: 390px;
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.benefit-card,
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 352px;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--hb-radius-lg);
  background: #fff;
  box-shadow: none;
  transition: border-color var(--hb-motion-fast), background var(--hb-motion-fast), box-shadow var(--hb-motion-fast), transform var(--hb-motion-fast);
}

.card-meta,
.article-meta,
.benefit-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--hb-muted);
  font-size: 14px;
  font-weight: var(--hb-fw-semibold);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--hb-soft);
  color: var(--hb-slate);
  font-size: 13.5px;
  font-weight: var(--hb-fw-semibold);
}

.badge-blue {
  background: var(--hb-blue-50);
  color: var(--hb-blue-700);
}

.badge-accent {
  background: #eaf6ff;
  color: var(--hb-blue-700);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 34px;
}

.card-footer > span:last-child {
  transition: transform var(--hb-motion-fast);
}

.card-facts {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--hb-line);
}

.card-facts div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--hb-line);
}

.card-facts dt {
  color: var(--hb-muted);
  font-size: 13px;
  font-weight: var(--hb-fw-bold);
}

.card-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--hb-charcoal);
  font-size: 14.5px;
  font-weight: var(--hb-fw-medium);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--hb-blue-700);
  font-weight: var(--hb-fw-bold);
}

.notice-band {
  border-block: 1px solid var(--hb-line);
  background:
    linear-gradient(90deg, rgba(238, 247, 255, 0.9), #fff 64%);
}

.notice-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 52px 0;
}

.notice-inner strong {
  display: block;
  color: var(--hb-ink);
  font-size: 19px;
}

.notice-inner p {
  margin-top: 6px;
  color: var(--hb-slate);
}

.page-hero {
  padding: 90px 0 58px;
  background: linear-gradient(180deg, #fff 0%, rgba(238, 247, 255, 0.45) 100%);
}

.article-hero {
  padding: 68px 0 46px;
  background: linear-gradient(180deg, #fff 0%, rgba(238, 247, 255, 0.42) 100%);
}

.info-hero {
  padding: 76px 0 50px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(40px, 4vw, 48px);
  line-height: 1.18;
}

.article-hero h1 {
  max-width: 980px;
  margin-top: 22px;
  font-size: clamp(34px, 3.15vw, 42px);
  line-height: 1.2;
}

.article-hero .article-lead {
  max-width: 900px;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.76;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.article-actions .button {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15.5px;
}

.archive-layout,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.filter-panel,
.detail-aside {
  position: sticky;
  top: 98px;
}

.panel {
  padding: 22px;
}

.filter-panel .form-grid {
  gap: 13px;
}

.filter-status {
  scroll-margin-top: 118px;
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid rgba(46, 117, 182, 0.18);
  border-radius: var(--hb-radius-md);
  background: rgba(238, 247, 255, 0.72);
  color: var(--hb-blue-700);
  font-size: 15px;
  font-weight: var(--hb-fw-bold);
  line-height: 1.55;
}

.filter-empty {
  margin-top: 0;
}

.filter-empty[hidden],
.benefit-card[hidden] {
  display: none;
}

#benefit-results {
  scroll-margin-top: 118px;
}

.detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.summary-item {
  padding: 18px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-md);
  background: #fff;
}

.summary-item span {
  display: block;
  color: var(--hb-muted);
  font-size: 13px;
  font-weight: var(--hb-fw-bold);
}

.summary-item strong {
  display: block;
  margin-top: 8px;
  color: var(--hb-ink);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.article-shell {
  padding: 34px 38px;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 30px;
  align-items: start;
}

.info-main,
.info-aside {
  min-width: 0;
}

.info-main {
  padding: 40px;
}

.info-section + .info-section {
  margin-top: 34px;
  padding-top: 32px;
  border-top: 1px solid var(--hb-line);
}

.info-section h2 {
  margin-top: 0;
}

.info-list {
  display: grid;
  gap: 10px;
}

.info-aside {
  display: grid;
  gap: 16px;
}

.info-aside .source-list div {
  grid-template-columns: 64px minmax(0, 1fr);
}

.info-aside .source-list dd {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.guide-hub + .guide-grid {
  margin-top: 30px;
}

.prose {
  color: var(--hb-charcoal);
  font-size: 17px;
  line-height: 1.85;
}

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

.prose h2,
.prose h3 {
  color: var(--hb-ink);
  line-height: 1.28;
  letter-spacing: 0;
}

.prose h2 {
  margin: 42px 0 14px;
  font-size: 30px;
}

.prose h3 {
  margin: 30px 0 12px;
  font-size: 23px;
}

.prose p,
.prose ul,
.prose ol {
  margin: 16px 0;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose li + li {
  margin-top: 8px;
}

.prose a {
  color: var(--hb-blue-700);
  font-weight: var(--hb-fw-bold);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.prose blockquote {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--hb-blue);
  border-radius: 0 var(--hb-radius-md) var(--hb-radius-md) 0;
  background: var(--hb-blue-50);
  color: var(--hb-charcoal);
}

.prose img,
.prose video,
.prose iframe {
  max-width: 100%;
}

.prose figure {
  max-width: 100%;
  margin: 28px 0;
}

.prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: 12px;
  border: 1px solid var(--hb-line);
  vertical-align: top;
}

.prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  border-radius: var(--hb-radius-md);
  background: var(--hb-soft);
}

.prose code {
  overflow-wrap: anywhere;
}

.navigation.pagination {
  margin-top: 34px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-xs);
  background: #fff;
  color: var(--hb-slate);
  font-size: 14px;
  font-weight: var(--hb-fw-semibold);
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
  border-color: rgba(46, 117, 182, 0.26);
  background: var(--hb-blue-50);
  color: var(--hb-blue-700);
}

.source-box {
  padding: 24px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.source-list {
  display: grid;
  gap: 0;
  margin-top: 20px;
}

.source-list div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--hb-line);
}

.source-list dt {
  color: var(--hb-muted);
  font-size: 13px;
  font-weight: var(--hb-fw-bold);
  line-height: 1.5;
}

.source-list dd {
  margin: 0;
  color: var(--hb-ink);
  font-size: 15px;
  font-weight: var(--hb-fw-medium);
  line-height: 1.62;
  word-break: break-word;
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--hb-radius-md);
  background: #fff;
  color: var(--hb-muted);
  font-size: 13px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.contact-card {
  padding: 26px;
}

.email-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--hb-radius-md);
  background: var(--hb-blue-50);
  color: var(--hb-blue-700);
  font-weight: var(--hb-fw-bold);
  word-break: break-word;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 44px;
  padding: 62px 0 34px;
  border-top: 1px solid var(--hb-line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--hb-slate);
}

.footer-inner {
  display: grid;
  gap: 0;
}

.footer-primary {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 1.9fr);
  gap: 76px;
  align-items: start;
}

.footer-logo {
  color: var(--hb-ink);
}

.footer-logo img {
  width: 34px;
  height: 34px;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 18px;
  color: var(--hb-slate);
  font-size: 15px;
  line-height: 1.76;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(126px, 1fr));
  gap: 42px;
  align-items: start;
}

.footer-nav-group h2 {
  margin: 0 0 13px;
  color: var(--hb-ink);
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: var(--hb-fw-bold);
}

.footer-nav-group a {
  display: block;
  width: fit-content;
  min-height: 36px;
  padding: 4px 2px;
  color: var(--hb-slate);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color var(--hb-motion-fast), text-decoration-color var(--hb-motion-fast), transform var(--hb-motion-fast), background var(--hb-motion-fast);
}

.footer-nav-group a:hover,
.footer-nav-group a:focus-visible {
  color: var(--hb-blue-700);
  text-decoration-color: rgba(21, 90, 154, 0.38);
  background: rgba(238, 247, 255, 0.54);
}

.footer-notice {
  margin-top: 40px;
  padding: 15px 18px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--hb-slate);
  font-size: 13.5px;
  font-weight: var(--hb-fw-medium);
  line-height: 1.65;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--hb-line);
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
}

.footer-meta span,
.footer-bottom span {
  display: inline-flex;
  align-items: center;
}

.footer-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 14px;
  border-radius: 999px;
  background: #cbd5e1;
}

.footer-meta a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--hb-blue-700);
  font-weight: var(--hb-fw-semibold);
  text-decoration: underline;
  text-decoration-color: rgba(21, 90, 154, 0.22);
  text-underline-offset: 4px;
  transition: color var(--hb-motion-fast), text-decoration-color var(--hb-motion-fast);
}

.footer-meta a:hover,
.footer-meta a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #114f88;
  text-decoration-color: rgba(17, 79, 136, 0.62);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.72);
  color: var(--hb-muted);
  font-size: 13px;
}

.mobile-drawer {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  transition: opacity var(--hb-motion-fast);
}

.mobile-drawer.is-open {
  opacity: 1;
}

.mobile-panel {
  width: min(420px, calc(100% - 28px));
  min-height: 100%;
  margin-left: auto;
  padding: 22px;
  background: #fff;
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.2);
  transform: translateX(18px);
  transition: transform var(--hb-motion-fast);
}

.mobile-drawer.is-open .mobile-panel {
  transform: translateX(0);
}

.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.mobile-nav .nav-list {
  display: grid;
  gap: 6px;
}

.mobile-nav .nav-list a {
  width: 100%;
  justify-content: flex-start;
  min-height: 48px;
  border-radius: var(--hb-radius-sm);
}

.drawer-note {
  margin-top: 18px;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.6;
}

.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .brand:hover img,
  .footer-logo:hover img {
    transform: translateY(-1px) scale(1.025);
  }

  .portal-record-list a:hover,
  .portal-record-list a:focus-visible,
  .portal-shortcuts a:hover,
  .portal-shortcuts a:focus-visible,
  .category-card:hover,
  .category-card:focus-visible,
  .benefit-card:hover,
  .benefit-card:focus-visible,
  .guide-card:hover,
  .guide-card:focus-visible {
    transform: translateY(-1px);
  }

  .quick-filters a:hover,
  .quick-filters a:focus-visible {
    transform: translateY(-1px);
  }

  .benefit-card:hover .card-footer > span:last-child,
  .benefit-card:focus-within .card-footer > span:last-child,
  .guide-card:hover .card-footer > span:last-child,
  .guide-card:focus-within .card-footer > span:last-child {
    transform: translateX(3px);
  }

  .footer-nav-group a:hover,
  .footer-nav-group a:focus-visible {
    transform: translateX(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1024px) {
  .primary-nav,
  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .portal-head,
  .portal-workbench,
  .portal-dashboard {
    grid-template-columns: 1fr;
  }

  .portal-head-meta {
    max-width: 360px;
  }

  .portal-dashboard {
    gap: 18px;
  }

  .hero-grid,
  .hero-layout,
  .archive-layout,
  .detail-layout,
  .info-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .hero-layout {
    gap: 44px;
  }

  .hero {
    padding: 76px 0 62px;
  }

  .hero-copy-block {
    max-width: 820px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: 56px;
  }

  .hero-product {
    max-width: 820px;
  }

  .filter-panel,
  .detail-aside {
    position: static;
  }

  .detail-layout {
    gap: 34px;
  }

  .detail-aside {
    max-width: 680px;
  }

  .filter-panel {
    order: -1;
    position: static;
  }

  .grid-4,
  .grid-3,
  .benefit-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-primary {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 32px), var(--hb-shell));
  }

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

  .brand-name,
  .footer-logo > span {
    font-size: 20px;
  }

  .brand-proof {
    display: none;
  }

  .portal-home {
    padding: 32px 0 42px;
  }

  .portal-head {
    gap: 18px;
  }

  .portal-head h1 {
    font-size: 30px;
  }

  .portal-head p {
    font-size: 15.5px;
    line-height: 1.72;
    overflow-wrap: anywhere;
  }

  .portal-head-meta {
    max-width: none;
    padding: 16px;
  }

  .portal-workbench {
    gap: 14px;
    margin-top: 22px;
  }

  .portal-search-card,
  .portal-side-panel,
  .portal-list-card {
    padding: 18px;
    border-radius: var(--hb-radius-lg);
  }

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

  .portal-search-row input,
  .portal-search-row .button {
    min-height: 58px;
  }

  .portal-side-panel div {
    grid-template-columns: 52px 1fr;
  }

  .portal-dashboard {
    margin-top: 14px;
  }

  .portal-card-head {
    display: grid;
    gap: 10px;
  }

  .portal-card-head h2,
  .portal-notice-card h2 {
    font-size: 20px;
  }

  .portal-record-list a {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 13px 12px;
  }

  .portal-shortcuts {
    grid-template-columns: 1fr;
  }

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

  .hero-layout {
    gap: 26px;
  }

  .hero h1,
  .page-hero h1,
  .article-hero h1 {
    width: 100%;
    font-size: 32px;
    line-height: 1.24;
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  .article-hero {
    padding: 48px 0 36px;
  }

  .article-hero h1 {
    margin-top: 18px;
    font-size: 30px;
    line-height: 1.26;
  }

  .article-hero .article-lead {
    margin-top: 18px;
    font-size: 15.8px;
    line-height: 1.72;
  }

  .article-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .article-actions .button {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .hero-copy,
  .page-copy,
  .article-lead {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: keep-all;
    font-size: 16px;
    line-height: 1.78;
  }

  .search-console {
    width: 100%;
    padding: 14px;
    border-radius: var(--hb-radius-lg);
  }

  .search-console-label {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
  }

  .search-console-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-console-main input,
  .search-console-main .button {
    min-height: 58px;
    border-radius: var(--hb-radius-md);
  }

  .quick-filters {
    gap: 8px;
    padding-top: 12px;
  }

  .quick-filters a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .portal-preview {
    padding: 18px;
    border-radius: var(--hb-radius-lg);
  }

  .portal-preview-head {
    gap: 14px;
  }

  .portal-preview-head strong {
    font-size: 19px;
  }

  .portal-preview-list a {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 68px;
    padding: 13px 12px;
  }

  .section {
    padding: 54px 0;
  }

  .info-hero {
    padding: 54px 0 42px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .section-head > div {
    gap: 12px;
  }

  .section-head h2 {
    font-size: 31px;
    line-height: 1.2;
  }

  .section-head p,
  .section-head > .text-link {
    justify-self: start;
    max-width: 100%;
    margin: 0;
  }

  .grid-3,
  .grid-4,
  .benefit-grid,
  .guide-grid {
    gap: 18px;
  }

  .grid-4,
  .grid-3,
  .benefit-grid,
  .guide-grid,
  .detail-summary {
    grid-template-columns: 1fr;
  }

  .notice-inner {
    grid-template-columns: 1fr;
  }

  .article-shell,
  .info-main,
  .finder-card,
  .panel,
  .source-box,
  .contact-card {
    padding: 24px 20px;
    border-radius: var(--hb-radius-lg);
  }

  .detail-layout {
    gap: 26px;
  }

  .source-list {
    margin-top: 18px;
  }

  .source-list div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .source-list dd {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .info-section + .info-section {
    margin-top: 28px;
    padding-top: 26px;
  }

  .info-main p,
  .info-main li {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .info-hero .page-copy {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .category-card,
  .benefit-card,
  .guide-card,
  .metric-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .category-card h3,
  .benefit-card h2,
  .benefit-card h3,
  .guide-card h2,
  .guide-card h3,
  .metric-card strong {
    margin-top: 20px;
  }

  .category-card p,
  .benefit-card p,
  .guide-card p,
  .metric-card p {
    margin-top: 10px;
  }

  .operation-note {
    padding: 2px 0 24px;
  }

  .operation-note-grid {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 6px;
    border-radius: 18px;
  }

  .operation-note-item {
    grid-template-columns: auto 42px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px;
  }

  .operation-note-item strong {
    font-size: 12.5px;
  }

  .operation-note-item p {
    max-width: none;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .site-footer {
    padding: 46px 0 28px;
  }

  .footer-primary,
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav-group a {
    width: 100%;
    min-height: 44px;
    padding: 9px 0;
  }

  .footer-notice {
    margin-top: 30px;
  }

  .footer-meta,
  .footer-meta div,
  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  .footer-meta span + span::before {
    display: none;
  }
}
