:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-dark: #141821;
  --surface-dark-2: #1b202a;
  --text: #262a33;
  --text-soft: #616977;
  --text-light: #cdd2da;
  --line: #ebedf2;
  --accent: #ff6a3d;
  --accent-soft: #fff2eb;
  --accent-2: #ffbf2f;
  --shadow: 0 16px 36px rgba(20, 24, 33, 0.08);
  --shadow-soft: 0 8px 18px rgba(20, 24, 33, 0.06);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1200px;
  --header-h: 72px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-sans);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  padding: 0;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(14px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-home:not(.is-scrolled) {
  background: var(--surface-dark);
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8d47 0%, #ff5b30 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
}

.brand-copy small {
  font-size: 11px;
  line-height: 1.1;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header.is-home:not(.is-scrolled) .brand-copy strong,
.site-header.is-home:not(.is-scrolled) .main-nav > ul > li > a,
.site-header.is-home:not(.is-scrolled) .header-link,
.site-header.is-home:not(.is-scrolled) .icon-search,
.site-header.is-home:not(.is-scrolled) .mobile-menu-button {
  color: #fff;
}

.site-header.is-home:not(.is-scrolled) .brand-copy small {
  color: rgba(255, 255, 255, 0.65);
}

.main-nav ul,
.footer-links,
.bullet-list,
.pricing-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav {
  flex: 1;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--header-h);
  padding: 0 18px;
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s ease;
}

.main-nav > ul > li > a.is-active {
  color: var(--accent);
}

.main-nav > ul > li > a.is-active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.main-nav .has-submenu > a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  order: 2;
}

.submenu {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  min-width: 190px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  white-space: nowrap;
}

.submenu a:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.vip-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd856 0%, #ffbf2f 100%);
  color: #171717;
  font-weight: 800;
  font-size: 13px;
}

.icon-action,
.header-link,
.mobile-menu-button {
  color: var(--text);
}

.header-link {
  padding: 8px 6px;
  font-size: 15px;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff8850 0%, #ff6438 100%);
  color: #fff;
  font-weight: 600;
}

.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  position: relative;
}

.icon-search::before,
.icon-search::after {
  content: "";
  position: absolute;
}

.icon-search::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: translate(-2px, -2px);
}

.icon-search::after {
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg) translate(7px, 9px);
  border-radius: 999px;
}

.mobile-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.drawer,
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.drawer.is-visible,
.search-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.drawer {
  justify-items: end;
}

.drawer__panel {
  width: min(86vw, 340px);
  height: 100%;
  padding: 20px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.drawer.is-visible .drawer__panel {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.drawer__close,
.search-box__head button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 22px;
  color: var(--text);
}

.drawer__nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.drawer__nav a.is-active {
  color: var(--accent);
}

.search-overlay {
  place-items: center;
  padding: 18px;
}

.search-box {
  width: min(720px, 100%);
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.search-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.search-box__form {
  display: flex;
  gap: 12px;
}

.search-box__form input,
.guestbook-form input,
.guestbook-form textarea,
.hero-search__form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.search-box__form input {
  height: 54px;
  padding: 0 18px;
}

.search-box__form button,
.guestbook-form button {
  min-width: 112px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff8850 0%, #ff6438 100%);
  color: #fff;
  font-weight: 700;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.search-tag,
.filter-tabs button,
.archive-toolbar__tabs button,
.tag-cloud a {
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
}

.search-tag {
  padding: 10px 14px;
}

.hero-search {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20, 24, 33, 0.92) 0%, rgba(20, 24, 33, 0.96) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 120px 120px, 120px 120px;
}

.hero-search__inner {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 58px 0 72px;
}

.hero-search__copy {
  text-align: center;
  color: #fff;
}

.hero-search__copy h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.08;
}

.hero-search__copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-search__form {
  position: relative;
  width: min(650px, 100%);
  margin-top: 26px;
}

.hero-search__form input {
  height: 52px;
  padding: 0 60px 0 18px;
  border: 0;
  box-shadow: var(--shadow);
}

.hero-search__form button {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  background: transparent;
  transform: translateY(-50%);
}

.hero-search__form button::before,
.hero-search__form button::after {
  content: "";
  position: absolute;
}

.hero-search__form button::before {
  width: 14px;
  height: 14px;
  border: 2px solid #181c22;
  border-radius: 999px;
  left: 0;
  top: 0;
}

.hero-search__form button::after {
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #181c22;
  right: 1px;
  bottom: 3px;
  transform: rotate(45deg);
}

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

.content-section--dense {
  padding-top: 22px;
}

.section-title {
  margin-bottom: 24px;
}

.section-title.is-centered {
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.section-title p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--text-soft);
}

.section-title.is-centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-title__line {
  display: inline-block;
  width: 34px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--accent);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.resource-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(20, 24, 33, 0.1);
}

.resource-card__thumb {
  display: block;
}

.resource-cover {
  position: relative;
  aspect-ratio: 285 / 180;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cover-a), var(--cover-b));
}

.resource-cover::before,
.resource-cover::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.28;
  filter: blur(2px);
}

.resource-cover::before {
  width: 180px;
  height: 180px;
  left: -32px;
  top: -26px;
  background: rgba(255, 255, 255, 0.38);
}

.resource-cover::after {
  width: 210px;
  height: 210px;
  right: -72px;
  bottom: -90px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.resource-cover__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.resource-cover__art {
  position: absolute;
  inset: 0;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.resource-cover__grain,
.resource-cover__grain.is-second {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.resource-cover__grain {
  width: 76px;
  height: 76px;
  left: 20px;
  top: 38px;
}

.resource-cover__grain.is-second {
  width: 46px;
  height: 46px;
  right: 24px;
  top: 28px;
}

.resource-cover__note,
.resource-cover strong {
  position: relative;
  z-index: 2;
}

.resource-cover__note {
  font-size: 11px;
  opacity: 0.82;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-cover strong {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.1;
}

.resource-card__body {
  padding: 14px 16px 16px;
}

.resource-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.resource-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.resource-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-card__meta,
.detail-meta,
.comment-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.resource-card__meta {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.resource-card__price {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.resource-card__price::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(38, 42, 51, 0.14);
}

.filter-tabs,
.archive-toolbar__tabs,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tabs {
  margin-bottom: 20px;
}

.filter-tabs button,
.archive-toolbar__tabs button {
  padding: 10px 16px;
  border: 1px solid transparent;
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tabs button.is-active,
.archive-toolbar__tabs button.is-active,
.search-tag:hover,
.tag-cloud a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.section-more a,
.vip-strip__card a,
.pricing-card a,
.side-card--price a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff8850 0%, #ff6438 100%);
  color: #fff;
  font-weight: 700;
}

.vip-strip {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 26px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #141821 0%, #202735 100%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vip-strip__copy h2,
.benefit-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
}

.vip-strip__copy p,
.benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.vip-strip__card {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vip-strip__card strong {
  display: block;
  font-size: 28px;
}

.vip-strip__price {
  margin-top: 10px;
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
}

.vip-strip__price span {
  font-size: 16px;
  font-weight: 500;
}

.vip-strip__card ul {
  margin: 18px 0 22px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  padding: 34px 0;
  background: var(--surface-dark-2);
  color: #fff;
}

.page-hero__inner {
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
}

.page-hero p {
  margin: 10px auto 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.archive-toolbar__meta {
  color: var(--text-soft);
  font-size: 14px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.pagination .is-current {
  background: var(--accent);
  color: #fff;
}

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

.detail-card,
.side-card,
.pricing-card,
.benefit-card,
.faq-item,
.guestbook-form-card,
.guestbook-comments,
.comment-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-card {
  padding: 24px;
  margin-bottom: 18px;
}

.detail-card h3,
.side-card h3,
.guestbook-form-card h2,
.guestbook-comments h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-card p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.detail-card--hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.detail-card--hero .resource-cover {
  aspect-ratio: 1.35 / 1;
  border-radius: 18px;
}

.detail-card__intro h2 {
  margin: 10px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.detail-meta {
  color: var(--text-soft);
  font-size: 14px;
}

.detail-card--download {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.detail-card--download span {
  display: block;
  color: var(--text-soft);
}

.detail-card--download strong {
  display: block;
  margin-top: 6px;
  font-size: 42px;
  line-height: 1;
}

.detail-card--download a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.bullet-list {
  display: grid;
  gap: 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.side-card {
  padding: 22px;
  margin-bottom: 18px;
}

.side-card--price {
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, #141821 0%, #1f2633 100%);
  color: #fff;
}

.side-card--price small,
.side-card--price span {
  color: rgba(255, 255, 255, 0.72);
}

.side-card--price strong {
  font-size: 42px;
  line-height: 1;
}

.tag-cloud a {
  padding: 8px 12px;
  font-size: 14px;
}

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

.pricing-card {
  padding: 26px;
}

.pricing-card__name {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.pricing-card__value {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.pricing-card__value strong {
  font-size: 54px;
  line-height: 1;
}

.pricing-card__period {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 22px;
}

.pricing-card li {
  padding-left: 22px;
  position: relative;
  color: var(--text-soft);
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.pricing-card--highlight {
  background: linear-gradient(180deg, #fff4ed 0%, #ffffff 100%);
  border: 1px solid rgba(255, 106, 61, 0.18);
}

.pricing-card--soft {
  background: linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.benefit-card {
  padding: 28px;
  background: linear-gradient(135deg, #141821 0%, #202735 100%);
  color: #fff;
}

.benefit-card .bullet-list li {
  color: rgba(255, 255, 255, 0.82);
}

.faq-list {
  display: grid;
  gap: 18px;
  background: transparent;
  box-shadow: none;
}

.faq-item {
  padding: 24px;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: var(--text-soft);
}

.guestbook-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.guestbook-form-card,
.guestbook-comments {
  padding: 24px;
}

.guestbook-form-card p,
.guestbook-hint {
  color: var(--text-soft);
}

.guestbook-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.guestbook-form input {
  height: 52px;
  padding: 0 16px;
}

.guestbook-form textarea {
  min-height: 150px;
  padding: 14px 16px;
  resize: vertical;
}

.guestbook-comments__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.guestbook-comments__head span {
  color: var(--text-soft);
}

.comment-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.comment-card__avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff8d47 0%, #ff5b30 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.comment-card__meta {
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.comment-card__meta span {
  color: var(--text-soft);
  font-size: 13px;
}

.comment-card__vip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff3bf;
  color: #8f6200;
  font-size: 12px;
  font-weight: 700;
}

.comment-card p {
  margin: 0;
  color: var(--text-soft);
}

.site-footer {
  margin-top: 36px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 28px;
  padding: 36px 0 24px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-copy {
  max-width: 440px;
  margin: 0;
  color: var(--text-soft);
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 14px 0 82px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.mobile-bar a {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: var(--text-soft);
  font-size: 13px;
}

.mobile-bar a.is-active {
  color: var(--accent);
}

.mobile-bar a.is-special {
  color: #171717;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-layout,
  .guestbook-layout,
  .split-layout,
  .vip-strip,
  .detail-card--hero {
    grid-template-columns: 1fr;
  }

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

  .archive-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-link,
  .header-button {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-header.is-home:not(.is-scrolled) .vip-badge-link {
    color: #171717;
  }

  .resource-grid,
  .pricing-grid,
  .footer-grid,
  .resource-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-card--download {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 58px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    height: 64px;
  }

  .main-nav > ul > li > a {
    height: 64px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-search__inner {
    min-height: 280px;
    padding: 42px 0 54px;
  }

  .hero-search__copy h1,
  .page-hero h1,
  .vip-strip__copy h2,
  .benefit-card h2,
  .detail-card__intro h2 {
    font-size: 32px;
  }

  .hero-search__copy p,
  .page-hero p {
    font-size: 15px;
  }

  .resource-grid,
  .pricing-grid,
  .footer-grid,
  .resource-grid--related {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 28px 0;
  }

  .vip-strip,
  .benefit-card,
  .faq-item,
  .guestbook-form-card,
  .guestbook-comments,
  .detail-card,
  .side-card,
  .pricing-card {
    padding: 20px;
  }

  .comment-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .comment-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

.mobile-bar {
  display: grid;
}

.footer-bottom {
  padding-bottom: 74px;
}
}

.custom-logo-wrap,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo-link img {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
}

.filter-tabs a,
.archive-toolbar__tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.filter-tabs a.is-active,
.archive-toolbar__tabs a.is-active {
  background: var(--accent);
  color: #fff;
}

.resource-card[hidden] {
  display: none;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.entry-content p,
.entry-content li,
.entry-content blockquote {
  color: var(--text-soft);
}

.entry-content img {
  border-radius: 18px;
}

.entry-content a {
  color: var(--accent);
}

.comment-thread,
.comment-list,
.comment-list .children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-card-item + .comment-card-item,
.comment-list .children {
  margin-top: 14px;
}

.comment-list .children {
  margin-left: 24px;
}

.comment-reply-line {
  margin-top: 12px;
}

.comment-reply-line a {
  color: var(--accent);
  font-weight: 700;
}

.comment-navigation,
.posts-navigation {
  margin-top: 20px;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.comment-navigation a,
.posts-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.comment-form-title {
  margin: 28px 0 12px;
  font-size: 22px;
}

.comment-notes,
.logged-in-as,
.comment-form-cookies-consent,
.form-submit {
  color: var(--text-soft);
}

.comment-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: rgba(255, 106, 61, 0.35);
  box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.08);
}

.button.button-primary,
.comment-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.comment-form .submit {
  border: 0;
}
