/* ═══════════════════════════════════════════════════════════════
   FUIDZY BLOG — one stylesheet, shared by every post.
   Same brand tokens as fuidzy.com/index.html (ink/ivory + the
   metal gradient), on a light ground: long-form reading holds up
   better on paper than on void black, and the two surfaces
   reading as one family — same type, same accent, calmer canvas —
   is the point, not an inconsistency.
   Cached once across every post, unlike inlining it per page.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --void:      #050506;
  --ivory:     #FAFAFA;
  --ivory-2:   #F0F0F1;
  --paper:     #FFFDF8;
  --mute:      #6B6A63;
  --mute-d:    #4A463C;
  --line:      rgba(5,5,6,.12);
  --glow-a:    #050506;
  --grad:      linear-gradient(112deg,#33333A 0%,#08080A 28%,#55555F 52%,#111114 76%,#33333A 100%);
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --serif:   ui-serif, Georgia, "Times New Roman", serif;
  --kana: "Noto Serif JP", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ivory); color: var(--void);
  font: 18px/1.7 var(--serif); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.026em; font-weight: 600; }
.wrap { max-width: 44rem; margin-inline: auto; padding-inline: 22px; }
.wrap-wide { max-width: 68rem; margin-inline: auto; padding-inline: 22px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--void); color: var(--ivory); padding: .7rem 1rem; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* ── top bar — deliberately its own thing, not the homepage's header ── */
.blogbar {
  border-bottom: 1px solid var(--line); background: var(--paper);
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px);
}
.blogbar-inner {
  max-width: 68rem; margin-inline: auto; padding: .9rem 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.blogbar .mark { display: flex; align-items: center; gap: .55rem; text-decoration: none; font: 700 1.02rem/1 var(--display); color: var(--void); }
.blogbar .mark .kana { font-family: var(--kana); font-weight: 500; font-size: .8rem; color: var(--mute); }
.blogbar .tag { font: 500 .78rem/1 var(--display); color: var(--mute); border-left: 1px solid var(--line); padding-left: .9rem; margin-left: .1rem; }
.blogbar-links { display: flex; align-items: center; gap: 1.2rem; font: 500 .86rem/1 var(--display); }
.blogbar-links a.ghost { color: var(--mute-d); text-decoration: none; }
.blogbar-links a.ghost:hover { color: var(--void); }
.blogbar-links a.cta {
  background: var(--void); color: var(--ivory); padding: .55rem 1.1rem; border-radius: 100px; text-decoration: none;
}

/* ── breadcrumb ── */
.crumb { font: 500 .8rem/1 var(--display); color: var(--mute); padding: 1.4rem 0 0; }
.crumb a { color: var(--mute); text-decoration: none; }
.crumb a:hover { color: var(--void); text-decoration: underline; }

/* ── article shell ── */
main.post-main { padding-block: 1.4rem clamp(3rem, 7vw, 5rem); }
.post-kicker {
  font: 600 .7rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute); margin: 1.6rem 0 1rem; display: block;
}
h1.post-h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.08; margin-bottom: 1.2rem; }
.post-dek { font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.6; color: var(--mute-d); max-width: 40rem; margin-bottom: 1.6rem; }
.byline { font: 500 .82rem/1 var(--display); color: var(--mute); margin-bottom: 2.2rem; display: flex; gap: .6rem; flex-wrap: wrap; }

article.body h2 { font-size: clamp(1.28rem, 2.6vw, 1.6rem); line-height: 1.16; margin: 2.6rem 0 .8rem; }
article.body h3 { font-size: clamp(1.08rem, 2vw, 1.24rem); margin: 2rem 0 .6rem; }
article.body p { font-size: 1.05rem; line-height: 1.75; opacity: .86; margin-bottom: 1.1rem; }
article.body p:last-child { margin-bottom: 0; }
article.body ul, article.body ol { margin: 0 0 1.3rem; padding-left: 1.3rem; display: flex; flex-direction: column; gap: .55rem; }
article.body li { font-size: 1.02rem; line-height: 1.68; opacity: .86; }
article.body strong, article.body b { font-weight: 650; opacity: 1; }
article.body a:not(.back-link) { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
article.body a:not(.back-link):hover { text-decoration-color: var(--void); }

.tldr {
  border-left: 2px solid var(--void); padding: .15rem 0 .15rem 1.3rem; margin-bottom: 1.8rem;
}
.tldr p { font-size: 1.08rem; line-height: 1.6; opacity: 1; margin: 0; font-weight: 500; font-family: var(--display); }

.verdict-box {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.6rem; margin: 2.2rem 0;
  background: var(--paper);
}
.verdict-box .vh {
  font: 600 .68rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); margin-bottom: .7rem; display: block;
}
.verdict-box p { margin: 0; font-size: .99rem; opacity: .9; }
.verdict-box p + p { margin-top: .6rem; }

table.vs { border-collapse: collapse; width: 100%; margin: 1.6rem 0; font: 500 .9rem/1.45 var(--display); }
table.vs th, table.vs td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.vs thead th { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
table.vs td:first-child { color: var(--mute-d); width: 32%; }
table.vs .u { font-weight: 700; }
.vs-wrap { overflow-x: auto; }
table.vs { min-width: 460px; }

.faqs { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.faqs h2 { margin-bottom: 1.2rem; }
.faq-item + .faq-item { margin-top: 1.4rem; }
.faq-q { font: 600 1rem/1.4 var(--display); margin-bottom: .35rem; }
.faq-a { font-size: 1rem; line-height: 1.68; opacity: .85; margin: 0; }

/* ── related + footer ── */
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.related-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.related-grid a {
  display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; font: 500 .92rem/1.4 var(--display); color: var(--void);
}
.related-grid a:hover { border-color: var(--void); }
.related-grid span { display: block; font: 600 .66rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: .4rem; }

.post-cta {
  margin-top: 2.6rem; padding: 1.6rem 1.8rem; border-radius: 16px; background: var(--void); color: var(--ivory);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.post-cta p { margin: 0; font-size: 1rem; opacity: .9; }
.post-cta a {
  background: var(--grad); color: #08080A; font: 700 .9rem/1 var(--display); text-decoration: none;
  padding: .8rem 1.4rem; border-radius: 100px; white-space: nowrap;
}

.back-link { display: inline-block; margin-top: 2.2rem; font: 500 .86rem/1 var(--display); color: var(--mute); text-decoration: none; }
.back-link:hover { color: var(--void); }

footer.blogfoot { border-top: 1px solid var(--line); padding: 2.4rem 0; text-align: center; }
footer.blogfoot p { font-size: .82rem; color: var(--mute); margin: 0 0 .5rem; }
footer.blogfoot a { color: var(--mute); text-decoration: underline; text-decoration-color: var(--line); }

/* ── hub / index page ── */
.hub-hero { padding: clamp(2.4rem, 6vw, 4.2rem) 0 1.4rem; }
.hub-hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.05; margin-bottom: 1rem; }
.hub-hero p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--mute-d); max-width: 42rem; line-height: 1.6; }
.hub-group { margin-top: 2.6rem; }
.hub-group h2 {
  font: 600 .74rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 1rem;
}
.hub-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.hub-card {
  display: block; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 16px;
  text-decoration: none; color: var(--void); background: var(--paper);
}
.hub-card:hover { border-color: var(--void); transform: translateY(-1px); }
.hub-card h3 { font-size: 1.04rem; line-height: 1.32; margin-bottom: .5rem; }
.hub-card p { font-size: .9rem; line-height: 1.5; color: var(--mute-d); margin: 0; }

@media (max-width: 640px) {
  .blogbar-links a.ghost { display: none; }
  main.post-main { padding-top: .8rem; }
}
