/* Joripo public website: one stylesheet for every page under templates/public.
 *
 * The marketing site keeps its own light chrome, apart from the console's
 * tokens.css (tests/test_design_tokens.py leaves public/ to it). Brand colours
 * come from the Joripo brand sheet (#1F6B5B green, #F4A62A amber, #E6F2EC mint,
 * #1E2933 ink, #6B7B88 slate). Headings are set in Source Serif 4, served from
 * static/site/fonts (SIL OFL 1.1, THIRD_PARTY_LICENSES.md); everything else in
 * Inter (static/css/fonts.css).
 *
 * Nothing here hides content unless JavaScript has said it will reveal it:
 * `.js` on <html> (set in public/base.html) gates every "start hidden" state,
 * and prefers-reduced-motion turns the movement off.
 */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.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 {
  --green-950: #081a16;
  --green-900: #0c211c;
  --green-800: #123129;
  --green-700: #17564a;
  --green-600: #1f6b5b;
  --green-500: #2b7f6c;
  --green-300: #8cc2b0;
  --green-200: #cce5d9;
  --green-100: #e6f2ec;
  --green-50: #f2f8f5;
  --amber-600: #b8750f;
  --amber-500: #f4a62a;
  --amber-200: #fbdca8;
  --amber-100: #fdf1dc;
  --red-600: #b03a32;
  --red-100: #fbe7e4;
  --ink: #1e2933;
  --ink-2: #364552;
  --muted: #56656f;
  --slate: #6b7b88;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --white: #ffffff;
  --line: #e2e6e3;
  --line-2: #cfd7d3;

  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: var(--font-ui, system-ui, sans-serif);
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", monospace;

  --max: 1200px;
  --max-text: 68ch;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-1: 0 1px 2px rgba(12, 33, 28, .06);
  --shadow-2: 0 1px 3px rgba(12, 33, 28, .06), 0 12px 32px -14px rgba(12, 33, 28, .22);
  --shadow-3: 0 2px 6px rgba(12, 33, 28, .08), 0 30px 60px -24px rgba(12, 33, 28, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 60px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (max-width: 640px) { body { font-size: 16px; } }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 650; }
code { font-family: var(--font-mono); font-size: .88em; background: var(--green-50);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--amber-200); color: var(--ink); }

h1, h2, h3, h4 { margin: 0 0 .45em; color: var(--ink); text-wrap: balance; }
h1, h2, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.012em;
  font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.7rem); line-height: 1.12; }
h3 { font-family: var(--font-body); font-size: 1.2rem; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 650; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.26rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ic, .svg-ic { display: inline-block; vertical-align: middle; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .15s; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.wrap-text { max-width: 760px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--green-700);
  font: 650 .78rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .13em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber-500); border-radius: 2px; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--green-300); }

/* ------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font: 600 .98rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease),
    transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn .ic { margin-top: -1px; transition: transform .15s var(--ease); }
.btn:hover .ic-arrow, .btn:hover .ic:last-child:not(:first-child) { transform: translateX(2px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-secondary, .btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover, .btn-ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-amber { background: var(--amber-500); color: var(--green-950); }
.btn-amber:hover { background: #ffb845; color: var(--green-950); }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { background: var(--green-50); color: var(--green-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1.03rem; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .92rem; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: translateY(1px); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow .ic { transition: transform .15s var(--ease); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.cta-row .text-link { margin-left: 6px; font-weight: 600; }
@media (max-width: 520px) { .cta-row .btn { flex: 1 1 100%; } }

/* --------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled, .no-js .site-header { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); text-decoration: none;
  font: 700 1.2rem/1 var(--font-body); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 8px;
  color: var(--ink-2); font: 550 .96rem/1.2 var(--font-body); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-trigger:hover, .nav-item.is-open > .nav-trigger { color: var(--green-700); background: var(--green-50); }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--green-700); }
.nav-trigger .ic { transition: transform .2s var(--ease); color: var(--slate); }
.nav-item.is-open > .nav-trigger .ic { transform: rotate(180deg); }

.nav-menu { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s; }
.nav-menu.wide { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; min-width: 620px; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.is-open > .nav-menu,
.no-js .nav-item:hover > .nav-menu, .no-js .nav-item:focus-within > .nav-menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px;
  color: var(--ink); text-decoration: none; }
.menu-link:hover, .menu-link:focus-visible { background: var(--green-50); color: var(--ink); }
.menu-link .mi { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); }
.menu-link b { display: block; font-weight: 620; font-size: .95rem; line-height: 1.3; }
.menu-link span.d { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.menu-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  margin-top: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .login { color: var(--ink-2); font-weight: 600; font-size: .96rem; text-decoration: none; padding: 9px 10px; border-radius: 8px; }
.header-actions .login:hover { color: var(--green-700); background: var(--green-50); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { background: var(--green-50); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; position: relative; transition: transform .2s var(--ease), background .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.no-js-menu { display: none; }

@media (max-width: 1080px) {
  .site-header .wrap { gap: 16px; }
  .nav-link, .nav-trigger { padding: 9px 9px; }
}
@media (max-width: 960px) {
  /* backdrop-filter makes the header the containing block of its fixed
     descendants: the open menu was 45px tall, cut off inside the header bar,
     so no dropdown could be seen. The phone's header is plain white. */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .js .nav-toggle { display: inline-flex; }
  .no-js .no-js-menu { display: inline-flex; font-weight: 600; text-decoration: none; }
  .header-actions .hide-mobile { display: none; }
  .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: #fff; overflow-y: auto;
    border-top: 1px solid var(--line); }
  .site-nav.is-open .nav-item { border-bottom: 1px solid var(--line); }
  .site-nav.is-open .nav-link, .site-nav.is-open .nav-trigger { width: 100%; justify-content: space-between;
    padding: 16px 4px; font-size: 1.05rem; border-radius: 0; background: none; }
  .site-nav.is-open .nav-menu, .site-nav.is-open .nav-menu.wide { position: static; display: none; min-width: 0;
    opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; grid-template-columns: 1fr; }
  .site-nav.is-open .nav-item.is-open > .nav-menu { display: block; }
  .site-nav.is-open .menu-foot { display: none; }
  .mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
}
@media (min-width: 961px) { .mobile-cta { display: none; } }
body.nav-locked { overflow: hidden; }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(64px, 5vw + 32px, 112px) 0; }
.section-sm { padding: clamp(44px, 3vw + 24px, 72px) 0; }
.section + .section.tint, .section.tint { background: var(--paper); }
.section.mint { background: var(--green-50); }
.section.dark { background: var(--green-900); color: #dbe9e3; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lead, .section.dark .muted { color: #b4ccc4; }
.section.dark a:not(.btn) { color: var(--amber-200); }
.section-head { max-width: 760px; margin: 0 0 clamp(36px, 3vw + 16px, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 16px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Page hero (inner pages): a quiet graph-paper ground, the research notebook. */
.page-hero { position: relative; padding: clamp(56px, 5vw + 24px, 96px) 0 clamp(44px, 4vw + 16px, 72px);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(31, 107, 91, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 107, 91, .055) 1px, transparent 1px);
  background-size: 28px 28px; background-position: -1px -1px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero.split-hero .wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.page-hero.split-hero h1 { max-width: 16ch; }
@media (max-width: 900px) { .page-hero.split-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 22px; padding: 0; list-style: none;
  font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-700); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }

/* ---------------------------------------------------------------- home hero */
.hero { position: relative; padding: clamp(40px, 4vw + 16px, 80px) 0 clamp(56px, 5vw + 16px, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.7vw, 4.35rem); max-width: 13.5ch; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--green-600); background: linear-gradient(transparent 70%, var(--amber-200) 70%, var(--amber-200) 92%, transparent 92%); padding: 0 .04em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ic { color: var(--green-600); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: 16ch; } }

/* The hero composition: a field photograph with the product laid over it. */
.stage { position: relative; aspect-ratio: 1 / .92; }
.stage .stage-photo { position: absolute; inset: 0 14% 12% 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-2); background: var(--paper-2); }
.stage .stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.stage .stage-photo figcaption { position: absolute; left: 12px; bottom: 10px; }
.stage .stage-shot { position: absolute; right: 0; bottom: 0; width: 70%; }
.stage .stage-phone { position: absolute; left: 4%; bottom: -2%; width: 27%; }
@media (max-width: 960px) { .stage { max-width: 680px; } }
@media (max-width: 560px) { .stage { aspect-ratio: 1 / 1.05; } .stage .stage-shot { width: 82%; } .stage .stage-phone { width: 34%; left: 0; } }

/* ----------------------------------------------------------- frames */
.frame { position: relative; border-radius: 12px; background: #fff; box-shadow: var(--shadow-3); overflow: hidden;
  border: 1px solid rgba(12, 33, 28, .1); }
.frame-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #f3f5f4;
  border-bottom: 1px solid var(--line); }
.frame-bar .dots { display: inline-flex; gap: 6px; }
.frame-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5dcd9; display: block; }
.frame-bar .frame-title { flex: 1; min-width: 0; text-align: center; font-size: .76rem; color: var(--slate); font-weight: 550;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 46px; }
.frame img { width: 100%; }
.frame-window .frame-bar { background: var(--green-900); border-bottom-color: var(--green-900); color: #c8dbd4; height: 32px; }
.frame-window .frame-title { color: #c8dbd4; text-align: left; padding: 0; }
.frame-window .win-ctrl { display: inline-flex; gap: 14px; color: #8fb0a6; font-size: .8rem; letter-spacing: .02em; }

.phone { position: relative; border-radius: 34px; padding: 10px; background: #111a17; box-shadow: var(--shadow-3), inset 0 0 0 1.5px #2d3a36; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 22%; height: 5px; margin-left: -11%;
  background: #0b100e; border-radius: 4px; z-index: 2; }
.phone img { border-radius: 25px; width: 100%; background: #fff; }
.phone.sm { border-radius: 26px; padding: 7px; }
.phone.sm img { border-radius: 20px; }
.phone.sm::before { top: 11px; height: 4px; }

.shot { margin: 0; }
.shot figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.zoomable { cursor: zoom-in; }
.demo-note { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.demo-note .ic { color: var(--slate); }

.photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; right: 10px; bottom: 9px; z-index: 1; padding: 3px 8px; border-radius: 6px;
  background: rgba(8, 26, 22, .58); color: #e8f1ed; font-size: .7rem; line-height: 1.3; text-decoration: none;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.credit:hover { color: #fff; background: rgba(8, 26, 22, .78); }
.credit-inline { font-size: .78rem; color: var(--muted); }
.credit-inline a { color: var(--muted); }

/* Annotated screenshot: numbered pins over the image, the key beside or below it. */
.annotated { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
@media (max-width: 900px) { .annotated { grid-template-columns: minmax(0, 1fr); } }
.pins { position: relative; }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; display: grid; place-items: center; background: var(--amber-500); color: var(--green-950);
  font: 750 .82rem/1 var(--font-body); box-shadow: 0 0 0 4px rgba(244, 166, 42, .28), var(--shadow-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .pins.is-in .pin { animation: pin-pop .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 300ms); }
  @keyframes pin-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
}
.key { list-style: none; margin: 0; padding: 0; counter-reset: key; display: grid; gap: 18px; }
.key li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; counter-increment: key; }
.key li::before { content: counter(key); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber-500); color: var(--green-950); font: 750 .82rem/1 var(--font-body); }
.key b { display: block; margin-bottom: 2px; }
.key p { margin: 0; color: var(--muted); font-size: .95rem; }
.section.dark .key p { color: #b4ccc4; }

/* --------------------------------------------------------------- layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split.even { grid-template-columns: 1fr 1fr; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split, .split.even { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
.split + .split { margin-top: clamp(72px, 7vw, 120px); }
.split h2 { margin-bottom: 16px; }
.split h3.display { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.01em; }

.grid { display: grid; gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .2s var(--ease), transform .2s var(--ease); }
a.card:hover { border-color: var(--green-300); box-shadow: var(--shadow-2); }
@media (prefers-reduced-motion: no-preference) { a.card:hover { transform: translateY(-2px); } }
.ic-tile { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-100); color: var(--green-700); }
.ic-tile.amber { background: var(--amber-100); color: var(--amber-600); }
.section.dark .ic-tile { background: rgba(140, 194, 176, .14); color: var(--green-300); }

/* Plain feature list with a rule above each item: denser than cards, reads like a spec sheet. */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; margin: 0; padding: 0; list-style: none; }
.specs.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.specs.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.specs li { padding-top: 18px; border-top: 2px solid var(--green-600); }
.specs li .ic { color: var(--green-600); margin-bottom: 10px; }
.specs h3 { font-size: 1.06rem; margin-bottom: 6px; }
.specs p { color: var(--muted); font-size: .96rem; margin: 0; }
.section.dark .specs li { border-top-color: var(--green-300); }
.section.dark .specs p { color: #b4ccc4; }
.section.dark .specs li .ic { color: var(--amber-500); }
@media (max-width: 1000px) { .specs.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .specs, .specs.two, .specs.four { grid-template-columns: 1fr; gap: 26px; } }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317564a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section.dark .checklist li { color: #dbe9e3; }
.section.dark .checklist li::before { background-color: rgba(140, 194, 176, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4a62a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--green-50);
  border: 1px solid var(--green-200); color: var(--green-700); font-size: .82rem; font-weight: 600; line-height: 1.3; }
.tag.amber { background: var(--amber-100); border-color: var(--amber-200); color: #7a4d06; }
.tag.plain { background: #fff; border-color: var(--line-2); color: var(--ink-2); }

.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); color: var(--ink-2); font-size: .94rem; }
.note .ic { color: var(--amber-600); margin-top: 3px; }
.note.limit { background: var(--amber-100); border-color: var(--amber-200); }

/* "Built for" strip */
.audience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.audience .wrap { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.audience .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 650; color: var(--slate); }
.audience ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-weight: 560; }
.audience li { display: inline-flex; align-items: center; gap: 8px; }
.audience li .ic { color: var(--green-600); }

/* ---------------------------------------------------------- lifecycle */
.lifecycle { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.lifecycle li { position: relative; padding: 0 18px 0 0; counter-increment: step; }
.lifecycle li::before { content: counter(step, decimal-leading-zero); display: block; font: 600 .82rem/1 var(--font-mono); color: var(--green-600); margin-bottom: 14px; }
.lifecycle li::after { content: ""; position: absolute; top: 5px; left: 34px; right: 12px; height: 1px; background: var(--line-2); }
.lifecycle li:last-child::after { display: none; }
.lifecycle h3 { font-size: 1.04rem; margin-bottom: 6px; }
.lifecycle p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .lifecycle { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .lifecycle li::after { display: none; } }
@media (max-width: 520px) { .lifecycle { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- tabs */
.tabs { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tab-list { display: grid; gap: 6px; }
.tab { display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; align-items: start; width: 100%; text-align: left;
  padding: 16px 16px; border-radius: var(--radius); border: 1px solid transparent; background: none; cursor: pointer;
  font: inherit; color: var(--ink); transition: background .15s, border-color .15s; }
.tab .num { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); font: 650 .9rem/1 var(--font-body); transition: background .15s, color .15s; }
.tab b { font-size: 1.04rem; font-weight: 650; }
.tab span.d { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.tab:hover { background: var(--green-50); }
.tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-2); }
.tab[aria-selected="true"] .num { background: var(--green-600); color: #fff; }
.tab-panel h3 { margin-top: 26px; }
.tab-panel .checklist { margin-top: 14px; }
.no-js .tab-list { display: none; }
.no-js .tab-panel + .tab-panel, .tabs:not(.is-ready) .tab-panel + .tab-panel { margin-top: 56px; }
@media (prefers-reduced-motion: no-preference) {
  .js .tab-panel.is-entering { animation: panel-in .38s var(--ease) both; }
  @keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  .tabs { grid-template-columns: 1fr; }
  .tab-list { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .tab { scroll-snap-align: start; grid-template-columns: 30px 1fr; padding: 12px; }
  .tab .num { width: 30px; height: 30px; grid-row: auto; }
  .tab span.d { display: none; }
}

/* Segmented control (a smaller tab strip, also used for the billing toggle). */
.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.segmented button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  font: 600 .94rem/1.2 var(--font-body); color: var(--ink-2); }
.segmented button[aria-pressed="true"], .segmented button[aria-selected="true"] { background: var(--green-600); color: #fff; }
.segmented button { white-space: nowrap; }
.segmented .save { color: var(--amber-600); font-weight: 700; margin-left: 4px; }
@media (max-width: 420px) { .segmented button { padding: 8px 12px; font-size: .88rem; } }
.segmented button[aria-pressed="true"] .save { color: var(--amber-200); }

/* ------------------------------------------------------------- carousel */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; margin: 0; padding: 0; list-style: none; }
.carousel-slide { flex: 0 0 100%; min-width: 0; }
.no-js .carousel-track, .carousel:not(.is-ready) .carousel-track { overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; }
.no-js .carousel-slide, .carousel:not(.is-ready) .carousel-slide { scroll-snap-align: start; flex-basis: 88%; }
.carousel.is-ready .carousel-track { transition: transform .6s var(--ease); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .carousel.is-ready .carousel-track { transition: none; } }
.carousel-controls { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.carousel-btn:hover { border-color: var(--green-600); color: var(--green-700); }
.section.dark .carousel-btn { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.section.dark .carousel-btn:hover { border-color: #fff; }
.carousel-dots { display: flex; gap: 6px; margin: 0 6px; padding: 0; list-style: none; }
.carousel-dot { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-dot::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .25s var(--ease), background .25s; }
.carousel-dot[aria-current="true"]::before { width: 22px; background: var(--green-600); }
.section.dark .carousel-dot::before { background: rgba(255, 255, 255, .3); }
.section.dark .carousel-dot[aria-current="true"]::before { background: var(--amber-500); }
.carousel-status { margin-left: auto; font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel-progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 18px; }
.carousel-progress span { display: block; height: 100%; width: 0; background: var(--green-600); }
.section.dark .carousel-progress { background: rgba(255, 255, 255, .14); }
.section.dark .carousel-progress span { background: var(--amber-500); }
.no-js .carousel-controls, .carousel:not(.is-ready) .carousel-controls, .carousel:not(.is-ready) .carousel-progress { display: none; }

/* A product-tour slide: screenshot left, caption right. */
.tour-slide { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: 4px; }
.tour-slide h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.01em; }
@media (max-width: 860px) { .tour-slide { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- three products */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .trio { grid-template-columns: 1fr; } }
.trio-item { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.trio-media { display: grid; place-items: end center; height: 300px; padding: 28px 28px 0; background: var(--green-50); overflow: hidden; }
.trio-media .frame, .trio-media .phone { width: 100%; transform: translateY(6px); }
.trio-media .phone { width: 52%; transform: translateY(30px); }
.trio-media.dark { background: var(--green-900); }
.trio-body { padding: 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.trio-body .platform { font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); }
.trio-body h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.trio-body p { color: var(--muted); margin: 6px 0 14px; }
.trio-body .link-arrow { margin-top: auto; }

/* ------------------------------------------------------------ use cases */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cases { grid-template-columns: 1fr; } }
.case { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.case .photo { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.case .photo img { transition: transform .6s var(--ease); }
@media (prefers-reduced-motion: no-preference) { a.case:hover .photo img { transform: scale(1.035); } }
.case h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; letter-spacing: -.01em; margin-bottom: 6px; }
.case p { color: var(--muted); font-size: .97rem; }
a.case:hover h3 { color: var(--green-700); }

/* Solution blocks on /solutions */
.solution { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding: clamp(56px, 5vw, 88px) 0; border-top: 1px solid var(--line); }
.solution:first-of-type { border-top: 0; }
.solution .photo { aspect-ratio: 4 / 3.1; }
.solution h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.workflow { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: wf; display: grid; gap: 0; }
.workflow li { position: relative; padding: 0 0 20px 44px; counter-increment: wf; }
.workflow li::before { content: counter(wf); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 1.5px solid var(--green-600); color: var(--green-700); font: 700 .8rem/1 var(--font-body); }
.workflow li::after { content: ""; position: absolute; left: 13.5px; top: 30px; bottom: 2px; width: 1.5px; background: var(--green-200); }
.workflow li:last-child { padding-bottom: 0; }
.workflow li:last-child::after { display: none; }
.workflow b { display: block; margin-bottom: 2px; }
.workflow span { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .solution { grid-template-columns: 1fr; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2);
  color: var(--ink-2); font-weight: 600; font-size: .9rem; text-decoration: none; }
.jump a:hover { border-color: var(--green-600); color: var(--green-700); }

/* ----------------------------------------------------------- pricing */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } }
.tier { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.tier.featured { border: 2px solid var(--green-600); box-shadow: var(--shadow-2); }
.tier .flag { position: absolute; top: -12px; left: 24px; padding: 4px 11px; border-radius: 999px; background: var(--green-600); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.tier h3 { font-size: 1.15rem; margin-bottom: 4px; }
.tier .tagline { color: var(--muted); font-size: .92rem; min-height: 2.9em; margin: 0; }
.price { margin: 18px 0 2px; font: 600 2.3rem/1.1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.price small { font: 600 .92rem/1 var(--font-body); color: var(--muted); letter-spacing: 0; }
.price-sub { min-height: 1.4em; font-size: .85rem; color: var(--muted); }
.price .cur { margin-right: 2px; font: 600 .7em/1 var(--font-body); }
.price-usd { min-height: 1.4em; margin-top: 4px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.tier .pay { display: grid; gap: 8px; margin: 20px 0 18px; }
.tier .pay .btn { margin: 0; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.tier ul li { display: flex; gap: 9px; align-items: flex-start; }
.tier ul li .ic { flex: none; color: var(--green-600); margin-top: 3px; }
.tier ul li.part .ic { color: var(--amber-600); }
.tier ul li.no, .tier ul li.no .ic { color: var(--slate); }
.custom-band { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; margin-top: 18px;
  padding: 22px 26px; border-radius: var(--radius-lg); background: var(--green-900); color: #fff; }
.custom-band h3 { color: #fff; margin: 0 0 4px; }
.custom-band p { margin: 0; max-width: 70ch; color: var(--green-200); font-size: .93rem; }
.custom-band .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.addons-title { margin: 48px 0 6px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin-top: 18px; }
@media (max-width: 600px) { .addons { grid-template-columns: 1fr; } }
.addon { padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.addon h3 { margin: 0 0 6px; font-size: 1.02rem; }
.addon .price { margin: 6px 0 2px; font-size: 1.8rem; }
.addon p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
table.compare th:first-child, table.compare td:first-child { text-align: left; font-weight: 600; color: var(--ink-2); position: sticky; left: 0; background: #fff; }
table.compare thead th { font-size: .98rem; background: var(--paper); }
table.compare thead th:first-child { background: var(--paper); }
table.compare tr:last-child td { border-bottom: 0; }
table.compare .yes { color: var(--green-600); }
table.compare .no { color: var(--slate); }

/* ---------------------------------------------------------------- faq */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 2px; cursor: pointer; list-style: none;
  font-weight: 620; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details > div { padding: 0 2px 22px; color: var(--muted); max-width: 70ch; }

/* --------------------------------------------------------------- forms */
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .field .label { font-weight: 620; font-size: .94rem; }
.field .hint { font-size: .84rem; color: var(--muted); }
.field .error-text { color: #7d241d; font-weight: 550; }
.fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.fieldset legend { padding: 0; margin-bottom: 8px; font-weight: 620; font-size: .94rem; }
.field .opt { font-weight: 500; color: var(--muted); font-size: .84rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-body); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(31, 107, 91, .18); }
.field [aria-invalid="true"] { border-color: var(--red-600); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 550; font-size: .95rem; }
.choice input { margin-top: 3px; accent-color: var(--green-600); }
.choice:has(input:checked) { border-color: var(--green-600); background: var(--green-50); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 22px; font-size: .96rem; }
.alert.error { background: var(--red-100); color: #7d241d; border: 1px solid #f1c3bd; }
.alert.success { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-200); }
.alert .ic { margin-top: 2px; }

/* ----------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(36px, 5vw, 72px); background: var(--green-900); color: #dbe9e3;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #b4ccc4; max-width: 52ch; }
.cta-band .cta-row { margin-top: 0; justify-content: flex-end; }
.cta-band .aside { font-size: .9rem; color: #9fbab1; }
.cta-band .aside a { color: var(--amber-200); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 1px solid rgba(140, 194, 176, .18); box-shadow: 0 0 0 40px rgba(140, 194, 176, .04), 0 0 0 80px rgba(140, 194, 176, .03); pointer-events: none; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .cta-row { justify-content: flex-start; } }

/* ----------------------------------------------------- resource hub */
.res-group + .res-group { margin-top: 56px; }
.res-group h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 18px; }
.res-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .res-list { grid-template-columns: 1fr; } }
.res-list li { border-bottom: 1px solid var(--line); }
.res-list a { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 18px 2px; color: var(--ink); text-decoration: none; }
.res-list a:hover b { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.res-list .ri { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.res-list b { display: block; font-weight: 620; }
.res-list span.d { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.res-list .go { color: var(--slate); }

/* ------------------------------------------------------------ prose */
.prose { max-width: var(--max-text); }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose p, .prose li { color: var(--ink-2); }

/* Security facts table */
.facts { width: 100%; border-collapse: collapse; font-size: .97rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); }
.facts th { width: 30%; font-weight: 650; color: var(--ink); padding-right: 24px; }
.facts td { color: var(--ink-2); }
@media (max-width: 640px) { .facts th, .facts td { display: block; width: auto; padding: 4px 0; border: 0; } .facts tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); } }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--green-950); color: #a9c1ba; padding: 72px 0 32px; font-size: .94rem; }
.site-footer a { color: #c4d6d0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.foot-brand .brand { color: #fff; margin-bottom: 16px; }
.foot-brand .brand img { filter: none; }
.foot-brand p { max-width: 34ch; color: #92ada5; }
.foot-col h2 { margin: 0 0 16px; font: 650 .76rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .13em; color: #fff; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1); color: #6f8a83; font-size: .85rem; }
.foot-bottom a { color: #8ea9a1; }
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }

/* ------------------------------------------------------------ lightbox */
.lightbox { width: min(1400px, 96vw); max-width: 96vw; max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 26, 22, .82); }
.lightbox img { max-height: 86vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; background: #fff; box-shadow: var(--shadow-3); }
.lightbox p { color: #e2ece8; text-align: center; font-size: .92rem; margin: 12px 0 0; }
.lightbox .close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-2); }
@media (max-width: 640px) { .lightbox .close { top: 6px; right: 6px; } }

/* --------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.from-left { transform: translateX(-22px); }
  .js .reveal.from-right { transform: translateX(22px); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- misc */
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kbd { font-family: var(--font-mono); font-size: .85em; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); background: #fff; }
.stack-sm > * + * { margin-top: 10px; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0 !important; }
.notfound { min-height: 56vh; display: grid; align-items: center; }
.notfound .code { font: 600 clamp(4rem, 3rem + 6vw, 8rem)/1 var(--font-display); color: var(--green-200); }

/* page: Joripo Collect (phone gallery) */
.phone-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.phone-gallery .phone { max-width: 260px; margin: 0 auto; }
.phone-gallery figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); text-align: center; }
@media (max-width: 1000px) { .phone-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

.specs h4 { font-size: 1.04rem; margin-bottom: 6px; }
.section.dark .specs h4 { color: #fff; }
.stage .stage-photo .credit { right: auto; bottom: auto; left: 10px; top: 10px; }
.section.dark .eyebrow { color: var(--green-300); }
.tour-slide { padding: 16px 32px 32px 16px; }
@media (max-width: 860px) { .tour-slide { padding: 8px 8px 24px; } }
a.card .link-arrow, a.case .link-arrow { color: var(--green-600); }
@media (max-width: 900px) { .solution { grid-template-columns: minmax(0, 1fr); } }
.addr { font-family: var(--font-mono); font-size: .92rem; word-break: break-all; margin: 0; }
.note .addr { min-width: 0; }
img.qr { width: 176px; height: 176px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

/* ------------------------------------------------------------- videos */
.vid { position: relative; line-height: 0; background: #f3f5f4; }
.vid video { display: block; width: 100%; height: auto; }
.phone .vid { border-radius: 25px; overflow: hidden; background: #fff; }
.phone.sm .vid { border-radius: 20px; }
.vid-btn { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(8, 26, 22, .72); color: #fff; opacity: .0; transition: opacity .2s, transform .2s var(--ease);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vid:hover .vid-btn, .vid-btn:focus-visible, .vid.is-paused .vid-btn { opacity: 1; }
.vid-btn:hover { transform: scale(1.06); }
.vid-btn .vid-pause, .vid.is-paused .vid-btn .vid-play { display: grid; }
.vid-btn .vid-play, .vid.is-paused .vid-btn .vid-pause { display: none; }
.no-js .vid-btn { display: none; }
.frame-bar .rec { position: absolute; right: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 650;
  letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); }
.frame-bar { position: relative; }
.frame-bar .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-500); box-shadow: 0 0 0 3px rgba(244,166,42,.22); }
@media (prefers-reduced-motion: no-preference) { .frame-bar .rec::before { animation: rec-pulse 2.4s ease-in-out infinite; } }
@keyframes rec-pulse { 50% { box-shadow: 0 0 0 6px rgba(244,166,42,0); } }
@media (max-width: 520px) { .frame-bar .rec { display: none; } }
.video-caption { margin-top: 12px; font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------- immersive entrances */
@media (prefers-reduced-motion: no-preference) {
  /* Media rises and settles; photos also open from a slight zoom. */
  .js .reveal.r-media { opacity: 0; transform: translateY(42px) scale(.975); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
  .js .reveal.r-media.is-in { opacity: 1; transform: none; }
  .js .reveal.r-photo { opacity: 0; clip-path: inset(8% 6% 8% 6% round 18px); transform: translateY(24px); transition: opacity .9s var(--ease), clip-path 1.2s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.r-photo img { transform: translateY(var(--py, 0px)) scale(1.12); transition: transform 1.6s var(--ease); }
  .js .reveal.r-photo.is-in { opacity: 1; clip-path: inset(0 0 0 0 round 18px); transform: none; }
  /* Opened at the scale it then drifts at: settling changes nothing seen. */
  .js .reveal.r-photo.is-in img { transform: translateY(var(--py, 0px)) scale(1.08); }
  .js .reveal.r-phone { opacity: 0; transform: translateY(70px) rotate(-2deg); transition: opacity .9s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
  .js .reveal.r-phone.is-in { opacity: 1; transform: none; }
  .js .reveal.r-text { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .reveal.r-text.is-in { opacity: 1; transform: none; }
  .js .reveal.r-item { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .reveal.r-item.is-in { opacity: 1; transform: none; }
  /* Headings draw their amber rule in. */
  .js .eyebrow.reveal::before { width: 0; transition: width .7s var(--ease) .25s; }
  .js .eyebrow.reveal.is-in::before { width: 22px; }
  /* The hero greets the visitor on load. */
  .js .hero-in > * { animation: hero-in .9s var(--ease) both; }
  .js .hero-in > :nth-child(2) { animation-delay: .08s; } .js .hero-in > :nth-child(3) { animation-delay: .16s; }
  .js .hero-in > :nth-child(4) { animation-delay: .24s; } .js .hero-in > :nth-child(5) { animation-delay: .32s; }
  .js .hero-in > :nth-child(6) { animation-delay: .4s; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  .js .stage .stage-photo { animation: stage-photo 1.2s var(--ease) both .15s; }
  @keyframes stage-photo { from { opacity: 0; clip-path: inset(10% 10% 10% 10% round 18px); } to { opacity: 1; clip-path: inset(0 round 18px); } }
  /* Gentle depth: photos drift a little as the page scrolls (site.js sets
     --py, on wide screens only). The same scale as an opened photo's, so a
     photo settling after it opens does not jump. */
  .js .photo.settled img, .js .reveal.r-photo.is-in.settled img { transition: none; transform: translateY(var(--py, 0px)) scale(1.08); will-change: transform; }
}
/* Narrow screens (the phone menu's width and below): entrances rise, never slide in from a side or turn, so
   nothing reaches past the screen's edge while it enters (field-test
   release: a hero screenshot entering from the right, and a phone turned
   2 degrees, stuck out 6-22px and let the page wobble sideways). */
@media (prefers-reduced-motion: no-preference) and (max-width: 960px) {
  .js .reveal.from-left:not(.is-in), .js .reveal.from-right:not(.is-in) { transform: translateY(18px); }
  .js .reveal.r-phone:not(.is-in) { transform: translateY(70px); }
}
.back-link { margin: 0 0 18px; }
.back-link a { color: var(--muted); text-decoration: none; }
.back-link a:hover { color: var(--green-700); }
.phone-stage { max-width: 300px; margin: 0 auto; }

/* -------------------------------------------------------- documentation */
/* /docs (templates/public/docs_*.html, app/docs_site): a sidebar of sections,
 * the page, its table of contents. Search and Print are shown by
 * static/site/docs.js; without it the sidebar lists every page in full. */
.docs-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 44px; align-items: start;
  padding-top: 36px; padding-bottom: 88px; }
@media (max-width: 1180px) { .docs-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; } .docs-toc { display: none; } }
@media (max-width: 900px) { .docs-shell { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; } }

/* The list scrolls, not the whole sidebar: a scrolling box clips what pokes
 * out of it, and the search results must be wider than the sidebar. */
.docs-nav { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px);
  display: flex; flex-direction: column; padding: 2px 0 0 2px; font-size: .93rem; z-index: 5; }
.docs-nav .docs-nav-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 6px 24px 0; }
.docs-nav h2 { margin: 20px 0 6px; padding: 0 10px; font: 650 .74rem/1.3 var(--font-body); text-transform: uppercase;
  letter-spacing: .12em; color: var(--slate); }
.docs-nav h2 a { color: inherit; text-decoration: none; }
.docs-nav h2 a:hover, .docs-nav h2 a[aria-current="page"] { color: var(--green-700); }
.docs-nav ul { list-style: none; margin: 0; padding: 0; }
.docs-nav li a, .docs-nav-home a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--ink-2);
  text-decoration: none; line-height: 1.35; }
.docs-nav-home { margin: 16px 0 0; }
.docs-nav-home a { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.docs-nav li a:hover, .docs-nav-home a:hover { background: var(--green-50); color: var(--green-700); }
.docs-nav li a[aria-current="page"], .docs-nav-home a[aria-current="page"] { background: var(--green-100);
  color: var(--green-800); font-weight: 620; }
.docs-nav-toggle { display: none; align-items: center; gap: 8px; width: 100%; margin-top: 10px; padding: 11px 14px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: 600 .95rem/1.2 var(--font-body);
  cursor: pointer; }
@media (max-width: 900px) {
  .docs-nav { position: static; display: block; max-height: none; padding: 0; }
  .docs-nav .docs-nav-list { overflow: visible; padding-right: 0; }
  .js .docs-nav-toggle { display: flex; }
  .js .docs-nav .docs-nav-list { display: none; }
  .js .docs-nav.is-open .docs-nav-list { display: block; padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
}

.docs-search { position: relative; }
.docs-search-box { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 12px; border: 1px solid var(--line-2);
  border-radius: 10px; background: #fff; color: var(--slate); transition: border-color .15s, box-shadow .15s; }
.docs-search-box:focus-within { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(31, 107, 91, .18); }
.docs-search-box input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--ink);
  font: 400 .95rem/1.3 var(--font-body); padding: 10px 0; }
.docs-search-box .kbd { color: var(--slate); }
.docs-search-box:focus-within .kbd { display: none; }
.docs-search.big { max-width: 640px; margin-top: 28px; }
.docs-search.big .docs-search-box { min-height: 54px; padding: 0 14px 0 16px; border-radius: 12px; box-shadow: var(--shadow-2); }
.docs-search.big .docs-search-box input { font-size: 1.05rem; }
.docs-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: min(70vh, 520px);
  overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-3); }
.docs-nav .docs-results { right: auto; width: min(420px, calc(100vw - 2 * var(--gutter))); }
@media (max-width: 900px) { .docs-nav .docs-results { right: 0; width: auto; } }
.docs-hit { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.docs-hit:hover, .docs-hit.is-active, .docs-hit:focus-visible { background: var(--green-50); color: var(--ink); }
.docs-hit .s { display: block; font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.docs-hit b { display: block; margin-top: 1px; font-weight: 620; color: var(--green-700); }
.docs-hit .x { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.docs-hit mark { background: var(--amber-200); color: inherit; border-radius: 3px; padding: 0 1px; }
.docs-results .empty { margin: 0; padding: 12px; font-size: .92rem; color: var(--muted); }

.docs-hero { padding-bottom: clamp(36px, 3vw + 16px, 56px); }
.docs-hero h1 { max-width: 18ch; }
.docs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .docs-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .docs-cards { grid-template-columns: 1fr; } }
.docs-card .ic-tile { margin-bottom: 14px; }
.docs-card h2 { font: 650 1.15rem/1.3 var(--font-body); letter-spacing: -.01em; margin-bottom: 6px; }
.docs-card h2 a { color: var(--ink); text-decoration: none; }
.docs-card h2 a:hover { color: var(--green-700); text-decoration: underline; }
.docs-card > p { font-size: .94rem; }
.docs-card ul { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .92rem; }
.docs-card li a { text-decoration: none; }
.docs-card li a:hover { text-decoration: underline; }

.docs-main { min-width: 0; }
.docs-main .crumbs { margin-bottom: 16px; }
.docs-head h1 { font-size: clamp(2rem, 1.45rem + 1.9vw, 2.75rem); max-width: 26ch; margin-bottom: 10px; }
.docs-head .eyebrow { margin-bottom: 12px; }
.docs-head .lead { margin-top: 10px; }
.docs-status { margin: 2px 0 4px; }
.docs-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.docs-print-only { display: none; }
.docs-body { max-width: 74ch; margin-top: 30px; }
.docs-body > :first-child { margin-top: 0; }
.docs-body h2 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.8rem); margin-top: 1.7em; }
.docs-body h3 { font-size: 1.12rem; margin-top: 1.5em; }
.docs-body li > code, .docs-body p > code, .docs-body td > code { overflow-wrap: anywhere; }
.docs-body pre { margin: 1.1em 0 1.3em; padding: 14px 16px; overflow-x: auto; border-radius: 10px; background: var(--green-950);
  color: #e3ede9; font: 400 .87rem/1.6 var(--font-mono); }
.docs-body pre code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.docs-body .table-scroll { margin: 1.2em 0 1.4em; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; }
.docs-body table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.docs-body th, .docs-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); }
.docs-body thead th { background: var(--paper); color: var(--ink); font-weight: 650; white-space: nowrap; }
.docs-body tbody tr:last-child td { border-bottom: 0; }
.docs-body .fn-table td:first-child { min-width: 190px; }
.docs-body .fn-table td:nth-child(2) { min-width: 180px; }
.docs-body blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 3px solid var(--amber-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--amber-100); }
.docs-body blockquote p { margin: 0; color: var(--ink-2); }
.docs-pages .tag { margin-top: 6px; }

.docs-toc { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto; font-size: .87rem; }
.docs-toc h2 { margin: 4px 0 10px; font: 650 .74rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--slate); }
.docs-toc ul, .docs-toc-inline ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.docs-toc a, .docs-toc-inline a { display: block; margin-left: -1px; padding: 4px 0 4px 12px; border-left: 2px solid transparent;
  color: var(--muted); text-decoration: none; line-height: 1.4; }
.docs-toc .l3 a, .docs-toc-inline .l3 a { padding-left: 24px; font-size: .95em; }
.docs-toc a:hover, .docs-toc-inline a:hover { color: var(--green-700); }
.docs-toc a.is-current { border-left-color: var(--green-600); color: var(--green-700); font-weight: 600; }
.docs-toc-inline { display: none; margin-top: 22px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.docs-toc-inline summary { cursor: pointer; font-weight: 620; }
.docs-toc-inline ul { margin-top: 10px; }
@media (max-width: 1180px) { .docs-toc-inline { display: block; } }

.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 74ch; margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line); }
.docs-pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .2s var(--ease); }
.docs-pager a:hover { border-color: var(--green-300); box-shadow: var(--shadow-2); }
.docs-pager .d { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: var(--slate); }
.docs-pager b { display: block; margin-top: 4px; color: var(--green-700); }
.docs-pager .next { grid-column: 2; text-align: right; }
@media (max-width: 560px) { .docs-pager { grid-template-columns: 1fr; } .docs-pager .next { grid-column: auto; } }

/* A printed page is the article: no chrome, no menus, links that say where they lead. */
@media print {
  .site-header, .site-footer, .skip, .docs-nav, .docs-toc, .docs-toc-inline, .docs-tools, .docs-pager, .docs-search,
  .docs-main .crumbs { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .docs-shell { display: block; max-width: none; padding: 0; }
  .docs-print-only { display: block; margin: 6px 0 0; font-size: 9pt; color: #555; }
  .docs-head h1 { max-width: none; font-size: 22pt; }
  .docs-body { max-width: none; margin-top: 18px; }
  .docs-body a { color: #000; }
  .docs-body a[href^="https://"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #444; }
  .docs-body pre { border: 1px solid #bbb; background: #f5f5f5; color: #000; white-space: pre-wrap; }
  .docs-body .table-scroll { overflow: visible; border-color: #bbb; }
  .docs-body h2, .docs-body h3 { break-after: avoid; }
  .docs-body pre, .docs-body blockquote, .docs-body tr { break-inside: avoid; }
}
