/* ====================================================================
   雪橇云 (xueqiao-yun.mom) — 设计说明 02: 天空邮局 (Sky Post Office)
   世界观：天空邮局（信封、邮戳、云层航线、纸飞机）
   画风：水彩晕染（柔和边缘、纸纹留白）
   版式原型：杂志跨页（大标题压图、分栏正文、页码与刊头）
   配色：日光 + 主色相 205° (天空蓝)
   招牌动效：卷轴展开 (Scroll unroll from center)
   ==================================================================== */

:root {
  --bg-paper: #F7F3EB;
  --bg-paper-alt: #FDFBF7;
  --sky-blue: #5BA3C9;
  --sky-light: #EBF4F8;
  --sky-pale: #F0F7FB;
  --ink-soft: #2C4A5E;
  --wash-pink: #E8B4B8;
  --wash-pink-light: #FAF0F1;
  --accent-coral: #E85A4F;   /* 唯一 CTA 强调色 */
  --accent-coral-hover: #D74B40;
  --text-main: #2C4A5E;
  --text-muted: #7A9AAB;
  --cloud: rgba(255, 255, 255, 0.88);
  --cloud-soft: rgba(255, 255, 255, 0.65);
  --border-paper: rgba(44, 74, 94, 0.14);
  --border-dashed: rgba(91, 163, 201, 0.35);
  --stamp-border: #D78A86;
  --font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --container-max: 1140px;
}

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

html {
  font-family: var(--font-family);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-paper);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-paper);
  background-image: radial-gradient(circle at 10% 20%, rgba(235, 244, 248, 0.7) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(250, 240, 241, 0.6) 0%, transparent 45%);
}

a {
  color: var(--sky-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ink-soft);
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Hierarchy per Layer 1.5 */
h1 {
  font-size: clamp(2rem, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--ink-soft);
}

h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-soft);
}

p {
  font-size: 16.5px;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.auxiliary-text, .meta-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

/* Stamp Button (辅助动效 2: 邮戳按压盖印反馈) */
.btn-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.75rem;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff !important;
  background-color: var(--accent-coral);
  border: 1.5px solid var(--accent-coral);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none !important;
  position: relative;
  letter-spacing: 0.02em;
  box-shadow: 2px 3px 0 rgba(44, 74, 94, 0.2);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease, background-color 0.2s ease;
}

.btn-stamp:hover {
  background-color: var(--accent-coral-hover);
  border-color: var(--accent-coral-hover);
  transform: translateY(-1px);
  box-shadow: 3px 4px 0 rgba(44, 74, 94, 0.25);
}

.btn-stamp:active {
  transform: scale(0.97) rotate(-0.8deg);
  box-shadow: 1px 1px 0 rgba(44, 74, 94, 0.3);
}

.btn-secondary-air {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.6rem;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-soft) !important;
  background-color: var(--cloud);
  border: 1.5px dashed var(--sky-blue);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-secondary-air:hover {
  background-color: #ffffff;
  border-color: var(--ink-soft);
  transform: translateY(-1px);
}

/* 招牌动效：卷轴展开 (Scroll unroll from center) */
.scroll-unfold {
  clip-path: inset(0 50% 0 50%);
  opacity: 0.5;
  transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
  will-change: clip-path, opacity;
}

.scroll-unfold.is-unfolded {
  clip-path: inset(0 0% 0 0%);
  opacity: 1;
}

/* Header: 邮局刊头 + 邮戳日期，导航是航线名 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 243, 235, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--border-paper);
}

.header-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border-dashed);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.masthead-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--wash-pink);
  font-weight: 500;
}

.masthead-stamp svg {
  stroke: var(--sky-blue);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  line-height: 1.15;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-code {
  font-size: 11px;
  color: var(--sky-blue);
  font-weight: 600;
  font-family: monospace;
}

.nav-link:hover, .nav-link.active {
  color: var(--sky-blue);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--sky-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-paper);
  border-radius: 4px;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink-soft);
  transition: all 0.2s ease;
}

/* Hero: 杂志跨页大图 · 云层上的信封航线 */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem 0;
  overflow: hidden;
  border-bottom: 1.5px solid var(--border-paper);
}

.hero-spread {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-editorial {
  position: relative;
  z-index: 2;
}

.editorial-rubric {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--sky-blue);
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.75rem;
  background: var(--cloud);
  border-left: 3px solid var(--sky-blue);
  border-radius: 2px;
}

.hero-title {
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-dashed);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero Right: 局部特写 — 一只手持信封准备投递 (水彩风格 SVG) + 纸飞机航线 */
.hero-visual-card {
  position: relative;
  background: linear-gradient(135deg, rgba(235, 244, 248, 0.85) 0%, rgba(250, 240, 241, 0.75) 100%);
  border: 1.5px solid var(--border-paper);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 4px 6px 0 rgba(44, 74, 94, 0.06);
}

.paper-plane-animation {
  position: absolute;
  top: 15px;
  right: 20px;
  animation: planeFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}

/* 辅助动效 1: 纸飞机缓慢飞过 Hero */
@keyframes planeFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-25px, 8px) rotate(-4deg);
  }
  100% {
    transform: translate(-50px, -6px) rotate(3deg);
  }
}

.watercolor-hand-art {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(44, 74, 94, 0.08));
}

.airmail-dispatch-memo {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-dashed);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

/* Sections Global */
.page-section {
  padding: 4.5rem 0;
  border-bottom: 1.5px solid var(--border-paper);
}

.section-editorial-header {
  margin-bottom: 3rem;
  position: relative;
}

.editorial-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--sky-blue);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 640px;
}

/* Features: 分栏「今日航线」列表，每个特性一封信 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.airmail-card {
  background-color: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 6px;
  padding: 1.85rem 1.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 2px 3px 0 rgba(44, 74, 94, 0.05);
}

/* Airmail edge candy stripes (航空信封斜纹纸缘) */
.airmail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--sky-blue) 0,
    var(--sky-blue) 12px,
    var(--bg-paper) 12px,
    var(--bg-paper) 18px,
    var(--wash-pink) 18px,
    var(--wash-pink) 30px,
    var(--bg-paper) 30px,
    var(--bg-paper) 36px
  );
  border-radius: 6px 6px 0 0;
}

.airmail-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 8px 0 rgba(44, 74, 94, 0.08);
  border-color: var(--sky-blue);
}

.airmail-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.card-postmark {
  color: var(--sky-blue);
  background: var(--sky-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--sky-blue);
}

.card-stamp-num {
  font-size: 13px;
  font-family: monospace;
  font-weight: 700;
  color: var(--text-muted);
}

.feature-title {
  font-size: 19px;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}

.feature-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 0;
}

/* Platform Support (Streaming & AI) */
.support-container {
  background: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  box-shadow: 2px 3px 0 rgba(44, 74, 94, 0.04);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.support-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background-color: var(--bg-paper);
  border: 1px dashed var(--border-dashed);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.support-item:hover {
  border-color: var(--sky-blue);
  background-color: #ffffff;
  transform: translateY(-2px);
}

.support-icon {
  margin-bottom: 0.6rem;
  color: var(--sky-blue);
}

.support-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.support-status {
  font-size: 12px;
  color: var(--text-muted);
}

/* Use Cases: 不同云层高度的投递日志 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
}

.log-entry-card {
  background-color: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: 2px 3px 0 rgba(44, 74, 94, 0.04);
}

.log-altitude-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  background-color: var(--sky-light);
  color: var(--sky-blue);
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  margin-bottom: 1rem;
  font-family: monospace;
}

.log-title {
  font-size: 20px;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.log-device {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.log-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 0;
}

/* Pricing: 三种邮资卡（平信 / 航空 / 特快） */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.postage-card {
  background-color: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 8px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 3px 4px 0 rgba(44, 74, 94, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.postage-card.recommended-airmail {
  border-color: var(--sky-blue);
  background: linear-gradient(180deg, #FDFBF7 0%, #F4F8FA 100%);
  box-shadow: 4px 8px 0 rgba(91, 163, 201, 0.18);
  transform: scale(1.02);
}

.airmail-seal {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-coral);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 0.25rem 0.95rem;
  border-radius: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(232, 90, 79, 0.3);
}

.postage-header {
  border-bottom: 1px dashed var(--border-dashed);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.postage-type {
  font-size: 13px;
  color: var(--sky-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 22px;
  margin: 0.3rem 0;
  color: var(--ink-soft);
}

.plan-target {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-soft);
}

.amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--ink-soft);
  line-height: 1;
  font-family: var(--font-family);
}

.period {
  font-size: 14px;
  color: var(--text-muted);
}

.postage-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--sky-blue);
}

.postage-cta-btn {
  width: 100%;
}

/* FAQ: 邮局问询栏 · 信件背面备注 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background-color: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--sky-blue);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-coral);
}

.faq-answer {
  display: none;
  padding: 0 1.6rem 1.4rem 1.6rem;
  font-size: 15.5px;
  color: var(--text-main);
  line-height: 1.7;
  border-top: 1px dashed var(--border-dashed);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Final CTA: 「投递」邮戳按钮区 */
.final-cta-section {
  background: linear-gradient(180deg, var(--bg-paper) 0%, #F0F7FB 100%);
  text-align: center;
  padding: 5rem 0;
}

.postal-box-container {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--bg-paper-alt);
  border: 2px dashed var(--sky-blue);
  border-radius: 12px;
  padding: 3rem 2rem;
  position: relative;
  box-shadow: 4px 6px 0 rgba(44, 74, 94, 0.06);
}

.final-cta-title {
  margin-bottom: 1rem;
}

.final-cta-desc {
  font-size: 17px;
  color: var(--text-main);
  margin-bottom: 2rem;
}

/* Footer: 刊末页码 + 邮局地址栏 */
.site-footer {
  background-color: var(--bg-paper);
  border-top: 2px solid var(--border-paper);
  padding: 3.5rem 0 2rem 0;
  margin-top: auto;
}

.colophon-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-paper);
  padding-bottom: 0.6rem;
  margin-bottom: 2rem;
  font-family: monospace;
}

.footer-main-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px dashed var(--border-dashed);
  flex-wrap: wrap;
}

.footer-brand-box {
  max-width: 440px;
}

.footer-desc {
  font-size: 14.5px;
  color: var(--text-main);
  margin: 0.85rem 0;
}

.postal-dispatch-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-nav-title {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 14.5px;
  color: var(--text-main);
}

.footer-link:hover {
  color: var(--sky-blue);
}

.footer-bottom-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-line p {
  margin-bottom: 0;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: rgba(247, 243, 235, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1.5px solid var(--sky-blue);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -3px 10px rgba(44, 74, 94, 0.08);
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}

.sticky-cta-info {
  display: flex;
  flex-direction: column;
}

.sticky-cta-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.sticky-cta-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.sticky-cta-btn {
  padding: 0.5rem 1.25rem;
  min-height: 40px;
}

/* Article / Content Pages (Magazine Column Style) */
.page-header {
  padding: 3rem 0 2rem 0;
  background-color: var(--bg-paper-alt);
  border-bottom: 1.5px solid var(--border-paper);
}

.breadcrumb-nav {
  margin-bottom: 1rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb-separator {
  color: var(--border-dashed);
}

.breadcrumb-current {
  color: var(--ink-soft);
  font-weight: 600;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.article-content {
  max-width: 840px;
  margin: 2.5rem auto 4rem auto;
  background-color: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 8px;
  padding: 2.75rem 2.25rem;
  box-shadow: 3px 4px 0 rgba(44, 74, 94, 0.04);
}

.article-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 24px;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-dashed);
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-callout {
  background-color: var(--sky-pale);
  border: 1.5px dashed var(--sky-blue);
  border-radius: 6px;
  padding: 1.85rem;
  margin: 2.5rem 0;
  text-align: center;
}

.callout-title {
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.callout-desc {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-paper);
}

.related-title {
  font-size: 18px;
  margin-bottom: 1rem;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-link {
  font-size: 15px;
  color: var(--ink-soft);
}

.related-link:hover {
  color: var(--sky-blue);
}

/* Guides Index Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.guide-card {
  background-color: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 6px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 3px 0 rgba(44, 74, 94, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  border-color: var(--sky-blue);
  transform: translateY(-2px);
}

.guide-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-family: monospace;
}

.guide-card-title {
  font-size: 19px;
  margin-bottom: 0.75rem;
}

.guide-card-title a {
  color: var(--ink-soft);
}

.guide-card-title a:hover {
  color: var(--sky-blue);
}

.guide-card-summary {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.guide-card-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sky-blue);
}

/* Legal Pages Styling */
.legal-content {
  max-width: 840px;
  margin: 2.5rem auto 4rem auto;
  background-color: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 8px;
  padding: 2.75rem 2.25rem;
  box-shadow: 3px 4px 0 rgba(44, 74, 94, 0.04);
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section h2 {
  font-size: 22px;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-dashed);
  padding-bottom: 0.4rem;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

/* Sitemap HTML */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.sitemap-group {
  background-color: var(--bg-paper-alt);
  border: 1.5px solid var(--border-paper);
  border-radius: 6px;
  padding: 1.85rem;
}

.sitemap-group-title {
  font-size: 19px;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-dashed);
}

.sitemap-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sitemap-item a {
  font-size: 15px;
  color: var(--text-main);
}

.sitemap-item a:hover {
  color: var(--sky-blue);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-spread {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--bg-paper-alt);
    border-bottom: 1.5px solid var(--border-paper);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 6px 12px rgba(44, 74, 94, 0.1);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-action {
    width: 100%;
  }

  .nav-action .btn-stamp {
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .page-section {
    padding: 3.5rem 0;
  }

  .hero-section {
    padding: 3.5rem 0 2.5rem 0;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 68px;
  }

  .article-content, .legal-content {
    padding: 1.75rem 1.25rem;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-unfold {
    clip-path: none !important;
    opacity: 1 !important;
  }
  .paper-plane-animation {
    animation: none !important;
  }
}
