/* RenCapture public site. One stylesheet, no build step, no JavaScript.

   Colours: every value comes from the shared RenCapture palette
   (rencapture/assets/brand/brand.json), written between the palette markers
   below by rencapture/scripts/build-brand-assets.mjs --web. Do not edit the
   generated block by hand; everything else here refers to --rc-* only.
   Light and dark follow the visitor's OS setting (prefers-color-scheme). */

/* palette:generated:start */
/* GENERATED by rencapture/scripts/build-brand-assets.mjs from assets/brand/brand.json
   (palette "lagoon": Lagoon). Do not edit by hand: change brand.json and
   re-run the script.  */
:root {
  --rc-brand: #0592AB;
  --rc-brand-on-dark: #45CFE0;
  --rc-brand-deep: #07384A;
  --rc-brand-gradient-from: #3FD0E0;
  --rc-brand-gradient-to: #0A86A0;
  --rc-bg: #F2F9FA;
  --rc-bg-elevated: #FFFFFF;
  --rc-surface: #FFFFFF;
  --rc-surface-alt: #E6F3F5;
  --rc-border: #D6E4E8;
  --rc-border-strong: #B3C8CE;
  --rc-text: #0B1E24;
  --rc-text-secondary: #3F5560;
  --rc-text-tertiary: #566C76;
  --rc-accent: #0592AB;
  --rc-accent-strong: #06707F;
  --rc-accent-soft: #D5F3F7;
  --rc-on-accent: #FFFFFF;
  --rc-accent-fill: #067D92;
  --rc-coral: #D9533A;
  --rc-warning: #94560A;
  --rc-warning-soft: #FBEFD9;
  --rc-danger: #B42318;
  --rc-danger-soft: #FCE9E7;
  --rc-on-danger: #FFFFFF;
  --rc-danger-fill: #B42318;
  --rc-on-danger-fill: #FFFFFF;
  --rc-success: #2F7A2C;
  --rc-success-soft: #E5F2E2;
  --rc-info: #2E5BC7;
  --rc-info-soft: #E7EDFB;
  --rc-overlay: rgba(8, 26, 32, 0.45);
  --rc-shadow: rgba(8, 26, 32, 0.10);
  --rc-cam-scrim: rgba(6, 12, 16, 0.55);
}
@media (prefers-color-scheme: dark) {
  :root {
    --rc-bg: #071216;
    --rc-bg-elevated: #0C181D;
    --rc-surface: #0F1D22;
    --rc-surface-alt: #16272D;
    --rc-border: #1F3239;
    --rc-border-strong: #354B53;
    --rc-text: #E6F2F5;
    --rc-text-secondary: #A2B8BF;
    --rc-text-tertiary: #86A0A8;
    --rc-accent: #45CFE0;
    --rc-accent-strong: #62D8E6;
    --rc-accent-soft: #0B3640;
    --rc-on-accent: #032127;
    --rc-accent-fill: #34C0D2;
    --rc-coral: #FF8C70;
    --rc-warning: #EBAA48;
    --rc-warning-soft: #33250E;
    --rc-danger: #F27D70;
    --rc-danger-soft: #3B1714;
    --rc-on-danger: #2A0B07;
    --rc-danger-fill: #BF3B33;
    --rc-on-danger-fill: #FFFFFF;
    --rc-success: #86C772;
    --rc-success-soft: #1A3115;
    --rc-info: #93AEF5;
    --rc-info-soft: #18234A;
    --rc-overlay: rgba(0, 0, 0, 0.62);
    --rc-shadow: rgba(0, 0, 0, 0.45);
    --rc-cam-scrim: rgba(4, 9, 11, 0.60);
  }
}
/* palette:generated:end */

@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ————— Site tokens (derived from the palette) ————— */
:root {
  color-scheme: light dark;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1200px;
  --prose: 740px;
  --gutter: 24px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Accent text uses the deeper accent; filled buttons use the palette's accent-fill. */
  --link: var(--rc-accent-strong);
  --btn-bg: var(--rc-accent-fill);
  --btn-bg-hover: color-mix(in srgb, var(--rc-accent-fill) 88%, black);
  --btn-fg: var(--rc-on-accent);
  --mark: var(--rc-accent);

  /* The deep brand band stays dark in both themes. */
  --band-bg: var(--rc-brand-deep);
  --band-text: var(--rc-bg);
  --band-text-2: color-mix(in srgb, var(--rc-bg) 74%, var(--rc-brand-deep));
  --band-line: color-mix(in srgb, var(--rc-bg) 14%, var(--rc-brand-deep));
  --band-tile: color-mix(in srgb, var(--rc-bg) 6%, var(--rc-brand-deep));
  --band-accent: var(--rc-brand-on-dark);

  --device: color-mix(in srgb, var(--rc-brand-deep) 45%, black);
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--rc-text) 6%, transparent), 0 2px 8px color-mix(in srgb, var(--rc-text) 5%, transparent);
  --shadow-lg: 0 2px 6px color-mix(in srgb, var(--rc-text) 6%, transparent), 0 24px 60px -12px color-mix(in srgb, var(--rc-brand-deep) 28%, transparent);
  --shadow-xl: 0 4px 10px color-mix(in srgb, var(--rc-text) 8%, transparent), 0 40px 90px -20px color-mix(in srgb, var(--rc-brand-deep) 42%, transparent);
}
@media (prefers-color-scheme: dark) {
  :root {
    --btn-bg-hover: color-mix(in srgb, var(--rc-accent-fill) 88%, white);
    --band-bg: color-mix(in srgb, var(--rc-brand-deep) 70%, var(--rc-bg));
    --band-text: var(--rc-text);
    --band-text-2: var(--rc-text-secondary);
    --band-line: color-mix(in srgb, var(--rc-text) 12%, transparent);
    --band-tile: color-mix(in srgb, var(--rc-text) 4%, transparent);
    --device: color-mix(in srgb, var(--rc-border-strong) 60%, black);
    --shadow-sm: 0 1px 2px var(--rc-shadow);
    --shadow-lg: 0 1px 2px var(--rc-shadow), 0 24px 60px -16px var(--rc-shadow);
    --shadow-xl: 0 2px 4px var(--rc-shadow), 0 40px 90px -24px black;
  }
}

/* ————— Base ————— */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--rc-bg);
  color: var(--rc-text);
  font: 400 16.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rc-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rc-accent-soft); color: var(--rc-text); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); line-height: 1.06; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); line-height: 1.1; letter-spacing: -0.035em; }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--rc-surface); color: var(--rc-text); padding: 10px 14px; border-radius: var(--r-sm); z-index: 20; box-shadow: var(--shadow-lg); }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--rc-accent); }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--rc-text-secondary); max-width: 34em; }
.muted { color: var(--rc-text-secondary); }
.meta { font-size: .92rem; color: var(--rc-text-tertiary); }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ————— Header ————— */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--rc-bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--rc-border) 80%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; color: var(--rc-text); text-decoration: none; flex: none; border-radius: 8px; }
.brand .brand-logo { height: 26px; width: auto; }
.brand .brand-mark { fill: var(--mark); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--rc-text-secondary); text-decoration: none; font-weight: 500; font-size: .94rem; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { color: var(--rc-text); background: var(--rc-surface-alt); }
.nav a[aria-current="page"] { color: var(--rc-text); background: var(--rc-surface-alt); }
.nav .nav-signin { margin-left: 10px; color: var(--rc-text); border: 1px solid var(--rc-border-strong); background: var(--rc-surface); padding: 9px 18px; }
.nav .nav-signin:hover { border-color: var(--rc-accent); background: var(--rc-surface); }

/* ————— Buttons ————— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); letter-spacing: -0.01em; text-decoration: none;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 1px 2px color-mix(in srgb, var(--rc-brand-deep) 20%, transparent), 0 8px 24px -8px color-mix(in srgb, var(--rc-accent) 55%, transparent); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-ghost { background: var(--rc-surface); color: var(--rc-text); border-color: var(--rc-border-strong); }
.btn-ghost:hover { border-color: var(--rc-accent); }
.btn-light { background: var(--band-text); color: var(--rc-brand-deep); }
.btn-light:hover { background: color-mix(in srgb, var(--band-text) 88%, var(--band-accent)); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--rc-text); text-decoration: none; }
.text-link:hover { color: var(--link); }
.text-link svg { width: 16px; height: 16px; }
@media (prefers-color-scheme: dark) {
  .btn-light { background: var(--rc-accent-fill); color: var(--rc-on-accent); }
  .btn-light:hover { background: var(--btn-bg-hover); }
}

/* ————— Hero ————— */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; isolation: isolate; min-height: min(calc(100svh - 72px - 66px), 860px); display: flex; align-items: center; }
/* Contour rings — the logo's idea (a wound traced at successive visits) as a quiet backdrop. */
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -14%; top: -30%; width: 1100px; height: 1100px;
  background: var(--rc-accent);
  opacity: .11;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='black' stroke-width='.22'%3E%3Cpath d='M50 4c26 0 46 18 46 44S76 96 50 96 3 75 3 48 24 4 50 4z'/%3E%3Cpath d='M50 12c21 0 38 15 38 36S71 88 50 88 11 70 11 48 29 12 50 12z'/%3E%3Cpath d='M50 20c17 0 30 12 30 29S67 80 50 80 19 66 19 49s14-29 31-29z'/%3E%3Cpath d='M50 28c12 0 22 9 22 21s-10 23-22 23-23-10-23-23 11-21 23-21z'/%3E%3Cpath d='M50 36c8 0 14 6 14 14s-6 15-14 15-15-7-15-15 7-14 15-14z'/%3E%3Cpath d='M50 43c4 0 7 3 7 7s-3 7-7 7-7-3-7-7 3-7 7-7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='black' stroke-width='.22'%3E%3Cpath d='M50 4c26 0 46 18 46 44S76 96 50 96 3 75 3 48 24 4 50 4z'/%3E%3Cpath d='M50 12c21 0 38 15 38 36S71 88 50 88 11 70 11 48 29 12 50 12z'/%3E%3Cpath d='M50 20c17 0 30 12 30 29S67 80 50 80 19 66 19 49s14-29 31-29z'/%3E%3Cpath d='M50 28c12 0 22 9 22 21s-10 23-22 23-23-10-23-23 11-21 23-21z'/%3E%3Cpath d='M50 36c8 0 14 6 14 14s-6 15-14 15-15-7-15-15 7-14 15-14z'/%3E%3Cpath d='M50 43c4 0 7 3 7 7s-3 7-7 7-7-3-7-7 3-7 7-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero::after {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(55% 60% at 78% 30%, color-mix(in srgb, var(--rc-accent) 13%, transparent), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, color-mix(in srgb, var(--rc-info) 6%, transparent), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--link); }
.hero-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--rc-text-tertiary); margin: 28px 0 0; max-width: 30em; }
.hero-note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--rc-accent); }

.hero-visual { position: relative; min-height: 660px; }
.hero-visual .phone { position: absolute; left: 0; top: 34px; z-index: 2; }
/* The console sits behind the phone; only its sidebar is covered. */
.hero-console { position: absolute; left: 96px; right: -96px; top: 0; }
.hero-console .console { grid-template-columns: 196px minmax(0, 1fr); min-height: 600px; }
.hero-console .console-side { padding-top: 16px; }
.hero-console .rows .site { display: none; }
.hero-console .rows li { grid-template-columns: 22px minmax(0, 1fr) auto; }
.hero-console .console-cols { grid-template-columns: 1fr; }
.hero-console .console-main { padding-left: 24px; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 18px; background: var(--rc-surface); border: 1px solid var(--rc-border); box-shadow: var(--shadow-lg); font-size: .86rem; line-height: 1.35; }
.float .ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; }
.float .ico svg { width: 19px; height: 19px; }
.float b { display: block; font-weight: 600; font-size: .92rem; }
.float small { color: var(--rc-text-tertiary); font-size: .78rem; }
.float-sync { left: 330px; bottom: -22px; }
.float-sync .ico { background: var(--rc-warning-soft); color: var(--rc-warning); }
.float-trend { display: none; right: 0; top: 168px; }
.float-trend .ico { background: var(--rc-accent-soft); color: var(--link); }
.float-trend .big { font-family: var(--mono); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.03em; display: block; line-height: 1.2; }

/* ————— Trust strip ————— */
.trust { border-top: 1px solid var(--rc-border); border-bottom: 1px solid var(--rc-border); background: var(--rc-surface); }
.trust ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--max); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.trust li { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--rc-text-secondary); }
.trust svg { width: 20px; height: 20px; color: var(--rc-accent); flex: none; }

/* ————— Sections ————— */
.section { padding: 76px 0; }
.section-head { max-width: 46rem; margin-bottom: 36px; }
.section-head.wide { max-width: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; }
.section-head.wide h2 { margin-bottom: 0; }
.section-head.wide > p { padding-bottom: 6px; }
.section-tint { background: var(--rc-surface-alt); }
.section-tint .step { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--rc-border) 70%, transparent); }
.section-tint .step-visual { background: var(--rc-bg); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--rc-text-secondary); font-size: 1.08rem; margin: 0; }
.section-head .eyebrow { color: var(--link); font-size: .78rem; margin: 0 0 18px; }
.section-alt { background: var(--rc-surface); border-top: 1px solid var(--rc-border); border-bottom: 1px solid var(--rc-border); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { display: flex; flex-direction: column; background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.step-visual { background: var(--rc-surface-alt); padding: 24px 22px; min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: 10px; border-bottom: 1px solid var(--rc-border); }
.step-body { padding: 26px 28px 30px; }
.step-body h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 10px; }
.step-body h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--rc-accent-soft); color: var(--link); font-size: .85rem; font-weight: 600; letter-spacing: 0; }
.step-body p { color: var(--rc-text-secondary); margin: 0; font-size: .97rem; }

/* Split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.checks-row { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 4px 0 0; }
.checks.checks-row li { background: var(--rc-bg); border: 1px solid var(--rc-border); border-radius: var(--r-lg); padding: 20px 22px 20px 60px; }
.checks.checks-row li::before { left: 20px; top: 22px; }
.checks.checks-row li::after { left: 27px; top: 28px; }
.checks li { position: relative; padding-left: 38px; color: var(--rc-text-secondary); }
.checks li strong { color: var(--rc-text); display: block; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--rc-accent-soft);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 9px; width: 10px; height: 6px;
  border-left: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg);
}

/* Console section */
.console-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.feature-card { background: var(--rc-bg); border: 1px solid var(--rc-border); border-radius: var(--r-lg); padding: 24px 24px 22px; }
.feature-card svg { width: 22px; height: 22px; color: var(--link); margin-bottom: 14px; }
.feature-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-card p { color: var(--rc-text-secondary); font-size: .94rem; margin: 0; }
.console-stage { position: relative; padding: 0 0 8px; }
.console-stage .browser { width: 100%; }

/* Security band */
.band { background: var(--band-bg); color: var(--band-text); position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.band::before {
  content: ""; position: absolute; z-index: -1; left: -10%; bottom: -60%; width: 900px; height: 900px; background: var(--band-accent); opacity: .07;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='black' stroke-width='.22'%3E%3Cpath d='M50 4c26 0 46 18 46 44S76 96 50 96 3 75 3 48 24 4 50 4z'/%3E%3Cpath d='M50 12c21 0 38 15 38 36S71 88 50 88 11 70 11 48 29 12 50 12z'/%3E%3Cpath d='M50 20c17 0 30 12 30 29S67 80 50 80 19 66 19 49s14-29 31-29z'/%3E%3Cpath d='M50 28c12 0 22 9 22 21s-10 23-22 23-23-10-23-23 11-21 23-21z'/%3E%3Cpath d='M50 36c8 0 14 6 14 14s-6 15-14 15-15-7-15-15 7-14 15-14z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='black' stroke-width='.22'%3E%3Cpath d='M50 4c26 0 46 18 46 44S76 96 50 96 3 75 3 48 24 4 50 4z'/%3E%3Cpath d='M50 12c21 0 38 15 38 36S71 88 50 88 11 70 11 48 29 12 50 12z'/%3E%3Cpath d='M50 20c17 0 30 12 30 29S67 80 50 80 19 66 19 49s14-29 31-29z'/%3E%3Cpath d='M50 28c12 0 22 9 22 21s-10 23-22 23-23-10-23-23 11-21 23-21z'/%3E%3Cpath d='M50 36c8 0 14 6 14 14s-6 15-14 15-15-7-15-15 7-14 15-14z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.band .eyebrow, .band .section-head .eyebrow { color: var(--band-accent); }
.band .eyebrow::before { background: var(--band-accent); }
.band .section-head p { color: var(--band-text-2); }
.band a { color: var(--band-accent); }
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: var(--r-xl); overflow: hidden; }
.sec-item { background: var(--band-bg); padding: 32px 30px 34px; }
.sec-item svg { width: 26px; height: 26px; color: var(--band-accent); margin-bottom: 18px; }
.sec-item h3 { color: var(--band-text); font-size: 1.06rem; margin-bottom: 8px; }
.sec-item p { color: var(--band-text-2); margin: 0; font-size: .95rem; }
.band-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; margin-top: 24px; padding: 22px 28px; border-radius: var(--r-lg); background: var(--band-tile); border: 1px solid var(--band-line); }
.band-foot p { margin: 0; color: var(--band-text-2); font-size: .95rem; max-width: 46em; }
.band-foot strong { color: var(--band-text); }

/* Closing CTA */
.cta-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: 32px; padding: 44px 48px; box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.cta-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--rc-accent) 10%, transparent), transparent 70%); }
.cta-card h2 { margin-bottom: 16px; }
.onboard { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: ob; }
.onboard li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 18px 20px; border-radius: var(--r-lg); background: var(--rc-bg); border: 1px solid var(--rc-border); }
.onboard li::before { counter-increment: ob; content: counter(ob); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--rc-accent-soft); color: var(--link); font-weight: 600; }
.onboard strong { display: block; font-weight: 600; }
.onboard span { color: var(--rc-text-secondary); font-size: .94rem; }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin: 18px auto 0; max-width: 52em; justify-content: center; text-align: center; font-size: .9rem; color: var(--rc-text-tertiary); }

/* ————— Product mock-ups (fictional data only) ————— */
.phone {
  width: 300px; flex: none;
  border-radius: 48px; padding: 9px;
  background: var(--device);
  box-shadow: var(--shadow-xl), inset 0 0 0 1px color-mix(in srgb, white 8%, transparent);
}
.screen { position: relative; border-radius: 40px; overflow: hidden; background: var(--rc-bg); color: var(--rc-text); font-size: 11px; line-height: 1.45; display: flex; flex-direction: column; height: 636px; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 6px; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.statusbar .island { width: 84px; height: 24px; border-radius: 20px; background: var(--device); }
.statusbar .sb-icons { display: flex; gap: 4px; align-items: center; }
.statusbar .sb-icons i { display: block; width: 3px; border-radius: 1px; background: currentColor; }
.statusbar .sb-icons i:nth-child(1) { height: 4px; } .statusbar .sb-icons i:nth-child(2) { height: 6px; } .statusbar .sb-icons i:nth-child(3) { height: 8px; opacity: .35; } .statusbar .sb-icons i:nth-child(4) { height: 10px; opacity: .35; }
.statusbar .sb-icons b { display: block; width: 20px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; margin-left: 4px; position: relative; }
.statusbar .sb-icons b::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 2px; }
.app-back { display: inline-flex; align-items: center; gap: 2px; color: var(--link); font-weight: 500; font-size: 11.5px; }
.app-back svg { width: 14px; height: 14px; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 9px; font-size: 9.5px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.plain::before { display: none; }
.pill-warn { background: var(--rc-warning-soft); color: var(--rc-warning); }
.pill-ok { background: var(--rc-success-soft); color: var(--rc-success); }
.pill-bad { background: var(--rc-danger-soft); color: var(--rc-danger); }
.pill-info { background: var(--rc-info-soft); color: var(--rc-info); }
.pill-brand { background: var(--rc-accent-soft); color: var(--link); }
.app-title { padding: 8px 16px 10px; }
.app-title h4 { font-size: 19px; letter-spacing: -0.03em; margin: 0; line-height: 1.2; }
.app-title p { margin: 2px 0 0; color: var(--rc-text-secondary); font-size: 10.5px; }
.app-body { padding: 0 12px; display: grid; gap: 8px; }
.app-card { background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: 16px; padding: 10px 12px; }
.app-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-weight: 600; font-size: 11px; }
.app-card-h small { font-weight: 400; color: var(--rc-text-tertiary); font-size: 9.5px; }
.photo {
  display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10;
  /* An abstract illustration standing in for a wound photo (with the paper ruler clinicians hold in frame). */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23E9CDB4'/%3E%3Cstop offset='1' stop-color='%23D3A889'/%3E%3C/linearGradient%3E%3CradialGradient id='w' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='0' stop-color='%23B65A55'/%3E%3Cstop offset='.6' stop-color='%23C9776B'/%3E%3Cstop offset='.85' stop-color='%23D69A85'/%3E%3Cstop offset='1' stop-color='%23D9A689' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cpattern id='t' width='12' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M.5 0v9' stroke='%23565A55' stroke-width='1'/%3E%3C/pattern%3E%3Cpattern id='T' width='60' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M.5 0v16' stroke='%23303431' stroke-width='1.4'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='300' fill='url(%23s)'/%3E%3Cellipse cx='176' cy='126' rx='120' ry='86' fill='%23C79478' opacity='.35'/%3E%3Cpath d='M128 104c18-32 74-40 104-18s26 66-4 86-82 18-100-6-18-40 0-62z' fill='url(%23w)'/%3E%3Cpath d='M160 118c10-12 34-14 44-2s4 30-12 32-42-16-32-30z' fill='%23D7B36F' opacity='.45'/%3E%3Cg transform='rotate(-3 200 260)'%3E%3Crect x='-10' y='238' width='420' height='46' fill='%23F6F3EA'/%3E%3Crect x='14' y='238' width='400' height='12' fill='url(%23t)'/%3E%3Crect x='14' y='238' width='400' height='18' fill='url(%23T)'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}
.photo .pill { position: absolute; left: 8px; top: 8px; background: color-mix(in srgb, black 55%, transparent); color: white; }
.photo .pill::before { background: var(--rc-brand-on-dark); }
.measures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.measure { background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: 12px; padding: 7px 9px; }
.measure span { display: block; color: var(--rc-text-tertiary); font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.measure b { font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: -0.02em; }
.measure b small { font-size: 9.5px; color: var(--rc-text-secondary); margin-left: 2px; font-family: var(--sans); }
.trend { width: 100%; height: 64px; color: var(--rc-accent); }
.trend .grid-line { stroke: var(--rc-border); }
.trend .area-fill { fill: color-mix(in srgb, var(--rc-accent) 14%, transparent); }
.trend .dot { fill: var(--rc-surface); stroke: var(--rc-accent); }
.trend-foot { display: flex; justify-content: space-between; color: var(--rc-text-tertiary); font-size: 9px; margin-top: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.thumbs .photo { border-radius: 8px; aspect-ratio: 1; }
.thumbs .photo:nth-child(1) { background-size: 150%; } .thumbs .photo:nth-child(2) { background-size: 175%; }
.thumbs .photo:nth-child(3) { background-size: 200%; } .thumbs .photo:nth-child(4) { background-size: 230%; outline: 2px solid var(--rc-accent); outline-offset: -2px; }
.app-cta { margin: auto 12px 0; padding: 8px 0 10px; }
.app-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 14px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 12px; }
.app-btn svg { width: 15px; height: 15px; }
.home-ind { width: 104px; height: 4px; border-radius: 4px; background: var(--rc-text); opacity: .85; margin: 10px auto 0; }

/* Browser + console mock */
.browser { border-radius: 18px; background: var(--rc-surface); border: 1px solid var(--rc-border); box-shadow: var(--shadow-xl); overflow: hidden; font-size: 11px; line-height: 1.45; color: var(--rc-text); }
.browser-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: var(--rc-surface-alt); border-bottom: 1px solid var(--rc-border); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rc-border-strong); }
.browser-bar .url { flex: 1; max-width: 300px; margin: 0 auto; text-align: center; padding: 3px 12px; border-radius: 8px; background: var(--rc-surface); color: var(--rc-text-tertiary); font-size: 10.5px; }
.console { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 420px; }
.console-side { background: var(--rc-bg); border-right: 1px solid var(--rc-border); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.console-side .clinic { display: flex; align-items: center; gap: 8px; padding: 2px 6px 14px; font-weight: 600; font-size: 11px; }
.console-side .clinic img { width: 26px; height: 26px; border-radius: 7px; }
.console-side .clinic small { display: block; font-weight: 400; color: var(--rc-text-tertiary); font-size: 9.5px; }
.console-side span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--rc-text-secondary); font-weight: 500; }
.console-side span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .7; flex: none; }
.console-side span.on { background: var(--rc-accent-soft); color: var(--link); }
.console-main { padding: 18px 20px 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.console-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.console-head h4 { margin: 0; font-size: 17px; letter-spacing: -0.03em; }
.console-head p { margin: 0; color: var(--rc-text-tertiary); font-size: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { border: 1px solid var(--rc-border); border-radius: 12px; padding: 10px 12px; background: var(--rc-surface); }
.stat span { color: var(--rc-text-tertiary); font-size: 9.5px; font-weight: 500; }
.stat b { display: block; font-family: var(--mono); font-weight: 500; font-size: 20px; letter-spacing: -0.03em; line-height: 1.3; }
.stat small { color: var(--rc-success); font-size: 9.5px; font-weight: 500; }
.panel { border: 1px solid var(--rc-border); border-radius: 12px; overflow: hidden; }
.panel-h { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--rc-border); font-weight: 600; }
.panel-h small { font-weight: 400; color: var(--rc-text-tertiary); font-size: 9.5px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: 22px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--rc-border); }
.rows li:last-child { border-bottom: 0; }
.avatar { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--rc-accent-soft); color: var(--link); font-size: 8.5px; font-weight: 600; }
.rows .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .who small, .rows .site { color: var(--rc-text-tertiary); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mix { display: flex; height: 8px; border-radius: 8px; overflow: hidden; gap: 2px; margin: 10px 12px 8px; }
.mix i { display: block; }
.mix .m1 { flex: 58; background: var(--rc-success); } .mix .m2 { flex: 27; background: var(--rc-info); } .mix .m3 { flex: 15; background: var(--rc-warning); }
.legend { display: flex; gap: 14px; padding: 0 12px 10px; color: var(--rc-text-secondary); font-size: 9.5px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.legend .l1::before { background: var(--rc-success); } .legend .l2::before { background: var(--rc-info); } .legend .l3::before { background: var(--rc-warning); }
.console-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; padding: 10px 12px 12px; }
.bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: color-mix(in srgb, var(--rc-accent) 30%, var(--rc-surface)); }
.bars i.hi { background: var(--rc-accent); }
.bars i:nth-child(1) { height: 38%; } .bars i:nth-child(2) { height: 52%; } .bars i:nth-child(3) { height: 46%; } .bars i:nth-child(4) { height: 60%; }
.bars i:nth-child(5) { height: 55%; } .bars i:nth-child(6) { height: 72%; } .bars i:nth-child(7) { height: 66%; } .bars i:nth-child(8) { height: 84%; }

.crumbs { display: flex; align-items: center; gap: 4px; color: var(--rc-text-tertiary); font-size: 10px; }
.crumbs svg { width: 11px; height: 11px; }
.crumbs b { color: var(--rc-text-secondary); font-weight: 500; }
.wound-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.visit-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px 12px 6px; }
.visit-photos .photo { aspect-ratio: 1; border-radius: 10px; }
.visit-photos .photo:nth-child(1) { background-size: 140%; } .visit-photos .photo:nth-child(2) { background-size: 165%; }
.visit-photos .photo:nth-child(3) { background-size: 195%; } .visit-photos .photo:nth-child(4) { background-size: 225%; outline: 2px solid var(--rc-accent); outline-offset: -2px; }
.visit-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 12px 12px; text-align: center; color: var(--rc-text-tertiary); font-size: 9.5px; }
.trend-lg { height: 110px; padding: 10px 12px 0; box-sizing: content-box; width: calc(100% - 24px); }
.trend-pad { padding: 4px 12px 10px; }
.mock-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.mock-table th, .mock-table td { padding: 7px 12px; border-bottom: 1px solid var(--rc-border); text-align: left; background: none; font-weight: 400; }
.mock-table th { color: var(--rc-text-tertiary); font-size: 9.5px; font-weight: 500; background: var(--rc-bg); }
.mock-table tr:last-child td { border-bottom: 0; }
.mock-table .num { text-align: right; font-family: var(--mono); font-weight: 500; }
.mock-table th.num { font-family: var(--sans); }
.mock-table td:last-child { color: var(--rc-text-secondary); }

/* Small step vignettes */
.mini-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; background: var(--rc-surface); border: 1.5px solid var(--rc-accent); font-size: .9rem; box-shadow: 0 0 0 4px color-mix(in srgb, var(--rc-accent) 16%, transparent); }
.mini-search svg { width: 16px; height: 16px; color: var(--rc-text-tertiary); }
.mini-search .caret { width: 1.5px; height: 18px; background: var(--rc-accent); margin-left: -6px; }
.mini-list { background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: 12px; overflow: hidden; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: .84rem; line-height: 1.35; }
.mini-row + .mini-row { border-top: 1px solid var(--rc-border); }
.mini-row b { font-weight: 600; display: block; }
.mini-row small { color: var(--rc-text-tertiary); font-size: .74rem; }
.mini-row .avatar { width: 30px; height: 30px; font-size: .7rem; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: var(--rc-surface); border: 1px solid var(--rc-border); font-size: .8rem; font-weight: 500; color: var(--rc-text-secondary); }
.chip.on { background: var(--rc-accent-soft); border-color: transparent; color: var(--link); }
.mini-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-field { background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: 10px; padding: 6px 10px; }
.mini-field span { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rc-text-tertiary); font-weight: 500; }
.mini-field b { font-family: var(--mono); font-weight: 500; font-size: 1rem; }
.mini-note { display: flex; align-items: center; gap: 8px; background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: 10px; padding: 8px 10px; font-size: .8rem; color: var(--rc-text-secondary); line-height: 1.4; }
.mini-note svg { width: 16px; height: 16px; color: var(--link); flex: none; }
.mini-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-timeline .photo { aspect-ratio: 1; border-radius: 10px; }
.mini-timeline div:nth-child(1) .photo { background-size: 140%; } .mini-timeline div:nth-child(2) .photo { background-size: 165%; }
.mini-timeline div:nth-child(3) .photo { background-size: 195%; } .mini-timeline div:nth-child(4) .photo { background-size: 225%; }
.mini-timeline small { display: block; text-align: center; font-size: .7rem; color: var(--rc-text-tertiary); margin-top: 4px; }
.mini-timeline b { display: block; text-align: center; font-family: var(--mono); font-weight: 500; font-size: .8rem; }

/* Offline sync card */
.sync-stack { position: relative; display: grid; gap: 14px; max-width: 540px; width: 100%; margin: 0 auto; }
.sync-card { background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.sync-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--rc-border); }
.sync-head b { font-weight: 600; }
.sync-head small { display: block; color: var(--rc-text-tertiary); font-size: .8rem; }
.sync-card .pill { font-size: .76rem; padding: 4px 11px; }
.sync-row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; font-size: .9rem; }
.sync-row + .sync-row { border-top: 1px solid var(--rc-border); }
.sync-row .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--rc-surface-alt); color: var(--rc-text-secondary); flex: none; }
.sync-row .ico svg { width: 17px; height: 17px; }
.sync-row div { flex: 1; min-width: 0; line-height: 1.4; }
.sync-row small { display: block; color: var(--rc-text-tertiary); font-size: .78rem; }
.sync-row .state { font-size: .78rem; font-weight: 500; color: var(--rc-text-tertiary); white-space: nowrap; }
.sync-foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: var(--r-lg); background: var(--rc-success-soft); color: var(--rc-success); font-weight: 500; font-size: .9rem; }
.sync-foot svg { width: 18px; height: 18px; flex: none; }

/* ————— Long-form pages (privacy, terms, support, 404) ————— */
.page-head { padding: 72px 0 12px; max-width: var(--prose); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-bottom: 14px; }
.page-head p { color: var(--rc-text-secondary); }
.page-head .meta { color: var(--rc-text-tertiary); }
.page-head.prose { padding-bottom: 96px; }
.prose { max-width: var(--prose); padding-bottom: 96px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.025em; margin-top: 2.2em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.06rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--rc-text-tertiary); }
.prose .card h3, .card h3 { margin-top: 0; }
.toc { background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: var(--r-lg); padding: 22px 26px; margin: 28px 0 8px; }
.toc strong { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rc-text-tertiary); margin-bottom: 8px; font-weight: 600; }
.toc ol { margin: 0; columns: 2; column-gap: 36px; padding-left: 1.3em; }
.toc li { break-inside: avoid; margin: .25em 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.callout { border: 1px solid color-mix(in srgb, var(--rc-accent) 24%, transparent); background: var(--rc-accent-soft); padding: 18px 22px; border-radius: var(--r-md); color: var(--rc-text); margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-color: color-mix(in srgb, var(--rc-warning) 28%, transparent); background: var(--rc-warning-soft); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--rc-border); border-radius: var(--r-md); background: var(--rc-surface); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--rc-border); }
th { background: var(--rc-surface-alt); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.ph { font-family: var(--mono); font-size: .88em; background: var(--rc-warning-soft); color: var(--rc-warning); padding: 0 4px; border-radius: 4px; }
.card { background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: var(--r-lg); padding: 24px; }
.card h3 { font-size: 1.04rem; margin-bottom: 8px; }
.card p { color: var(--rc-text-secondary); margin: 0; }
.contact-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 8px; }
.contact-card .card a { font-weight: 600; }
.note-gap { margin-top: 16px; }

/* Wide screens: the "On this page" box becomes a sticky rail beside the text. */
@media (min-width: 1100px) {
  .prose:has(> .toc) { max-width: none; display: grid; grid-template-columns: minmax(0, var(--prose)) minmax(0, 300px); column-gap: 72px; align-items: start; }
  .prose:has(> .toc) > * { grid-column: 1; }
  .prose > .toc { grid-column: 2; grid-row: 1 / span 400; position: sticky; top: 96px; margin: 0; max-height: calc(100vh - 120px); overflow: auto; }
  .prose > .toc { font-size: .92rem; }
  .prose > .toc ol { columns: 1; }
}

/* FAQ */
.faq h2 { margin-bottom: .8em; }
.faq details { border-bottom: 1px solid var(--rc-border); }
.faq details:first-of-type { border-top: 1px solid var(--rc-border); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 44px 16px 0; position: relative; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--rc-text-tertiary); border-bottom: 2px solid var(--rc-text-tertiary); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--link); }
.faq details > div { padding: 0 0 16px; color: var(--rc-text-secondary); }

/* 404 */
.notfound { padding: 96px 0 120px; max-width: 640px; }
.notfound .code { font-family: var(--mono); font-size: .9rem; color: var(--link); letter-spacing: .1em; }

/* ————— Footer ————— */
.site-footer { border-top: 1px solid var(--rc-border); background: var(--rc-surface); padding: 56px 0 32px; color: var(--rc-text-tertiary); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand .brand-logo { height: 24px; width: auto; }
.foot-brand .brand-mark { fill: var(--mark); }
.foot-brand svg { color: var(--rc-text); }
.foot-brand p { margin: 16px 0 20px; max-width: 26em; color: var(--rc-text-secondary); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .92rem; }
.foot-col h2 { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rc-text-tertiary); margin: 4px 0 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-col a { display: inline-flex; min-height: 34px; align-items: center; color: var(--rc-text-secondary); text-decoration: none; }
.foot-col a:hover { color: var(--rc-text); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rc-border); }
.foot-base p { margin: 0; }

/* ————— Responsive ————— */
@media (max-width: 1180px) {
  .hero-console { right: -160px; }
}
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero { min-height: 0; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; min-height: 0; display: flex; justify-content: center; }
  .hero-visual .phone { position: relative; top: 0; }
  .hero-console { display: none; }
  .float-trend { display: flex; }
  .float-sync { left: 0; bottom: 96px; }
  .section-head.wide { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .checks-row { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .console-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { grid-template-columns: 1fr; padding: 48px; gap: 36px; }
  .nav .nav-anchor { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .site-header .wrap { height: 64px; }
  .brand .brand-logo { height: 22px; }
  .nav a { padding: 10px 10px; font-size: .9rem; }
  .nav .nav-signin { margin-left: 4px; padding: 9px 14px; }
  .hero { padding: 44px 0 72px; }
  .hero::before { width: 700px; height: 700px; right: -60%; top: -10%; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .trust ul { justify-content: flex-start; flex-direction: column; gap: 12px; }
  .console { grid-template-columns: 1fr; }
  .console-side { display: none; }
  .console-cols { grid-template-columns: 1fr; }
  .console-main { padding: 14px; }
  .stats { gap: 6px; }
  .stat { padding: 8px 9px; }
  .stat b { font-size: 16px; }
  .rows li { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .rows .site { display: none; }
  .wound-grid { grid-template-columns: 1fr; }
  .mock-table th:last-child, .mock-table td:last-child { display: none; }
  .mock-table th, .mock-table td { padding: 7px 8px; }
  .console-grid, .sec-grid, .contact-card { grid-template-columns: 1fr; }
  .float { padding: 10px 14px 10px 10px; font-size: .8rem; }
  .float .ico { width: 32px; height: 32px; border-radius: 10px; }
  .float-trend { right: 0; top: 150px; }
  .float-sync { left: 0; bottom: 150px; }
  .cta-card { padding: 32px 22px; border-radius: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-brand .btn { width: auto; }
  .toc ol { columns: 1; }
  .page-head { padding-top: 48px; }
  .btn { width: 100%; }
  .actions .text-link { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .phone { width: 280px; }
  .screen { height: 610px; }
  .nav a:not(.nav-signin) { padding: 10px 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .text-link, .foot-col a, .faq summary { transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
  .faq summary::after { transition: transform .18s ease; }
}
@media print {
  .site-header, .site-footer, .toc, .skip, .hero-visual { display: none; }
  body { background: white; color: black; }
}

/* ————— Contact form (/contact) and its result pages ————— */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.contact { position: relative; padding: 56px 0 72px; isolation: isolate; }
.contact::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 520px; background: radial-gradient(55% 70% at 85% 0%, color-mix(in srgb, var(--rc-accent) 12%, transparent), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-rows: auto 1fr; grid-template-areas: "intro form" "next form"; column-gap: 28px; row-gap: 0; }
.band-panel { position: relative; overflow: hidden; background: var(--band-bg); color: var(--band-text); isolation: isolate; }
.contact-intro { grid-area: intro; border-radius: 32px 32px 0 0; padding: 44px 44px 6px; }
.contact-next { grid-area: next; border-radius: 0 0 32px 32px; padding: 22px 44px 40px; }
.contact-next::after { content: ""; position: absolute; z-index: -1; right: -180px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid var(--band-line); box-shadow: 0 0 0 60px color-mix(in srgb, var(--band-line) 35%, transparent), 0 0 0 120px color-mix(in srgb, var(--band-line) 18%, transparent); }
.band-panel .eyebrow { color: var(--band-accent); }
.band-panel .eyebrow::before { background: var(--band-accent); }
.contact-intro h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); color: var(--band-text); margin-bottom: 16px; }
.contact-intro .lede { color: var(--band-text-2); font-size: 1.05rem; margin-bottom: 0; }
.band-panel a { color: var(--band-accent); }
.aside-title { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.band-panel .aside-title { color: var(--band-text-2); }
.band-panel .onboard li { background: var(--band-tile); border-color: var(--band-line); }
.band-panel .onboard li::before { background: color-mix(in srgb, var(--band-accent) 18%, transparent); color: var(--band-accent); }
.band-panel .onboard strong { color: var(--band-text); }
.band-panel .onboard span { color: var(--band-text-2); }
.aside-facts { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--band-line); display: grid; gap: 10px; }
.aside-facts li { display: flex; gap: 12px; align-items: center; font-size: .95rem; color: var(--band-text); }
.aside-facts svg { width: 20px; height: 20px; flex: none; color: var(--band-accent); }
.aside-note { margin: 20px 0 0; font-size: .92rem; color: var(--band-text-2); }

.form-card { grid-area: form; display: flex; flex-direction: column; background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: 32px; padding: 40px 44px; box-shadow: var(--shadow-lg); }
.form-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.form-head p { color: var(--rc-text-secondary); margin: 0 0 24px; font-size: .95rem; }
.contact-form { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto auto 1fr auto; gap: 18px 18px; }
.field.grow textarea { flex: 1; }
.contact-form .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-weight: 500; font-size: .94rem; display: flex; align-items: baseline; gap: 8px; }
.req { color: var(--rc-danger); font-weight: 600; }
.opt { font-size: .78rem; font-weight: 500; color: var(--rc-text-tertiary); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--rc-text);
  background: var(--rc-bg); border: 1px solid var(--rc-border-strong); border-radius: 14px;
  padding: 12px 14px; min-height: 48px; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--rc-text-secondary) 50%), linear-gradient(135deg, var(--rc-text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: var(--rc-text-tertiary); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--rc-accent) 55%, var(--rc-border-strong)); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--rc-accent); background: var(--rc-surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rc-accent) 28%, transparent);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--rc-danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc-danger) 18%, transparent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.phi-notice { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 6px; padding: 12px 14px; border-radius: 14px; background: var(--rc-warning-soft); color: var(--rc-text); font-size: .9rem; line-height: 1.55; }
.phi-notice svg { width: 20px; height: 20px; flex: none; color: var(--rc-warning); margin-top: 1px; }
.phi-notice strong { color: var(--rc-warning); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; padding-top: 6px; }
.form-foot .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form-foot p { flex: 1 1 260px; margin: 0; font-size: .86rem; color: var(--rc-text-tertiary); }

.result { padding-top: 56px; }
.result-card { align-items: start; }
.result-card h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.result-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 22px; background: var(--rc-accent-soft); color: var(--link); }
.result-icon svg { width: 28px; height: 28px; }
.result-card.is-sent .result-icon { background: var(--rc-success-soft); color: var(--rc-success); }
.result-card.is-error .result-icon { background: var(--rc-danger-soft); color: var(--rc-danger); }
.result-card .aside-title { color: var(--rc-text-tertiary); }

@media (max-width: 1020px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "intro" "form" "next"; row-gap: 20px; }
  .contact-intro, .contact-next { border-radius: 32px; padding: 40px; }
  .contact-form { grid-template-rows: none; }
}
@media (max-width: 720px) {
  .contact { padding: 28px 0 48px; }
  .contact-intro, .contact-next { padding: 30px 22px; border-radius: 26px; }
  .form-card { padding: 28px 20px; border-radius: 26px; }
  .contact-form { grid-template-columns: 1fr; }
  .result { padding-top: 32px; }
}
