/* GUIFormat — guiformat.com.mx
   Palette: Signal orange #E68C34 · Steel mist #A2B5BE · Slate #496272 · Paper #F7F7F7
   Concept: a storage "spec sheet". Partition-bar motifs, cluster-square markers, quiet surfaces. */

:root {
  --orange: #E68C34;
  --orange-deep: #C9731F;
  --orange-soft: #FCEBDA;
  --mist: #A2B5BE;
  --mist-soft: #E6EDF0;
  --slate: #496272;
  --slate-deep: #33485A;
  --paper: #F7F7F7;
  --card: #FFFFFF;
  --ink: #1E2A32;
  --muted: #566874;
  --border: #E1E7EA;
  --success: #2E9E62;
  --warning: #D99A16;
  --error: #D04A3E;

  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --shadow-1: 0 1px 2px rgba(33, 48, 60, .06), 0 6px 18px rgba(33, 48, 60, .07);
  --shadow-2: 0 2px 6px rgba(33, 48, 60, .08), 0 18px 40px rgba(33, 48, 60, .12);
  --shadow-orange: 0 10px 26px rgba(230, 140, 52, .32);
  --wrap: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
code, kbd, pre { font-family: var(--f-mono); font-size: .9em; }
kbd { background: var(--card); border: 1px solid var(--border); border-bottom-width: 3px; border-radius: 7px; padding: 2px 8px; font-size: .82em; white-space: nowrap; }
pre { background: #22313B; color: #E9EEF1; padding: 18px 20px; border-radius: var(--r-md); overflow-x: auto; line-height: 1.6; }
p code, li code, td code { background: var(--mist-soft); padding: 2px 6px; border-radius: 6px; color: var(--slate-deep); overflow-wrap: anywhere; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- headings: always one line ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); margin: 0; letter-spacing: -.015em; line-height: 1.2; }
h1 { font-weight: 700; font-size: clamp(1.55rem, 6.2vw, 3.6rem); white-space: nowrap; }
h2 { font-weight: 700; font-size: clamp(1.3rem, 5.2vw, 2.35rem); white-space: nowrap; }
h3 { font-weight: 600; font-size: clamp(1.02rem, 4.3vw, 1.22rem); white-space: nowrap; }
h4 { font-weight: 600; font-size: 1rem; white-space: nowrap; }

/* section head: label, heading, description stacked */
.sec { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.sec--tint { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.sec--mist { background: var(--mist-soft); }
.head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.head--center { margin-inline: auto; text-align: center; }
.head .label { display: inline-flex; align-items: center; gap: 10px; font: 600 .9rem/1 var(--f-body); color: var(--slate); margin-bottom: 14px; }
.label::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); box-shadow: 16px 0 0 var(--mist), 32px 0 0 var(--mist-soft); margin-right: 36px; }
.head h2 { position: relative; }
.head p { margin: 14px 0 0; color: var(--muted); font-size: 1.08rem; max-width: 68ch; }
.head--center p { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { --bg: var(--orange); --fg: #1B242B; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 12px; border: 0; background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--f-head); text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-orange); background: #EE9A45; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--slate { --bg: var(--slate); --fg: #fff; }
.btn--slate:hover { background: var(--slate-deep); box-shadow: 0 10px 24px rgba(73, 98, 114, .3); }
.btn--ghost { --bg: transparent; --fg: var(--slate-deep); box-shadow: inset 0 0 0 1.5px var(--mist); }
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--slate), var(--shadow-1); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.topbar { background: var(--slate-deep); color: #E6EDF0; font-size: .875rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; text-align: center; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #58D18F; box-shadow: 0 0 0 4px rgba(88, 209, 143, .2); flex: none; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 247, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s; }
.nav.scrolled { border-color: var(--border); box-shadow: 0 8px 24px rgba(33, 48, 60, .06); background: rgba(255, 255, 255, .9); }
.nav .wrap { height: var(--nav-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: clamp(24px, 4vw, 56px); }
nav[aria-label="Main"] { justify-self: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; flex: none; text-decoration: none; color: var(--ink); font: 700 1.28rem/1 var(--f-head); letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; }
.brand small { display: block; font: 500 .72rem/1.2 var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.menu { display: flex; gap: clamp(2px, 0.6vw, 10px); list-style: none; padding: 0; margin: 0; }
.menu a { display: block; padding: 10px 16px; white-space: nowrap; border-radius: 10px; font: 500 .97rem/1 var(--f-body); color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.menu a:hover, .menu a[aria-current="page"] { background: #fff; color: var(--orange-deep); box-shadow: var(--shadow-1); }
.nav-cta { justify-self: end; }
.burger { display: none; justify-self: end; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1120px) {
  .nav .wrap { grid-template-columns: auto 1fr auto; }
  nav[aria-label="Main"] { justify-self: stretch; }
  .burger { display: inline-flex; grid-column: 3; }
  .nav-cta { display: none; }
  .menu { position: fixed; inset: var(--nav-h) 0 auto 0; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; flex-direction: column; gap: 2px; padding: 14px 20px 22px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-2); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s ease; margin: 0; }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { padding: 14px 12px; font-size: 1.05rem; }
  .menu li.menu-dl { display: block; margin-top: 10px; }
  .menu li.menu-dl a { display: flex; align-items: center; justify-content: center; gap: 10px; color: #1B242B; background: var(--orange); box-shadow: none; font: 600 1rem/1 var(--f-head); }
}
.menu .menu-dl { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(73, 98, 114, .16) 1px, transparent 0); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.tagline { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font: 500 .9rem/1.2 var(--f-body); color: var(--slate-deep); box-shadow: var(--shadow-1); margin-bottom: 22px; }
.tagline b { background: var(--orange-soft); color: var(--orange-deep); padding: 4px 9px; border-radius: 999px; font-weight: 600; font-size: .8rem; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 56ch; margin: 0 0 30px; }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.facts li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 13px; font-size: .9rem; color: var(--slate-deep); transition: border-color .2s, box-shadow .2s, transform .2s; }
.facts li:hover { border-color: var(--mist); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.facts svg { width: 18px; height: 18px; color: var(--orange-deep); flex: none; }
.stars { color: var(--orange); letter-spacing: 1px; }

.hero-visual { position: relative; }
.hero-shot { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid #fff; background: var(--mist-soft); aspect-ratio: 16/9; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-2); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .88rem; line-height: 1.3; border: 1px solid var(--border); }
.chip strong { display: block; font-family: var(--f-head); font-size: 1rem; color: var(--ink); }
.chip span { color: var(--muted); }
.chip .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); flex: none; }
.chip .ic svg { width: 20px; height: 20px; }
.chip--a { left: -22px; bottom: -26px; }
.chip--b { right: -14px; top: -22px; }
@media (max-width: 1320px) { .chip--b { right: 12px; } .chip--a { left: 12px; } }
.chip--b .ic { background: var(--mist-soft); color: var(--slate); }

/* interactive "will it format?" check */
.checker { margin-top: 44px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 20px 26px; align-items: center; }
.checker > * { min-width: 0; }
.checker h3 { grid-column: 1 / -1; font-size: 1.05rem; }
.checker label { font-weight: 600; font-size: .95rem; color: var(--slate-deep); }
.checker-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.checker input[type=range] { flex: 1 1 180px; accent-color: var(--orange); }
.checker output { font: 700 1.05rem/1 var(--f-head); min-width: 76px; color: var(--ink); }
.verdict { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.verdict div { border-radius: 12px; padding: 12px 14px; font-size: .92rem; line-height: 1.45; border: 1px solid var(--border); }
.verdict b { display: block; font-family: var(--f-head); font-size: .95rem; margin-bottom: 2px; }
.v-ok { background: #EAF6EF; border-color: #CFE9DA !important; }
.v-no { background: #FBECEA; border-color: #F2D2CD !important; }
.v-warn { background: #FCF4E2; border-color: #F1E1B9 !important; }

/* ---------- partition bar (trust bar) ---------- */
.pbar { margin-top: -28px; position: relative; z-index: 2; }
.pbar-track { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--border); }
.pbar-seg { padding: 22px 22px 20px; position: relative; border-right: 1px solid var(--border); transition: background .2s; }
.pbar-seg:last-child { border-right: 0; }
.pbar-seg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--seg, var(--mist)); }
.pbar-seg:hover { background: #FBFCFC; }
.pbar-seg strong { display: block; font: 700 clamp(1.15rem, 2.2vw, 1.5rem)/1.2 var(--f-head); color: var(--ink); white-space: nowrap; }
.pbar-seg span { font-size: .9rem; color: var(--muted); }
.pbar-legend { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font: 500 .8rem/1.3 var(--f-mono); color: var(--muted); margin-top: 10px; padding: 0 6px; }

/* ---------- generic cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--mist); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.ic-box { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); margin-bottom: 18px; transition: transform .25s; }
.card:hover .ic-box { transform: rotate(-6deg) scale(1.06); }
.ic-box svg { width: 24px; height: 24px; }
.ic-box--slate { background: var(--mist-soft); color: var(--slate); }

/* about: split with expert note */
.about-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 28px; align-items: start; }
.prose h3 { margin: 28px 0 10px; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; color: #33424C; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; color: #33424C; }
.prose li { margin-bottom: 6px; }
.note { background: var(--slate); color: #EAF0F3; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-2); position: sticky; top: calc(var(--nav-h) + 24px); }
.note h3 { color: #fff; margin-bottom: 12px; }
.note p { color: #DCE5EA; margin: 0 0 14px; font-size: .98rem; }
.note .sig { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; }
.note .sig b { color: #fff; display: block; font-family: var(--f-head); }
.note .score { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 16px; }
.note .score strong { font: 700 2.4rem/1 var(--f-head); color: #fff; }
.note .meter { height: 8px; background: rgba(255, 255, 255, .15); border-radius: 8px; overflow: hidden; margin: 6px 0 12px; }
.note .meter i { display: block; height: 100%; background: var(--orange); border-radius: 8px; }
.note dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: .9rem; margin: 0; }
.note dd { margin: 0; color: #fff; font-weight: 600; }

/* features: bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { grid-column: span 2; }
.bento .card.wide { grid-column: span 4; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 4px 22px; align-items: start; align-content: start; background: linear-gradient(135deg, #fff 55%, var(--orange-soft) 160%); }
.bento .card.wide .ic-box { grid-row: span 2; width: 58px; height: 58px; margin: 0; }
.bento .card.wide h3 { margin-top: 4px; }

/* requirements */
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.req { padding: 0; overflow: hidden; }
.req header { padding: 20px 24px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.req header .tag { margin-left: auto; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--mist-soft); color: var(--slate-deep); }
.req--rec header { background: linear-gradient(90deg, var(--orange-soft), #fff); }
.req--rec header .tag { background: var(--orange); color: #1B242B; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 13px 24px; border-bottom: 1px solid var(--border); font-size: .96rem; vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 36%; color: var(--muted); font-weight: 500; }
.spec td { color: var(--ink); font-weight: 500; }

/* download */
.dl { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); border: 1px solid var(--border); overflow: hidden; }
.dl-specs { padding: 8px 0; border-right: 1px solid var(--border); }
.dl-specs .spec th { width: 42%; }
.dl-main { padding: 30px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, #FFFDFB, #fff); }
.dl-main .ver { display: flex; align-items: center; gap: 14px; }
.dl-main .ver img { width: 58px; height: 58px; }
.dl-main .ver strong { font: 700 1.35rem/1.2 var(--f-head); display: block; white-space: nowrap; }
.dl-main .ver span { color: var(--muted); font-size: .92rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--mist-soft); color: var(--slate-deep); }
.badge svg { width: 15px; height: 15px; }
.badge--ok { background: #EAF6EF; color: #1F7A49; }
.badge--or { background: var(--orange-soft); color: #9A5512; }
.hash { background: #22313B; color: #E7EDF0; border-radius: 12px; padding: 14px 16px; font: 500 .8rem/1.55 var(--f-mono); word-break: break-all; position: relative; }
.hash span { display: block; color: var(--mist); font-size: .74rem; margin-bottom: 4px; font-family: var(--f-body); font-weight: 600; }
.copy { position: absolute; right: 10px; top: 10px; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 8px; padding: 5px 10px; font: 600 .75rem/1 var(--f-body); cursor: pointer; }
.copy:hover { background: var(--orange); color: #1B242B; }
.mirrors { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mirrors a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; transition: border-color .2s, background .2s, transform .2s; }
.mirrors a:hover { border-color: var(--orange); background: #FFFAF5; transform: translateX(3px); }
.mirrors small { color: var(--muted); font-weight: 400; }
.fineprint { font-size: .86rem; color: var(--muted); margin: 0; }

/* tabs (installation) */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 11px 18px; font: 600 .95rem/1 var(--f-head); color: var(--slate-deep); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: .2s; }
.tab:hover { border-color: var(--mist); box-shadow: var(--shadow-1); }
.tab[aria-selected="true"] { background: var(--slate); color: #fff; border-color: var(--slate); box-shadow: 0 8px 20px rgba(73, 98, 114, .25); }
.tab svg { width: 18px; height: 18px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-1); }
.panel[hidden] { display: none; }
.panel .intro { color: var(--muted); margin: 6px 0 20px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 14px; transition: background .2s; }
.steps li:hover { background: var(--paper); }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 700 1.05rem/1 var(--f-head); background: var(--orange-soft); color: var(--orange-deep); }
.steps li > div > b { display: block; font-family: var(--f-head); font-weight: 600; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.callout { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--orange-soft); color: #6F3F0E; font-size: .95rem; }
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.callout--info { background: var(--mist-soft); color: var(--slate-deep); }

/* how to use: two-panel guide */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide-grid .card ul { margin: 12px 0 0; padding-left: 20px; color: #33424C; font-size: .97rem; }
.guide-grid .card li { margin-bottom: 7px; }
.kbd-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.kbd-table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.kbd-table td:first-child { width: 46%; }
.kbd-table tr:last-child td { border-bottom: 0; }

/* how it works: a horizontal sequence */
.flow { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: f; position: relative; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 31px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 26px, transparent 26px 32px); opacity: .5; }
.flow li { list-style: none; counter-increment: f; position: relative; text-align: center; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 18px; background: #fff; border: 2px solid var(--orange); font: 700 1.4rem/1 var(--f-head); color: var(--orange-deep); box-shadow: var(--shadow-1); position: relative; transition: transform .25s, background .25s; }
.flow li:hover::before { transform: translateY(-4px); background: var(--orange); color: #1B242B; }
.flow h3 { font-size: 1rem; margin-bottom: 6px; }
.flow p { margin: 0; font-size: .92rem; color: var(--muted); }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-1); }
.tbl { width: 100%; border-collapse: collapse; min-width: 720px; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; vertical-align: top; }
.tbl thead th { background: var(--slate); color: #fff; font: 600 .92rem/1.3 var(--f-head); white-space: nowrap; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: #FBF6F0; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tbl .hl { background: #FFF6EC; }
.yes { color: var(--success); font-weight: 600; white-space: nowrap; }
.no { color: var(--error); font-weight: 600; white-space: nowrap; }
.part { color: var(--warning); font-weight: 600; white-space: nowrap; }

/* pros & cons */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc .card { padding: 0; overflow: hidden; }
.pc header { display: flex; gap: 12px; align-items: center; padding: 20px 24px; }
.pc .pros header { background: #EAF6EF; } .pc .cons header { background: #FBECEA; }
.pc header svg { width: 26px; height: 26px; }
.pc .pros header svg { color: var(--success); } .pc .cons header svg { color: var(--error); }
.pc ul { list-style: none; margin: 0; padding: 10px 24px 22px; }
.pc li { padding: 11px 0 11px 30px; position: relative; border-bottom: 1px dashed var(--border); font-size: .97rem; color: #33424C; }
.pc li:last-child { border-bottom: 0; }
.pc li::before { position: absolute; left: 0; top: 11px; font-weight: 700; }
.pc .pros li::before { content: "+"; color: var(--success); }
.pc .cons li::before { content: "–"; color: var(--error); }

/* use cases */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use { display: flex; flex-direction: column; }
.use .who { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.use .who .ic-box { margin: 0; }
.use .eg { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: .9rem; color: var(--slate-deep); }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .25s, box-shadow .25s; cursor: zoom-in; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.shot { display: flex; flex-direction: column; }
.shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot:last-child { grid-column: span 2; }
.shot:first-child button { flex: 1; display: flex; }
.shot:first-child .media { aspect-ratio: auto; flex: 1; min-height: 240px; }
.shot:last-child .media { aspect-ratio: 32/9; }
.shot button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.shot button:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.shot figcaption { padding: 12px 14px; font-size: .88rem; color: var(--muted); }
.shot figcaption b { display: block; color: var(--ink); font-family: var(--f-head); font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* media w/ skeleton */
.media { position: relative; aspect-ratio: 16/9; background: linear-gradient(100deg, #E9EEF1 30%, #F6F8F9 50%, #E9EEF1 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; overflow: hidden; }
.media.loaded { animation: none; background: var(--mist-soft); }
.media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease, transform .5s ease; }
.media.loaded img { opacity: 1; }
@keyframes shimmer { to { background-position: -100% 0; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20, 30, 38, .86); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; }
.lightbox img { border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.lightbox figcaption { color: #E6EDF0; text-align: center; margin-top: 12px; }
.lightbox .x { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 12px; border: 0; background: #fff; font-size: 1.4rem; cursor: pointer; }

/* troubleshooting */
.issues { display: grid; gap: 12px; }
.issue { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-1); transition: border-color .2s, box-shadow .2s; }
.issue:hover { border-color: var(--mist); box-shadow: var(--shadow-2); }
.issue summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 14px; }
.issue summary::-webkit-details-marker { display: none; }
.issue summary .sev { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--error); }
.issue summary .sev--w { background: var(--warning); }
.issue summary h3 { font-size: 1rem; min-width: 0; overflow: hidden; }
.issue summary::after { content: "+"; margin-left: auto; font: 600 1.4rem/1 var(--f-head); color: var(--slate); transition: transform .2s; }
.issue[open] summary::after { transform: rotate(45deg); }
.issue .body { padding: 0 22px 20px 46px; color: #33424C; }
.issue .body p { margin: 0 0 10px; }
.trouble-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 24px; align-items: start; }
.side-card h3 { margin-bottom: 12px; }
.side-card ul { margin: 0; padding-left: 20px; color: #33424C; font-size: .96rem; }
.side-card li { margin-bottom: 8px; }
.side-card + .side-card { margin-top: 18px; }

/* security */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sec-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; margin-bottom: 18px; }
.verify { background: #22313B; color: #E7EDF0; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-2); }
.verify h3 { color: #fff; margin-bottom: 8px; }
.verify p { color: #C5D3DA; margin: 0 0 14px; font-size: .96rem; }
.verify pre { background: #172229; margin: 0; font-size: .82rem; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { display: flex; flex-direction: column; gap: 14px; }
.review .top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 700 1rem/1 var(--f-head); color: #fff; background: var(--slate); flex: none; }
.review .top b { display: block; font-family: var(--f-head); font-weight: 600; }
.review .top span { font-size: .86rem; color: var(--muted); }
.review .top .avatar { color: #fff; font-size: 1rem; }
.review .sample { margin-left: auto; font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--mist-soft); color: var(--slate-deep); white-space: nowrap; }
.review p { color: #33424C !important; font-size: .97rem; }
.review-note { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px dashed var(--mist); border-radius: var(--r-md); padding: 18px 22px; }
.review-note p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* faq */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.faq-cat { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.faq-cat .ic-box { margin: 0; }
.faq-cat p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.faq { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq:hover { border-color: var(--mist); box-shadow: var(--shadow-1); }
.faq[open] { border-color: var(--orange); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; font: 600 1rem/1.45 var(--f-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; margin-left: auto; margin-top: 6px; width: 10px; height: 10px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 20px 18px; color: #33424C; font-size: .97rem; }
.faq .a p { margin: 0; }

/* blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .media { border-bottom: 1px solid var(--border); }
.post-card:hover .media img { transform: scale(1.04); }
.post-card .pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .cat { font-size: .82rem; font-weight: 600; color: var(--orange-deep); text-decoration: none; }
.post-card h3 { font-size: 1.1rem; line-height: 1.35; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--orange-deep); }
.post-card p { font-size: .95rem; }
.post-card .meta { margin-top: auto; font-size: .84rem; color: var(--muted); display: flex; gap: 14px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chips-row a { padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--border); text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--slate-deep); transition: .2s; }
.chips-row a:hover, .chips-row a[aria-current="page"] { border-color: var(--orange); background: var(--orange-soft); color: #7A420E; }

/* CTA band */
.band { background: var(--slate); border-radius: 28px; padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-2); }
.band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; background: repeating-linear-gradient(90deg, rgba(230, 140, 52, .9) 0 34px, transparent 34px 44px); transform: rotate(-35deg); opacity: .22; }
.band h2 { color: #fff; }
.band p { color: #DCE6EB; margin: 12px 0 0; }
.band .cta-row { margin: 0; justify-content: flex-end; position: relative; z-index: 1; }
.band .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.band .btn--ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; }

/* newsletter */
.news { display: flex; gap: 10px; flex-wrap: wrap; }
.news input { flex: 1 1 220px; min-height: 50px; border-radius: 12px; border: 1px solid var(--border); padding: 0 16px; font: 400 1rem var(--f-body); background: #fff; }
.news input:focus { outline: 3px solid var(--orange-soft); border-color: var(--orange); }
.form-msg { font-size: .9rem; color: var(--success); margin: 8px 0 0; min-height: 1.2em; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci .ic-box { margin: 0; width: 44px; height: 44px; background: #fff; box-shadow: var(--shadow-1); }
.ci b { display: block; font-family: var(--f-head); font-weight: 600; }
.ci span, .ci a { font-size: .96rem; color: var(--muted); }
.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); min-height: 220px; flex: 1; background: var(--mist-soft); position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; color: var(--slate-deep); }
.form input, .form textarea, .form select { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; font: 400 1rem var(--f-body); background: #FBFCFC; color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--orange-soft); border-color: var(--orange); background: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--slate); transition: .2s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #1B242B; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

/* footer */
.footer { background: #22313B; color: #C3D0D7; padding: 72px 0 0; margin-top: 0; }
.footer a { color: #DDE6EB; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #9FB2BC; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer p { font-size: .95rem; margin: 14px 0; }
.footer .news input { background: #2C3E4A; border-color: #3B5060; color: #fff; }
.footer .news input::placeholder { color: #9FB2BC; }
.footer .socials a { background: #2C3E4A; border-color: #3B5060; color: #DDE6EB; }
.f-bottom { margin-top: 56px; border-top: 1px solid #344856; padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .9rem; }
.f-bottom a { color: var(--orange); font-weight: 600; }
.f-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.f-legal a { color: #C3D0D7; font-weight: 400; }

/* sticky download (mobile bar + desktop pill) */
.sticky-dl { position: fixed; z-index: 45; right: 22px; bottom: 22px; transform: translateY(140%); transition: transform .3s ease; }
.sticky-dl.show { transform: none; }
.sticky-dl .btn { box-shadow: var(--shadow-orange); }
@media (max-width: 720px) {
  .sticky-dl { left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; backdrop-filter: blur(10px); }
  .sticky-dl .btn { flex: 1; }
  .sticky-dl .meta { font-size: .8rem; color: var(--muted); line-height: 1.3; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 76px; }
}
@media (min-width: 721px) { .sticky-dl .meta { display: none; } }

/* exit intent modal */
.modal { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 30, 38, .55); }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 24px; max-width: 520px; width: 100%; padding: 34px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); position: relative; animation: pop .3s ease; }
.modal-box h2 { font-size: clamp(1.2rem, 4.6vw, 1.6rem); }
.modal-box p { color: var(--muted); margin: 12px 0 18px; }
.modal-box .x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 1.2rem; }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }

/* reveal (one restrained entrance) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fff, var(--paper)); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(73, 98, 114, .14) 1px, transparent 0); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(1.45rem, 5.4vw, 2.8rem); margin: 6px 0 14px; }
.page-hero p { color: var(--muted); max-width: 70ch; margin: 0; font-size: 1.08rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--mist); }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--orange-deep); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 18px; }
.aside .card { padding: 22px; }
.aside .card:hover { transform: none; }
.aside h3 { font-size: 1rem; margin-bottom: 12px; }
.aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside ul a { display: block; padding: 8px 10px; border-radius: 9px; text-decoration: none; font-size: .94rem; color: var(--slate-deep); }
.aside ul a:hover { background: var(--paper); color: var(--orange-deep); }
.aside .dl-mini { background: var(--slate); color: #fff; border: 0; }
.aside .dl-mini h3 { color: #fff; }
.aside .dl-mini p { color: #DCE6EB; font-size: .92rem; margin: 0 0 14px; }
.article { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.article .feat { margin: 0; }
.article .feat .media { aspect-ratio: 16/9; }
.article .feat figcaption, .article figure figcaption { font-size: .86rem; color: var(--muted); padding: 10px 4px 0; }
.article .inner { padding: clamp(22px, 4vw, 48px); }
.article .meta-row { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: .9rem; color: var(--muted); padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.article .meta-row .who { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.article .meta-row .who img { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); padding: 3px; }
.content { font-size: 1.06rem; }
.content > * { max-width: 72ch; }
.content h2 { font-size: clamp(1.15rem, 4.2vw, 1.6rem); margin: 40px 0 14px; white-space: nowrap; }
.content h3 { margin: 28px 0 10px; }
.content p { margin: 0 0 18px; color: #2D3B45; }
.content ul, .content ol { margin: 0 0 20px; padding-left: 24px; color: #2D3B45; }
.content li { margin-bottom: 8px; }
.content figure { margin: 30px 0; max-width: none; }
.content figure .media { border-radius: var(--r-md); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.content .table-wrap { max-width: none; margin: 0 0 22px; }
.content .table-wrap .tbl { min-width: 560px; }
.content .callout { max-width: none; }
.content .tldr { background: var(--paper); border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; padding: 18px 22px; margin-bottom: 26px; }
.content .tldr p { margin: 0; }
.content .tldr b { font-family: var(--f-head); }
.toc { background: var(--paper); border-radius: 14px; padding: 18px 22px; margin: 0 0 28px; }
.toc b { font-family: var(--f-head); display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; font-size: .96rem; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--border); max-width: none !important; }
.author-box img { width: 56px; height: 56px; border-radius: 14px; background: #fff; padding: 4px; }
.author-box p { margin: 4px 0 0; font-size: .95rem; color: var(--muted); }
.related { margin-top: 48px; }
.legal .content h2 { white-space: normal; }
.legal-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legal-index .card h3 a { color: var(--ink); text-decoration: none; }
.legal-index .card h3 a:hover { color: var(--orange-deep); }
.sitemap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sitemap-cols ul { padding-left: 18px; margin: 0; }
.sitemap-cols li { margin-bottom: 6px; }
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: clamp(1.6rem, 6vw, 3rem); }

/* grid children may shrink below their content width */
.hero-grid > *, .about-grid > *, .req-grid > *, .dl > *, .guide-grid > *, .pc > *, .trouble-grid > *, .sec-hero > *, .sec-grid > *, .contact-grid > *, .faq-cols > *, .band > *, .layout > *, .uses > *, .reviews > *, .posts > *, .bento > *, .shots > * { min-width: 0; }
.card h3, .faq-cat h3, .use .who > div { min-width: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
  .chip--a { left: 10px; } .chip--b { right: 10px; }
  .f-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-grid > :first-child { grid-column: 1 / -1; }
  .f-grid > :last-child { grid-column: 1 / -1; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow::before { display: none; }
  .flow li { display: grid; grid-template-columns: 66px 1fr; gap: 0 16px; text-align: left; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-1); }
  .flow li::before { margin: 0; grid-row: span 2; }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 900px) {
  .about-grid, .req-grid, .dl, .pc, .guide-grid, .trouble-grid, .sec-hero, .contact-grid, .faq-cols, .band { grid-template-columns: 1fr; }
  .note { position: static; }
  .dl-specs { border-right: 0; border-bottom: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .card, .bento .card.wide { grid-column: span 1; }
  .bento .card.wide { grid-column: 1 / -1; }
  .uses, .reviews, .posts, .legal-index, .sitemap-cols { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .pbar-track { grid-template-columns: 1fr 1fr; }
  .pbar-seg { border-bottom: 1px solid var(--border); }
  .pbar-seg:first-child { grid-column: 1 / -1; }
  .band .cta-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 32px); }
  .bento, .uses, .reviews, .posts, .legal-index, .sitemap-cols, .sec-grid, .shots, .form .row { grid-template-columns: 1fr; }
  .bento .card.wide { grid-template-columns: 1fr; }
  .bento .card.wide .ic-box { grid-row: auto; }
  .shot:first-child, .shot:last-child { grid-column: auto; grid-row: auto; }
  .shot:last-child .media { aspect-ratio: 16/9; }
  .verdict { grid-template-columns: 1fr; }
  .checker { grid-template-columns: 1fr; }
  .chip { display: none; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .brand small { display: none; }
  .topbar { font-size: .78rem; }
  .content { font-size: 1rem; }
}

/* ---------- small-screen refinements ---------- */
@media (max-width: 640px) {
  .sec { padding: 56px 0; }
  .head { margin-bottom: 26px; }
  .head p { font-size: 1rem; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 10px; scroll-snap-type: x proximity; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; }
  .panel { padding: 20px 16px; }
  .steps li { grid-template-columns: 36px 1fr; gap: 12px; padding: 10px 4px; }
  .steps li::before { width: 36px; height: 36px; font-size: .95rem; border-radius: 10px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; height: auto; }
  .dl-main { padding: 22px 16px; }
  .dl-main .ver strong { white-space: normal; font-size: 1.15rem; }
  .mirrors a { flex-direction: column; align-items: flex-start; gap: 2px; }
  .spec th, .spec td { padding: 11px 16px; font-size: .92rem; }
  .spec th { width: 42%; }
  .req header { padding: 16px; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .78rem; padding: 14px; }
  .verify, .note, .card { padding: 20px; }
  .pc .card, .req, .post-card { padding: 0; }
  .pc header { padding: 16px 20px; } .pc ul { padding: 8px 20px 18px; }
  .issue summary { padding: 16px; } .issue .body { padding: 0 16px 18px 16px; }
  .band { border-radius: 22px; padding: 26px 20px; }
  .band::after { display: none; }
  .review-note { padding: 16px; }
  .review-note .btn { width: 100%; }
  .kbd-table td:first-child { width: 52%; }
  .pbar-seg { padding: 18px 16px 16px; }
  .pbar-legend { display: none; }
  .hero { padding-top: 28px; }
  .tagline { font-size: .82rem; }
  .facts li { font-size: .84rem; padding: 8px 11px; }
  .checker { padding: 18px 16px; margin-top: 32px; }
  .footer { padding-top: 52px; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .f-grid > :nth-child(4) { grid-column: 1 / -1; }
  .f-bottom { margin-top: 36px; justify-content: center; text-align: center; }
  .article .inner { padding: 20px 16px; }
  .article .meta-row { gap: 6px 14px; font-size: .84rem; }
  .content figure { margin: 22px 0; }
  .toc, .content .tldr { padding: 14px 16px; }
  .contact-grid .card { padding: 18px; }
  .page-hero p { font-size: 1rem; }

  /* tables become stacked cards */
  .table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
  .tbl, .content .table-wrap .tbl { min-width: 0 !important; display: block; }
  .tbl thead { display: none; }
  .tbl tbody { display: grid; gap: 12px; }
  .tbl tbody tr { display: block; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-1); overflow: hidden; }
  .tbl tbody tr.hl { background: #FFF8F0; border-color: #F3D2AE; }
  .tbl tbody th, .tbl tbody td { display: flex; justify-content: space-between; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--border); text-align: right; white-space: normal; font-size: .92rem; }
  .tbl tbody th { background: var(--slate); color: #fff; text-align: left; font-family: var(--f-head); }
  .tbl tbody th a { color: #fff; }
  .tbl tbody tr > :last-child { border-bottom: 0; }
  .tbl tbody td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; flex: none; max-width: 45%; }
  .tbl tbody td code { text-align: left; }
}
@media (max-width: 380px) {
  .f-grid { grid-template-columns: 1fr; }
  .nav .wrap { column-gap: 12px; }
}
