/* ==========================================================================
   VAULTRIS — Privileged Access & Bastion Host Security
   vaultris.net — classic enterprise design system
   Clean, restrained, corporate: flat surfaces, thin borders, one blue.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:          #ffffff;
  --bg-soft:     #f6f8fa;
  --bg-tint:     #eef3f9;

  /* Text */
  --ink:         #0e1b2c;
  --body:        #46586e;
  --muted:       #77879a;

  /* Brand — one blue, used sparingly */
  --brand:       #1259a8;
  --brand-2:     #1e6fc4;
  --brand-deep:  #0d4383;
  --brand-soft:  #eaf2fb;
  --brand-glow:  rgba(18, 89, 168, .12);
  --gold:        #c08f2a;          /* logo mark only */

  /* Dark band (CTA + footer) */
  --navy:        #0c1c30;
  --navy-2:      #12263c;

  --line:        #e3e9f0;
  --line-soft:   #edf1f6;

  /* Shadows are quiet — borders do the work */
  --sh-1: 0 1px 2px rgba(14, 27, 44, .05);
  --sh-2: 0 4px 16px rgba(14, 27, 44, .08);
  --sh-3: 0 12px 36px rgba(14, 27, 44, .12);

  --r-sm: 6px;
  --r:    8px;
  --r-lg: 12px;
  --r-xl: 14px;
  --maxw: 1180px;

  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--brand-2); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 0 0 .55em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -0.026em; }
h3 { font-size: 1.13rem; letter-spacing: -0.012em; font-weight: 650; }
p  { margin: 0 0 1.15em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 790px; }

section { padding: 92px 0; }
.bg-alt { background: var(--bg-soft); }

/* --- Utility type ------------------------------------------------------- */
/* Plain small-caps label — quiet, corporate, no decoration */
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 650;
  margin: 0 0 16px;
}
.eyebrow.center { display: block; text-align: center; }
.lede { font-size: 1.12rem; color: var(--body); max-width: 65ch; line-height: 1.72; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.muted { color: var(--muted); font-size: .9rem; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}

/* Chevron text link (Cisco-style) */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .94rem; color: var(--brand);
}
.link-arrow svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn-ghost { border-color: #c9d5e2; color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-row.center { justify-content: center; }

/* --- Skip link ----------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r) 0; font-size: .9rem; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name { font-size: 1.16rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; }
.brand-name span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a,
.nav-item > a {
  color: var(--body); font-size: .92rem; font-weight: 500;
  padding: 9px 14px; border-radius: var(--r-sm);
  transition: color .16s ease, background .16s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > a:hover,
.nav-item > a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand); font-weight: 600; }

/* --- Dropdown menus ------------------------------------------------------
   Sections are reachable from the header instead of only by scrolling. */
.nav-item { position: relative; }
.nav-item > a svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2.2; fill: none; transition: transform .2s ease; }
.nav-item:hover > a svg, .nav-item.open > a svg { transform: rotate(180deg); }

.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 288px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 70;
}
.nav-item:hover .nav-menu, .nav-item.open .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
/* hover bridge so the menu doesn't close crossing the gap */
.nav-item::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }

.nav-menu a {
  display: block; padding: 10px 13px; border-radius: var(--r-sm);
  transition: background .16s ease;
}
.nav-menu a:hover { background: var(--bg-soft); }
.nav-menu a strong { display: block; font-size: .89rem; color: var(--ink); font-weight: 600; line-height: 1.35; }
.nav-menu a span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.nav-menu a:hover strong { color: var(--brand); }
.nav-menu-head {
  font-size: .66rem; letter-spacing: .12em; font-weight: 600;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 13px 6px; margin: 0;
}

/* --- Sticky in-page section nav (long pages) ----------------------------- */
.subnav {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  display: flex; align-items: center; gap: 2px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  padding: 8px 0;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-inner a {
  flex: none;
  font-size: .84rem; font-weight: 500; color: var(--body);
  padding: 8px 13px; border-radius: var(--r-sm); white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}
.subnav-inner a:hover { color: var(--brand); background: var(--bg-soft); }
.subnav-inner a.current { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.subnav-label {
  flex: none; font-size: .66rem; letter-spacing: .12em; font-weight: 600;
  text-transform: uppercase; color: var(--muted); padding-right: 12px; margin-right: 4px;
  border-right: 1px solid var(--line);
}
/* offset anchor targets so sticky bars don't cover headings */
[id] { scroll-margin-top: 130px; }

/* --- Breadcrumbs --------------------------------------------------------- */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted); margin: 0 0 18px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--muted); opacity: .6; }
.crumbs strong { color: var(--body); font-weight: 500; }
/* `.nav-links a` outranks `.btn-primary` on specificity — without this the
   CTA label renders grey-on-blue. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; border-radius: 999px; }
.nav-cta { margin-left: 12px; padding: 11px 22px; }

.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 9px 11px; cursor: pointer;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* --- Hero (homepage): centered copy over a wide framed image ------------- */
/* Navy gradient hero with a bright radial glow, after the cisco.com reference. */
.hero {
  position: relative;
  padding: 108px 0 104px;
  background:
    radial-gradient(90% 140% at 88% 0%, rgba(42, 134, 216, .55) 0%, rgba(42, 134, 216, 0) 55%),
    linear-gradient(112deg, #0a1626 0%, var(--navy) 45%, #123c6b 100%);
  color: #fff;
}
.hero .wrap { display: grid; grid-template-columns: 1.04fr .96fr; gap: 60px; align-items: center; }
.hero-copy { text-align: left; }
.hero .eyebrow { color: #8fc0f5; }
.hero h1 { color: #fff; max-width: 20ch; font-weight: 640; font-size: clamp(2.2rem, 3.7vw, 3.2rem); }
.hero .lede { color: #c3d3e6; font-size: 1.16rem; max-width: 56ch; }
.hero .btn-row { justify-content: flex-start; }
.hero .btn-primary { background: #fff; border-color: #fff; color: var(--navy); }
.hero .btn-primary:hover { background: #dbe7f5; border-color: #dbe7f5; color: var(--navy); }
.hero .link-arrow { color: #fff; padding: 13px 4px; }
.hero .link-arrow:hover { color: #bcd8f5; }

/* --- Hero session-replay demo (animated, blends into the navy) ---------- */
.hero-demo {
  background: rgba(5, 14, 26, .55);
  border: 1px solid rgba(143, 192, 245, .22);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  overflow: hidden;
  font-family: var(--mono);
  font-size: .8rem;
}
.hero-demo-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(143, 192, 245, .16);
  color: #9db7d4; font-size: .74rem; letter-spacing: .02em;
}
.hero-demo-bar .rec-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e5484d;
  animation: hd-blink 1.6s ease-in-out infinite;
}
.hero-demo-bar .sealed {
  margin-left: auto; color: #6fd39c; font-size: .7rem; white-space: nowrap;
}
.hero-demo-body { padding: 16px 18px 14px; min-height: 250px; }
.hero-demo-body p {
  margin: 0 0 7px; color: #b9cde4; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; opacity: 0;
  animation: hd-line 18s linear infinite;
}
.hero-demo-body p b { color: #fff; font-weight: 500; }
.hero-demo-body .c-dim { color: #6d84a0; }
.hero-demo-body .c-ok { color: #6fd39c; }
.hero-demo-body .c-gold { color: #d9a94e; }
.hero-demo-body p:nth-child(1) { animation-delay: .4s; }
.hero-demo-body p:nth-child(2) { animation-delay: 1.6s; }
.hero-demo-body p:nth-child(3) { animation-delay: 2.6s; }
.hero-demo-body p:nth-child(4) { animation-delay: 4.2s; }
.hero-demo-body p:nth-child(5) { animation-delay: 6.4s; }
.hero-demo-body p:nth-child(6) { animation-delay: 8.2s; }
.hero-demo-body p:nth-child(7) { animation-delay: 9.4s; }
.hero-demo-body p:nth-child(8) { animation-delay: 11.5s; }
.hero-demo-foot {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(143, 192, 245, .16);
  color: #9db7d4; font-size: .72rem;
}
.hero-demo-foot .play { color: #fff; }
.hero-demo-track {
  flex: 1; height: 4px; border-radius: 2px; background: rgba(143, 192, 245, .18);
  overflow: hidden;
}
.hero-demo-track i {
  display: block; height: 100%; border-radius: 2px; background: var(--brand-2);
  width: 0; animation: hd-scrub 18s linear infinite;
}
@keyframes hd-line { 0% { opacity: 0; } 1.5% { opacity: 1; } 93% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hd-scrub { 0% { width: 0; } 92% { width: 100%; } 100% { width: 100%; } }
@keyframes hd-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-demo { max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-demo-body p { animation: none; opacity: 1; }
  .hero-demo-track i { animation: none; width: 62%; }
  .hero-demo-bar .rec-dot { animation: none; }
}

/* --- Animated architecture / protocol diagrams (SVG) -------------------- */
.page-head .anim-panel { order: 2; }
.anim-panel {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.anim-panel svg { width: 100%; height: 100%; display: block; }
figure.anim-fig { margin: 44px auto 0; max-width: 880px; }
figure.anim-fig svg { width: 100%; height: auto; display: block; }
figure.anim-fig figcaption { margin-top: 12px; font-size: .84rem; color: var(--muted); text-align: center; }
.svg-label { font-family: var(--font, inherit); font-size: 13px; font-weight: 600; fill: var(--ink); }
.svg-sub { font-size: 10.5px; font-weight: 500; fill: #64748b; }
.svg-chip-t { font-family: var(--mono); font-size: 11px; font-weight: 500; fill: #46586e; }
@media (prefers-reduced-motion: reduce) { .anim-dot { display: none; } }

/* Quick-link tile band under the hero (cisco.com reference). */
.qlinks { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); padding: 46px 0; }
.qlinks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qlink {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--line-2, #cfd9e4);
  border-radius: var(--r-lg); padding: 17px 22px;
  font-weight: 600; color: var(--ink); font-size: .97rem;
  transition: border-color .16s ease, color .16s ease;
}
.qlink svg { width: 15px; height: 15px; stroke: var(--brand); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.qlink:hover { border-color: var(--brand); color: var(--brand); }
.qlink:hover svg { transform: translateX(3px); }
@media (max-width: 860px) { .qlinks-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .qlinks-grid { grid-template-columns: 1fr; } }

.hero-wide {
  margin: 60px auto 0;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  background: var(--bg-soft);
}
.hero-wide img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* --- Page header (interior pages) --------------------------------------- */
.page-head {
  position: relative;
  padding: 84px 0 76px;
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line-soft);
}
/* Interior headers carry a real, fully visible image panel. */
.page-head .wrap {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: 56px; align-items: center;
}
.page-head-copy { order: 1; }
.page-head .hero-bg,
.hero-bg {
  order: 2;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  background-size: cover;
  background-position: center;
}
.page-head h1 { max-width: 19ch; }
.page-head .lede { max-width: 54ch; }

/* --- Trust strip -------------------------------------------------------- */
.trust { border-bottom: 1px solid var(--line-soft); background: #fff; padding: 26px 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; }
.trust-inner span {
  font-size: .72rem; letter-spacing: .11em; font-weight: 600;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* --- Grids & cards ------------------------------------------------------ */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: #c6d5e5; box-shadow: var(--sh-2); }
.card h3 { margin-bottom: .45em; }
.card p { margin: 0; font-size: .95rem; }
.card p + p { margin-top: .8em; }
a.card { display: block; color: inherit; }
a.card:hover h3 { color: var(--brand); }

.icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r); margin-bottom: 20px;
  background: var(--brand-soft);
}
.icon svg { width: 21px; height: 21px; stroke: var(--brand); fill: none; stroke-width: 1.65; }

.num {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .13em;
  color: var(--brand); display: block; margin-bottom: 13px; font-weight: 500;
}

/* --- Stat band ----------------------------------------------------------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  padding: 34px 0; margin: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat-band div { text-align: center; padding: 8px 12px; }
.stat-band b {
  display: block; font-size: 2.3rem; font-weight: 700; line-height: 1.1;
  letter-spacing: -.03em; color: var(--ink);
}
.stat-band span {
  display: block; margin-top: 7px;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}

/* --- Bento remnants (brand page) ----------------------------------------
   Kept as clean flat tiles so brand.html keeps working. */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(172px, auto);
  gap: 18px;
}
.s3 { grid-column: span 3; }
.s4 { grid-column: span 4; }
.s5 { grid-column: span 5; }
.s6 { grid-column: span 6; }
.s7 { grid-column: span 7; }
.s8 { grid-column: span 8; }
.s12 { grid-column: span 12; }
.r2 { grid-row: span 2; }
.r3 { grid-row: span 3; }

.bt {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bt:hover { border-color: #c6d5e5; box-shadow: var(--sh-2); }
a.bt { color: inherit; }
.bt h3 { font-size: 1.02rem; margin: 0 0 5px; }
.bt p { margin: 0; font-size: .89rem; line-height: 1.55; color: var(--body); }
.bt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bt-foot { margin-top: auto; padding-top: 14px; }

.bt-tint { background: var(--brand-soft); border-color: #d5e4f4; }
.bt-dark { background: var(--navy-2); border-color: #1b3350; color: #a3b6ca; }
.bt-dark h3 { color: #fff; }
.bt-dark p { color: #9fb2c6; }

.bt-stat { justify-content: center; align-items: flex-start; }
.bt-stat b {
  display: block; font-size: 2.4rem; font-weight: 700;
  line-height: 1; letter-spacing: -.03em; color: var(--ink);
}
.bt-stat span {
  display: block; margin-top: 9px;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.bt-dark.bt-stat b { color: #fff; }

.bt-img { padding: 0; }
.bt-img img { width: 100%; height: 100%; object-fit: cover; }
.bt-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 46px 22px 20px;
  background: linear-gradient(transparent, rgba(8, 20, 36, .88));
}
.bt-cap strong { display: block; color: #fff; font-size: 1.05rem; font-weight: 650; line-height: 1.25; }
.bt-cap span { display: block; color: rgba(255, 255, 255, .78); font-size: .8rem; margin-top: 3px; }
.bt-pill {
  position: absolute; z-index: 2; left: 16px; top: 16px;
  font-size: .64rem; letter-spacing: .11em; text-transform: uppercase;
  font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(255, 255, 255, .8);
  padding: 5px 11px; border-radius: var(--r-sm);
}

.bt-ico {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--r); margin-bottom: 14px; flex: none;
  background: var(--brand-soft);
}
.bt-ico svg { width: 19px; height: 19px; stroke: var(--brand); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bt-dark .bt-ico { background: rgba(255, 255, 255, .08); }
.bt-dark .bt-ico svg { stroke: #7dc0f0; }

.bt-bars { display: flex; align-items: flex-end; gap: 4px; height: 42px; margin-top: auto; }
.bt-bars i { flex: 1; border-radius: 2px; background: var(--brand-2); opacity: .8; }
.bt-dark .bt-bars i { background: #5aa5dd; }

.bt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.bt-chips span {
  font-size: .64rem; letter-spacing: .07em; text-transform: uppercase;
  font-weight: 600; color: var(--brand); background: var(--brand-soft);
  border: 1px solid #d5e4f4; padding: 4px 9px; border-radius: var(--r-sm);
}
.bt-dark .bt-chips span { color: #9fd0f0; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .13); }

.bt-link {
  margin-top: auto; padding-top: 14px;
  font-size: .84rem; font-weight: 600; color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
}
a.bt:hover .bt-link { gap: 10px; }
.bt-link::after { content: "→"; transition: transform .2s ease; }

@media (max-width: 980px) {
  .bento { grid-auto-rows: minmax(150px, auto); gap: 14px; }
  .s3 { grid-column: span 6; }
  .s4, .s5 { grid-column: span 6; }
  .s7, .s8 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .bento { grid-auto-rows: auto; }
  .s3, .s4, .s5, .s6, .s7, .s8, .s12 { grid-column: span 12; }
  .r2, .r3 { grid-row: span 1; }
  .bt { min-height: 150px; }
  .bt-img { min-height: 210px; }
}

/* --- Media card (image + text) ------------------------------------------ */
.mcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mcard:hover { border-color: #c6d5e5; box-shadow: var(--sh-2); }
.mcard-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); position: relative; }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mcard:hover .mcard-img img { transform: scale(1.03); }
.mcard-body { padding: 24px 24px 28px; flex: 1; }
.mcard-body h3 { margin-bottom: .5em; }
.mcard-body p { font-size: .93rem; margin: 0; }
a.mcard { color: inherit; }
a.mcard:hover h3 { color: var(--brand); }
.mcard-tag {
  position: absolute; z-index: 2; left: 14px; top: 14px;
  font-size: .64rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink);
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(255, 255, 255, .8);
  padding: 5px 11px; border-radius: var(--r-sm); font-weight: 600;
}

/* --- Split (image beside copy) ------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }

/* Aspect-locked so a squarish source photo can never render as a very tall
   column. Never add a content image without an aspect-locked wrapper. */
.split-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  background: var(--bg-soft);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.split-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 42px 20px 14px;
  background: linear-gradient(transparent, rgba(8, 20, 36, .78));
  font-size: .7rem; letter-spacing: .1em; font-weight: 600;
  text-transform: uppercase; color: rgba(255, 255, 255, .9);
}

/* --- Checklist ---------------------------------------------------------- */
.checks { list-style: none; padding: 0; margin: 26px 0 0; }
.checks li { position: relative; padding-left: 33px; margin-bottom: 14px; font-size: .96rem; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .3em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft);
}
.checks li::after {
  content: "";
  position: absolute; left: 6px; top: .72em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.checks strong { color: var(--ink); font-weight: 650; }

/* --- Terminal / code panel ---------------------------------------------- */
.terminal {
  background: var(--navy);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid #1b3350;
  font-family: var(--mono);
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 17px; background: var(--navy-2); border-bottom: 1px solid #1b3350;
}
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b4664; display: block; }
.terminal-bar i:first-child { background: var(--gold); }
.terminal-bar b { margin-left: 10px; font-size: .72rem; font-weight: 500; color: #93a9c0; letter-spacing: .05em; }
.terminal pre {
  margin: 0; padding: 24px 22px; font-size: .79rem; line-height: 1.9;
  color: #c6d5e5; overflow-x: auto; white-space: pre;
}
.terminal .c-b { color: #efc06a; }
.terminal .c-s { color: #74bcec; }
.terminal .c-o { color: #86c992; }
.terminal .c-d { color: #7f95ac; }

/* --- Architecture diagram ------------------------------------------------ */
.diagram { max-width: 1000px; margin: 0 auto; }
.dg-flow {
  display: grid;
  grid-template-columns: 1fr auto 1.24fr auto 1fr;
  align-items: stretch;
  gap: 0;
}

.dg-node {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.dg-node strong { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 650; line-height: 1.3; }
/* :not(.dg-badge) — otherwise this outranks .dg-badge and the badge label
   renders muted-grey on blue. */
.dg-node > span:not(.dg-badge) {
  font-size: .82rem; color: var(--muted); margin-top: 3px; line-height: 1.45;
}

/* The gateway — visually dominant, since it is the whole point */
.dg-key {
  border: 2px solid var(--brand-2);
  background: linear-gradient(180deg, #fff, var(--brand-soft));
  box-shadow: var(--sh-2);
  padding-top: 32px;
}
.dg-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .11em; text-transform: uppercase;
  color: #fff; font-weight: 600; white-space: nowrap;
  background: var(--brand);
  padding: 5px 12px; border-radius: var(--r-sm);
}

.dg-ico {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: var(--r-lg); margin-bottom: 15px;
  background: var(--brand-soft);
}
.dg-ico svg { width: 25px; height: 25px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dg-key .dg-ico { background: var(--brand); }
.dg-key .dg-ico svg { stroke: #fff; }

.dg-state {
  margin-top: 12px;
  font-size: .63rem; letter-spacing: .09em;
  text-transform: uppercase; font-style: normal; font-weight: 600;
  padding: 5px 11px; border-radius: var(--r-sm);
}
.dg-untrusted { color: #a8552c; background: #fdf1ea; border: 1px solid #f2d8c8; }
.dg-private   { color: #2f6b45; background: #eff8f2; border: 1px solid #cee7d8; }

.dg-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 14px 0 0; }
.dg-chips li {
  font-size: .62rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brand); background: #fff;
  border: 1px solid #cfe0f2; padding: 4px 9px; border-radius: var(--r-sm); font-weight: 600;
}

/* Connector: animated dot travelling along the wire */
.dg-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 0 14px; min-width: 104px;
}
.dg-label {
  font-size: .62rem; letter-spacing: .1em; font-weight: 600;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.dg-wire {
  position: relative; width: 100%; height: 2px; border-radius: 2px;
  background: #c3d4e6;
}
.dg-wire::after {
  content: ""; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  border-left: 7px solid var(--brand-2);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.dg-wire i {
  position: absolute; top: 50%; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); margin-top: -3.5px;
  box-shadow: 0 0 0 4px rgba(30, 111, 196, .16);
  animation: dg-travel 2.6s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes dg-travel {
  0%   { left: 0;    opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.dg-blocked {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; padding: 16px 22px;
  background: #fdf4ef; border: 1px dashed #eccdb9;
  border-radius: var(--r-lg);
}
.dg-blocked p { margin: 0; font-size: .9rem; color: #8a5638; }
.dg-blocked strong { color: #7a4526; }
.dg-x {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: #f6ded0; border: 1px solid #eccdb9;
}
.dg-x svg { width: 17px; height: 17px; stroke: #b4643a; stroke-width: 2.2; stroke-linecap: round; fill: none; }

@media (prefers-reduced-motion: reduce) { .dg-wire i { animation: none; opacity: 1; } }

/* --- Table -------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: #fff;
}
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .93rem; }
th, td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line-soft); }
th {
  background: var(--bg-soft); font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650;
}
td strong { color: var(--ink); font-weight: 650; }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .16s ease; }
tbody tr:hover { background: #fafcfe; }

/* --- Callout ------------------------------------------------------------ */
.callout {
  border: 1px solid #d5e4f4;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 22px 26px;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 30px 0;
  font-size: .96rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn {
  border-color: #f0d9c9;
  border-left-color: #c96f3b;
  background: #fdf3ec;
}

/* --- Accordion / FAQ ---------------------------------------------------- */
details {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; margin-bottom: 13px; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
details:hover { border-color: #c6d5e5; box-shadow: var(--sh-1); }
details summary {
  padding: 20px 26px; cursor: pointer; font-weight: 650; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-size: 1.01rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; color: var(--brand); font-size: 1.1rem; font-weight: 400; line-height: 1; flex: none;
  width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--brand-soft); border-radius: 50%;
  transition: transform .25s ease;
}
details[open] summary::after { content: "−"; transform: rotate(180deg); }
details[open] summary { border-bottom: 1px solid var(--line-soft); }
details .details-body { padding: 21px 26px 4px; }
details .details-body p:last-child { margin-bottom: 1em; }

/* --- CTA band — navy bookend --------------------------------------------- */
.cta-band {
  background: var(--navy);
  text-align: center;
}
.cta-band .eyebrow { color: #7fb5e8; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band .lede { color: #b6c6d8; }
.cta-band .btn-ghost {
  background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff;
}
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-band .btn-primary { background: var(--brand-2); border-color: var(--brand-2); }
.cta-band .btn-primary:hover { background: #3585d6; border-color: #3585d6; }

/* --- Contact form ------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px;
}
.field { margin-bottom: 19px; }
.field label {
  display: block; font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; color: var(--ink); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; background: #fff;
  border: 1px solid #c9d5e2; border-radius: var(--r);
  color: var(--ink); font-family: inherit; font-size: .95rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-2); box-shadow: 0 0 0 4px var(--brand-glow);
}
.form-note { font-size: .84rem; color: var(--muted); margin-top: 15px; }
.form-status {
  display: none; margin-top: 17px; padding: 15px 19px; border-radius: var(--r);
  border: 1px solid #bcdcc1; background: #f2faf3; color: #2c6b38; font-size: .93rem;
}
.form-status.show { display: block; }
.form-status.error { border-color: #e6bcaa; background: #fdf4f0; color: #97442a; }

/* Honeypot — off-screen for bots, invisible and unfocusable for people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Contact info list -------------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 19px 0; border-bottom: 1px solid var(--line-soft); }
.info-list li:last-child { border-bottom: none; }
.info-list strong {
  display: block; font-size: .72rem; font-weight: 650;
  letter-spacing: .11em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px;
}
.info-list span { font-size: .96rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid #1b3350;
  color: #a3b6ca; padding: 70px 0 30px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 46px; }
.footer-grid h4 {
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: #8fa7c0; margin-bottom: 17px; font-weight: 650;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #a3b6ca; font-size: .9rem; }
.footer-grid a:hover { color: #fff; }
.footer-about p { font-size: .9rem; color: #93a9c0; max-width: 34ch; margin-top: 17px; }
.footer-bottom {
  border-top: 1px solid #1b3350; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 12px; font-size: .82rem; color: #7f95ac;
}
.footer-bottom a { color: #a3b6ca; }
.footer-bottom a:hover { color: #fff; }

/* --- Reveal animation ----------------------------------------------------
   Scoped to .js so content stays visible if JavaScript never runs.
   js/main.js keeps a 2.5s failsafe that force-adds .in — do not remove.   */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mcard-img img { transition: none; }
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  section { padding: 74px 0; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split.reverse .split-media { order: 0; }
  .hero { padding: 70px 0 66px; }
  .hero-wide { margin-top: 44px; aspect-ratio: 16 / 9; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-head { padding: 70px 0 62px; }
  .page-head .wrap { grid-template-columns: 1fr; gap: 38px; }
  .page-head .hero-bg { aspect-ratio: 16 / 9; }
  .page-head h1, .page-head .lede { max-width: none; }

  /* Diagram stacks vertically; connectors become vertical wires */
  .dg-flow { grid-template-columns: 1fr; }
  .dg-link { flex-direction: row; gap: 12px; padding: 14px 0; min-width: 0; }
  .dg-wire { width: 2px; height: 44px; background: #c3d4e6; }
  .dg-wire::after {
    right: auto; top: auto; bottom: -1px; left: 50%; transform: translateX(-50%);
    border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-top: 7px solid var(--brand-2); border-bottom: none;
  }
  .dg-wire i { left: 50% !important; margin-left: -3.5px; margin-top: 0; animation: dg-travel-v 2.6s cubic-bezier(.5,0,.5,1) infinite; }
  @keyframes dg-travel-v {
    0%   { top: 0;    opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  section { padding: 60px 0; }
  .hero { padding: 50px 0 54px; }
  .nav { height: 64px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2); padding: 14px 18px 22px; gap: 2px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-item > a { padding: 12px 10px; }
  .nav-cta { margin: 12px 0 0; justify-content: center; }

  /* Dropdowns become inline accordions in the mobile sheet */
  .nav-item { width: 100%; }
  .nav-item > a { justify-content: space-between; width: 100%; }
  .nav-item::after { display: none; }
  .nav-menu {
    position: static; transform: none; min-width: 0; width: 100%;
    border: none; box-shadow: none; padding: 2px 0 8px 12px;
    border-left: 2px solid var(--line); border-radius: 0;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-item.open .nav-menu { display: block; transform: none; }
  .nav-item:hover .nav-menu { opacity: 1; }
  .nav-item:not(.open):hover .nav-menu { display: none; }
  .nav-menu-head { display: none; }
  .nav-menu a span { display: none; }
  .nav-menu a { padding: 9px 10px; }

  .subnav { top: 64px; }
  [id] { scroll-margin-top: 122px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  /* Shorter crop on phones so a stacked image never dominates the screen */
  .split-media, .hero-bg { aspect-ratio: 3 / 2; }
  .hero-wide { aspect-ratio: 3 / 2; margin-top: 34px; }
  .page-head { padding: 46px 0 50px; }
  .page-head .wrap { gap: 30px; }
  .dg-node { padding: 22px 18px 20px; }
  .stat-band b { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { gap: 11px; }
  .nav-links a.btn-primary { width: auto; }
}

/* --- Product screenshots -------------------------------------------------
   Screenshots are exactly 16:10 (1600x1000) — aspect-locked wrappers show
   them uncropped. Never put a screenshot behind a 4/3 or 21/9 crop. */
.hero-wide.shot { aspect-ratio: 16 / 10; max-width: 1040px; }
/* Screenshot splits: no crop, no scrim — plain caption below the frame */
.split-media.shot {
  aspect-ratio: auto; overflow: visible;
  border: none; box-shadow: none; background: none; border-radius: 0;
}
.split-media.shot img {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-2); background: var(--bg-soft);
}
.split-media.shot figcaption {
  position: static; background: none; padding: 11px 2px 0;
  color: var(--muted); text-transform: none; letter-spacing: 0;
  font-weight: 500; font-size: .84rem;
}

figure.shot {
  margin: 44px auto 0; max-width: 980px;
}
figure.shot img {
  width: 100%; display: block;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
figure.shot figcaption { margin-top: 11px; font-size: .84rem; color: var(--muted); text-align: center; }

/* --- Help / product guide (theme from the deployment help page) ---------- */
.help-hero { background: linear-gradient(180deg, var(--navy) 0%, #12294a 100%); color: #fff; padding: 64px 0 58px; }
.help-hero .crumbs, .help-hero .crumbs a { color: #8fa7c0; }
.help-hero .crumbs a:hover { color: #fff; }
.help-hero .crumbs strong { color: #c6d4e4; }
.help-hero .eyebrow { color: #7fb5e8; }
.help-hero h1 { color: #fff; max-width: 24ch; }
.help-hero .lede { color: #c6d4e4; max-width: 70ch; }
.help-rule { width: 64px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 26px; }

.help-layout {
  display: grid; grid-template-columns: 230px minmax(0, 1fr);
  gap: 52px; align-items: start; padding: 56px 0 30px;
}
.toc { position: sticky; top: 96px; }
.toc h4 {
  margin: 0 0 10px; font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 650;
}
.toc a {
  display: block; padding: 6px 0 6px 12px;
  border-left: 2px solid var(--line);
  color: var(--body); font-size: .85rem;
  transition: color .16s ease, border-color .16s ease;
}
.toc a:hover, .toc a.current { border-left-color: var(--brand); color: var(--brand); }

.help-main section { padding: 0; margin: 0 0 56px; }
.help-main h2 { font-size: 1.5rem; margin-bottom: .4em; }
.help-main h2 .n { color: var(--gold); font-family: var(--mono); font-size: .95rem; margin-right: 10px; font-weight: 500; }
.help-main h3 { margin: 26px 0 8px; }
.help-main p, .help-main ul, .help-main ol { max-width: 74ch; }
.help-main figure { margin: 22px 0 8px; max-width: none; }
.help-main figure img {
  width: 100%; display: block;
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.help-main figcaption { margin-top: 9px; font-size: .82rem; color: var(--muted); text-align: left; }
.help-main .table-wrap { margin: 16px 0; }
.help-main table { min-width: 520px; font-size: .9rem; }

.note, .warn {
  border: 1px solid #d5e4f4; border-left: 3px solid var(--brand);
  background: var(--brand-soft); color: var(--ink);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 13px 17px; margin: 16px 0; font-size: .9rem; max-width: 74ch;
}
.warn { border-color: #ecdcbe; border-left-color: var(--gold); background: #fdf8ee; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; margin: 14px 0; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 1px; width: 25px; height: 25px;
  border-radius: 50%; background: var(--brand); color: #fff;
  font-size: .8rem; font-weight: 600; display: grid; place-items: center;
}

.mock {
  display: inline-block; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 20px; padding: 1px 10px; font-size: .76rem; color: var(--muted); white-space: nowrap;
}

@media (max-width: 900px) {
  .help-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 36px; }
  .toc { position: static; }
  .help-main code { overflow-wrap: anywhere; }
}

/* --- Brand page download chips ------------------------------------------- */
.bt-chips a {
  font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
  font-weight: 600; color: var(--brand); background: var(--brand-soft);
  border: 1px solid #d5e4f4; padding: 8px 14px; border-radius: var(--r-sm);
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.bt-chips a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Footer phone numbers */
.footer-phones { margin-top: 14px; font-size: .9rem; }
.footer-phones a { color: #b6c6d8; font-weight: 600; }
.footer-phones a:hover { color: #fff; }
