/* Generated from website/brand/brand.css by website/brand/build.mjs. Do not edit. */
/* BetterSign brand components, shared by www, beta, follow, delegate and id.
   Source of truth: website/brand/brand.css. Run `node website/brand/build.mjs`
   after editing; it regenerates css.js and the copies in each site.
   Each site adds its own page styles on top of these. */
:root {
  --bs-green: #0e7a5f;
  --bs-green-br: #15c79a;
  --bs-teal: #7ff0cf;
  --bs-blue: #0b5c8a;
  --bs-ink: #0f2b3d;
  --bs-ink-2: #0a1f2c;
  --bs-muted: #5b6b76;
  --bs-line: #e2e8ee;
  --bs-bg: #f4f7f9;
  --bs-card: #ffffff;
  --bs-red: #b3261e;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(10, 31, 44, 0.12);
  --shadow-soft: 0 18px 50px rgba(10, 31, 44, 0.08);
  --maxw: 1120px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bs-bg); color: var(--bs-ink); -webkit-font-smoothing: antialiased; }
code { font-family: var(--mono); font-size: 0.9em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ----------
   .topbar sits over a page's hero and darkens once scrolled (.scrolled, set
   by the page's script). .topbar.solid is always dark and scrolls away. */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 28px;
  transition: background .2s ease, box-shadow .2s ease, padding .2s ease;
}
.topbar.scrolled { background: rgba(10, 31, 44, 0.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,0.08); padding: 10px 28px; }
.topbar.solid { position: relative; background: var(--bs-ink-2); box-shadow: 0 1px 0 rgba(255,255,255,0.08); padding: 12px 28px; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { border-radius: 8px; display: block; }
.wordmark .tm { font-size: 10px; opacity: 0.7; position: relative; top: -6px; margin-left: 1px; }
.product-mark { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bs-teal); border: 1px solid rgba(127,240,207,0.4); border-radius: 999px; padding: 3px 9px; }
a.product-mark:hover { background: rgba(127,240,207,0.12); }
.topnav { display: flex; gap: 4px; }
.topnav a { white-space: nowrap; color: rgba(255,255,255,0.9); font-size: 15.5px; font-weight: 650; letter-spacing: -0.005em; padding: 8px 13px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.topnav a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.topnav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.12); }
.topnav a.home-link::after { content: " \2197"; opacity: 0.6; }
/* Dropdowns in the nav: <details class="navmenu"> (works without script;
   the www site's script closes the others and closes on Escape or outside). */
.navmenu { position: relative; }
.navmenu > summary { list-style: none; cursor: pointer; color: rgba(255,255,255,0.9); font-size: 15.5px; font-weight: 650; letter-spacing: -0.005em; padding: 8px 13px; border-radius: 999px; transition: background .15s ease, color .15s ease; white-space: nowrap; }
.navmenu > summary::-webkit-details-marker { display: none; }
.navmenu > summary::after { content: "\25BE"; margin-left: 5px; font-size: 11px; opacity: 0.6; }
.navmenu > summary:hover, .navmenu[open] > summary { color: #fff; background: rgba(255,255,255,0.1); }
.navmenu.is-current > summary { color: #fff; background: rgba(255,255,255,0.12); }
.navmenu-kind { color: var(--bs-teal); }
.topnav .navmenu-list a[aria-current="page"] { background: rgba(127,240,207,0.1); }
.navmenu-list { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 270px; display: flex; flex-direction: column; gap: 2px; padding: 8px; background: var(--bs-ink-2); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.topnav .navmenu-list a { display: block; padding: 10px 12px; border-radius: 10px; color: #fff; }
.navmenu-list a b { display: block; font-size: 14px; font-weight: 700; }
.navmenu-list a small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: rgba(255,255,255,0.6); white-space: normal; }
.topbar-end { display: flex; align-items: center; gap: 10px; }
.topbar-end:empty { display: none; }
/* The narrow-screen menu (www only): the logo opens a panel with a
   collapsible group per dropdown; .mobile-section beside it names where you
   are, and .mobile-getapp keeps "Get the app" at the right. */
.mobilemenu, .mobile-section, .mobile-getapp { display: none; }
.mobilemenu > summary { list-style: none; cursor: pointer; position: relative; display: block; border-radius: 8px; }
.mobilemenu > summary::-webkit-details-marker { display: none; }
.mobilemenu > summary img { border-radius: 8px; display: block; }
.mobilemenu .burger { position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bs-ink-2); border: 1px solid rgba(255,255,255,0.4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.mobilemenu .burger i { display: block; width: 9px; height: 1.5px; border-radius: 1px; background: #fff; transition: transform .15s ease, opacity .15s ease; }
.mobilemenu[open] .burger i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.mobilemenu[open] .burger i:nth-child(2) { opacity: 0; }
.mobilemenu[open] .burger i:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
.mobilemenu-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
  max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  padding: 8px 16px 20px; background: var(--bs-ink-2); border-top: 1px solid rgba(255,255,255,0.08); box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.mobilemenu-panel > a, .mobilemenu-group > summary, .mobilemenu-items a { display: block; padding: 11px 12px; border-radius: 10px; color: rgba(255,255,255,0.9); font-size: 16px; font-weight: 650; }
.mobilemenu-panel > a:hover, .mobilemenu-group > summary:hover, .mobilemenu-items a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.mobilemenu-panel a[aria-current="page"] { color: var(--bs-teal); background: rgba(127,240,207,0.1); }
.mobilemenu-group { border-top: 1px solid rgba(255,255,255,0.08); }
.mobilemenu-group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 700; }
.mobilemenu-group > summary::-webkit-details-marker { display: none; }
.mobilemenu-group > summary::after { content: "\25BE"; font-size: 13px; opacity: 0.6; transition: transform .15s ease; }
.mobilemenu-group[open] > summary::after { transform: rotate(180deg); }
.mobilemenu-group.is-current > summary { color: var(--bs-teal); }
.mobilemenu-items { padding: 0 0 8px 12px; }
.mobilemenu-items a { padding: 9px 12px; font-weight: 600; color: rgba(255,255,255,0.8); }
.mobilemenu-end { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; padding: 16px 12px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.mobilemenu-end a[href="/download/"] { display: none; } /* it's in the bar */

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 700; padding: 13px 22px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform .12s ease, filter .12s ease, background .15s ease; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.sm { font-size: 14px; padding: 9px 16px; }
.btn.primary { background: linear-gradient(135deg, var(--bs-green-br), var(--bs-green)); color: #042019; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.primary[disabled] { filter: grayscale(0.5) brightness(0.95); cursor: progress; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.28); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }
.btn.secondary { background: #fff; border-color: var(--bs-line); color: var(--bs-ink); }
.btn.secondary:hover { border-color: var(--bs-green-br); }
.btn.danger { background: #fff; border-color: #f0c9c6; color: var(--bs-red); }
.btn.danger:hover { background: #fdf1f0; }
.textlink { font-weight: 700; font-size: 15px; color: var(--bs-green); }
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero band ----------
   The dark gradient with the faint grid. Sites set the padding and layout. */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 42px 0 46px;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(14,122,95,0.55), transparent 60%),
    radial-gradient(1000px 700px at 100% 115%, rgba(11,92,138,0.6), transparent 55%),
    linear-gradient(160deg, var(--bs-ink-2), var(--bs-ink));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 600px at 72% 35%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 72% 35%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; font-weight: 700; color: var(--bs-teal); margin: 0 0 18px; }

/* ---------- section headings ---------- */
.sec-eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; font-weight: 700; color: var(--bs-green); margin: 0 0 12px; }
.sec-title { font-size: clamp(28px, 3.8vw, 42px); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 18px; font-weight: 800; }
.sec-lead { font-size: 18px; line-height: 1.6; color: var(--bs-muted); max-width: 62ch; margin: 0; }

/* ---------- cards, badges, callouts, tables ---------- */
.card { background: var(--bs-card); border: 1px solid var(--bs-line); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 24px 26px; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge.live { background: #dcf7ec; color: var(--bs-green); }
.badge.soon { background: #e6eff6; color: var(--bs-blue); }
.badge.warn { background: #fdf0e1; color: #8a5300; }
.badge.off { background: #eef2f5; color: var(--bs-muted); }
.callout { border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; border: 1px solid; font-size: 15.5px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }
.callout.note { background: #e9f3fa; border-color: #c4dceb; }
.callout.warn { background: #fdf5e7; border-color: #f0dbb4; }
.callout.ok { background: #e7f8f0; border-color: #bfe9d6; }
.callout.bad { background: #fdf1f0; border-color: #f0c9c6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--bs-line); border-radius: 16px; background: #fff; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc-table th { text-align: left; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bs-muted); padding: 12px 14px; background: #f7fafb; border-bottom: 1px solid var(--bs-line); }
.doc-table td { padding: 11px 14px; border-bottom: 1px solid var(--bs-line); vertical-align: top; line-height: 1.45; }
.doc-table tr:last-child td { border-bottom: none; }

/* ---------- footer ---------- */
footer.site { background: var(--bs-ink-2); color: rgba(255,255,255,0.6); padding: 36px 0; font-size: 13.5px; }
footer.site .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--bs-teal); text-decoration: none; }
footer.site a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer.site .note { color: rgba(255,255,255,0.45); }

@media (max-width: 1240px) {
  .topbar { gap: 12px; }
  .topnav { gap: 0; }
  .topnav > a, .navmenu > summary { padding: 8px 10px; font-size: 14.5px; }
}
@media (max-width: 1100px) {
  .topbar-end .wide-only { display: none; }
}
@media (max-width: 980px) {
  /* A floating bar hides its nav on narrow screens, except the dropdown that
     says where you are ("Product: ..."), which stays as the page's title. */
  .topbar:not(.solid) .topnav > :not(.is-current) { display: none; }
  .topbar:not(.solid) .topnav:not(:has(.is-current)) { display: none; }
  .topbar.solid .topnav { order: 3; flex-basis: 100%; overflow-x: auto; }
  /* A scrolling nav would clip its dropdowns, so a nav with menus wraps instead. */
  .topbar.solid .topnav:has(.navmenu) { overflow: visible; flex-wrap: wrap; }
  /* www: the logo becomes the menu button and the nav moves into its panel. */
  .topbar.has-mobilemenu > .wordmark, .topbar.has-mobilemenu > .topnav { display: none; }
  .topbar.has-mobilemenu .mobilemenu { display: block; }
  .topbar.has-mobilemenu .mobile-section { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
  .topbar.has-mobilemenu .topbar-end { display: none; }
  .topbar.has-mobilemenu .mobile-getapp { display: inline-flex; flex: none; margin-left: auto; }
  .topbar:has(.mobilemenu[open]) { background: var(--bs-ink-2); }
  html:has(.mobilemenu[open]) { overflow: hidden; }
}
@media (max-width: 560px) {
  .topbar, .topbar.scrolled, .topbar.solid { padding: 10px 16px; }
  .wordmark > span { display: none; }
  .navmenu-list { position: fixed; top: 56px; left: 12px; right: 12px; min-width: 0; }
  /* The "where you are" title needs the room; the page's hero has the buttons. */
  .topbar:not(.solid):has(.navmenu.is-current) .topbar-end { display: none; }
  .topbar.has-mobilemenu .mobile-section { font-size: 15px; }
}
