/* Captyo — site vitrine, direction « Gardien ». */
@font-face { font-family: "Jersey 10"; src: url(../fonts/jersey-10.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --bg: #e3f1fe; --surface: #ffffff; --surface-2: #eef6fe; --ink: #232629; --muted: #55606b; --line: #c9dcef;
  --act: #c8410d; --on-act: #ffffff; --accent: #b23a08; --hot: #ff5e24; --shade: #a9c8e8; --shade-ink: #232629;
  --ok: #17703f; --ok-bg: #d8f2e2; --warn: #8a5a00; --warn-bg: #fdebc4; --bad: #a52a12; --bad-bg: #fbdcd2;
  --sky: #dbe8fb; --vulmir: #c4480a; --code-bg: #232629; --code-ink: #eef3f8; --code-k: #ffb08f; --code-s: #a8e0b9;
  --stair: polygon(0 16px, 8px 16px, 8px 8px, 16px 8px, 16px 0, calc(100% - 16px) 0, calc(100% - 16px) 8px, calc(100% - 8px) 8px, calc(100% - 8px) 16px, 100% 16px, 100% calc(100% - 16px), calc(100% - 8px) calc(100% - 16px), calc(100% - 8px) calc(100% - 8px), calc(100% - 16px) calc(100% - 8px), calc(100% - 16px) 100%, 16px 100%, 16px calc(100% - 8px), 8px calc(100% - 8px), 8px calc(100% - 16px), 0 calc(100% - 16px));
  --stair-s: polygon(0 8px, 8px 8px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #14181d; --surface: #1e242b; --surface-2: #283039; --ink: #eef3f8; --muted: #aab6c2; --line: #36414d;
  --act: #ff8a5c; --on-act: #1c0d05; --accent: #ff9f7a; --hot: #ff5e24; --shade: #07090b; --shade-ink: #07090b;
  --ok: #7fe0a6; --ok-bg: #173a27; --warn: #ffd27a; --warn-bg: #44330d; --bad: #ffab96; --bad-bg: #4a1e14;
  --vulmir: #f08a4b; --code-bg: #0c0f12; --code-ink: #eef3f8;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--shade) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 "Figtree", system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: inherit; font-family: "Jersey 10", "Figtree", sans-serif; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(58px, 7.6vw, 108px); line-height: .86; letter-spacing: .01em; }
h2 { font-size: clamp(44px, 5.6vw, 78px); line-height: .9; letter-spacing: .01em; }
h3 { font-size: 32px; line-height: 1; letter-spacing: .01em; }
h1 em, h2 em { font-style: normal; color: var(--act); }
p { text-wrap: pretty; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 12px 18px; background: var(--act); color: var(--on-act); }
.skip:focus { left: 12px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
section { position: relative; padding-block: clamp(56px, 7vw, 104px); }
.lead { max-width: 54ch; color: var(--muted); font-size: 20px; }
.head { display: grid; gap: 18px; max-width: 820px; margin-bottom: 44px; }
.head--center { margin-inline: auto; justify-items: center; text-align: center; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.text { display: grid; gap: 20px; justify-items: start; }
.text p { color: var(--muted); }

/* le pixel comme système : coins en escalier, ombre dure de 8 px */
.pxw { display: grid; filter: drop-shadow(8px 8px 0 var(--shade)); min-width: 0; }
.px { min-width: 0; background: var(--surface); clip-path: var(--stair); }
.btn, .act { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; background: var(--act); color: var(--on-act); font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; clip-path: var(--stair-s); }
.btn:hover, .act:hover { filter: brightness(1.08); }
.btn:focus-visible, .act:focus-visible, .seg button:focus-visible, .sig:focus-visible, .tabs button:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--ink); }
.btn--line { background: var(--ink); color: var(--bg); }
.act svg, .btn svg { width: 18px; height: 18px; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--hot); }
.more svg { width: 18px; height: 18px; color: var(--accent); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; background: var(--ok-bg); color: var(--ok); font-size: 14px; font-weight: 700; white-space: nowrap; }
.tag--warn { background: var(--warn-bg); color: var(--warn); }
.tag--bad { background: var(--bad-bg); color: var(--bad); }

/* décor en pixels */
.cloud, .star { position: absolute; width: 8px; height: 8px; pointer-events: none; }
.cloud { background: var(--surface); box-shadow: 8px 0 var(--surface), 16px 0 var(--surface), -8px 8px var(--surface), 0 8px var(--surface), 8px 8px var(--surface), 16px 8px var(--surface), 24px 8px var(--surface), 32px 8px var(--surface), -16px 16px var(--surface), -8px 16px var(--surface), 0 16px var(--surface), 8px 16px var(--surface), 16px 16px var(--surface), 24px 16px var(--surface), 32px 16px var(--surface), 40px 16px var(--surface); }
.star { background: var(--hot); box-shadow: 8px 0 var(--hot), -8px 0 var(--hot), 0 8px var(--hot), 0 -8px var(--hot); }
:root[data-theme="dark"] .cloud { opacity: .5; }

/* navigation */
.nav { position: relative; z-index: 20; padding-top: 20px; }
.bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px 10px 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; font: 400 36px/1 "Jersey 10", sans-serif; text-decoration: none; }
.mark { width: 36px; height: 36px; }
.nav__links { display: flex; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--muted); font-size: 16px; font-weight: 600; text-decoration: none; }
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; background: none; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .i-night, :root:not([data-theme="dark"]) .i-sun { display: none; }
.nav__btn { min-height: 44px; padding: 0 20px; font-size: 16px; }
.burger { display: none; }
.burger[aria-expanded="true"] .i-menu, .burger[aria-expanded="false"] .i-close { display: none; }
.drawer { margin-top: 12px; }
.drawer .px { display: grid; gap: 2px; padding: 16px; }
.drawer a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; font-weight: 600; text-decoration: none; }
.drawer a:not(.btn):hover { background: var(--surface-2); }
.drawer .btn { margin-top: 8px; }

/* héros */
.hero { padding-top: clamp(40px, 5vw, 72px); }
.hero .text { gap: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.post { display: grid; gap: 18px; }
.mascot { background: var(--sky); }
.mascot img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.status { display: flex; align-items: center; gap: 14px; padding: 16px 22px; font-size: 16px; }
.status i { width: 16px; height: 16px; flex: none; background: var(--ok); }
.status b { display: block; font-size: 17px; }
.status small { color: var(--muted); font-size: 15px; }
.hero .cloud { left: 4%; top: 78%; }
.hero .star { right: 3%; top: 12%; }

/* démonstration */
.form { display: grid; gap: 14px; padding: 28px; font-size: 15px; }
.form__h { display: flex; align-items: center; gap: 12px; }
.form__h b { font: 400 30px/1 "Jersey 10", sans-serif; }
.form__h span { display: grid; gap: 2px; }
.form__h small { color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 4px; color: var(--muted); font-size: 14px; font-weight: 600; }
.field span { display: flex; align-items: center; min-height: 46px; padding: 0 14px; background: var(--surface-2); color: var(--ink); font-size: 16px; font-weight: 500; }
.widget { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; padding: 14px 16px; background: var(--surface-2); box-shadow: inset 4px 0 0 var(--line); }
.widget[data-state="run"] { box-shadow: inset 4px 0 0 var(--hot); }
.widget[data-state="ok"] { box-shadow: inset 4px 0 0 var(--ok); }
.widget__box { display: grid; place-items: center; width: 36px; height: 36px; background: var(--surface); color: transparent; box-shadow: inset 0 0 0 3px var(--line); }
.widget[data-state="ok"] .widget__box { background: var(--ok); color: var(--surface); box-shadow: none; }
.widget__box svg { width: 22px; height: 22px; stroke-width: 3; }
.widget b { display: block; font-size: 16px; }
.widget small { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; }
.widget__brand { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: 400 22px/1 "Jersey 10", sans-serif; }
.cr { width: 20px; height: 20px; flex: none; }
.prog { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.prog i { height: 8px; background: var(--line); }
.prog i.on { background: var(--hot); }
.widget[data-state="ok"] .prog i { background: var(--ok); }
.form .act { width: 100%; }

/* trois temps */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.card { display: grid; align-content: start; gap: 14px; padding: 18px 18px 30px; height: 100%; }
.card > h3, .card > p { padding-inline: 10px; }
.card > p { color: var(--muted); font-size: 17px; }
.ui { display: grid; align-content: center; gap: 8px; min-height: 150px; padding: 14px; background: var(--surface-2); font-size: 15px; }
.row { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 4px 12px; background: var(--surface); }
.row svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.row b { margin-left: auto; white-space: nowrap; }
.row--on { background: var(--ink); color: var(--bg); }
.row--on svg { color: var(--hot); }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; }
.codebox { margin-top: 44px; }
.codebox .px { display: grid; gap: 0; background: var(--code-bg); color: var(--code-ink); }
.tabs { display: flex; gap: 4px; padding: 14px 14px 0; }
.tabs button { min-height: 44px; padding: 0 18px; border: 0; background: none; color: #aab6c2; font-size: 15px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: #36414d; color: #ffffff; }
.tabs button:focus-visible { box-shadow: inset 0 0 0 3px #ffffff; }
pre { margin: 0; padding: 22px 28px 30px; font: 500 14.5px/1.75 "JetBrains Mono", ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
pre .k { color: var(--code-k); } pre .s { color: var(--code-s); }

/* difficulté */
.gauge { display: grid; gap: 18px; padding: 28px; }
.level { display: flex; align-items: center; gap: 18px; }
.level__b { display: flex; gap: 6px; }
.level__b i { width: 32px; height: 32px; background: var(--line); }
.gauge[data-level="1"] .level__b i:nth-child(-n+1), .gauge[data-level="2"] .level__b i:nth-child(-n+2), .gauge[data-level="3"] .level__b i:nth-child(-n+3) { background: var(--hot); }
.level b { font: 400 40px/1 "Jersey 10", sans-serif; }
.level small { display: block; color: var(--muted); font-size: 15px; }
.sigs { display: grid; gap: 8px; }
.sig { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 14px; border: 0; background: var(--surface-2); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.sig::before { content: ""; width: 20px; height: 20px; flex: none; background: var(--surface); box-shadow: inset 0 0 0 3px var(--line); }
.sig[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.sig[aria-pressed="true"]::before { background: var(--hot); box-shadow: none; }
.sig span { margin-left: auto; font-weight: 700; white-space: nowrap; }
.gauge__note { color: var(--muted); font-size: 15px; }

/* où le placer */
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--4 .ui { min-height: 0; }

/* confidentialité */
.sheet { display: grid; gap: 8px; padding: 26px; font-size: 16px; }
.sheet h3 { margin-bottom: 6px; }
.sheet .row { background: var(--surface-2); min-height: 46px; }
.sheet .row s { text-decoration-thickness: 2px; text-decoration-color: var(--hot); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }

/* prix */
.seg { display: inline-flex; gap: 4px; padding: 6px; background: var(--surface); clip-path: var(--stair-s); }
.seg button { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 0; background: none; color: var(--muted); font-size: 17px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.gift { display: inline-block; color: var(--accent); font-size: 14px; font-weight: 800; animation: bob 1.2s steps(2) infinite; }
.seg button[aria-pressed="true"] .gift { color: var(--bg); }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 28px; height: 100%; }
.plan h3 { font-size: 44px; }
.plan__for { color: var(--muted); font-size: 16px; line-height: 1.45; min-height: 2.9em; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--muted); font-size: 15px; }
.plan__price b { color: var(--ink); font: 400 72px/.9 "Jersey 10", sans-serif; }
.plan__cr { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-top: 14px; border-top: 4px dotted var(--line); color: var(--muted); font-size: 16px; line-height: 1.4; }
.plan__cr b { color: var(--ink); font-size: 21px; }
.plan__lim { color: var(--muted); font-size: 15px; line-height: 1.5; }
.plan .btn { margin-top: auto; width: 100%; min-height: 48px; font-size: 16px; }
.plan--mid { background: var(--ink); color: var(--bg); }
.plan--mid .plan__for, .plan--mid .plan__price, .plan--mid .plan__cr, .plan--mid .plan__lim { color: color-mix(in srgb, var(--bg) 78%, var(--ink)); }
.plan--mid .plan__price b, .plan--mid .plan__cr b { color: var(--bg); }
.plan--mid .plan__cr { border-color: color-mix(in srgb, var(--bg) 30%, var(--ink)); }
.sub { margin: 52px 0 20px; }
.refill { display: grid; gap: 6px; padding: 24px 26px; height: 100%; }
.refill__n { display: flex; align-items: center; gap: 10px; font: 400 44px/1 "Jersey 10", sans-serif; }
.refill__n .cr { width: 28px; height: 28px; }
.refill__p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 17px; }
.refill__p b { color: var(--ink); font-size: 20px; }
.under { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; margin-top: 26px; }
.box { display: grid; gap: 12px; align-content: start; padding: 28px; height: 100%; }
.box p { color: var(--muted); font-size: 17px; }
.box h3 { display: flex; align-items: center; gap: 12px; }
.vul { padding: 4px; background: var(--vulmir); }
.vul > .box { clip-path: var(--stair); background: var(--surface); }
.vlogo { width: 34px; height: 34px; flex: none; }
.flux { width: 24px; height: 24px; }
.vul__n { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink); font-size: 18px; font-weight: 700; }

/* questions et appel final */
.faq { display: grid; gap: 18px; max-width: 860px; margin-inline: auto; }
.q summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 12px 26px; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.q summary::-webkit-details-marker { display: none; }
.q__i { width: 22px; height: 22px; flex: none; color: var(--accent); }
.q[open] .q__i { transform: rotate(45deg); }
.q p { max-width: 66ch; padding: 0 26px 26px; color: var(--muted); }
.final { margin-top: clamp(64px, 8vw, 112px); }
.final .px { display: grid; justify-items: center; gap: 22px; padding: clamp(40px, 6vw, 80px) 28px; background: #232629; color: #eef3f8; text-align: center; }
.final p { max-width: 52ch; color: #c3ced9; }
.final h2 em { color: #ff8a5c; }
.final .btn { background: #ff8a5c; color: #1c0d05; }

footer { padding: 24px 0 48px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-top: 36px; border-top: 4px dotted var(--shade); }
.foot p { max-width: 30ch; margin-top: 12px; color: var(--muted); font-size: 16px; }
.foot h2 { margin-bottom: 10px; font: 700 16px/1.5 "Figtree", sans-serif; letter-spacing: 0; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: 16px; text-decoration: none; }
.foot li a:hover { color: var(--ink); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; color: var(--muted); font-size: 15px; }


/* ===== site complet ===== */
.nav__links a[aria-current="page"], .drawer a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.hero--page h1 { font-size: clamp(52px, 6.4vw, 92px); }
.hero--solo .text { max-width: 860px; }
.duo--rev > :first-child { order: 2; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card .more { margin-inline: 10px; justify-self: start; }
.card--text { padding-top: 30px; }
.ui--auto { min-height: 0; }
.note { max-width: 70ch; margin: 28px auto 0; color: var(--muted); text-align: center; }
.center { display: grid; justify-items: center; margin-top: 32px; }
.yes .ui { box-shadow: inset 0 6px 0 var(--ok); }
.no .ui { box-shadow: inset 0 6px 0 var(--bad); }
.codebox--inline { margin-top: 0; }
pre .n { color: #ffd27a; }

/* configurateur de règles */
.builder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.panel { display: grid; gap: 14px; padding: 28px; }
.panel h3 { margin-bottom: 2px; }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.levels legend, .ctx legend { padding: 0; margin-bottom: 8px; color: var(--muted); font-size: 15px; font-weight: 700; }
.levels label { position: relative; display: grid; gap: 2px; min-height: 64px; padding: 10px 14px; background: var(--surface-2); cursor: pointer; }
.levels input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.levels b { font-size: 17px; }
.levels small { color: var(--muted); font-size: 14px; }
.levels label:has(input:checked) { background: var(--ink); color: var(--bg); }
.levels label:has(input:checked) small { color: color-mix(in srgb, var(--bg) 78%, var(--ink)); }
.levels label:has(input:focus-visible) { box-shadow: inset 0 0 0 3px var(--hot); }
.rule { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; min-height: 56px; padding: 8px 14px; background: var(--surface-2); font-size: 16px; }
.rule input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 44px; height: 44px; margin: 0; background: var(--surface) center / 0 no-repeat; box-shadow: inset 0 0 0 3px var(--line); cursor: pointer; }
.rule input[type="checkbox"]:checked { background: var(--hot) linear-gradient(var(--ink), var(--ink)) center / 16px 16px no-repeat; box-shadow: none; }
.rule label { font-weight: 600; }
.rule select, .rule input[type="text"], .ctx select, .ctx input { min-height: 44px; padding: 0 10px; border: 0; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; box-shadow: inset 0 0 0 2px var(--line); }
.rule input[type="text"] { grid-column: 2 / -1; width: 100%; font-family: "JetBrains Mono", monospace; font-size: 15px; }
.rule select:focus-visible, .rule input:focus-visible, .ctx select:focus-visible, .ctx input:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--ink); }
.out .px { background: var(--code-bg); color: var(--code-ink); }
.out__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 0 28px; color: #aab6c2; font-size: 15px; font-weight: 700; }
.out__bar button { min-height: 44px; padding: 0 16px; border: 0; background: #36414d; color: #ffffff; font-size: 15px; font-weight: 700; cursor: pointer; }
.out__bar button:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px #ffffff; }
.out pre { max-height: 560px; overflow: auto; }
.ctx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.ctx legend { grid-column: 1 / -1; }
.ctx label { display: grid; gap: 4px; color: var(--muted); font-size: 14px; font-weight: 600; }
.ctx select, .ctx input { width: 100%; }
.result { display: grid; gap: 14px; }
.why { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.why li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--surface-2); }
.why li b { white-space: nowrap; }

@media (max-width: 900px) {
  .duo--rev > :first-child { order: 0; }
  .cards--2, .builder { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .panel { padding: 20px; }
  .levels, .ctx { grid-template-columns: minmax(0, 1fr); }
  .rule { grid-template-columns: auto minmax(0, 1fr); }
  .rule select { grid-column: 1 / -1; width: 100%; }
  .rule input[type="text"] { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .nav__links, .nav__btn { display: none; }
  .burger { display: inline-grid; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .lead { font-size: 18px; }
  .duo, .cards, .two, .under { grid-template-columns: minmax(0, 1fr); }
  .plan__for { min-height: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot li a { display: flex; min-height: 44px; }
  .hero .cloud, .hero .star { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .pxw { filter: drop-shadow(4px 4px 0 var(--shade)); }
  .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .form, .gauge, .sheet, .box { padding: 20px; }
  .widget { grid-template-columns: auto minmax(0, 1fr); }
  .widget__brand { display: none; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; justify-content: center; flex-direction: column; gap: 0; min-height: 56px; padding: 0 8px; line-height: 1.2; }
  .level b { font-size: 34px; }
  pre { padding: 16px 18px 22px; font-size: 14px; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}.faq > h2 { margin: 20px 0 0; font-size: 44px; }
.faq > h2:first-child { margin-top: 0; }
pre code { font: inherit; }
