/* TubePilot ガイド記事の共通スタイル（PHANTOM DECK のトークンをLPと共有） */
:root {
  color-scheme: dark;
  --ink: #0b0b0d; --panel: #141418; --well: #1c1c22;
  --crimson: #e60012; --cream: #f4efe3; --cream-line: #d8d0be; --gold: #ffd23e;
  --t1: #fff; --t2: #cfccd6; --t3: #a5a2ad; --border: rgba(255,255,255,.12);
  --paper-ink: #17171b; --paper-sub: #4a4752;
  --font-disp: "Anton", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--t1); font-family: var(--font-body);
  font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.4px); background-size: 14px 14px;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 40px, 1080px); margin-inline: auto; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(11,11,13,.86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-name { font-family: var(--font-disp); font-size: 24px; letter-spacing: .02em; line-height: 1; }
.brand-name .p { color: var(--crimson); }
.head-nav { display: flex; align-items: center; gap: 20px; font-size: 14.5px; font-weight: 700; }
.head-nav a:not(.btn) { text-decoration: none; color: var(--t2); }
.head-nav a:not(.btn):hover { color: var(--t1); }
.btn {
  display: inline-block; background: var(--crimson); color: #fff; text-decoration: none; font-weight: 900;
  padding: 10px 20px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 rgba(255,255,255,.16);
  transform: skewX(-6deg); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: skewX(-6deg) translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(255,255,255,.22); }
.btn-lg { font-size: 17px; padding: 14px 30px; box-shadow: 5px 5px 0 var(--ink); }
.btn-lg:hover { box-shadow: 7px 7px 0 var(--ink); }

/* article */
.article, .index { padding: 36px 0 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--t3); margin-bottom: 18px; }
.crumbs a { color: var(--t2); }
.paper {
  background: var(--cream); color: var(--paper-ink); padding: clamp(24px, 5vw, 56px);
  border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--crimson); max-width: 820px;
}
.tag {
  display: inline-block; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 900;
  letter-spacing: .08em; padding: 3px 12px; margin: 0 0 14px; transform: skewX(-8deg);
}
.paper h1 { font-size: clamp(26px, 4.4vw, 40px); line-height: 1.35; font-weight: 900; margin: 0 0 12px; letter-spacing: .01em; text-wrap: balance; word-break: auto-phrase; }
.meta { font-size: 13px; color: var(--paper-sub); margin: 0 0 28px; padding-bottom: 20px; border-bottom: 2px solid var(--paper-ink); }
.body .lead { font-size: 17.5px; font-weight: 500; }
.body h2 {
  font-size: clamp(20px, 2.8vw, 25px); line-height: 1.45; font-weight: 900; margin: 48px 0 14px;
  padding-left: 14px; border-left: 8px solid var(--crimson);
}
.body h3 { font-size: 18px; font-weight: 900; margin: 30px 0 8px; }
.body p { margin: 0 0 18px; }
.body ul, .body ol { margin: 0 0 22px; padding-left: 1.4em; }
.body li { margin-bottom: 8px; }
.body li::marker { color: var(--crimson); font-weight: 900; }
.body a { color: #b3000e; font-weight: 700; text-underline-offset: 3px; }
.body strong { background: linear-gradient(transparent 62%, rgba(255,210,62,.75) 62%); font-weight: 900; }
.body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14.5px; line-height: 1.7; }
.body th, .body td { border: 1.5px solid var(--paper-ink); padding: 10px 12px; text-align: left; vertical-align: top; }
.body th { background: var(--paper-ink); color: var(--cream); font-weight: 700; white-space: nowrap; }
.note { background: #fff; border: 2px solid var(--paper-ink); box-shadow: 4px 4px 0 var(--paper-ink); padding: 18px 22px; margin: 36px 0 0; }
.note p { margin: 0 0 6px; }
.note p:last-child { margin: 0; }
.note strong { background: none; }

/* CTA */
.cta {
  max-width: 820px; margin: 44px 0 0; padding: clamp(24px, 4vw, 40px); background: var(--panel);
  border: 2px solid var(--crimson); box-shadow: 8px 8px 0 rgba(230,0,18,.28);
}
.cta-eyebrow, .eyebrow { font-family: var(--font-disp); color: var(--gold); letter-spacing: .14em; font-size: 14px; margin: 0 0 6px; }
.cta-title { font-size: clamp(22px, 3.2vw, 30px); font-weight: 900; line-height: 1.4; margin: 0 0 14px; }
.cta p { color: var(--t2); margin: 0 0 14px; }
.cta ul { margin: 0 0 24px; padding-left: 1.3em; color: var(--t1); }
.cta li::marker { color: var(--crimson); }
.cta-note { font-size: 13px; color: var(--t3); margin: 16px 0 0 !important; }

/* cards */
.related { margin-top: 56px; }
.related h2 { font-size: 20px; font-weight: 900; margin: 0 0 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-decoration: none; background: var(--panel);
  border: 1px solid var(--border); padding: 22px; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(-3px,-3px); border-color: var(--crimson); box-shadow: 6px 6px 0 rgba(230,0,18,.35); }
.card .tag { background: var(--crimson); color: #fff; margin: 0; }
.card-title { word-break: auto-phrase; font-size: 17px; font-weight: 900; line-height: 1.55; }
.card-desc { font-size: 13.5px; line-height: 1.75; color: var(--t3); }

/* index */
.index h1 { word-break: auto-phrase; font-size: clamp(32px, 6vw, 56px); font-weight: 900; line-height: 1.2; margin: 0 0 14px; }
.index-lead { color: var(--t2); max-width: 680px; margin: 0 0 36px; }

/* footer */
.site-foot { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 13px; color: var(--t3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.foot-links a { color: var(--t2); }
.foot-meta { margin: 0; line-height: 1.7; }

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .head-nav { gap: 14px; font-size: 13.5px; }
  .head-nav a[href="/#pricing"] { display: none; }
  .btn { padding: 9px 14px; }
  .article, .index { padding: 24px 0 56px; }
  .paper { box-shadow: 5px 5px 0 var(--crimson); }
  .body table { font-size: 13.5px; display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
