/* Radix Fibrotech, site styles (2026-10 rebuild).
   Apple-style system: SF Pro via the system stack, white and #f5f5f7 surfaces, sapphire for dark
   chapters, Apple blue for every interactive element, pill buttons, generous whitespace.
   Brand: sapphire #0a192f and the gold apex dot; gold is never a fill or body text colour. */
:root {
  --bg: #ffffff; --bg-2: #f5f5f7; --bg-3: #e8e8ed;
  --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b; --line: #d2d2d7;
  --link: #0066cc; --btn: #0071e3; --btn-hover: #0077ed;
  --sapphire: #0a192f; --sapphire-2: #13294b; --pearl: #f5f5f7; --gold: #d4af37; --gold-ink: #8a6a12;
  --ok: #1d7a3e; --bad: #c4291c;
  --radius: 18px; --radius-lg: 28px;
  --max: 980px; --max-wide: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --nav-h: 48px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 56px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.47059 var(--font); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, .6); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--btn); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 22px; }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding-inline: 22px; }

/* ---------- global nav: light glass ---------- */
.gnav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(251, 251, 253, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.gnav .wrap-wide { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 24px; height: 24px; color: var(--sapphire); }
.gnav ul { list-style: none; padding: 0; display: flex; gap: 26px; margin-left: auto; align-items: center; }
.gnav ul a { color: var(--ink); font-size: 12.5px; letter-spacing: -0.01em; opacity: .86; }
.gnav ul a:hover { opacity: 1; text-decoration: none; }
.gnav ul a[aria-current="page"] { opacity: 1; font-weight: 600; }
.gnav .nav-cta { background: var(--btn); color: #fff; opacity: 1; padding: 5px 13px; border-radius: 99px; font-weight: 500; }
.gnav .nav-cta:hover { background: var(--btn-hover); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.m-cta, .m-call { display: none; }
.gnav .nav-call { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 50%; background: rgba(0, 113, 227, .1); color: var(--btn); opacity: 1; transition: background .2s, color .2s; }
.gnav .nav-call svg { display: block; width: 15px; height: 15px; }
.gnav .nav-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gnav .nav-call:hover { background: var(--btn); color: #fff; }
.gnav ul li { display: flex; align-items: center; }
@media (max-width: 900px) {
  .gnav ul { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .gnav.open ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; inset: var(--nav-h) 0 0 0; background: rgba(251, 251, 253, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 18px 28px 40px; overflow-y: auto; }
  .gnav.open ul a { display: block; font-size: 26px; font-weight: 600; padding: 10px 0; opacity: 1; letter-spacing: -0.02em; }
  .gnav.open .nav-cta { display: inline-block; margin-top: 18px; font-size: 17px; padding: 11px 22px; }
  .gnav .wrap-wide { gap: 4px; }
  .m-call { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin-left: auto; margin-right: 4px; border-radius: 50%; background: rgba(0, 113, 227, .1); color: var(--btn); }
  .m-call svg { display: block; width: 16px; height: 16px; }
  .m-call:hover { background: var(--btn); color: #fff; }
  .m-cta { display: inline-flex; align-items: center; margin-left: 4px; background: var(--btn); color: #fff; font-size: 14px; letter-spacing: -0.01em; padding: 6px 14px; border-radius: 99px; white-space: nowrap; }
  .m-cta:hover { background: var(--btn-hover); text-decoration: none; }
  .m-cta + .menu-btn { margin-left: 2px; }
  .gnav.open .m-cta, .gnav.open .m-call { display: none; }
  .gnav.open { background: rgb(251, 251, 253); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .gnav.open .menu-btn { margin-left: auto; }
  .gnav.open ul li { display: block; }
  .gnav.open .nav-call { display: inline-flex; align-items: center; gap: 10px; width: auto; height: auto; margin-top: 10px; padding: 8px 18px 8px 8px; border-radius: 99px; font-size: 17px; font-weight: 500; }
  .gnav.open .nav-call svg { width: 18px; height: 18px; }
  .gnav.open .nav-call span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- local nav (section) ---------- */
.lnav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.lnav .wrap-wide { display: flex; align-items: center; gap: 22px; min-height: 52px; }
.lnav .lt { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--ink); white-space: nowrap; }
.lnav ul { list-style: none; display: flex; gap: 22px; padding: 0; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.lnav ul::-webkit-scrollbar { display: none; }
.lnav ul a { color: var(--ink); font-size: 12.5px; white-space: nowrap; opacity: .8; }
.lnav ul a[aria-current="page"] { opacity: 1; color: var(--ink-3); }
@media (max-width: 700px) { .lnav .lt { font-size: 17px; } .lnav .wrap-wide { flex-wrap: wrap; gap: 4px 18px; padding-block: 8px; } .lnav ul { margin-left: 0; width: 100%; } }

/* ---------- type scale ---------- */
.eyebrow { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); }
.eyebrow.gold { color: var(--gold-ink); }
.display { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; }
.h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -0.005em; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.003em; }
.h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.125; font-weight: 600; letter-spacing: .004em; }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.33; font-weight: 400; letter-spacing: .009em; color: var(--ink); }
.lede.muted, .muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; color: var(--ink-2); }

/* ---------- buttons and links ---------- */
.ctas { display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; justify-content: center; }
.ctas.left { justify-content: flex-start; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 11px 22px; border-radius: 980px; background: var(--btn); color: #fff; font-size: 17px; font-weight: 400; letter-spacing: -0.022em; border: 0; cursor: pointer; transition: background .2s, transform .1s; }
.btn:hover { background: var(--btn-hover); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--btn); box-shadow: inset 0 0 0 1px var(--btn); }
.btn.ghost:hover { background: var(--btn); color: #fff; }
.more { font-size: 17px; display: inline-flex; align-items: center; gap: 3px; }
.more::after { content: "\203A"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.dark .more, .dark a:not(.btn) { color: #2997ff; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 110px); }
.sec.tight { padding-block: clamp(44px, 6vw, 72px); }
.sec.grey { background: var(--bg-2); }
.dark { background: var(--sapphire); color: var(--pearl); }
.dark h1, .dark h2, .dark h3, .dark .lede { color: var(--pearl); }
.dark .muted, .dark .small, .dark .eyebrow { color: #a1a8b8; }
.dark .eyebrow.gold { color: var(--gold); }
.center { text-align: center; }
.stack { display: grid; gap: 14px; }
.stack-lg { display: grid; gap: 22px; }

/* hero */
.hero { padding-block: clamp(56px, 8vw, 96px) 0; text-align: center; }
.hero .stack-lg { justify-items: center; max-width: 860px; margin: 0 auto; }
.hero .lede { max-width: 720px; }
.hero-img { margin: clamp(40px, 6vw, 64px) auto 0; max-width: var(--max-wide); padding-inline: 22px; }
.hero-img img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(72vh, 720px); margin-inline: auto; border-radius: var(--radius-lg); }
@media (max-width: 600px) { .hero-img img { border-radius: 18px; } }
.page-hero { padding-block: clamp(48px, 7vw, 84px) clamp(28px, 4vw, 44px); }
.page-hero .stack-lg { max-width: 820px; }

/* tiles (apple.com homepage) */
.tile { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 6vw, 72px) 24px 0; display: grid; gap: 10px; justify-items: center; }
.tile .ctas { margin-top: 8px; }
.tile figure { margin-top: clamp(26px, 4vw, 44px); width: 100%; max-width: 900px; }
.tile figure img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; }
.tiles .tile { background: var(--bg-2); border-radius: 0; align-content: start; padding-bottom: 36px; }
.tiles .tile.dark { background: var(--sapphire); }
.tiles .tile figure { margin-top: 18px; height: clamp(200px, 24vw, 300px); display: grid; place-items: center; }
.tiles .tile figure img { width: auto; max-width: 88%; height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; mix-blend-mode: multiply; }
.tiles .tile h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: 0; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tiles .tile { min-height: 0; } }

/* cards grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.five { grid-template-columns: repeat(5, 1fr); }
.grid.prod { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 980px) { .grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .grid.three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid.five, .grid.prod { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card.mini .cb { padding: 14px 16px 18px; }
.card.mini h3 { font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.card.mini .k { font-size: 12px; color: var(--ink-2); }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
@media (max-width: 460px) { .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--bg); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 4px 18px rgba(0, 0, 0, .05); transition: transform .3s cubic-bezier(0, 0, .5, 1), box-shadow .3s cubic-bezier(0, 0, .5, 1); }
.grey .card, .card.on-white { background: var(--bg); }
.card:hover { text-decoration: none; transform: scale(1.015); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .1); }
.card .ci { aspect-ratio: 4 / 3; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.card .ci img { width: 100%; height: 100%; object-fit: cover; }
.card .ci.contain img { object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.card .cb { padding: 20px 22px 24px; display: grid; gap: 6px; align-content: start; flex: 1; }
.card .cb .k { font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; text-transform: none; }
.card h3 { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; }
.card p { font-size: 15px; line-height: 1.4; color: var(--ink-2); letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .more { font-size: 15px; margin-top: auto; padding-top: 8px; }
.card.text { padding: 26px 26px 28px; display: grid; gap: 8px; align-content: start; }

/* steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; counter-reset: s; }
.steps.n3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps.n3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { list-style: none; counter-increment: s; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font: 600 40px/1 var(--font-display); color: var(--ink-3); }
.steps h3 { font-size: 21px; }
.steps p { color: var(--ink-2); }
.dark .steps li::before { color: var(--gold); }

/* ---------- article (guides, markets, solutions, industries, products) ---------- */
.article { padding-bottom: clamp(56px, 8vw, 96px); }
.article .wrap { max-width: 760px; }
.answer { background: var(--bg-2); border-radius: var(--radius); padding: 24px 26px; display: grid; gap: 8px; margin-block: 8px 12px; }
.answer .k { font-size: 12px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.answer p { font-size: 19px; line-height: 1.42; letter-spacing: .012em; }
.toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 18px; margin-block: 28px; }
.toc p { font-size: 12px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.toc ol { padding-left: 20px; columns: 2 260px; column-gap: 28px; }
.toc li { font-size: 15px; padding-block: 3px; break-inside: avoid; }
.prose { display: grid; gap: 18px; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: .004em; margin-top: 30px; }
.prose h3 { font-size: 21px; line-height: 1.2; font-weight: 600; margin-top: 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.53; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose strong { font-weight: 600; }
.tablewrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); margin-block: 4px; -webkit-overflow-scrolling: touch; }
.prose table, table.spec { border-collapse: collapse; width: 100%; font-size: 15px; letter-spacing: -0.016em; }
.prose th, .prose td, table.spec th, table.spec td { text-align: left; padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose thead th, table.spec thead th { border-top: 0; background: var(--bg-2); font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
table.spec th[scope="row"] { color: var(--ink-2); font-weight: 500; width: 38%; background: transparent; white-space: normal; }
.meta-line { font-size: 14px; color: var(--ink-2); }
.fold { border-top: 1px solid var(--line); }
.fold:last-of-type { border-bottom: 1px solid var(--line); }
.fold > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary h2 { margin: 0 !important; font-size: clamp(21px, 2.4vw, 24px) !important; }
.fold > summary::after { content: "+"; font-weight: 300; font-size: 30px; color: var(--ink-2); line-height: 1; transition: transform .3s; flex: none; }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold > .fb { display: grid; gap: 18px; padding-bottom: 26px; }
.prose > .fold-group { display: grid; margin-top: 28px; }
.lead-sec { display: grid; gap: 18px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-size: 19px; font-weight: 600; letter-spacing: .012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 28px; color: var(--ink-2); line-height: 1; transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink); font-size: 17px; line-height: 1.53; max-width: 680px; }

/* product page */
.phero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.phero .pimg { background: var(--bg-2); border-radius: var(--radius-lg); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.phero .pimg img { width: 100%; height: 100%; object-fit: contain; padding: 4%; mix-blend-mode: multiply; }
@media (max-width: 820px) { .phero { grid-template-columns: 1fr; } }

/* breadcrumb */
.crumbs { font-size: 12px; color: var(--ink-2); }
.crumbs-bottom { background: var(--bg-2); padding-top: 22px; }
.crumbs-bottom + * {}
.page-hero.wrap { max-width: 760px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "\203A"; margin-right: 4px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .stack-lg { justify-items: center; }

/* chips list (markets) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; padding: 9px 18px; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 15px; }
.chip:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--ink-3); }
.dark .chip { background: transparent; color: var(--pearl); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form .row2 { grid-template-columns: 1fr; } }
.field { position: relative; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin: 0 0 6px 4px; }
.field input, .field select, .field textarea { width: 100%; font: 400 17px/1.3 var(--font); letter-spacing: -0.022em; color: var(--ink); background: var(--bg); border: 1px solid #86868b; border-radius: 12px; padding: 14px 16px; min-height: 52px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
.field .hint { font-size: 13px; color: var(--ink-2); margin: 6px 0 0 4px; }
.req { color: var(--bad); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.err { color: var(--bad); }
.proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.proof li { font-size: 15px; line-height: 1.4; color: var(--ink-2); padding-left: 24px; position: relative; }
.proof li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px; border-left: 2px solid #1a7a4c; border-bottom: 2px solid #1a7a4c; transform: rotate(-45deg); }
.done-card { background: var(--bg-2); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; }
.side { display: grid; gap: 18px; align-content: start; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 16px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list .k { font-size: 13px; color: var(--ink-2); }
.contact-list .v { font-size: 17px; }

/* calculator */
.calc { background: var(--bg-2); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.calc .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .calc .row3 { grid-template-columns: 1fr; } }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.calc-out div { background: var(--bg); border-radius: 14px; padding: 18px; display: grid; gap: 2px; }
.calc-out b { font: 600 34px/1.1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.calc-out span { font-size: 13px; color: var(--ink-2); }
.calc-out .ok b { color: var(--ok); } .calc-out .bad b { color: var(--bad); }

/* ---------- footer ---------- */
.foot { background: var(--bg-2); color: var(--ink-2); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; padding-block: 34px 26px; }
.foot .note { padding-bottom: 18px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; max-width: 760px; }
.foot .dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.foot h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-family: var(--font); }
.foot ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
.foot .legal { padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }

/* reveal: content is visible at rest; motion only adds a lift */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (prefers-reduced-transparency: reduce) { .gnav, .lnav { background: #fbfbfd; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --line: #8e8e93; --ink-2: #48484a; } }
@media print { .gnav, .lnav, .foot, .cta-band { display: none; } }

/* 2026-10-19 polish */
@media (max-width: 600px) {
  .chips.swipe { justify-self: stretch; min-width: 0; width: calc(100% + 44px); max-width: none; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -22px; padding-inline: 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips.swipe::-webkit-scrollbar { display: none; }
  .chips.swipe .chip { flex: none; white-space: nowrap; }
  .answer { padding: 20px; } .answer p { font-size: 17px; line-height: 1.47; }
}
.grid.prod.few { grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); justify-content: center; }
.stack-lg.few-wrap > h2 { text-align: center; }

/* ---------- product and category cards with a quote action ---------- */
.pcard .pc-link { color: inherit; display: flex; flex-direction: column; flex: 1; }
.pcard .pc-link:hover { text-decoration: none; }
.pcard .cb { padding: 14px 16px 4px; gap: 4px; }
.pcard h3 { font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.pcard .spec { font-size: 13px; line-height: 1.38; -webkit-line-clamp: 2; }
.pc-act { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px 16px; }
.pc-act .more { font-size: 14px; padding: 0; margin: 0; }
.qbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 14px; border-radius: 99px; background: var(--btn); color: #fff; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap; transition: background .2s; }
.qbtn:hover { background: var(--btn-hover); text-decoration: none; }
.pcard.big .cb { padding: 20px 22px 4px; }
.pcard.big h3 { font-size: 21px; line-height: 1.19; letter-spacing: .011em; }
.pcard.big .spec { font-size: 15px; }
.pcard.big .pc-act { padding: 14px 22px 22px; }
.pcard.big .pc-act .more { font-size: 15px; }
.pcard.big .qbtn { font-size: 15px; min-height: 36px; padding: 7px 16px; }
.grid.cats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.also { text-align: center; font-size: 15px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 900px) { .grid.cats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 600px) {
  .pc-act .more { display: none; }
  .pc-act, .pcard.big .pc-act { padding: 6px 12px 12px; }
  .qbtn, .pcard.big .qbtn { width: 100%; min-height: 36px; font-size: 14px; }
  .pcard .cb, .pcard.big .cb { padding: 12px 12px 2px; }
  .pcard.big h3 { font-size: 17px; line-height: 1.24; letter-spacing: -0.01em; }
  .pcard.big .spec { font-size: 13px; }
}
.proof.row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.hero:has(.proof.row) { padding-bottom: clamp(8px, 2vw, 16px); }
@media (max-width: 600px) {
  .proof.row { display: grid; justify-content: center; text-align: left; }
  .hero .ctas { gap: 10px; }
  .hero .ctas .btn { padding: 11px 18px; }
}
section[id], .fold[id] { scroll-margin-top: calc(var(--nav-h) + 64px); }

/* ---------- mobile quote bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 251, 253, .9); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .25s cubic-bezier(0, 0, .5, 1); }
  .mbar.show { transform: none; }
  .mbar .btn { flex: 1; }
  .mbar .wa { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 980px; background: #25d366; color: #fff; font-size: 17px; }
  .mbar .wa svg { width: 20px; height: 20px; }
  .mbar .wa:hover { text-decoration: none; }
  .has-mbar .foot { padding-bottom: 84px; }
}

/* ---------- WhatsApp button, every page ---------- */
.wa-fab { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 55; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px; border-radius: 99px; background: #25d366; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); transition: transform .2s cubic-bezier(0, 0, .5, 1), opacity .2s, background .2s; }
.wa-fab svg { width: 24px; height: 24px; }
.wa-fab:hover { background: #1ebe5b; text-decoration: none; transform: translateY(-2px); }
@media (max-width: 760px) {
  .wa-fab { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-fab svg { width: 28px; height: 28px; }
  .mbar-on .wa-fab { opacity: 0; pointer-events: none; transform: scale(.8); }
}
@media (max-width: 359px) { .gnav .brand span { display: none; } }

/* ---------- centred layout where it reads better ---------- */
.sec-h { text-align: center; }
.cat-h { justify-items: center; max-width: 860px; margin-inline: auto; }
.page-hero .stack-lg { justify-items: center; text-align: center; margin-inline: auto; }
.page-hero .ctas, .page-hero .ctas.left { justify-content: center; }
.page-hero .proof { justify-self: center; text-align: left; }
.page-hero .lede { max-width: 720px; }
.grid.prod { display: flex; flex-wrap: wrap; justify-content: center; }
.grid.prod > .card { flex: 0 0 220px; }
@media (max-width: 600px) { .grid.prod > .card { flex: 0 0 calc(50% - 6px); } }
.crumbs ol { justify-content: center; }
.foot .note { margin-inline: auto; text-align: center; }
.foot .dir { grid-template-columns: repeat(5, minmax(0, 200px)); justify-content: center; text-align: center; }
.foot .legal { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
@media (max-width: 900px) { .foot .dir { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot .dir { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
