/* AI-KIDO — pages intérieures (harnais, installation, histoire, Kimono, 404).
   Chargée après home.css : mêmes variables, même en-tête, mêmes boutons. Charte : design-charter.md */

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.inner section { padding: clamp(56px, 7vw, 96px) 0; }
.inner section[id] { scroll-margin-top: 120px; }
.inner h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.inner h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.inner h3 { font-size: 1.2rem; }
.inner .sub { margin: 16px 0 0; max-width: none; } /* même largeur que le titre qui précède ; les articles News gardent leur propre colonne */
.inner .sub + .sub { margin-top: 12px; }
.inner .note { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.inner .nowrap { white-space: nowrap; }
.inner .grid, .inner .steps, .inner .stats, .inner .span-bar, .inner .table-wrap,
.inner .timeline, .inner .quote-feature, .inner .product-shot { margin-top: 36px; }
.inner section > .container > h3 { margin-bottom: .6em; }
.inner section > .container > h3:not(:first-child) { margin-top: 36px; }
.inner section > .container > h3 + ul { padding-left: 1.5rem; }
.inner section > .container > h3 + ul > li + li { margin-top: .75rem; }
.inner section > .container > ul + p,
.inner section > .container > p + p:not(.sub):not(.note) { margin-top: 1rem; }

/* En-tête : état courant et barre de rubriques */
.site-nav [aria-current="page"], .nav-group.current > summary { color: var(--accent); }
.subnav { border-top: 1px solid var(--line); }
.subnav nav { display: flex; align-items: center; gap: 24px; height: 44px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.subnav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.subnav a:hover { color: var(--accent); }
.subnav-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* En-tête de page : photo pleine largeur, texte à gauche (même principe que le héros de l'accueil) */
.page-head { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(340px, 36vw, 440px); padding: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-head .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--bg-rgb), 1) 0%, rgba(var(--bg-rgb), .94) 32%, rgba(var(--bg-rgb), .4) 54%, rgba(var(--bg-rgb), 0) 70%); }
.inner .page-head .container { position: relative; z-index: 2; padding: 56px 0; }
.page-head .text { max-width: 560px; }
.page-head h1 { margin-bottom: 18px; }
.page-head h1 em { font-style: italic; color: var(--accent); }
.page-head .lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

/* Cartes */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid > * { min-width: 0; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -26px rgba(17, 21, 36, .45); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 1rem; }
.card p + p { margin-top: 10px; }
.card > a { margin-top: 14px; font-weight: 600; text-decoration: none; }
.card > a:hover { text-decoration: underline; }
.card .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); background: rgba(184, 92, 56, .12); }
.card .ico .icon { width: 1.5em; height: 1.5em; }
.card-img { width: calc(100% + 56px); max-width: none; height: auto; margin: -28px -28px 20px; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 17px 17px 0 0; }
.kido-img { display: block; width: 100%; max-width: 240px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; margin: 0 auto 18px; box-shadow: 0 18px 36px -22px rgba(17, 21, 36, .45); }
.inner .tag:not(.tl-item):not(.badge) { display: inline-block; align-self: flex-start; margin-bottom: 12px; padding: 3px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.harness-command { display: inline-block; max-width: 100%; margin-top: 16px; overflow-wrap: anywhere; }
.harness-evolution { margin-top: 36px; padding-left: 22px; border-left: 3px solid var(--accent); }
.harness-evolution p { color: var(--muted); margin-top: 8px; }
.harness-components-title { margin-top: 36px; }
/* Un paragraphe qui suit un titre, un tableau ou un bloc de code ne doit pas le toucher */
.inner .harness-components-title + p { margin-top: 14px; }
.inner .table-wrap + p, .inner pre + p, .inner pre + .note, .inner .harness-components + p { margin-top: 22px; }
.inner p + .table-wrap, .inner p + pre { margin-top: 22px; }
.harness-components { margin: 14px 0 0; padding-left: 1.2rem; color: var(--muted); }
.harness-components li { margin: 8px 0; }
.harness-components strong { color: var(--fg); }

/* Étapes numérotées */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; }
.steps li.has-img { padding-top: 28px; }
.steps li.has-img::before { position: absolute; top: 14px; left: 14px; z-index: 2; margin: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Photos */
.banner-img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 24px; margin-top: 32px; box-shadow: 0 30px 60px -28px rgba(17, 21, 36, .5); }
.kimono-illustration { width: 100%; max-width: 780px; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 24px; margin-top: 32px; box-shadow: 0 30px 60px -28px rgba(17, 21, 36, .5); }
/* Deux cartes photo côte à côte (aujourd'hui / demain) puis encadré */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.callout { margin-top: 40px; max-width: 760px; padding-left: 22px; border-left: 3px solid var(--accent); }
.callout h3 { margin-bottom: 8px; }
.callout p { color: var(--muted); }
/* Galerie de vignettes de styles */
.style-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.style-grid figure { margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.style-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.style-grid figcaption { padding: 10px 14px; font-family: var(--serif); font-weight: 600; font-size: .98rem; }
/* Photo à gauche, cartes empilées à droite */
.split-media { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 56px); align-items: center; margin-top: 32px; }
.split-media > .media { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(17, 21, 36, .5); }
.split-media .stack { display: grid; gap: 16px; min-width: 0; }
.quote-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.quote-feature img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(17, 21, 36, .5); }
.inner .quote { margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); border-left: 3px solid var(--accent); padding-left: 20px; }
.inner .quote cite { color: var(--muted); }
.product-shot { margin-bottom: 0; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.product-shot img { width: 100%; height: auto; border-radius: 10px; }
.product-shot figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; }

/* Code et tableaux */
.inner pre { max-width: 100%; margin: 18px 0; padding: 18px 22px; overflow-x: auto; background: var(--ink); color: var(--cream); border: 1px solid rgba(246, 239, 224, .14); border-radius: 16px; font-size: .9rem; line-height: 1.6; }
.inner pre code { background: none; padding: 0; color: inherit; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--bg-alt); color: var(--muted); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
table.data tbody th { font-family: var(--serif); font-weight: 600; }
table.data tbody tr:last-child > * { border-bottom: 0; }
.kimono-benchmark { min-width: 780px; }
.kimono-benchmark caption { padding: 14px 16px; text-align: left; color: var(--muted); }
.kimono-benchmark td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-gain { color: var(--accent); font-weight: 700; }

/* Chiffres et frise de phases (histoire) */
.inner .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; border-top: 0; }
.inner .stat { padding: 22px; border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 16px; background: var(--paper); text-align: left; }
.stat .num { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; color: var(--accent); }
.stat .lbl { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.span-bar { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; text-align: center; font-size: .9rem; }
.span-bar > div { padding: 16px 14px; }
.span-bar .s1 { flex: 4.5; background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 10px, var(--bg-alt) 10px, var(--bg-alt) 20px); }
.span-bar .s2 { flex: 6.2; background: var(--paper); border-left: 1px solid var(--line); }
.span-bar .s3 { flex: 10.5; background: rgba(184, 92, 56, .14); border-left: 1px solid var(--line); }
.span-bar strong { display: block; font-family: var(--serif); }
.span-bar span { color: var(--muted); }

/* Parcours en six ceintures */
.inner .grid.belts { display: grid; grid-template-columns: repeat(3, 1fr); position: static; margin-top: 36px; }
.inner .grid.belts::before { display: none; }
.belt-white  { --belt: #ffffff; --belt-edge: #8f8a7c; }
.belt-yellow { --belt: #e8c77a; --belt-edge: #c9a24a; }
.belt-orange { --belt: #d9863f; --belt-edge: #d9863f; }
.belt-green  { --belt: #5d8a4a; --belt-edge: #5d8a4a; }
.belt-blue   { --belt: #2c5aa0; --belt-edge: #2c5aa0; }
.belt-black  { --belt: #111524; --belt-edge: #111524; }
.card[class*="belt-"] { border-top: 4px solid var(--belt-edge); }
.card[class*="belt-"] .tag { color: var(--fg); }
.belt-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.belt-head .tag { margin-bottom: 4px; }
.belt-head h3 { margin: 0; }
.belt-dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--belt); border: 2px solid var(--fg); }
.card .belt-intro { color: var(--fg); margin-bottom: 14px; }
.belt-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.belt-list li { position: relative; padding-left: 20px; color: var(--muted); font-size: .96rem; }
.belt-list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--belt-edge); }
.card .belt-outcome { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.belt-outcome strong { color: var(--fg); }

/* Frise chronologique */
.timeline { list-style: none; position: relative; padding: 0 0 0 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; margin: 0 0 24px; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl-item.milestone::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(184, 92, 56, .18); }
.tl-item.nogit::before { border-style: dashed; border-color: var(--muted); }
.tl-date { margin-bottom: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tl-card { padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.tl-item.tag .tl-card { border-color: var(--accent); }
.tl-item.nogit .tl-card { border-style: dashed; }
.tl-card h3 { margin-bottom: 8px; }
.tl-card p { color: var(--muted); font-size: .98rem; }
.tl-card p + p { margin-top: 8px; }
.tl-card ul { margin: 8px 0; padding-left: 1.2rem; color: var(--muted); font-size: .96rem; }
.tl-card .facts { color: var(--fg); font-size: .85rem; }
.badge { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; vertical-align: middle; font-family: var(--sans); font-size: .72rem; font-weight: 700; background: var(--btn-bg); color: var(--btn-fg); }
.badge.first { background: var(--accent); color: #fff; }
.badge.nogit { background: none; border: 1px dashed var(--muted); color: var(--muted); }

/* Zones d'action : espace libre autour (≥ 16 px) et entre boutons (≥ 12 px, y compris au retour à la ligne) — règle L-design-005 */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-row + .note { margin-top: 20px; }

/* Conclusion */
.closing .btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.closing .btn.primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.closing .btn:not(.primary) { color: #fff; border-color: rgba(255, 255, 255, .7); }
.closing a:not(.btn) { color: #d4def0; }

@media (max-width: 960px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3, .steps, .inner .grid.belts { grid-template-columns: repeat(2, 1fr); }
  .quote-feature, .split-media { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-head::after { background: linear-gradient(90deg, rgba(var(--bg-rgb), 1) 0%, rgba(var(--bg-rgb), .9) 45%, rgba(var(--bg-rgb), .2) 100%); }
}
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-4, .steps, .inner .grid.belts, .duo { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .page-head { display: block; min-height: 0; }
  .page-head .bg { position: relative; height: 220px; object-position: 78% 50%; }
  .page-head::after { display: none; }
  .inner .page-head .container { padding: 32px 0 44px; }
  .span-bar { flex-direction: column; }
  .span-bar > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -28px; }
}
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* Actualités : liste et articles (pages générées par scripts/build-news.mjs) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.inner .news-intro { padding: clamp(40px, 5vw, 64px) 0 8px; }
.news-intro h1 { margin-bottom: 12px; }
.inner .news-list { padding-top: 24px; padding-bottom: clamp(56px, 7vw, 96px); }
.news-card h2 { font-size: 1.25rem; margin: 6px 0 10px; }
.news-card h2 a { color: var(--fg); text-decoration: none; }
.news-card h2 a:hover { color: var(--accent); }
.news-card .more { margin-top: auto; padding-top: 14px; font-weight: 600; text-decoration: none; }
.news-card .more::after { content: " →"; }
.news-card .more:hover { text-decoration: underline; }
.news-card .card-img { aspect-ratio: 5 / 3; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.inner .news-article { padding: 48px 0 72px; }
.news-article .container > * { max-width: 760px; margin-inline: auto; }
.news-article .back a { text-decoration: none; font-weight: 600; }
.news-article .back a:hover { text-decoration: underline; }
.news-article h1 { margin: 6px auto 14px; }
.article-hero { display: block; width: 100%; max-width: 760px; height: auto; margin: 28px auto; border-radius: 18px; box-shadow: 0 18px 36px -22px rgba(17, 21, 36, .45); }
.article-body p { margin: 0 0 1.15em; line-height: 1.7; }
.article-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 2em 0 .75em; line-height: 1.25; scroll-margin-top: 96px; }
.article-body h3 { margin: 1.6em 0 .55em; line-height: 1.3; }
/* Respiration sous les intertitres, quelle que soit la mise en page : le bloc qui suit garde une marge haute. */
.article-body h2 + *, .article-body h3 + * { margin-top: 0; }
.article-body h2 + p, .article-body h3 + p { padding-top: .1em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin-bottom: .4em; }
.article-body :not(pre) > code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: .08em .35em; }
/* Blocs de code */
.code-block { margin: 1.4em 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.code-block .code-lang { padding: 6px 14px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.code-block pre { margin: 0; padding: 14px 16px; background: transparent; border: 0; border-radius: 0; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.55; color: var(--fg); tab-size: 2; }
.code-block pre:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.code-block figcaption, .article-figure figcaption { padding: 8px 14px 10px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
/* Figures et schémas */
.article-figure { margin: 1.6em 0; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.article-figure figcaption { padding: 8px 2px 0; border: 0; }
/* Encadré À retenir */
.callout { margin: 1.6em 0; padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--paper); }
.callout .callout-title { display: block; margin-bottom: 4px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.callout p { margin: 0; }
/* Chiffres mesurés */
.stats { list-style: none; margin: 1.6em 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.article-body .stats { padding-left: 0; }
.stats li { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-family: var(--serif, Georgia, serif); font-size: 1.9rem; line-height: 1.1; color: var(--accent); }
.stats span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
/* Marche à suivre */
.article-body .steps { list-style: none; counter-reset: step; padding-left: 0; margin: 1.4em 0; }
.article-body .steps li { counter-increment: step; position: relative; padding: 4px 0 4px 44px; margin-bottom: 12px; }
.article-body .steps li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--btn-bg); color: var(--btn-fg); }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-nav a { text-decoration: none; font-weight: 600; }
.article-nav a:hover { text-decoration: underline; }
.article-nav .older { margin-left: auto; text-align: right; }

.inner .kimono-proof { padding-block: 0; }
.kimono-proof ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.kimono-proof li { padding-block: 10px; }
.kimono-proof b { font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.15; }
.kimono-proof span { display: block; margin-top: 1px; line-height: 1.25; }
.inner #capabilities { scroll-margin-top: 120px; }
.kimono-release { --nl-accent: var(--accent); }
.kimono-release-detail { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); scroll-margin-top: 120px; }
.kimono-release-detail > summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.kimono-release-detail > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.kimono-release-detail .article-body { margin-top: 24px; scroll-margin-top: 120px; }
.kimono-release .card > a { margin-top: 1rem; }
.kimono-release-detail .article-body > * + * { margin-top: 20px; }
.kimono-release-detail .article-body h3 { margin-top: 28px; margin-bottom: .6em; }
.kimono-release-detail .article-body p, .kimono-release-detail .article-body li { overflow-wrap: anywhere; }
.kimono-release-detail .article-body ul, .kimono-release-detail .article-body ol { padding-left: 24px; }
.kimono-release-detail .article-body .mini-cards { padding-left: 0; }
.kimono-release-detail .article-body .grammar-grid { padding-left: 0; }
.kimono-release-detail .article-body .steps { padding-left: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.kimono-release-detail .article-body .stats { padding-left: 0; list-style: none; }
.kimono-release-detail .code-block { margin-inline: 0; }
.kimono-release-detail .code-block pre { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.kimono-release-detail .faq ul { columns: 2 240px; column-gap: 32px; }
.kimono-release-detail .faq li { break-inside: avoid; margin-block: 6px; }
@media (max-width: 640px) {
  .kimono-proof li { padding-block: 8px; }
}
