/* ============================================================
   XToolsPro3 LP — design tokens
   "AI臭" を回避: 紫×青グラデ／グラスモーフ／ネオンを使わない。
   紙白ベース＋くすみオレンジ単色アクセント＋深緑サブ＋明朝×サンセリフ。
   ============================================================ */
:root {
  --paper:      #FCFAF5;
  --paper-2:    #F5F1E6;
  --ink:        #1A1A1A;
  --ink-2:      #4A4842;
  --ink-3:      #6E6B62;
  --line:       #E8E2D4;
  --line-2:     #D4CDBA;
  --accent:     #E8632B;   /* くすみオレンジ */
  --accent-d:   #C24F1B;
  --deep:       #0F4C3A;   /* 深緑（差し色） */
  --hl:         #FFF1B8;   /* ハイライト（数字下線用） */

  --serif: "Segoe UI", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  --sans:  "Segoe UI", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;

  --r:  10px;       /* 角丸（控えめ） */
  --r-s: 6px;
  --shadow-1: 0 1px 0 rgba(26,26,26,.04), 0 4px 14px rgba(26,26,26,.04);
  --shadow-2: 0 2px 0 rgba(26,26,26,.05), 0 10px 24px rgba(26,26,26,.08);

  --maxw: 1080px;
  --maxw-narrow: 760px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-d); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }

.serif { font-family: var(--serif); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.center { text-align: center; }
.muted  { color: var(--ink-3); }
.accent { color: var(--accent); }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--deep); font-weight: 600; margin: 0 0 14px; }
.sp-only { display: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--maxw-narrow); }

h2.serif { font-size: clamp(28px, 4.2vw, 44px); margin: 0 0 28px; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; margin: 0 0 8px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 24px;
  border-radius: var(--r);
  font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
  cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); box-shadow: var(--shadow-2); }

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

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; box-shadow: var(--shadow-2); }

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

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,250,245,.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-weight: 900; font-size: 20px;
  border-radius: 8px;
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .02em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 16px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 80px 0 64px; position: relative; }
.hero::after { /* subtle bottom divider */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: linear-gradient(to right, transparent, var(--line), transparent);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  margin: 4px 0 20px;
}
.hero-copy h1.h1-long { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.45; }
.lede { font-size: 17px; color: var(--ink-2); margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 24px; font-size: 13px; color: var(--ink-3); }
.hero-meta li::before { content: "◆ "; color: var(--accent); margin-right: 4px; }
.hero-visual img {
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}

/* ============================================================
   Video（紹介動画 66 秒・YouTube 埋め込み）
   ============================================================ */
.video { padding: 72px 0 80px; }
.video h2 { margin-bottom: 32px; }
.video-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  background: var(--ink);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }
@media (max-width: 640px) {
  .video { padding: 56px 0 60px; }
  .video h2 { margin-bottom: 24px; }
}

/* ============================================================
   Pain
   ============================================================ */
.pain { padding: 80px 0 60px; background: var(--paper-2); }
.pain h2 { margin-bottom: 36px; }
.pain-keyvisual { margin: 0; }
.pain-keyvisual img,
.section-keyvisual img {
  display: block;
  width: 100%;
  max-width: 1080px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.section-keyvisual { margin: 36px 0 0; }

/* PRICING: image + slim CTA row */
.plan-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 28px;
}

/* ADDONS: image + compact link list */
.addon-cta-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  justify-content: center;
}
.addon-cta-list a {
  font-size: 13px; font-weight: 600; color: var(--accent-d);
}
.addon-cta-list a:hover { color: var(--accent); }

/* ============================================================
   Item Grid (per-item images)
   ============================================================ */
.item-grid { display: grid; gap: 20px; margin: 36px auto 0; max-width: var(--maxw); }
.item-grid-3 { grid-template-columns: repeat(3, 1fr); }
.item-grid-4 { grid-template-columns: repeat(4, 1fr); }
.item-grid-5 { grid-template-columns: repeat(5, 1fr); }
.item-grid-6 { grid-template-columns: repeat(3, 1fr); }

.item-card {
  margin: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-1); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.item-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.item-card a { display: block; }
.item-card img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; }
.item-card figcaption {
  padding: 14px 16px 18px; font-weight: 700; font-size: 14px;
  color: var(--ink); line-height: 1.5; text-align: center;
  border-top: 1px solid var(--line);
}
/* 画像のみ表示するグリッド（caption削除済セクション用） */
.item-grid.image-only .item-card { background: transparent; border: 0; box-shadow: none; }
.item-grid.image-only .item-card img {
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  background: var(--paper);
}

/* ============================================================
   Why
   ============================================================ */
.why { padding: 96px 0; }
.why h2 { margin-bottom: 48px; }
.why-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.why-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px;
  background: var(--paper);
  transition: transform .15s ease, box-shadow .15s ease;
}
.why-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.why-num { font-size: 36px; color: var(--ink-3); margin: 0 0 16px; line-height: 1; }
.why-card h3 { font-size: 19px; margin-bottom: 12px; }
.why-card p { color: var(--ink-2); margin: 0; }

/* ============================================================
   Features
   ============================================================ */
.features { padding: 96px 0; background: var(--paper-2); }
.features h2 { margin-bottom: 48px; }
.feat-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.feat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.feat-ico {
  width: 32px; height: 32px;
  color: var(--accent);
  margin-bottom: 16px;
}
.feat-card h3 { font-size: 17px; margin-bottom: 10px; }
.feat-card p { color: var(--ink-2); margin: 0 0 12px; font-size: 15px; }
.feat-card details { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 10px; }
.feat-card summary {
  cursor: pointer; font-size: 13px; color: var(--accent-d); font-weight: 600;
  list-style: none; outline: none;
}
.feat-card summary::-webkit-details-marker { display: none; }
.feat-card summary::after { content: " ＋"; }
.feat-card details[open] summary::after { content: " −"; }
.feat-card details p { font-size: 14px; color: var(--ink-3); margin-top: 8px; }

/* ============================================================
   Metrics
   ============================================================ */
.metrics { padding: 96px 0; }
.metrics h2 { margin-bottom: 48px; }
.metric-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(3, 1fr);
}
.metric { text-align: center; padding: 16px; }
.metric-value {
  font-size: clamp(56px, 8vw, 84px);
  line-height: 1; color: var(--ink);
  margin: 0 0 12px;
  background-image: linear-gradient(transparent 70%, var(--hl) 70%);
  display: inline-block;
  padding: 0 8px;
}
.metric-value span { font-size: .35em; margin-left: 6px; color: var(--ink-3); font-weight: 600; }
.metric-label { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.7; }
.metric-label b { color: var(--ink); }
.metrics-note {
  text-align: center; color: var(--ink); margin-top: 40px;
  font-size: 20px; font-weight: 700; line-height: 1.6;
  letter-spacing: .01em;
}
@media (max-width: 640px) {
  .metrics-note { font-size: 17px; margin-top: 28px; }
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing { padding: 96px 0; background: var(--paper-2); }
.pricing h2 { margin-bottom: 16px; }
.pricing .pay-methods { margin-top: 28px; font-size: 14px; line-height: 1.8; }
.pricing .pay-methods b { color: var(--ink, #1f1f1f); }
.plan-grid {
  display: grid; gap: 24px; align-items: stretch;
  grid-template-columns: 1fr 1.08fr 1fr;
  margin-top: 48px;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan-feature {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-2);
}
.plan-feature .plan-header {
  background: var(--ink);
  color: var(--paper);
  margin: -32px -28px 24px;
  padding: 28px 28px 22px;
  border-radius: 8px 8px 0 0;
}
.plan-feature .plan-header .plan-name       { color: rgba(252,250,245,.72); margin: 0 0 6px; }
.plan-feature .plan-header .plan-price      { color: var(--paper); margin: 0; }
.plan-feature .plan-header .plan-price span { color: rgba(252,250,245,.72); }
.plan-feature .plan-badge {
  background: var(--accent);
  color: #fff;
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 999px;
  margin: 0;
}
.plan-name { font-size: 14px; font-weight: 600; color: var(--ink-3); margin: 0 0 8px; letter-spacing: .04em; }
.plan-price {
  font-size: 38px; line-height: 1.1; margin: 0 0 24px; color: var(--ink);
}
.plan-price span { font-size: 14px; color: var(--ink-3); margin-left: 4px; font-weight: 500; font-family: var(--sans); }
.plan-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex-grow: 1; }
.plan-feats li { font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative; }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-feats li.x { color: var(--ink-3); }
.plan-feats li.x::before {
  border: 0; transform: none;
  content: "—"; width: auto; height: auto; line-height: 1;
  color: var(--line-2); font-weight: 700; top: 0;
}

/* ============================================================
   Addons
   ============================================================ */
.addons { padding: 96px 0; }
.addons h2 { margin-bottom: 16px; }
.addons .muted { margin-bottom: 40px; }
.addon-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(5, 1fr);
}

/* Addon card with toggle */
.addon-card { overflow: visible; }
.addon-card-body {
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.addon-card-name {
  font-weight: 700; font-size: 14px; line-height: 1.45;
  color: var(--ink); margin: 0; text-align: center;
}
.addon-card-price {
  font-family: var(--serif); font-weight: 700;
  font-size: 22px; line-height: 1; color: var(--accent);
  margin: 4px 0 8px; text-align: center;
}
.addon-detail {
  border-top: 1px dashed var(--line);
  padding-top: 8px; margin-top: 4px;
}
.addon-detail summary {
  list-style: none; cursor: pointer;
  font-size: 13px; font-weight: 700;
  color: var(--ink); position: relative;
  padding: 6px 22px 6px 4px; outline: none;
  transition: color .15s ease;
}
.addon-detail summary::-webkit-details-marker { display: none; }
.addon-detail summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease, border-color .25s ease;
}
.addon-detail[open] summary { color: var(--accent-d); }
.addon-detail[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--accent);
}
.addon-detail__list {
  list-style: none; padding: 8px 4px 4px; margin: 0;
  display: grid; gap: 6px;
}
.addon-detail__list li {
  font-size: 13px; color: var(--ink-2);
  padding-left: 14px; position: relative; line-height: 1.55;
}
.addon-detail__list li::before {
  content: "•"; position: absolute; left: 2px; top: 0;
  color: var(--accent); font-weight: 900;
}
.addon-buy-link {
  display: inline-block; margin-top: 10px;
  font-size: 13px; font-weight: 700;
  color: var(--accent-d);
  border-bottom: 1px dashed var(--accent-d);
  padding-bottom: 1px;
  align-self: center;
}
.addon-buy-link:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ============================================================
   Comparison Table
   ============================================================ */
.compare { padding: 96px 0; background: var(--paper-2); }
.compare h2 { margin-bottom: 40px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%; min-width: 720px;
  border-collapse: separate; border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.cmp th, .cmp td {
  padding: 22px 24px; text-align: center; font-size: 17px;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
}
.cmp tbody th { text-align: left; color: var(--ink); font-weight: 700; background: var(--paper-2); font-size: 17px; }
.cmp thead th { background: var(--ink); color: var(--paper); font-weight: 700; padding: 26px 24px; font-size: 19px; letter-spacing: .01em; }
.cmp .hl { background: rgba(232,99,43,.06); color: var(--ink); font-weight: 700; }
.cmp thead th.hl { background: var(--ink); color: var(--paper); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 640px) {
  .cmp th, .cmp td { padding: 16px 14px; font-size: 14px; }
  .cmp thead th { padding: 18px 14px; font-size: 16px; }
  .cmp tbody th { font-size: 14px; }
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews { padding: 96px 0; }
.reviews h2 { margin-bottom: 40px; }
.reviews-title { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.review-stack {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 720px; margin: 0 auto;
}
.review-stack figure {
  margin: 0; padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.review-stack img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-s);
}
.review-stack figcaption {
  padding: 14px 8px 4px;
  font-size: 15px; line-height: 1.7; color: var(--ink-2);
}
.review-stack figcaption strong { display: block; font-weight: 700; color: var(--ink); }
.review-stack figcaption span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.reviews-note { margin: -24px 0 32px; font-size: 14px; color: var(--ink-3); }

/* ============================================================
   Developer
   ============================================================ */
.dev { padding: 96px 0; background: var(--paper-2); }
.dev-panel {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px;
  box-shadow: var(--shadow-1);
}
.dev-copy h2 { font-size: clamp(28px, 3.8vw, 38px); margin: 0 0 20px; }
.dev-copy p { color: var(--ink-2); margin: 0 0 14px; }
.dev-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 18px 0 0; padding: 0; list-style: none;
}
.dev-tags li {
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  padding: 6px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.dev-portrait {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(26, 26, 26, .08);
}
.dev-portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}
.dev-portrait img.is-fallback {
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--paper);
  padding: 16px;
}
@media (max-width: 960px) {
  .dev-panel { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .dev-portrait { order: -1; max-width: 360px; margin: 0 auto; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 96px 0; }
.faq h2 { margin-bottom: 40px; }
.qa {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.qa[open] summary { color: var(--accent-d); }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 18px 36px 18px 8px;
  font-weight: 700; font-size: 16px; color: var(--ink);
  position: relative; outline: none;
  transition: color .15s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 12px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--accent); }
.qa-body { padding: 0 8px 22px; color: var(--ink-2); }
.qa-body p { margin: 0; }
.faq-more { text-align: center; margin-top: 36px; color: var(--ink-3); font-size: 14px; }

/* ============================================================
   Final CTA
   ============================================================ */
.final {
  padding: 120px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.final-title { font-size: clamp(32px, 5vw, 52px); margin: 0 0 20px; color: var(--paper); }
.final .muted { color: rgba(252,250,245,.72); margin-bottom: 36px; }
.final-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 24px; }
.final .btn-primary { background: var(--accent); color: #fff; }
.final .btn-primary:hover { background: #fff; color: var(--accent); }
.final .btn-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.final .btn-dark:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.final-note { font-size: 14px; color: rgba(252,250,245,.72); }
.final-note a { color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 36px 0; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot-brand { font-family: var(--serif); font-weight: 700; margin: 0; font-size: 16px; color: var(--ink); }
.foot-brand span { font-family: var(--sans); font-weight: 500; color: var(--ink-3); font-size: 13px; margin-left: 8px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { font-size: 13px; color: var(--ink-2); }
.foot-copy { font-size: 12px; color: var(--ink-3); margin: 0; }

/* ============================================================
   Reveal-on-scroll (JS sets .reveal-in)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1280px) {
  .item-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .item-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .why-grid, .feat-grid, .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-feature { transform: none; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .item-grid-3, .item-grid-4, .item-grid-5, .item-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .why-grid, .feat-grid, .metric-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .sp-only { display: inline; }
  .br-pc { display: none; }
  .hero-copy h1 { font-size: clamp(28px, 8vw, 38px); overflow-wrap: anywhere; }
  .hero-copy h1.h1-long { font-size: clamp(24px, 6.5vw, 30px); }
  .hero { padding: 56px 0 48px; }
  .pain, .why, .features, .metrics, .pricing, .addons, .compare, .reviews, .dev, .faq { padding: 64px 0; }
  .final { padding: 80px 0; }
  .btn-lg { padding: 16px 22px; font-size: 15px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .item-grid-3, .item-grid-4, .item-grid-5, .item-grid-6 { grid-template-columns: 1fr; }
  .item-grid { gap: 14px; }
  .item-card figcaption { font-size: 13px; padding: 12px 14px 14px; }
  .brand-name { font-size: 22px; }
  .brand-mark { width: 36px; height: 36px; font-size: 18px; }
  .nav { height: 64px; }
}
