/* Signare website. Plain CSS, no build step.
   Colours: the :root tokens are copied from the product UI
   (Cloud/public/assets/portal.css and ReceptionServer/admin/admin.css); keep
   them in step so the site, the portal and the dashboard read as one brand.
   Layout: large rounded tiles (light and dark), centred headlines, pill
   buttons, merchandising cards and a large accordion FAQ. */
:root {
  --bg: #fafaf9; --surface: #fff; --surface-2: #f5f5f4; --hover: #f0efed;
  --line: #e7e5e4; --line-strong: #d6d3d1; --input: #c9c5c1;
  --ink: #1c1917; --ink-2: #44403c; --muted: #6b6560;
  --brand: #141414; --brand-hover: #2e2b29; --brand-active: #000; --on-brand: #fff;
  --accent: #e35f0e; --accent-ink: #b4490a; --accent-tint: #fdf1e8;
  --ok: #15803d; --ok-tint: #ecfdf3; --warn: #a15c07; --warn-tint: #fff7e6; --bad: #b42318; --bad-tint: #fef1ef;
  --ok-line: #c6ecd3; --warn-line: #f5dfb3; --warn-ink: #6b4300; --bad-line: #f6cbc5; --bad-ink: #7a1a13;
  /* Site-only from here (not in the product files). */
  --material: rgba(250, 250, 249, .8);
  --shadow: 0 1px 2px rgba(28, 25, 23, .05);
  --shadow-lg: 0 1px 2px rgba(28, 25, 23, .04), 0 8px 24px rgba(28, 25, 23, .06);
  --shadow-xl: 0 2px 6px rgba(28, 25, 23, .05), 0 30px 60px -20px rgba(28, 25, 23, .25);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
  --ease: cubic-bezier(.2, 0, 0, 1);
  /* Tiles: light tiles sit on --tile, dark tiles stay dark in both appearances. */
  --tile: #fff; --tile-2: #f0efed;
  --dark: #141414; --dark-2: #1f1d1c; --on-dark: #f5f5f4; --on-dark-2: #b8b2ad; --dark-line: #34302d;
  --r: 8px; --r-lg: 18px; --r-tile: 28px; --pill: 980px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1080px;
  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  color-scheme: light;
}
@media (prefers-contrast: more) {
  :root { --muted: #4a4541; --ink-2: #292524; --line: #c9c5c1; --line-strong: #a8a29e; --on-dark-2: #e7e5e4; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 64px; }
html, body { margin: 0; }
body { font: 17px/1.5 var(--font); letter-spacing: -.01em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-wrap: break-word; -webkit-tap-highlight-color: transparent; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
b, strong { font-weight: 600; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(40px, 7.2vw, 84px); line-height: 1.03; letter-spacing: -.038em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.032em; }
h3 { font-size: clamp(19px, 1.4vw, 22px); line-height: 1.25; letter-spacing: -.018em; font-weight: 650; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { left: 12px; }

/* ---------- buttons: pills ---------- */
.btn { font: inherit; font-size: 17px; font-weight: 550; letter-spacing: -.01em; line-height: 1.2; min-height: 48px; padding: 12px 24px; border-radius: var(--pill); border: 1.5px solid transparent; background: var(--brand); color: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); touch-action: manipulation; }
.btn:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn:active { background: var(--brand-active); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--bg); }
.btn.accent { background: #c2410c; color: #fff; }
.btn.accent:hover { background: #9a3412; color: #fff; }
.btn.sm { font-size: 14px; min-height: 36px; padding: 7px 16px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; justify-content: center; }
.textlink { font-weight: 550; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.textlink::after { content: "\203A"; font-size: 1.3em; line-height: 1; transform: translateY(-1px); }
.textlink:hover { text-decoration: underline; }

/* ---------- global nav ---------- */
.gnav { position: sticky; top: 0; z-index: 40; background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.gnav .wrap { display: flex; align-items: center; gap: 16px; min-height: 52px; max-width: 1180px; }
.gnav .logo { display: flex; align-items: center; min-height: 44px; }
.gnav .logo img { width: 96px; }
.gnav nav { margin: 0 auto; }
.gnav nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnav nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink-2); text-decoration: none; font-size: 14px; letter-spacing: 0; }
.gnav nav a:hover { color: var(--ink); }
.gnav .acts { display: flex; align-items: center; gap: 6px; }
.gnav .signin { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 0 10px; min-height: 44px; display: flex; align-items: center; letter-spacing: 0; }
.gnav .signin:hover { color: var(--ink); }
@media (max-width: 833px) { .gnav nav { display: none; } .gnav .acts { margin-left: auto; } }
@media (max-width: 359px) { .gnav .logo img { width: 84px; } }
@media (prefers-contrast: more) { .gnav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: clamp(48px, 8vw, 96px) 0 0; overflow: hidden; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; letter-spacing: 0; color: var(--ink-2); padding: 6px 14px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 24px; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-tint); }
.hero h1 { max-width: 12.5em; margin: 0 auto; }
.hero h1 span { color: var(--accent-ink); }
.hero .lede { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.4; color: var(--muted); max-width: 33em; margin: 22px auto 32px; letter-spacing: -.015em; }
.hero .ctas { margin-bottom: 18px; }
.hero .assure { list-style: none; padding: 0; margin: 0 0 clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; color: var(--muted); font-size: 14px; letter-spacing: 0; }
.hero .assure li { display: flex; align-items: center; gap: 6px; }
.hero .assure svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

/* Hero demo stage (see "hero demo" below). */
.stage { position: relative; max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.stage::before { content: ""; position: absolute; left: 50%; top: 20%; width: 110%; height: 90%; transform: translateX(-50%); background: radial-gradient(closest-side, var(--accent-tint), transparent); z-index: -1; pointer-events: none; }
.hero-end { height: 1px; background: var(--line); }

/* Optional hero video (see VIDEO SLOT in index.html). */
.video { margin: 0 auto; max-width: 980px; padding-bottom: clamp(40px, 6vw, 80px); }
.video-frame { background: #141414; border: 1px solid #2e2b29; border-radius: var(--r-tile); padding: 10px; box-shadow: var(--shadow-xl); }
.video video { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; }
.video figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); letter-spacing: 0; }

/* ---------- sections + headings ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow { display: block; font-size: clamp(17px, 1.3vw, 21px); font-weight: 650; letter-spacing: -.01em; color: var(--accent-ink); margin-bottom: 10px; }
.title { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); padding: 0 var(--gutter); }
.title p { font-size: clamp(19px, 1.5vw, 22px); color: var(--muted); margin: 18px auto 0; max-width: 36em; line-height: 1.45; }

/* ---------- the problem: crossed-out paper loop ---------- */
.loop { list-style: none; padding: 0 var(--gutter); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 1012px; }
@media (min-width: 834px) { .loop { grid-template-columns: repeat(4, 1fr); } }
.loop li { background: var(--tile); border-radius: var(--r-lg); padding: 24px 16px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.loop svg { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--muted); }
.loop b { display: block; font-size: 18px; letter-spacing: -.015em; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.loop span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.answer { text-align: center; font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin: clamp(40px, 5vw, 64px) auto 0; max-width: 18em; padding: 0 var(--gutter); text-wrap: balance; }
.answer span { color: var(--accent-ink); }

/* ---------- tiles ---------- */
.tiles { display: grid; gap: 12px; padding: 0 12px; max-width: 1680px; margin: 0 auto; }
.tiles + .tiles { margin-top: 12px; }
@media (min-width: 834px) { .tiles.two { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; overflow: hidden; border-radius: var(--r-tile); background: var(--tile-2); color: var(--ink); text-align: center; padding: clamp(44px, 5vw, 64px) clamp(20px, 4vw, 48px) 0; min-height: clamp(560px, 52vw, 680px); display: flex; flex-direction: column; align-items: center; }
.tile.dark { background: var(--dark); color: var(--on-dark); }
.tile.dark .sub { color: var(--on-dark-2); }
.tile.dark .eyebrow { color: #fb923c; }
.tile h2 { font-size: clamp(32px, 3.8vw, 48px); max-width: 13em; }
.tile.wide h2 { font-size: clamp(34px, 5vw, 64px); }
.tile .sub { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: var(--muted); max-width: 26em; margin: 14px auto 18px; }
.tile .art { margin-top: auto; width: 100%; display: flex; justify-content: center; align-items: flex-end; padding-top: 32px; }
.tile.wide { min-height: auto; padding-bottom: clamp(44px, 5vw, 64px); }

/* Tile art: Windows print dialog choosing the Signare printer. */
.print-dlg { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: var(--shadow-xl); text-align: left; padding: 20px 22px 26px; letter-spacing: 0; }
.print-dlg .t { font-family: var(--font-display); font-size: 22px; font-weight: 650; margin-bottom: 16px; letter-spacing: -.02em; }
.print-dlg .lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.print-dlg .opts { border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.print-dlg .opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }
.print-dlg .opt:first-child { border-top: 0; }
.print-dlg .opt svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.print-dlg .opt.on { background: var(--accent-tint); color: var(--ink); font-weight: 600; }
.print-dlg .opt.on svg { color: var(--accent-ink); }
.print-dlg .opt.on em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.print-dlg .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.print-dlg .row span { font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--ink); }
.print-dlg .row span.p { background: #141414; color: #fff; border-color: #141414; }

/* Tile art: your network boundary, portal outside. */
.net { width: min(480px, 100%); padding-bottom: 44px; }
.net .lan { border: 1.5px dashed rgba(251, 146, 60, .7); border-radius: 22px; padding: 34px 14px 30px; position: relative; display: flex; align-items: center; justify-content: space-around; gap: 6px; }
.net .lan > em { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--dark); padding: 0 10px; font-style: normal; font-size: 12px; font-weight: 600; color: #fb923c; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.net .dev { display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-2); letter-spacing: 0; }
.net .dev svg { width: 60px; height: 60px; color: var(--on-dark); }
.net .wire { flex: 1; max-width: 120px; height: 2px; background: repeating-linear-gradient(90deg, #fb923c 0 8px, transparent 8px 14px); position: relative; }
.net .wire::after { content: "documents"; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--on-dark-2); white-space: nowrap; letter-spacing: 0; }
.net .cloud { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--on-dark-2); letter-spacing: 0; text-align: left; }
.net .cloud svg { width: 30px; height: 30px; flex: none; color: var(--on-dark-2); }

/* Wide tile: the stamp, large. */
.stamp-card { margin: 28px auto 0; width: 100%; max-width: 760px; background: #fff; color: #1c1917; border-radius: 16px; padding: 24px; text-align: left; box-shadow: var(--shadow-xl); }
.stamp-card .sig { height: 70px; border-bottom: 1px solid #d6d3d1; position: relative; }
.stamp-card .sig svg { position: absolute; left: 8px; bottom: 6px; width: 260px; max-width: 80%; height: 60px; }
.stamp-card code { display: block; font-family: var(--mono); font-size: clamp(10px, 1.6vw, 15px); color: #44403c; margin-top: 12px; letter-spacing: -.02em; }
.stamp-card code mark { background: #fdf1e8; color: #b4490a; border-radius: 4px; padding: 0 3px; }
.facts { list-style: none; padding: 0; margin: 36px auto 0; display: grid; gap: 14px 32px; max-width: 900px; text-align: left; width: 100%; }
@media (min-width: 834px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts li { font-size: 15px; color: var(--on-dark-2); letter-spacing: 0; border-top: 1px solid var(--dark-line); padding-top: 14px; }
.facts b { display: block; color: var(--on-dark); font-size: 17px; letter-spacing: -.01em; margin-bottom: 4px; }

/* ---------- how it works: one row per step, each with a still frame of the demo ---------- */
.wf { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 1180px; }
.wf-row { display: grid; gap: 24px 56px; align-items: center; padding: clamp(32px, 4.5vw, 56px) 0; border-top: 1px solid var(--line); }
.wf-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .wf-row { grid-template-columns: 4fr 7fr; } }
.wf-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent-ink); font-weight: 650; font-size: 16px; letter-spacing: 0; font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.wf-row:last-child .wf-n { border-color: var(--ok); color: var(--ok); }
.wf-txt h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; margin-bottom: 10px; }
.wf-txt p { margin: 0; color: var(--muted); font-size: 17px; max-width: 34em; }
.wf-pic { width: 100%; max-width: 640px; justify-self: center; background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-tile); padding: clamp(6px, 1vw, 10px); }
@media (max-width: 899px) { .wf-pic { max-width: 440px; } }

/* ---------- cut to the chase: short ruled list ---------- */
.chase { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 1180px; display: grid; gap: 0 48px; }
@media (min-width: 760px) { .chase { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .chase:not(.two) { grid-template-columns: repeat(3, 1fr); } }
.chase.two { max-width: 980px; }
.chase li { display: flex; gap: 14px; padding: 24px 0 26px; border-top: 1px solid var(--line-strong); }
.chase svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }
.chase h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 6px; }
.chase p { margin: 0; color: var(--muted); font-size: 16px; letter-spacing: -.005em; }

/* ---------- mid CTA strip ---------- */
.strip { text-align: center; padding: clamp(56px, 7vw, 88px) var(--gutter); border-block: 1px solid var(--line); background: var(--surface); }
.strip h2 { font-size: clamp(28px, 3.2vw, 40px); }
.strip p { color: var(--muted); font-size: 19px; margin: 12px auto 28px; max-width: 32em; }

/* ---------- feature cards ---------- */
.cards { display: grid; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); transition: box-shadow .2s var(--ease); }
.card:hover { box-shadow: var(--shadow-lg); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; letter-spacing: -.005em; }

/* ---------- who it's for: merchandising cards ---------- */
.merch { display: grid; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { .merch { grid-template-columns: 1fr 1fr; } }
.m-card { background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-tile); padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.m-card.lead { border: 2px solid var(--accent); }
.m-card .tag { align-self: flex-start; font-size: 13px; font-weight: 650; letter-spacing: 0; color: var(--accent-ink); background: var(--accent-tint); border-radius: var(--pill); padding: 4px 12px; margin-bottom: 18px; }
.m-card h3 { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.028em; line-height: 1.12; margin-bottom: 12px; }
.m-card > p { color: var(--muted); font-size: 17px; }
.m-card ul { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; gap: 12px; }
.m-card li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16px; letter-spacing: -.005em; }
.m-card li svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }
.m-card .foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.m-card .foot small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.needs { max-width: 1180px; margin: 16px auto 0; padding: 0 var(--gutter); }
.needs > div { border-radius: var(--r-lg); background: var(--surface-2); padding: 20px 24px; display: grid; gap: 8px 32px; }
@media (min-width: 834px) { .needs > div { grid-template-columns: auto 1fr 1fr 1fr; align-items: center; } }
.needs b { font-size: 15px; }
.needs span { font-size: 15px; color: var(--ink-2); letter-spacing: 0; }

/* ---------- final CTA tile ---------- */
.final { padding: 0 12px; }
.final .tile { min-height: auto; padding-bottom: clamp(56px, 7vw, 96px); padding-top: clamp(64px, 8vw, 112px); max-width: 1656px; margin: 0 auto; }
.final .tile::before { content: ""; position: absolute; width: 900px; height: 600px; left: 50%; bottom: -380px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(227, 95, 14, .45), transparent); pointer-events: none; }
.final .tile > * { position: relative; }
.final h2 { font-size: clamp(36px, 5.6vw, 72px); max-width: 11em; }
.final .sub { margin-bottom: 32px; }
.final .btn.outline { color: var(--on-dark); border-color: var(--on-dark); }
.final .btn.outline:hover { background: var(--on-dark); color: #141414; }
.final .mail { margin: 22px 0 0; font-size: 15px; color: var(--on-dark-2); letter-spacing: 0; }
.final .mail a { color: var(--on-dark); }

/* ---------- footer (dense, small) ---------- */
.foot-g { background: var(--surface-2); color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: 0; padding: 20px 0 calc(24px + env(safe-area-inset-bottom)); margin-top: 12px; }
.foot-g .wrap { max-width: 1000px; }
.foot-g .note { padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); margin: 0; }
.foot-g .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 20px 0; }
@media (min-width: 834px) { .foot-g .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-g h2 { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin: 0 0 8px; }
.foot-g ul { list-style: none; padding: 0; margin: 0; }
.foot-g ul a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 6px 0; }
.foot-g ul a:hover { text-decoration: underline; color: var(--ink); }
.foot-g .brandcol { grid-column: 1 / -1; }
@media (min-width: 834px) { .foot-g .brandcol { grid-column: auto; } }
.foot-g .brandcol img { width: 88px; margin-bottom: 10px; }
.foot-g .brandcol p { max-width: 28em; margin: 0 0 14px; }
.foot-g .bar { border-top: 1px solid var(--line-strong); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; align-items: center; }
.foot-g .bar nav { display: flex; flex-wrap: wrap; }
.foot-g .bar nav a { color: var(--ink-2); text-decoration: none; padding: 6px 10px 6px 0; margin-right: 10px; border-right: 1px solid var(--line-strong); line-height: 1; }
.foot-g .bar nav a:last-child { border-right: 0; margin-right: 0; }
.foot-g .bar nav a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: clamp(96px, 14vw, 160px) var(--gutter); }
.nf p { font-size: 21px; color: var(--muted); margin: 18px 0 32px; }

/* ---------- shared bits ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.gnav nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.tile .more { margin: 0; }
.tile.dark .textlink { color: #fb923c; }
.tile.dark .textlink:hover { color: var(--on-dark); }
.center-link { text-align: center; margin: 28px 0 0; padding: 0 var(--gutter); }

/* ---------- setup steps + requirements (home, features, security) ---------- */
.steps { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 1180px; display: grid; gap: 16px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { display: flex; gap: 16px; background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.reqs { --pad: clamp(20px, 3vw, 32px); max-width: 1180px; margin: 16px auto 0; padding: 0 var(--gutter); }
.reqs h3 { margin: 0 0 14px; }
.reqs ul { list-style: none; margin: 0; padding: var(--pad); background: var(--surface-2); border-radius: var(--r-lg); display: grid; gap: 14px; }
.reqs li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); letter-spacing: -.005em; }
.reqs li svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }
.reqs b { color: var(--ink); }
.reqs.plain li { display: block; }
#setup .reqs { margin-top: 32px; }

/* ---------- sub-page hero ---------- */
.phero { text-align: center; padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.phero h1 { max-width: 13em; margin: 0 auto; font-size: clamp(38px, 6.2vw, 72px); }
.phero .lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: var(--muted); max-width: 34em; margin: 20px auto 30px; letter-spacing: -.015em; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); color: var(--ink-2); text-decoration: none; font-size: 14px; letter-spacing: 0; }
.jump a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- features page rows ---------- */
.frow { padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.frow:nth-of-type(odd) { background: var(--surface); }
.frow .wrap { display: grid; gap: 28px 64px; }
@media (min-width: 900px) { .frow .wrap { grid-template-columns: 5fr 6fr; align-items: start; } }
.frow h2 { font-size: clamp(30px, 3.6vw, 46px); }
.frow-h p { font-size: clamp(18px, 1.4vw, 21px); color: var(--muted); margin: 16px 0 0; line-height: 1.45; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flist li { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink-2); }
.flist li:last-child { border-bottom: 1px solid var(--line); }
.fnote { grid-column: 1 / -1; margin: 8px 0 0; font-size: 15px; color: var(--muted); max-width: 72ch; }
.flist svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }

/* ---------- security page ---------- */
.sgrid { display: grid; gap: 14px; width: 100%; max-width: 1100px; margin: 36px auto 0; text-align: left; }
@media (min-width: 900px) { .sgrid { grid-template-columns: repeat(3, 1fr); } }
.sgrid.narrow { max-width: 900px; padding: 0 var(--gutter); margin-top: 0; }
@media (min-width: 700px) { .sgrid.narrow { grid-template-columns: 1fr 1fr; } }
.sbox { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 22px 22px 8px; }
.sbox h3 { font-size: 18px; margin-bottom: 10px; color: var(--on-dark); }
.sbox ul { margin: 0; padding: 0 0 0 18px; color: var(--on-dark-2); font-size: 15px; letter-spacing: 0; }
.sbox li { margin-bottom: 10px; }
.sbox b { color: var(--on-dark); }
.sbox.light { background: var(--tile); border-color: var(--line); box-shadow: var(--shadow); }
.sbox.light h3 { color: var(--ink); }
.sbox.light ul { color: var(--ink-2); }
.sbox.light b { color: var(--ink); }
#where .art { padding-top: 8px; margin-top: 12px; }
.timeline { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 12px; }
.timeline > div { display: grid; gap: 4px 24px; padding: 18px 22px; background: var(--tile); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-lg); }
@media (min-width: 700px) { .timeline > div { grid-template-columns: 220px 1fr; } }
.timeline b { font-size: 17px; }
.timeline span { color: var(--ink-2); font-size: 16px; }
.timeline > div:last-child { border-left-color: var(--ok); }
.report { max-width: 1180px; margin: 16px auto 0; padding: 0 var(--gutter); }
.report > * { max-width: 62ch; }
.report h3 { margin: 24px 0 6px; }
.report p { color: var(--ink-2); margin: 0; }

/* ---------- legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.legal .wrap { max-width: 1120px; }
.lg-h { max-width: 760px; margin-bottom: 36px; }
.lg-h h1 { font-size: clamp(38px, 5.6vw, 64px); }
.draft { margin-top: 22px; padding: 14px 18px; border-radius: var(--r-lg); background: var(--warn-tint); border: 1px solid var(--warn-line); color: var(--warn-ink); font-size: 15px; letter-spacing: 0; }
.draft a { color: inherit; }
mark.ph { background: var(--warn-tint); color: var(--warn-ink); border: 1px dashed var(--warn); border-radius: 4px; padding: 0 3px; font-weight: 600; }
.lg-cols { display: grid; gap: 32px 56px; }
@media (min-width: 980px) { .lg-cols { grid-template-columns: 240px minmax(0, 1fr); } }
.toc { font-size: 14px; letter-spacing: 0; }
@media (min-width: 980px) { .toc { position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 96px); overflow: auto; } }
.toc h2 { font-family: var(--font); font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0 0 16px; padding: 0; border-left: 1px solid var(--line-strong); }
.toc li a { display: block; padding: 5px 0 5px 14px; color: var(--ink-2); text-decoration: none; }
.toc li a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 72ch; min-width: 0; font-size: 17px; color: var(--ink-2); }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.022em; color: var(--ink); margin: 48px 0 14px; padding-top: 8px; }
.prose h2:first-of-type { margin-top: 24px; }
.prose h3 { font-size: 19px; color: var(--ink); margin: 28px 0 10px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; overflow-wrap: anywhere; }
.prose a { overflow-wrap: anywhere; }
.tbl { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--r-lg); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; letter-spacing: 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.nf-links { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 16px; }
.nf-links a { display: inline-block; padding: 8px 0; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .gnav, .final, .strip, .toc, .skip { display: none; } body { background: #fff; color: #000; } .lg-cols { display: block; } }
.section[data-flush] { padding-top: 0; }

/* ---------- savings estimate table (home, medical practices) ----------
   Set like a statement: ruled lines, right-aligned figures, dollars in ink with
   the reception time underneath, the year column lightly shaded. */
.save { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 28px; }
.save-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.save-t th, .save-t td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.save-t thead th { padding-top: 12px; padding-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: right; border-bottom: 1px solid var(--line-strong); }
.save-t thead th:first-child { text-align: left; padding-left: 0; }
.save-t tbody th { text-align: left; padding-left: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.save-t tbody th small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--muted); }
.save-t td { text-align: right; }
.save-t td .m { display: block; font-size: 18px; font-weight: 600; color: var(--ink); }
.save-t td .h { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.save-t td:last-child, .save-t thead th:last-child { background: var(--surface-2); }
.save-t td:last-child .m { font-size: 20px; }
.save-t tbody tr:last-child > * { border-bottom: 0; }
.save-how { max-width: 72ch; font-size: 15px; color: var(--ink-2); letter-spacing: 0; }
.save-how h3 { font-size: 17px; margin-bottom: 8px; }
.save-how ul { margin: 0 0 12px; padding-left: 20px; }
.save-how li { margin-bottom: 6px; }
.save-how p { margin: 0; color: var(--muted); }
.save-how strong { color: var(--ink-2); }
/* Phones: one block per practice, the four periods in a 2 x 2 grid. */
@media (max-width: 719px) {
  .save-t, .save-t tbody { display: block; }
  .save-t { border-bottom: 0; }
  .save-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .save-t tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-strong); padding: 6px 0 10px; }
  .save-t tbody th { grid-column: 1 / -1; padding: 12px 0 8px; border: 0; }
  .save-t td { text-align: left; padding: 10px 0; border-bottom: 0; }
  .save-t td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
  .save-t td:last-child { background: none; }
  .save-t td:last-child .m { font-size: 18px; }
}

/* ---------- resources ---------- */
.res { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 1180px; display: grid; gap: 16px; }
@media (min-width: 900px) { .res { grid-template-columns: repeat(2, 1fr); } }
.res a { display: flex; flex-direction: column; height: 100%; background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; color: var(--ink); text-decoration: none; transition: border-color .15s var(--ease); }
.res a:hover { border-color: var(--line-strong); }
.res a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.res-tag { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--accent-ink); background: var(--accent-tint); border-radius: 8px; padding: 3px 10px; margin-bottom: 14px; }
.res h3 { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 10px; }
.res p { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
.res .textlink { margin-top: auto; color: var(--accent-ink); }
.crumbs { font-size: 14px; color: var(--muted); letter-spacing: 0; margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.guide .lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); line-height: 1.45; margin: 16px 0 0; max-width: 40em; }
.guide .meta { font-size: 14px; color: var(--muted); letter-spacing: 0; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.prose .aside { padding: 14px 18px; border-left: 3px solid var(--line-strong); background: var(--surface-2); border-radius: 0 var(--r) var(--r) 0; font-size: 16px; }

/* ---------- about page ---------- */
.about-copy { max-width: 62ch; font-size: 18px; color: var(--ink-2); }
.about-copy p:last-child { margin-bottom: 0; }
.biz { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 0; }
.biz > div { display: grid; gap: 2px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.biz > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .biz > div { grid-template-columns: 200px 1fr; } }
.biz dt { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.biz dd { margin: 0; font-size: 17px; color: var(--ink); font-weight: 550; font-variant-numeric: tabular-nums; }

/* ---------- phone and small-tablet menu (no script: a <details> element) ---------- */
.gnav .logo picture { display: block; }
.mnav { display: none; }
@media (max-width: 833px) {
  .mnav { display: block; margin-left: auto; }
  .gnav .acts { margin-left: 0; }
  .gnav .signin { display: none; }
  .mnav summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 550; letter-spacing: 0; -webkit-user-select: none; user-select: none; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav summary:hover { background: var(--hover); }
  .mnav summary svg { width: 20px; height: 20px; flex: none; }
  .mnav summary .x, .mnav[open] summary .o { display: none; }
  .mnav[open] summary .x { display: inline; }
  .mnav[open] summary { background: var(--surface-2); }
  .gnav .mnav nav { display: block; margin: 0; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -20px rgba(22, 25, 28, .35); max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); overflow-y: auto; padding: 8px var(--gutter) calc(16px + env(safe-area-inset-bottom)); }
  .gnav .mnav ul { display: block; list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); }
  .gnav .mnav li a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 550; letter-spacing: -.01em; }
  .gnav .mnav li:last-child a { border-bottom: 0; }
  .gnav .mnav li a[aria-current="page"] { color: var(--accent-ink); }
  .gnav .mnav .mnav-sign a { color: var(--ink-2); font-weight: 500; }
}
@media (max-width: 359px) { .mnav summary span { display: none; } }

/* ---------- clinical theme ----------
   The brand stays the same (near-black ink, white, the Signare orange, the
   product's green), but the marketing site uses cooler, quieter neutrals than
   the product UI, hairlines instead of heavy shadows, smaller headlines,
   squarer corners and light panels instead of black tiles. The product
   tokens at the top of this file stay an exact copy of portal.css /
   admin.css; these override them for the website only. */
:root {
  --bg: #f6f7f7; --surface: #fff; --surface-2: #eff1f2; --hover: #e9eced;
  --line: #e1e5e7; --line-strong: #cdd3d7; --input: #b9c0c5;
  --ink: #16191c; --ink-2: #394046; --muted: #59626a;
  --brand: #16191c; --brand-hover: #2c3237; --brand-active: #000;
  --material: rgba(255, 255, 255, .86);
  --shadow: 0 1px 2px rgba(22, 25, 28, .04);
  --shadow-lg: 0 1px 2px rgba(22, 25, 28, .04), 0 8px 20px rgba(22, 25, 28, .05);
  --shadow-xl: 0 1px 2px rgba(22, 25, 28, .05), 0 22px 44px -26px rgba(22, 25, 28, .3);
  --tile: #fff; --tile-2: #eff1f2;
  --r: 8px; --r-lg: 12px; --r-tile: 18px;
}

h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.06; letter-spacing: -.03em; font-weight: 680; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.025em; font-weight: 680; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.hero h1 { max-width: 14em; }
.hero h1 span, .answer span { color: inherit; }
.phero h1 { font-size: clamp(34px, 4.8vw, 56px); }
.lg-h h1 { font-size: clamp(34px, 4.6vw, 52px); }
.tile h2 { font-size: clamp(28px, 3vw, 38px); }
.tile.wide h2 { font-size: clamp(30px, 3.8vw, 46px); }
.final h2 { font-size: clamp(32px, 4.2vw, 52px); }
.answer { font-size: clamp(24px, 2.4vw, 32px); font-weight: 650; }
.frow h2 { font-size: clamp(26px, 2.8vw, 36px); }
.m-card h3 { font-size: clamp(22px, 2vw, 28px); }

.btn { border-radius: 10px; font-weight: 600; }
.badge, .m-card .tag { border-radius: 8px; }
.jump a { border-radius: 8px; }

/* Panels instead of black tiles: light, bordered, no glow. */
.stage::before, .final .tile::before { display: none; }
.tile { background: var(--tile); border: 1px solid var(--line); min-height: clamp(480px, 44vw, 600px); }
.tile.dark { background: var(--tile); color: var(--ink); --on-dark: var(--ink); --on-dark-2: var(--muted); --dark: var(--tile); --dark-2: var(--surface-2); --dark-line: var(--line); }
.tile.dark .eyebrow, .tile.dark .textlink { color: var(--accent-ink); }
.tile.dark .textlink:hover { color: var(--ink); }
.net .lan { border-color: var(--accent); }
.net .lan > em { color: var(--accent-ink); }
.stamp-card { border: 1px solid #e1e5e7; box-shadow: var(--shadow-lg); }
.sbox { box-shadow: none; }
.card, .m-card, .steps li, .loop li { box-shadow: none; }
.card:hover { box-shadow: var(--shadow-lg); }
.m-card.lead { border: 1px solid var(--line); border-top: 3px solid var(--accent); }

/* The closing call to action is the one dark panel on each page. */
.final .tile.dark { background: #16191c; color: #f1f3f4; border-color: #16191c; --on-dark: #f1f3f4; --on-dark-2: #aeb7bd; }
