/* RBrooks Solutions — public site design system (light, with dark product stages).
   Principles: clarity, generous whitespace, large confident type, the product as the visual, restrained motion.
   Admin keeps theme.css. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --hairline: rgba(0, 0, 0, 0.08);
  --accent: #d70015;
  --accent-solid: #d70015;
  --accent-hover: #b8000f;
  --ok: #1d7d46;
  --bad: #a3120b;
  --stage: #000000;
  --stage-2: #161617;
  --stage-text: #f5f5f7;
  --stage-text-2: #a1a1a6;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI Variable Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(215, 0, 21, 0.5); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip:focus { left: 16px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.tight { max-width: 640px; }
.section { padding: clamp(84px, 11vw, 150px) 0; }
.section.compact { padding: clamp(56px, 7vw, 96px) 0; }
.alt { background: var(--bg-alt); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- type */
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: inherit; }
.display { font-size: clamp(44px, 7vw, 88px); line-height: 1.04; letter-spacing: -0.035em; }
h1, .h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.06; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.028em; }
h3, .h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.18; letter-spacing: -0.02em; }
.eyebrow { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--text-2); letter-spacing: -0.01em; margin-bottom: 12px; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--text-2); max-width: 680px; margin: 20px 0 0; letter-spacing: -0.016em; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--text-2); }

/* ---------- buttons & links */
.actions-row { display: flex; gap: 14px 28px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.center .actions-row { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: 980px; border: 0; background: var(--accent-solid); color: #fff; font: 500 17px/1.2 var(--font); letter-spacing: -0.01em; cursor: pointer; text-decoration: none; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent-solid); }
.btn.secondary:hover { background: rgba(215, 0, 21, 0.06); }
.btn.small { min-height: 34px; padding: 6px 14px; font-size: 14px; }
.btn.danger { background: var(--bad); }
.more { font-size: 17px; font-weight: 400; color: var(--accent); white-space: nowrap; }
.more::after { content: ' ›'; }
.stage .more { color: #ff6961; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; }
.linkish:disabled { color: var(--text-3); cursor: default; }

/* ---------- navigation */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text); font-size: 14px; opacity: 0.82; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { opacity: 1; text-decoration: none; }
.nav-links a[aria-current='page'] { font-weight: 600; }
.nav-links .btn { opacity: 1; color: #fff; font-size: 14px; min-height: 32px; padding: 6px 14px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; color: var(--text); }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  /* absolute, not fixed: the nav's backdrop-filter makes it the containing block either way */
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); overflow-y: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 8px 22px 28px; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 24px; font-weight: 600; padding: 12px 0; opacity: 1; border-bottom: 1px solid var(--hairline); }
  .nav-links .btn { margin-top: 18px; font-size: 17px; min-height: 48px; border-bottom: 0; }
}

/* ---------- hero */
.hero { padding: clamp(72px, 10vw, 128px) 0 0; text-align: center; overflow: hidden; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero-shot { margin: clamp(48px, 7vw, 88px) auto 0; max-width: 1040px; }

/* ---------- product frames */
.frame { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 60px -18px rgba(0, 0, 0, 0.28); }
.frame-bar { height: 32px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f1f3; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8d8dc; }
.frame-bar span { margin-left: 12px; flex: 0 1 320px; height: 20px; border-radius: 6px; background: #e6e6ea; font-size: 11px; line-height: 20px; color: var(--text-3); text-align: center; overflow: hidden; white-space: nowrap; }
.frame.dark { background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.frame.dark .frame-bar { background: #232325; border-bottom-color: rgba(255, 255, 255, 0.06); }
.frame.dark .frame-bar i { background: #48484a; }
.frame.dark .frame-bar span { background: #2c2c2e; color: #8e8e93; }
.frame img { width: 100%; }
.phone { width: min(300px, 70vw); border-radius: 44px; padding: 10px; background: #1d1d1f; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #3a3a3c; }
.phone img { border-radius: 34px; width: 100%; }
figure { margin: 0; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--text-3); text-align: center; }

/* ---------- split rows (text + product) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(96px, 12vw, 160px); }
.split.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.reverse > :first-child { order: 2; }
.split h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.026em; line-height: 1.1; }
.split p { color: var(--text-2); font-size: 19px; margin-top: 16px; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- dark product stage */
.stage { background: var(--stage); color: var(--stage-text); }
.stage .eyebrow, .stage .lede, .stage p, .stage .muted { color: var(--stage-text-2); }
.stage a:not(.btn) { color: #ff6961; }
.stage-2 { background: var(--stage-2); }

/* ---------- facts (plain columns, no cards) */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(48px, 6vw, 72px); }
.facts b { display: block; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 6px; color: inherit; }
.facts p { color: var(--text-2); font-size: 17px; margin: 0; }
.stage .facts p { color: var(--stage-text-2); }
.facts .big { font-size: clamp(40px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; display: block; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 28px; } }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ---------- steps (how it works) */
.steps { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; gap: 8px 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: 17px; font-weight: 600; color: var(--text-3); padding-top: 6px; }
.steps h3 { font-size: clamp(22px, 2.6vw, 30px); }
.steps p { grid-column: 2; color: var(--text-2); margin: 6px 0 0; max-width: 620px; }
@media (max-width: 560px) { .steps li { grid-template-columns: 1fr; } .steps p { grid-column: 1; } }

/* ---------- FAQ (progressive disclosure) */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: clamp(19px, 2vw, 22px); font-weight: 600; letter-spacing: -0.018em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 0 26px; color: var(--text-2); max-width: 700px; }
.faq .answer ul, .faq .answer ol { padding-left: 20px; }
.faq .answer table { border-collapse: collapse; font-size: 15px; }
.faq .answer td, .faq .answer th { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; }

/* ---------- documents (agreements, privacy) */
.doc { padding: clamp(56px, 8vw, 96px) 0; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
.doc h2 { font-size: clamp(24px, 3vw, 32px); margin: 48px 0 16px; }
.doc h3 { font-size: 21px; margin: 32px 0 10px; }
.doc p, .doc li { color: #424245; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc blockquote { margin: 16px 0; padding: 16px 20px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.doc code { font-size: 0.9em; }
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 32px; }
.doc .card { padding: clamp(24px, 4vw, 44px); }

/* ---------- forms */
.card { background: var(--bg); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--hairline), 0 12px 40px -24px rgba(0, 0, 0, 0.18); padding: clamp(24px, 4vw, 40px); }
.alt .card { box-shadow: 0 0 0 1px var(--hairline); }
.field { margin-bottom: 20px; }
.field label, .field .label, .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
input, select, textarea { width: 100%; font: 17px/1.35 var(--font); color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-solid); box-shadow: 0 0 0 4px rgba(215, 0, 21, 0.18); }
input[type='checkbox'], input[type='radio'] { width: 20px; height: 20px; padding: 0; border-radius: 6px; flex-shrink: 0; margin-top: 2px; -webkit-appearance: auto; appearance: auto; accent-color: var(--accent-solid); }
.hint { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.req { color: var(--accent-solid); }
.err { color: var(--bad); font-size: 13px; margin-top: 6px; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); font-weight: 400 !important; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.notice { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; margin: 12px 0; color: var(--text); }
.notice.ok { background: #e9f6ee; color: #11532e; }
.notice.bad { background: #fdecec; color: #8a1f1b; }
.notice.warn { background: #fff6e0; color: #6b4e00; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--text-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
details.help summary { cursor: pointer; color: var(--accent); font-size: 15px; }
fieldset { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
legend { padding: 0; margin-bottom: 16px; font-size: 19px; font-weight: 600; letter-spacing: -0.016em; }

/* request form steps */
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 13px; color: var(--text-3); }
.stepper li { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); transition: border-color 0.3s var(--ease), color 0.3s; }
.stepper li.on { border-top-color: var(--accent-solid); color: var(--text); font-weight: 600; }

/* ---------- tooltips (ⓘ) */
.tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 50%; color: var(--text-3); font-size: 13px; font-weight: 400; cursor: help; vertical-align: 1px; }
.tip:hover, .tip:focus { color: var(--accent-solid); outline: none; }
.tip .tip-text { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); width: min(300px, 78vw); padding: 12px 14px; border-radius: 12px; background: #1d1d1f; color: #f5f5f7; font-size: 13px; line-height: 1.45; font-weight: 400; letter-spacing: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); opacity: 0; visibility: hidden; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s; z-index: 30; text-align: left; white-space: normal; }
.tip:hover .tip-text, .tip:focus .tip-text { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- discovery wizard (/d/) */
.wiz-progress { height: 4px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; margin: 0 0 10px; }
.wiz-progress span { display: block; height: 100%; background: var(--accent-solid); transition: width 0.4s var(--ease); }
.wiz-step-label { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
#wiz-title:focus { outline: none; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.chip { position: relative; display: flex; align-items: center; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-size: 15px; line-height: 1.3; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: #a1a1a6; }
.chip:has(input:checked) { border-color: var(--accent-solid); box-shadow: inset 0 0 0 1px var(--accent-solid); background: rgba(215, 0, 21, 0.04); font-weight: 600; }
.chip:has(input:focus-visible) { outline: 3px solid rgba(215, 0, 21, 0.4); outline-offset: 2px; }
.field.invalid .chip { border-color: var(--bad); }
.wiz-review { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 10px 18px; font-size: 15px; }
.wiz-review dt { color: var(--text-2); }
.wiz-review dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 560px) { .wiz-review { grid-template-columns: 1fr; gap: 2px; } .wiz-review dd { margin-bottom: 12px; } }

/* ---------- cookie banner */
#rb-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 620px; margin: 0 auto; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 18px; padding: 16px 18px; box-shadow: 0 0 0 1px var(--hairline), 0 20px 50px -12px rgba(0, 0, 0, 0.25); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--text-2); animation: rise 0.5s var(--ease) both; }
#rb-consent p { margin: 0; flex: 1 1 280px; line-height: 1.5; }
#rb-consent .rb-consent-actions { display: flex; gap: 8px; margin-left: auto; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- footer */
.footer { background: var(--bg-alt); color: var(--text-2); font-size: 13px; padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 8px 0; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer-base { padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- motion (subtle, purposeful; off for reduced motion) */
/* Content is hidden for the reveal only when JS is running (html.js, set inline in <head>). */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .zoom-in { transform: translateY(40px) scale(0.97); }
.js .zoom-in.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .zoom-in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* aliases used by scripts (q.js, form.js, d.js) */
.dim { color: var(--text-2); }
.faint { color: var(--text-3); font-size: 14px; }
.ok-text { color: var(--ok); }

/* rendered documents inside cards (quote, agreement) keep a document scale */
.card h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 16px; }
.card h2 { font-size: clamp(21px, 2.2vw, 26px); margin: 36px 0 12px; letter-spacing: -0.02em; }
.card h3 { font-size: 19px; margin: 24px 0 8px; }
.card table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.card th, .card td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.card th { font-weight: 600; }
.card ul, .card ol { padding-left: 22px; }

/* small screens: tooltips span the label instead of centring on the icon, so they never run off the edge */
@media (max-width: 640px) {
  .field label { position: relative; }
  .tip { position: static; }
  .tip .tip-text { left: 0; right: 0; width: auto; transform: translateY(4px); }
  .tip:hover .tip-text, .tip:focus .tip-text { transform: none; }
}
html { overflow-x: clip; }
@media (max-width: 640px) { br.wide { display: none; } }
/* currency switch on the quote page */
button.pill { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; }
button.pill.on { background: var(--accent-solid); color: #fff; }
button.pill:focus-visible { outline: 2px solid var(--accent-solid); outline-offset: 2px; }
/* ---- updates page: status, notices, daily change log */
.status-box { border-radius: 16px; padding: 16px 18px; background: var(--bg-alt); margin-top: 12px; }
.status-box p { margin: 6px 0 0; }
.status-box .status-line { margin: 0; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.status-box .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-2); display: inline-block; flex: 0 0 auto; }
.status-box.ok .dot { background: #1f9d55; }
.status-box.warn { background: #fff7e6; }
.status-box.warn .dot { background: #d97706; }
.notices { list-style: none; padding: 0; margin: 0; }
.notices li { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.changelog .day { padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.changelog .day h3 { font-size: 20px; margin: 0; }
.changelog .day-sum { color: var(--text-2); margin: 4px 0 12px; font-size: 15px; }
.changelog .group h4 { margin: 12px 0 6px; }
.changelog ul { margin: 0; padding-left: 0; list-style: none; }
.changelog li { padding: 4px 0; }
.changelog .what, .notices .what { font-weight: 600; }
.changelog .desc { color: var(--text-2); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; padding: 3px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--text-2); }
.tag-feature { background: #e8f1fd; color: #0058b0; }
.tag-fix { background: #fdecec; color: #a12a2a; }
.tag-security { background: #fff3d6; color: #8a5a00; }
/* site-wide banner while a service incident is open */
.incident-banner { background: #fff7e6; color: #5c3b00; font-size: 14px; text-align: center; padding: 10px 16px; border-bottom: 1px solid #f3d9a4; }
.incident-banner a { color: inherit; font-weight: 600; }

/* ---------- products: status pill + simple flow diagrams (stack on phones) */
.status { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: var(--bg-alt); color: var(--text-2); margin-bottom: 14px; }
.status.live { background: #fdecee; color: var(--accent); }
.alt .status { background: var(--bg); }
.alt .status.live { background: #fdecee; }
.stage .status { background: rgba(255, 255, 255, 0.08); color: var(--stage-text-2); }
.flow { display: flex; align-items: stretch; justify-content: center; margin: clamp(40px, 5vw, 64px) auto 0; max-width: 920px; }
.flow-node { flex: 1 1 0; min-width: 0; border-radius: var(--radius); padding: 22px 20px; background: var(--bg); box-shadow: 0 0 0 1px var(--hairline), 0 12px 40px -24px rgba(0, 0, 0, 0.18); text-align: center; }
.flow-node b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.flow-node span { display: block; font-size: 14px; color: var(--text-2); margin-top: 6px; }
.flow-node.accent { box-shadow: 0 0 0 2px var(--accent-solid); }
.flow-link { flex: 0 0 auto; display: grid; place-items: center; align-content: center; padding: 0 12px; color: var(--accent); font-size: 13px; font-weight: 600; text-align: center; min-width: 88px; }
.flow-link::after { content: '\2192'; display: block; font-size: 24px; line-height: 1; }
.flow-link.both::after { content: '\2194'; }
.stage .flow-node { background: var(--stage-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.stage .flow-node span { color: var(--stage-text-2); }
.stage .flow-node.accent { box-shadow: 0 0 0 2px #ff453a; }
.stage .flow-link { color: #ff6961; }
@media (max-width: 760px) {
  .flow { flex-direction: column; max-width: 360px; }
  .flow-link { padding: 10px 0; }
  .flow-link::after { content: '\2193'; }
  .flow-link.both::after { content: '\2195'; }
}
