/* PraxisSchutz website. Product first, quiet typography, soft depth. Safari on Apple devices uses
   the system typeface; other browsers use the self-hosted Inter. Petrol is the only accent. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-opsz.woff2) format("woff2-variations"), url(fonts/inter-latin-opsz.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #6e6e73;
  --rule: #d2d2d7;
  --accent: #0a6876;
  --accent-hover: #075460;
  --on-accent: #ffffff;
  --ok: #1b7a43;
  --warn: #8a5300;
  --warn-soft: #fbf3e4;
  --code-bg: #f5f5f7;
  --line: #a1a1a6;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .04), 0 4px 12px rgb(0 0 0 / .05);
  --shadow: 0 2px 4px rgb(0 0 0 / .03), 0 12px 28px rgb(0 0 0 / .07), 0 40px 80px -20px rgb(0 0 0 / .16);
  --font: "Inter Variable", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --track-display: -.028em;
  --track-head: -.022em;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --wrap: 980px;
  --wide: 1180px;
}
/* Safari on Mac, iPhone and iPad: the system typeface, with its own tracking. */
@supports (font: -apple-system-body) {
  :root { --font: -apple-system, BlinkMacSystemFont, "Inter Variable", "Helvetica Neue", Arial, sans-serif; --track-display: -.015em; --track-head: -.009em; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --bg-alt: #101010; --tile: #1c1c1e; --ink: #f5f5f7; --muted: #a1a1a6; --faint: #98989d;
    --rule: #38383a; --accent: #4fbfc8; --accent-hover: #7fd3d9; --on-accent: #001a1d; --ok: #6fd394;
    --warn: #f2c063; --warn-soft: #2a210d; --code-bg: #1c1c1e; --line: #636366;
    --shadow-sm: 0 0 0 1px #2c2c2e; --shadow: 0 0 0 1px #2c2c2e, 0 30px 80px -20px rgb(0 0 0 / .9);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --bg-alt: #101010; --tile: #1c1c1e; --ink: #f5f5f7; --muted: #a1a1a6; --faint: #98989d;
  --rule: #38383a; --accent: #4fbfc8; --accent-hover: #7fd3d9; --on-accent: #001a1d; --ok: #6fd394;
  --warn: #f2c063; --warn-soft: #2a210d; --code-bg: #1c1c1e; --line: #636366;
  --shadow-sm: 0 0 0 1px #2c2c2e; --shadow: 0 0 0 1px #2c2c2e, 0 30px 80px -20px rgb(0 0 0 / .9);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.011em; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: var(--track-display); margin-bottom: .35em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: var(--track-display); margin-bottom: .45em; }
h3 { font-size: 1.3rem; line-height: 1.22; letter-spacing: var(--track-head); margin-bottom: .4em; }
h4 { font-size: 1.05rem; margin-bottom: .3em; }
h1 em, h2 em { font-style: normal; color: inherit; }
p, li, td, dd { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }
code { font-family: var(--mono); font-size: .86em; background: var(--code-bg); padding: .1em .38em; color: var(--ink); overflow-wrap: anywhere; letter-spacing: 0; }
pre { margin: .6rem 0 1.3rem; padding: 1rem 1.2rem; background: var(--code-bg); overflow-x: auto; font-size: .84rem; line-height: 1.6; }
pre code { background: none; padding: 0; overflow-wrap: normal; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 44px, var(--wide)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: .6rem 1rem; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Small heading above a headline: plain words, no code-style decoration. */
.mono-label, .eyebrow, h2.section-label { font-family: var(--font); font-size: 1.05rem; font-weight: 600; letter-spacing: var(--track-head); text-transform: none; color: var(--muted); margin-bottom: .5rem; }
.lead { font-size: clamp(1.15rem, 1.9vw, 1.42rem); line-height: 1.38; letter-spacing: -.016em; color: var(--muted); max-width: 40rem; }
.fine { font-size: .8rem; color: var(--faint); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 52px; width: min(100% - 44px, var(--wide)); }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.2rem; letter-spacing: var(--track-head); color: var(--ink); }
.brand:hover { text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: .2rem; }
.main-nav a:not(.button) { font-size: .76rem; padding: .35rem .65rem; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.main-nav a:not(.button):hover { color: var(--ink); text-decoration: none; }
.main-nav a[aria-current="page"]:not(.button) { color: var(--ink); font-weight: 600; }
.main-nav .button { margin-left: .6rem; }
.theme-toggle { display: none; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: .25rem; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
.ribbon { background: var(--bg-alt); text-align: center; font-size: .8rem; padding: .75rem 22px; color: var(--muted); margin: 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.4rem; font-size: 1rem; font-weight: 400; letter-spacing: -.01em; border: 1px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease); }
.button:hover { text-decoration: none; }
.button [aria-hidden="true"] { display: none; }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-ghost { border-color: var(--accent); color: var(--accent); }
.button-ghost:hover { background: var(--accent); color: var(--on-accent); }
.button-small { min-height: 28px; padding: .2rem .8rem; font-size: .76rem; }
.action-row { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; align-items: center; margin-top: 1.8rem; }
.text-link { font-size: 1.05rem; }
.text-link::after { content: " ›"; }
.text-link [aria-hidden="true"] { display: none; }
p a:not(.button), li a:not(.button), td a, .prose a, .callout a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
.footer-grid a, .doc-nav a, .breadcrumb a, .faq-index a, a.text-link { text-decoration: none; }

/* Status labels */
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin-bottom: .9rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 500; color: var(--muted); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.chip-ok { color: var(--ok); }
.chip-ok::before { background: var(--ok); }
.chip-warn { color: var(--warn); }
.chip-warn::before { background: var(--warn); }
.faq-index .chip::before { display: none; }
.callout { background: var(--bg-alt); padding: 1.1rem 1.3rem; margin: 1.5rem 0; color: var(--muted); }
.callout-warn { background: var(--warn-soft); color: var(--ink); }

/* Home hero: product first */
.hero { padding: clamp(4rem, 9vw, 6.5rem) 0 0; text-align: center; overflow: hidden; }
.hero .mono-label { font-size: 1.3rem; color: var(--ink); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); max-width: 16ch; margin-inline: auto; }
.hero .lead { margin-inline: auto; }
.hero .action-row { justify-content: center; }
.hero .fine { margin-top: 1rem; }
.hero-shot { margin: clamp(3rem, 6vw, 4.5rem) auto 0; width: min(100% - 44px, var(--wide)); }

/* App screenshots in a quiet window frame */
.shot { margin: 0; background: var(--tile); box-shadow: var(--shadow); overflow: hidden; }
.shot img { width: 100%; }
.shot figcaption { padding: .9rem 1.1rem; font-size: .8rem; color: var(--faint); border-top: 1px solid var(--rule); background: var(--tile); }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: var(--bg-alt); border-bottom: 1px solid var(--rule); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.shot-bar span { margin: 0 auto; font-size: .72rem; color: var(--faint); padding-right: 50px; }

/* Sections */
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.section-sunk { background: var(--bg-alt); }
.section-dark { background: #000; color: #f5f5f7; }
.section-dark h2, .section-dark h3, .section-dark strong { color: #f5f5f7; }
.section-dark p, .section-dark dt { color: #a1a1a6; }
.section-head { max-width: 44rem; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center; }
.section-head p:not(.mono-label) { font-size: clamp(1.06rem, 1.6vw, 1.24rem); line-height: 1.45; margin: 0 auto; max-width: 38rem; }
.page-hero { padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; }
.page-hero h1 { max-width: 15ch; margin-inline: auto; }
.page-hero .lead { margin-inline: auto; }
.page-hero .action-row { justify-content: center; }
.page-hero + .section { padding-top: clamp(1rem, 3vw, 2rem); }
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem clamp(3rem, 7vw, 6rem); align-items: start; }
.two-col > * { min-width: 0; }

/* Tiles */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell { background: var(--bg-alt); padding: clamp(1.7rem, 3vw, 2.4rem); }
.section-sunk .cell { background: var(--tile); box-shadow: var(--shadow-sm); }
.cell .mono-label { font-size: .86rem; margin-bottom: .9rem; }
.cell p { font-size: .97rem; }
.cell p:last-child { margin-bottom: 0; }
.cell h3 { hyphens: auto; -webkit-hyphens: auto; }
a.cell { display: flex; flex-direction: column; color: inherit; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
a.cell:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
a.cell h3::after { content: " ›"; color: var(--accent); }

/* Feature rows with a screenshot */
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem clamp(3rem, 7vw, 6rem); align-items: center; }
.feature + .feature { margin-top: clamp(5rem, 10vw, 8rem); }
.feature-flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.feature-flip > :first-child { order: 2; }
.feature > * { min-width: 0; }
.feature h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; text-align: center; }
.facts div { display: flex; flex-direction: column; }
.facts dd { order: -1; margin: 0 0 .4rem; font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; letter-spacing: var(--track-display); line-height: 1; color: inherit; }
.facts dt { font-size: .95rem; }
.section-dark .facts dd { color: #f5f5f7; }

.steps { display: grid; }
.step { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem 2.5rem; padding: 2rem 0; border-top: 1px solid var(--rule); }
.step:last-child { border-bottom: 1px solid var(--rule); }
.step-number { font-size: 1.1rem; font-weight: 600; color: var(--faint); }
.step h3 { font-size: 1.3rem; }
.step p { margin-bottom: 0; }
.steps-compact .step { grid-template-columns: 2.2rem minmax(0, 1fr); gap: .3rem 1rem; padding: 1.2rem 0; }
.steps-compact .step > p { grid-column: 2; }
.steps-compact .step-number { grid-row: span 2; }
.steps-compact .step h3 { font-size: 1.06rem; margin-bottom: 0; }

/* Diagram */
.diagram { background: var(--tile); padding: clamp(1.2rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-sm); margin: 0; }
.diagram figcaption { margin-top: 1.2rem; font-size: .82rem; color: var(--faint); text-align: center; }
.d-zone { fill: var(--bg-alt); stroke: none; }
.d-box { fill: var(--tile); stroke: var(--rule); }
.d-box-accent { fill: var(--tile); stroke: var(--accent); stroke-width: 1.5; }
.d-line { stroke: var(--line); stroke-width: 1.4; fill: none; }
.d-line-accent { stroke: var(--accent); stroke-width: 1.8; fill: none; }
.d-arrow { fill: var(--line); }
.d-arrow-accent { fill: var(--accent); }
.d-title { fill: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 600; }
.d-text { fill: var(--muted); font-family: var(--font); font-size: 12.5px; }
.d-mono, .d-mono-accent { fill: var(--faint); font-family: var(--font); font-size: 11px; font-weight: 600; }
.d-mono-accent { fill: var(--accent); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 1rem 1.2rem 1rem 0; border-bottom: 1px solid var(--rule); }
th { font-size: .8rem; font-weight: 600; color: var(--faint); }
td:first-child { color: var(--ink); font-weight: 500; min-width: 10rem; }
.channel-table td:nth-child(2) { white-space: nowrap; }

.check-list, .cross-list { list-style: none; padding: 0; display: grid; gap: .8rem; }
.check-list li, .cross-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .62rem; height: .34rem; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
.cross-list li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .6rem; height: 1.6px; background: var(--faint); }

/* Documentation */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.4rem; font-size: .78rem; color: var(--faint); }
.breadcrumb a { color: var(--muted); }
.doc-layout { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); padding: 2.2rem 0 clamp(5rem, 9vw, 7rem); width: min(100% - 44px, var(--wide)); }
.doc-layout > * { min-width: 0; }
.doc-nav { position: sticky; top: 76px; align-self: start; display: grid; }
.doc-nav .mono-label { font-size: .78rem; color: var(--faint); margin: 1.4rem 0 .35rem; }
.doc-nav .mono-label:first-child { margin-top: 0; }
.doc-nav a { font-size: .88rem; padding: .32rem 0; color: var(--muted); }
.doc-nav a:hover { color: var(--ink); }
.doc-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.doc-main { max-width: 44rem; }
.doc-main h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.doc-main h2 { font-size: clamp(1.55rem, 2.8vw, 2rem); margin-top: 3.2rem; }
.doc-main h3 { margin-top: 1.8rem; }
.doc-main li, .prose li { min-width: 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: 1.8rem; }
.prose ol, .prose ul, .doc-main ol, .doc-main ul:not(.check-list):not(.cross-list) { padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose p:last-child { margin-bottom: 0; }
.toc { background: var(--bg-alt); padding: 1.2rem 1.4rem; margin: 2rem 0; }
.toc .mono-label { font-size: .8rem; color: var(--faint); margin-bottom: .5rem; }
.toc ol { margin: 0; gap: .25rem !important; }
.toc li { font-size: .94rem; }

/* Releases and download */
.release-card { background: var(--tile); box-shadow: var(--shadow); padding: clamp(1.8rem, 3.4vw, 2.6rem); }
.release-card .mono-label { font-size: .9rem; }
.release-card h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.digest { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; align-items: baseline; margin: 1.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.digest dt { font-size: .76rem; font-weight: 600; color: var(--faint); }
.digest dd { margin: 0; }
.digest code { background: none; padding: 0; font-size: .78rem; color: var(--muted); }
.release-entry { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem 3.5rem; padding: 2.6rem 0; border-top: 1px solid var(--rule); }
.release-version { font-size: 1.6rem; font-weight: 600; letter-spacing: var(--track-head); color: var(--ink); margin-bottom: .4rem; }
.release-meta .mono-label { font-size: .86rem; font-weight: 400; }
.release-body h3 { font-size: 1.25rem; }
.release-body .prose p, .release-body .prose li { font-size: .96rem; }

/* FAQ */
.faq-index { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: center; margin-top: 1.8rem; }
.faq-index a.chip { color: var(--accent); font-size: .95rem; font-weight: 400; }
.faq-group { max-width: 46rem; margin: 0 auto; padding: 3rem 0 1rem; }
.faq-head .mono-label { display: none; }
.faq-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.25rem 2.4rem 1.25rem 0; font-size: 1.08rem; font-weight: 600; letter-spacing: var(--track-head); color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .5rem; height: .5rem; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-item .prose { padding: 0 2.4rem 1.4rem 0; }

/* Price */
.price-card { background: var(--tile); box-shadow: var(--shadow); padding: clamp(1.8rem, 3.4vw, 2.8rem); }
.price { font-size: clamp(3.2rem, 7vw, 4.6rem); font-weight: 600; letter-spacing: var(--track-display); color: var(--ink); line-height: 1; margin: .2rem 0 .8rem; }
.price span { font-size: 1rem; font-weight: 400; letter-spacing: -.01em; color: var(--muted); }

/* Contact */
.contact-band { text-align: center; padding: clamp(3.5rem, 7vw, 5rem) 1.5rem; background: var(--bg-alt); }
.section-sunk .contact-band { background: var(--tile); box-shadow: var(--shadow-sm); }
.contact-band p { margin: 0 auto 1.6rem; max-width: 34rem; }
.contact-band h2 { margin-bottom: .4rem; }

/* Footer */
.site-footer { background: var(--bg-alt); padding: 2rem 0 2.4rem; font-size: .75rem; line-height: 1.6; }
.site-footer .wrap { width: min(100% - 44px, var(--wide)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.footer-grid > div { display: grid; align-content: start; gap: .35rem; }
.footer-grid .mono-label { font-size: .75rem; color: var(--ink); margin-bottom: .2rem; }
.footer-grid a:not(.brand) { color: var(--muted); }
.footer-grid a:not(.brand):hover { color: var(--ink); text-decoration: underline; }
.footer-brand .brand { font-size: .9rem; }
.footer-brand p { margin-top: .5rem; max-width: 18rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1rem; }
.footer-bottom p { margin: 0; color: var(--faint); }
address { font-style: normal; color: var(--muted); margin-bottom: 1rem; }

/* Motion: content settles gently into place; text stays readable throughout. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 820px) {
    .shot, .feature > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .facts > div, .diagram { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  }
}
@keyframes settle { from { transform: translateY(32px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: fade-out .2s var(--ease) both; }
  ::view-transition-new(root) { animation: fade-in .3s var(--ease) both; }
  .theme-switching::view-transition-old(root), .theme-switching::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
  .theme-switching::view-transition-new(root) { animation: fade-in .35s var(--ease) both; }
}
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

@media (max-width: 1000px) {
  .two-col, .release-entry, .feature, .feature-flip { grid-template-columns: 1fr; }
  .feature-flip > :first-child { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .step > p { grid-column: 2; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-nav { position: static; background: var(--bg-alt); padding: 1rem 1.2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: .5rem; }
  .main-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -22px; padding: .2rem 14px .35rem; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav > * { flex: none; }
  .site-header { position: static; }
  .grid-2, .grid-3, .grid-4, .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .digest { grid-template-columns: 1fr; }
  .shot-bar span { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .ribbon, .site-header, .site-footer, .doc-nav, .breadcrumb, .theme-toggle { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .doc-layout { display: block; padding: 0; }
}
.section-head .action-row, .section-dark .action-row { justify-content: center; }
.hero .hero-shot { margin: clamp(3rem, 6vw, 4.5rem) auto 0; width: min(100% - 44px, var(--wide)); }
.facts + .action-row { margin-top: 3rem; }
.hero h1 { hyphens: manual; }
.price span { display: block; margin-top: .6rem; }
.section-dark a { color: #4fbfc8; }
.mark-dark { display: none; }
:root[data-theme="dark"] .mark-light { display: none; }
:root[data-theme="dark"] .mark-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark-light { display: none; }
  :root:not([data-theme="light"]) .mark-dark { display: block; }
}
