/* Phase-1 minimal stylesheet — replaced by the bespoke DESIGN.md build in the
   frontend phase. Motion tokens + reduced-motion guard are network law. */
:root {
  --accent: #ff5065;
  --dur-1: 130ms;
  --dur-2: 220ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; line-height: 1.6; color: #1c1c1e; background: #fff; }
.wrap, .container { max-width: 1100px; margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 760px; }
.section { padding: 40px 0; }
a { color: var(--accent); }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.topbar { border-bottom: 1px solid #e5e5ea; position: sticky; top: 0; background: #fff; z-index: 20; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { text-decoration: none; color: inherit; }
.brand-txt b { display: block; font-size: 1.05rem; }
.brand-txt small { opacity: .7; }
.navlinks { display: flex; align-items: center; gap: 18px; }
.navlink { text-decoration: none; color: inherit; font-weight: 600; }
.navlink.is-here { color: var(--accent); }
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 700; border: 1px solid var(--accent); cursor: pointer; font: inherit; transition: filter var(--dur-1) var(--ease); }
.btn--fill { background: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn:hover { filter: brightness(.92); }
.burger { display: none; }
.drawer { display: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; opacity: .7; margin: 0 0 6px; }
.hero-sub { font-size: 1.1rem; opacity: .85; max-width: 640px; }
.post-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.post-list li { border-bottom: 1px solid #ececf0; padding-bottom: 12px; }
.post-list .meta { display: block; font-size: .85rem; opacity: .6; }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; font-size: .85rem; opacity: .8; }
.breadcrumb-list li + li::before { content: '›'; margin-right: 6px; }
.prose { max-width: 70ch; }
.prose img { max-width: 100%; height: auto; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid #e0e0e6; padding: 8px 10px; text-align: left; }
.legal-updated { opacity: .6; font-size: .9rem; }
.toc { border: 1px solid #ececf0; border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.toc h2 { margin: 0 0 8px; font-size: 1rem; }
.toc-list { margin: 0; padding-left: 18px; }
.nl.band { background: #f6f6f8; padding: 40px 0; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.nl-form .field { flex: 1 1 220px; padding: 10px 12px; border: 1px solid #d0d0d6; border-radius: 8px; font: inherit; }
.nl-consent { flex-basis: 100%; display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; }
.newsletter-ok { font-weight: 600; }
.foot { border-top: 1px solid #e5e5ea; padding: 36px 0; margin-top: 40px; font-size: .92rem; }
.foot-top { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.foot-note { max-width: 420px; }
.foot-note b { display: block; }
.foot-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col { display: grid; gap: 6px; align-content: start; }
.foot-col h2 { font-size: .95rem; margin: 0 0 4px; }
.foot-col a { text-decoration: none; color: inherit; opacity: .8; }
.foot-col a:hover { opacity: 1; }
.foot-base { opacity: .6; margin-top: 24px; }
.cookie { position: fixed; inset-inline: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; background: #fff; border: 1px solid #d5d5dc; border-radius: 12px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.12); display: none; z-index: 50; }
.cookie.is-visible { display: block; }
.cookie-actions { display: flex; gap: 10px; margin-top: 10px; }
@media (max-width: 900px) {
  .navlinks { display: none; }
  .burger { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: 1px solid #d0d0d6; border-radius: 8px; cursor: pointer; }
  .burger i { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .drawer { display: none; border-top: 1px solid #e5e5ea; }
  .drawer.is-open { display: block; }
  .drawer-in { display: grid; gap: 14px; padding-block: 16px; }
  .drawer-in a { text-decoration: none; color: inherit; font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
