/* 福帮手 FBS-BookWriter 官网 — 与 assets/style.css 主色对齐 */
:root {
  --c-main: #2c5f7c;
  --c-main-dark: #1e4558;
  --c-gold: #d4a843;
  --c-paper: #faf8f4;
  --c-ink: #1a1a1a;
  --c-muted: #5c656d;
  --c-line: rgba(44, 95, 124, 0.12);
  --c-accentbg: #e8f0f5;
  --font-sans: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(30, 69, 88, 0.08);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--c-main);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--c-main);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-main-dark);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--c-main);
}

.logo span {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  font-size: 0.92rem;
  color: var(--c-muted);
}

.nav a:hover {
  color: var(--c-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-main) 0%, var(--c-main-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(44, 95, 124, 0.35);
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(44, 95, 124, 0.4);
}

.btn-ghost {
  background: #fff;
  color: var(--c-main);
  border: 1px solid var(--c-line);
}

.btn-ghost:hover {
  text-decoration: none;
  border-color: var(--c-main);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-main);
  margin-bottom: 0.75rem;
}

.hero-title-block {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 1rem;
  color: var(--c-main-dark);
}

.hero-title-brand {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-main);
}

.hero-title-colon {
  font-weight: 600;
  color: var(--c-main);
}

.hero-title-slogan {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 700;
  color: var(--c-main-dark);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--c-muted);
  margin: 0 0 1.5rem;
  max-width: 36em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--c-muted);
}

.hero-meta strong {
  color: var(--c-main-dark);
  font-weight: 600;
}

/* —— Hero 图片样式 —— */
.hero-image-frame {
  margin: 0;
  position: relative;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(44, 95, 124, 0.15), 0 8px 24px rgba(44, 95, 124, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(44, 95, 124, 0.2), 0 12px 32px rgba(44, 95, 124, 0.12);
}

/* 装饰性背景光晕 */
.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--c-gold) 0%, rgba(212, 168, 67, 0.3) 100%);
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(40px);
  z-index: -1;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--c-main) 0%, rgba(44, 95, 124, 0.2) 100%);
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(50px);
  z-index: -1;
}

@media (min-width: 900px) {
  .hero-image {
    max-width: 100%;
  }
}

/* 提示文字 */
.hero-image-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.hero-image-frame:hover .hero-image-hint {
  opacity: 1;
}

/* 大图弹窗 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.image-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* —— Capabilities 图片样式 —— */
.capabilities-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

.capabilities-scroll-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0 auto;
  border-radius: var(--radius);
  /* 自定义滚动条 */
  scrollbar-width: thin;
  scrollbar-color: var(--c-main) rgba(44, 95, 124, 0.1);
}

/* Webkit 滚动条样式 */
.capabilities-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.capabilities-scroll-container::-webkit-scrollbar-track {
  background: rgba(44, 95, 124, 0.08);
  border-radius: 3px;
}

.capabilities-scroll-container::-webkit-scrollbar-thumb {
  background: var(--c-main);
  border-radius: 3px;
}

.capabilities-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--c-main-dark);
}

.capabilities-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* 滚动提示遮罩 */
.scroll-hint-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(250, 248, 244, 0.9));
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  transition: opacity 0.3s ease;
}

.capabilities-scroll-container.scrolled-to-bottom .scroll-hint-overlay {
  opacity: 0;
}

.scroll-hint-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.scroll-hint-icon {
  width: 16px;
  height: 16px;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .capabilities-scroll-container {
    height: 400px;
    max-width: 100%;
  }
  
  .scroll-hint-overlay {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .capabilities-scroll-container {
    height: 350px;
  }
}

/* —— 应用场景视觉图形 —— */
.scenario-visual {
  position: relative;
  height: 160px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sv-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.sv-icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.sv-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* 企业与机构 - 渐变圆圈 */
.scenario-visual--enterprise {
  background: linear-gradient(135deg, #2c5f7c 0%, #1e4558 100%);
}

.scenario-visual--enterprise .sv-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.sv-circle-1 {
  width: 120px;
  height: 120px;
  top: -30px;
  right: -20px;
}

.sv-circle-2 {
  width: 80px;
  height: 80px;
  bottom: 20px;
  left: -20px;
}

.sv-circle-3 {
  width: 50px;
  height: 50px;
  bottom: -15px;
  right: 30%;
  background: rgba(212, 168, 67, 0.2) !important;
}

/* 行业与商务 - 柱状图 */
.scenario-visual--business {
  background: linear-gradient(135deg, #3d7a9c 0%, #2c5f7c 100%);
}

.scenario-visual--business .sv-bar {
  position: absolute;
  bottom: 30px;
  width: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px 4px 0 0;
}

.sv-bar-1 {
  left: 25%;
  height: 40px;
}

.sv-bar-2 {
  left: calc(25% + 36px);
  height: 70px;
  background: rgba(212, 168, 67, 0.4) !important;
}

.sv-bar-3 {
  left: calc(25% + 72px);
  height: 55px;
}

.scenario-visual--business .sv-line {
  position: absolute;
  bottom: 30px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

/* 作者与创作者 - 书本 */
.scenario-visual--author {
  background: linear-gradient(135deg, #d4a843 0%, #c49a3d 100%);
}

.scenario-visual--author .sv-book {
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 90px;
}

.sv-book-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.05));
  border-radius: 2px 0 0 2px;
}

.sv-book-pages {
  position: absolute;
  left: 12px;
  top: 2px;
  right: 2px;
  bottom: 2px;
  background: linear-gradient(to bottom, #fff 0%, #f5f5f5 100%);
  border-radius: 0 4px 4px 0;
  box-shadow: inset -2px 0 4px rgba(0,0,0,0.1);
}

/* 教育与课程 - 毕业帽 */
.scenario-visual--education {
  background: linear-gradient(135deg, #5a8fa8 0%, #3d7a9c 100%);
}

.scenario-visual--education .sv-grad-cap {
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 60px;
}

.sv-cap-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, #2c3e50, #1a252f);
  transform: perspective(10px) rotateX(5deg);
  border-radius: 4px;
}

.sv-cap-base {
  position: absolute;
  top: 28px;
  left: 10%;
  width: 80%;
  height: 12px;
  background: #34495e;
  border-radius: 2px;
}

.sv-tassel {
  position: absolute;
  top: 5px;
  right: 15px;
  width: 3px;
  height: 45px;
  background: linear-gradient(to bottom, #d4a843, #c49a3d);
  border-radius: 2px;
}

/* —— 图片滑动组件 —— */
.image-slider {
  position: relative;
  margin-top: 2.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 500px;
}

.slider-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
}

.slider-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.slider-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.slider-img-wrapper:hover .slider-img {
  transform: scale(1.02);
}

/* 双击提示 */
.slider-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.slider-img-wrapper:hover .slider-hint {
  opacity: 1;
}

/* 指示器 */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: #fff;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(44, 95, 124, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot--active {
  background: var(--c-main);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: var(--c-main-dark);
}

/* 滑动箭头 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-main);
  transition: all 0.2s ease;
  z-index: 10;
}

.slider-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

.slider-arrow--prev {
  left: 16px;
}

.slider-arrow--next {
  right: 16px;
}

.slider-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slider-caption {
  text-align: center;
  margin: 0;
  padding: 0 16px 16px;
  font-size: 0.85rem;
  color: var(--c-muted);
  background: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .slider-container {
    height: 400px;
  }
  
  .slider-slide {
    padding: 1rem;
  }
  
  .slider-arrow {
    width: 36px;
    height: 36px;
  }
  
  .slider-arrow--prev {
    left: 8px;
  }
  
  .slider-arrow--next {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 350px;
  }
}

/* —— Outline 图片样式 —— */
.outline-image-frame {
  position: relative;
  display: block;
  cursor: pointer;
}

.outline-image {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.outline-image-frame:hover .outline-image {
  transform: scale(1.01);
}

.outline-image-hint {
  position: absolute;
  bottom: 50px;
  right: 50%;
  transform: translateX(50%);
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.outline-image-frame:hover .outline-image-hint {
  opacity: 1;
}

/* —— Trust 图片样式 —— */
.trust-image-frame {
  position: relative;
  display: block;
  cursor: pointer;
}

.trust-image {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.trust-image-frame:hover .trust-image {
  transform: scale(1.01);
}

.trust-image-hint {
  position: absolute;
  bottom: 50px;
  right: 50%;
  transform: translateX(50%);
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.trust-image-frame:hover .trust-image-hint {
  opacity: 1;
}

/* —— Skill 图片样式 —— */
.skill-image-frame {
  position: relative;
  display: block;
  margin: 2rem auto 0;
  max-width: 900px;
  cursor: pointer;
}

.skill-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(44, 95, 124, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-image-frame:hover .skill-image {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(44, 95, 124, 0.2);
}

.skill-image-hint {
  position: absolute;
  bottom: 16px;
  right: 50%;
  transform: translateX(50%);
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.skill-image-frame:hover .skill-image-hint {
  opacity: 1;
}

@media (max-width: 768px) {
  .skill-image {
    max-height: 280px;
  }
}

@media (max-width: 480px) {
  .skill-image {
    max-height: 220px;
  }
}

/* —— 截图占位（上线前替换为 <img> 或背景图） —— */
.screenshot-frame {
  margin: 0;
}

.screenshot-frame--hero {
  width: 100%;
}

.screenshot-frame--section {
  margin-top: 2.25rem;
}

.screenshot-frame--card {
  margin: 0 0 0.85rem;
}

.screenshot-slot {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: min(420px, 55vh);
  width: 100%;
  border-radius: var(--radius);
  border: 2px dashed rgba(44, 95, 124, 0.28);
  background: linear-gradient(145deg, #eef4f8 0%, #e3edf4 50%, #dce8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
}

.screenshot-slot--wide {
  aspect-ratio: 16 / 9;
  max-height: none;
}

.screenshot-slot--card {
  aspect-ratio: 4 / 3;
  max-height: 200px;
  min-height: 140px;
}

.screenshot-slot-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-main);
  line-height: 1.45;
  max-width: 22em;
}

.screenshot-caption {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--c-muted);
  text-align: center;
  line-height: 1.5;
}

.screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.scenario-card {
  background: var(--c-paper);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.scenario-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(44, 95, 124, 0.2);
}

.scenario-card .screenshot-frame--card {
  border-radius: 0;
}

.scenario-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  padding: 0 1.1rem;
  color: var(--c-main-dark);
}

.scenario-card p {
  margin: 0;
  padding: 0 1.1rem 1.15rem;
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.55;
}

.steps {
  margin: 2rem 0 0;
  padding: 0 0 0 1.35rem;
  max-width: 42rem;
}

.steps-item {
  margin-bottom: 1.25rem;
  padding-left: 0.35rem;
}

.steps-item::marker {
  color: var(--c-gold);
  font-weight: 700;
}

.steps-body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--c-main-dark);
}

.steps-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.6;
}

.feature-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.cta-domain {
  margin: 0.5rem 0 0 !important;
  font-size: 1rem;
  color: var(--c-main-dark);
}

.cta-domain strong {
  color: var(--c-main);
  letter-spacing: 0.02em;
}

.section {
  padding: 3.5rem 1.5rem;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0 0 0.65rem;
  color: var(--c-main-dark);
}

.section-head p {
  margin: 0;
  color: var(--c-muted);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--c-paper);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--c-line);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.section-alt .card {
  background: #faf8f4;
}

.card:hover {
  border-color: rgba(44, 95, 124, 0.2);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--c-main) 0%, var(--c-main-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--c-main-dark);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-muted);
}

.section-inner > .triggers {
  margin-bottom: 1.5rem;
}

.triggers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trigger-pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-muted);
}

.cta-band {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(180deg, #f0ebe3 0%, var(--c-paper) 100%);
}

.cta-slogan {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--c-main);
  letter-spacing: 0.03em;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--c-main-dark);
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--c-muted);
}

.cta-band .cta-slogan + h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--c-line);
  padding: 2rem 1.5rem;
  background: #fff;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.88rem;
  color: var(--c-muted);
}

.footer-domain {
  font-weight: 600;
  color: var(--c-main);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.footer-links a {
  color: var(--c-muted);
}

.footer-links a:hover {
  color: var(--c-main);
}
