*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd, figure, table, th, td { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
a { color: inherit; }

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --code-bg: #0a0a0a;
  --code-fg: #e4e4e4;
  --fg: #0a0a0a;
  --fg-soft: #2a2a2a;
  --muted: #6b6b6b;
  --muted-2: #999999;
  --line: #e4e4e4;
  --line-strong: #cccccc;
  --accent: #0b4a8f;
  --accent-hover: #083a72;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --container: 1200px;
  --header-height: 68px;

  --radius: 4px;
  --transition: 140ms ease;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg);
  text-decoration: none;
}
.brand:hover { color: var(--fg); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.site-nav { display: block; }
.nav-list { display: flex; align-items: center; gap: 0.1rem; }

.nav-item { position: relative; }

.nav-link {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg-soft);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--accent); }
.nav-item--open > .nav-link { color: var(--accent); }

.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  margin-top: 6px;
  display: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  transform-origin: top left;
}
.nav-item--open .nav-sub {
  display: block;
  animation: navSubIn 180ms var(--ease-out);
}
@keyframes navSubIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.nav-sub li a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: var(--fg-soft);
  text-decoration: none;
}
.nav-sub li a:hover { background: #f4f4f4; color: var(--accent); }

.nav-sub-head {
  padding: 0.85rem 1rem 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  font-weight: 500;
  pointer-events: none;
}
.nav-sub-head:first-child { padding-top: 0.4rem; }

.nav-sub-sep {
  height: 1px;
  margin: 0.4rem 0;
  background: var(--line);
  padding: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--fg);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1rem 2rem 1.5rem;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: block; width: 100%; text-align: left; padding: 0.75rem 0; }

  .nav-sub {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0 0 0.5rem 1rem;
    min-width: 0;
    background: transparent;
    animation: none;
  }
  .nav-item--open .nav-sub { display: block; animation: none; }
  .nav-sub li a { padding: 0.5rem 0; }
  .nav-sub-head { padding-left: 0; }
}

.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 3rem; }
}

.hero--compact {
  padding: 5rem 0 4rem;
}
@media (max-width: 640px) {
  .hero--compact { padding: 3rem 0 2.5rem; }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 2.5rem;
}
.hero--compact .hero-title { margin-bottom: 1.75rem; }

.hero-title-sub {
  display: block;
  margin-top: 0.9rem;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--muted);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 65ch;
  color: var(--fg-soft);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.hero-meta span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--fg-soft);
  background: var(--surface);
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art img {
  width: 100%;
  height: auto;
  max-width: 480px;
}
@media (max-width: 1000px) {
  .hero-art { display: none; }
}

.intro {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) {
  .intro { padding: 3rem 0 2.5rem; }
}

.intro-text {
  max-width: 66ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-soft);
}
.intro-text p + p { margin-top: 1.2em; }

.intro-text--wide {
  max-width: 880px;
}

.products,
.principles {
  background: var(--bg);
}

.product {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.product:first-child { padding-top: 5rem; }
.product:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .product {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }
  .product:first-child { padding-top: 3rem; }
}

.product-side { position: sticky; top: calc(var(--header-height) + 22px); }
@media (max-width: 900px) {
  .product-side { position: static; }
}

.product-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  transition: transform 300ms var(--ease-out);
}
.product:hover .product-icon { transform: translateY(-2px); }

.product-name {
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--fg);
}
.product-name a { color: var(--fg); text-decoration: none; }
.product-name a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.product-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
}
.product-meta dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  padding-top: 0.15rem;
}
.product-meta dd {
  color: var(--fg-soft);
  font-size: 0.85rem;
}

.product-body p {
  max-width: 62ch;
  color: var(--fg-soft);
  font-size: 1rem;
}
.product-body p + p { margin-top: 1.1em; }

.product--bundle .product-body p { max-width: 70ch; }

.principles .product { padding: 3.5rem 0; }
.principles .product-side { position: static; }
.principles .product-name { margin-bottom: 0; font-size: 1.35rem; }
.principles .product-body p { font-size: 1.05rem; }

.custom-dev {
  border-top: 1px solid var(--line);
  padding: 3rem 0;
}
.custom-dev p {
  max-width: 70ch;
  color: var(--fg-soft);
  font-size: 1rem;
}
.custom-dev p + p { margin-top: 1.25rem; }

.facts {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.releases {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.releases-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.releases-head h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  font-family: var(--font-mono);
}
.releases-link {
  font-size: 0.88rem;
  font-weight: 500;
}

.releases-list li {
  display: grid;
  grid-template-columns: 1fr auto 140px;
  gap: 1.5rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.releases-list li:last-child { border-bottom: none; }

@media (max-width: 640px) {
  .releases-list li {
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
  }
  .release-date { grid-column: 1 / -1; text-align: left; }
}

.release-name { color: var(--fg); font-weight: 500; }
.release-version { color: var(--muted); font-size: 0.88rem; }
.release-date { color: var(--muted-2); font-size: 0.82rem; text-align: right; }

.article {
  padding: 3rem 0 6rem;
}
@media (max-width: 640px) {
  .article { padding: 2rem 0 4rem; }
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.article-toc {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  font-size: 0.88rem;
}
@media (max-width: 1000px) {
  .article-toc {
    position: static;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
}
.article-toc h2 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 1rem;
}
.article-toc ol {
  list-style: none;
  counter-reset: toc;
}
.article-toc > nav > ol > li {
  counter-increment: toc;
}
.article-toc ol li { margin-bottom: 0.55rem; }
.article-toc ol ol {
  margin-top: 0.4rem;
  padding-left: 0.9rem;
}
.article-toc ol ol li { margin-bottom: 0.3rem; }
.article-toc a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
  line-height: 1.35;
}
.article-toc a:hover { color: var(--fg); }
.article-toc a.is-active {
  color: var(--accent);
  font-weight: 500;
}

.article-body {
  max-width: 720px;
}

.article-body--wide {
  max-width: 880px;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--fg);
}

.article-body h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.install-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 1.25rem 0;
}

.install-block + .install-block {
  margin-top: 0.875rem;
}

.install-block h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 1.25rem 0;
}

.install-block .article-list {
  margin: 0;
}

.install-block p:last-child {
  margin-bottom: 0;
}

.article-body p {
  color: var(--fg-soft);
  font-size: 1rem;
}
.article-body p + p { margin-top: 1.1em; }

.article-body p strong {
  color: var(--fg);
  font-weight: 600;
}

.article-body .lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--fg-soft);
  margin-bottom: 2.5rem;
}

.article-body p + .code-tabs,
.article-body p + table,
.article-body p + ul,
.article-body p + ol,
.article-body p + .article-figure,
.article-body p + .topic { margin-top: 1.75rem; }
.article-body ul + p,
.article-body ol + p,
.article-body table + p,
.article-body .code-tabs + p,
.article-body .article-figure + p,
.article-body .topic + p { margin-top: 1.75rem; }

.article-list {
  margin: 1.25rem 0;
  padding-left: 1.35rem;
  list-style: disc;
}
.article-list li {
  color: var(--fg-soft);
  margin-bottom: 0.35rem;
}
.article-list--numbered {
  list-style: decimal;
}

.article-body code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: #eeeeee;
  padding: 0.12em 0.4em;
  border-radius: 3px;
  color: var(--fg);
  white-space: nowrap;
}

.article-figure {
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
}
.article-figure img {
  width: 100%;
  max-width: 620px;
  height: auto;
}

.topic {
  display: flow-root;
  margin-top: 3.5rem;
}

.topic h3 {
  margin-top: 0;
}

.topic + .topic {
  margin-top: 4rem;
}

.topic p {
  max-width: none;
}

.article-media {
  float: left;
  width: 220px;
  margin: 0.35rem 2rem 1.25rem 0;
}

.article-media--right {
  float: right;
  margin: 0.35rem 0 1.25rem 2rem;
}

.article-media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .article-media,
  .article-media--right {
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 0.5rem auto 1.5rem;
  }
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
}
.article-body thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 500;
  padding: 0.6rem 0.85rem 0.6rem 0;
  border-bottom: 1px solid var(--line-strong);
}
.article-body tbody td {
  padding: 0.6rem 0.85rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg-soft);
  vertical-align: top;
}
.article-body tbody td code {
  background: none;
  padding: 0;
  font-size: 0.86em;
}
.article-body tbody tr:last-child td { border-bottom: none; }

.code-tabs {
  margin: 1.75rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.code-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: #f0f0f0;
}
.code-tab {
  padding: 0.7rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}
.code-tab:hover { color: var(--fg-soft); }
.code-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.code-tab-panel { display: none; }
.code-tab-panel.is-active { display: block; }
.code-tab-panel pre {
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 1.35rem 1.5rem;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  tab-size: 2;
}
.code-tab-panel pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
  white-space: pre;
}

.article-body .faq h2 { margin-bottom: 1.5rem; }
.article-body .faq dl {
  border-top: 1px solid var(--line);
}
.article-body .faq dt {
  font-weight: 600;
  color: var(--fg);
  font-size: 1rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.article-body .faq dt:first-of-type {
  border-top: none;
  padding-top: 0;
}
.article-body .faq dd {
  color: var(--fg-soft);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.article-body .faq dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.howto {
  padding: 3rem 0 6rem;
}
@media (max-width: 640px) {
  .howto { padding: 2rem 0 4rem; }
}

.howto-group {
  margin-bottom: 4rem;
}
.howto-group:last-child { margin-bottom: 0; }

.howto-group-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.howto-list {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .howto-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 3rem;
  }
}

.howto-item {
  max-width: 60ch;
}

.howto-link {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 0.35rem;
  transition: color var(--transition);
}
.howto-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.howto-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.contact-info {
  padding: 3rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 3rem;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 480px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-col ul li {
  margin-bottom: 0.5rem;
}
.contact-col ul li a {
  color: var(--fg-soft);
  text-decoration: none;
}
.contact-col ul li a:hover { color: var(--accent); }
.contact-col p {
  font-size: 0.9rem;
  color: var(--fg-soft);
}

.contact-note {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 1rem;
}

.contact-grid + .contact-grid {
  margin-top: 4rem;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: var(--fg-soft);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--accent); }

.copyright {
  color: var(--muted-2);
  font-size: 0.82rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
}

.article-body .laf-format {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.article-body .laf-format code {
  background: none;
  padding: 0;
  font-size: 0.9rem;
  white-space: normal;
}

.howto-notice {
  background: #fdf8ec;
  border: 1px solid #efe0b8;
  border-left: 3px solid #c39b2e;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 0 0 3rem;
}

.howto-notice strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a6d1b;
  margin-bottom: 0.6rem;
}

.howto-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fg-soft);
}

.product-note {
  background: #f1f7ee;
  border-left: 3px solid #3d8b40;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.product-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fg-soft);
}

.product-note p strong {
  color: var(--fg);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
}

.table-scroll table {
  margin: 0;
  min-width: 760px;
}

.notfound {
  padding: 3rem 0 5rem;
  border-top: 1px solid var(--line);
}

.notfound-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 3rem;
}

.notfound-col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 1rem;
}

.notfound-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notfound-col li {
  margin-bottom: 0.5rem;
}

.notfound-col a {
  color: var(--fg-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.notfound-col a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .notfound-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .notfound-grid {
    grid-template-columns: 1fr;
  }
}

.feedback {
  padding: 3rem 0 5rem;
  border-top: 1px solid var(--line);
}

.feedback-form {
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.25rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-row--split {
  grid-template-columns: 1fr 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
  line-height: 1.6;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%236b6b6b' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 10px 6px;
  padding-right: 2rem;
}

.form-actions {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.form-submit {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--surface);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

.form-submit:hover {
  background: var(--accent-hover);
}

@media (max-width: 640px) {
  .form-row--split {
    grid-template-columns: 1fr;
  }

  .feedback-form {
    padding: 1.5rem 1.5rem 1.75rem;
  }
}