/* ============================================================
   Agent Registry, marketing landing page
   Dark-first, Syskit brand (purple #5700AF / orange #DE3702).
   Type: system sans for prose, ui-mono for technical micro-labels.
   ============================================================ */
:root {
  --bg:        #131419;
  --bg-2:      #181a21;
  --bg-3:      #1f222b;
  --bg-4:      #262a35;
  --line:      #2a2e3a;
  --line-2:    #363b49;
  --tx:        #f4f5f8;
  --tx-2:      #a8aeba;
  --tx-3:      #6e7480;
  --accent:        #6a1ec6;   /* overridable via tweak */
  --accent-hover:  #7a2fd6;
  --accent-deep:   #5700af;
  --accent-text:   #c4a3f7;
  --accent-soft:   #241441;
  --orange:        #de3702;
  --orange-text:   #f7a079;
  --hl:            var(--orange-text);   /* headline highlight color */
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --maxw: 1160px;
  --radius: 14px;
}
[data-theme="light"] {
  --bg:     #f6f5f9;
  --bg-2:   #ffffff;
  --bg-3:   #ffffff;
  --bg-4:   #f0eef6;
  --line:   #e6e3ee;
  --line-2: #d8d4e4;
  --tx:     #1b1726;
  --tx-2:   #5a5566;
  --tx-3:   #8c8796;
  --accent-text: #5700af;
  --accent-soft: #f0e7fb;
  --hl: var(--accent-deep);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-text); font-weight: 600;
}
section { position: relative; }

/* ---------------- Top nav ---------------- */
/* Non-production environment banner (mirrors the in-app .env-banner).
   Sticky above the nav; when shown, the nav's sticky offset moves down by
   the banner height so the two never overlap. */
.env-banner {
  position: sticky; top: 0; z-index: 60;
  height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: #d6342a; color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  user-select: none;
}
/* Respect [hidden]: an explicit display here beats the UA [hidden]{display:none}
   rule, so without this the empty red bar shows even when JS leaves it hidden
   (e.g. on production). */
.env-banner[hidden] { display: none; }
html.env-banner-on .nav { top: 26px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 8px; background: #fff;
  display: grid; place-items: center; padding: 4px; box-shadow: 0 0 0 1px var(--line);
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__co { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.brand__prod { font-size: 11.5px; color: var(--tx-2); font-weight: 500; }
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__link {
  font-size: 14px; color: var(--tx-2); padding: 7px 12px; border-radius: 8px;
  transition: color .14s, background .14s; font-weight: 500;
}
.nav__link:hover { color: var(--tx); background: var(--bg-3); }
.nav__spacer { flex: 1; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 600;
  font-size: 14.5px; line-height: 1; border: 1px solid transparent; border-radius: 10px;
  padding: 11px 18px; cursor: pointer; transition: background .15s, border-color .15s, transform .12s, color .15s;
  white-space: nowrap;
}
.btn svg { display: block; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--tx); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--tx-3); background: var(--bg-3); }
.btn--sm { padding: 8px 14px; font-size: 13.5px; border-radius: 9px; }
.btn--lg { padding: 14px 24px; font-size: 16px; border-radius: 11px; }
.btn .ms-grid { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 15px; height: 15px; }
.btn .ms-grid i { display: block; }
.btn .ms-grid i:nth-child(1){ background:#f25022; } .btn .ms-grid i:nth-child(2){ background:#7fba00; }
.btn .ms-grid i:nth-child(3){ background:#00a4ef; } .btn .ms-grid i:nth-child(4){ background:#ffb900; }
.gh-star {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--tx-2);
  border: 1px solid var(--line-2); border-radius: 9px; padding: 7px 11px; font-weight: 500;
}
.gh-star:hover { color: var(--tx); border-color: var(--tx-3); }
.gh-star .mono { color: var(--tx); font-weight: 600; }

/* ---------------- Hero ---------------- */
.hero { padding: 76px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto 0; height: 620px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(680px 360px at 22% 12%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(560px 320px at 86% 8%, color-mix(in srgb, var(--orange) 13%, transparent), transparent 72%);
  opacity: .8;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid; grid-template-columns: 1.06fr 1fr; gap: 56px; align-items: center;
}
.hero__text { max-width: 600px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 9px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--tx-2);
  margin-bottom: 22px; white-space: nowrap;
}
.badge-pill b { color: var(--tx); }
.badge-pill .free {
  background: color-mix(in srgb, var(--orange) 90%, #000); color: #fff; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; letter-spacing: 0.04em; font-size: 10.5px;
}
h1.hero__title {
  font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.025em;
  font-weight: 700; margin: 0 0 22px; text-wrap: balance;
}
h1.hero__title .hl { color: var(--hl); }
.hero__sub { font-size: 18.5px; line-height: 1.55; color: var(--tx-2); margin: 0 0 30px; max-width: 540px; }
.hero__sub strong { color: var(--tx); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.hero__trust {
  margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--tx-3);
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
}
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--tx-3); }

/* product shot in a browser frame */
.shot {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2);
  background: var(--bg-2); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02);
}
.shot__bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.shot__dots i:nth-child(1){ background:#ff5f57; } .shot__dots i:nth-child(2){ background:#febc2e; } .shot__dots i:nth-child(3){ background:#28c840; }
.shot__url {
  flex: 1; margin-left: 6px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 7px; padding: 5px 12px; font-family: var(--mono); font-size: 12px; color: var(--tx-2);
  display: flex; align-items: center; gap: 8px; max-width: 360px;
}
.shot__url svg { width: 11px; height: 11px; color: var(--tx-3); flex-shrink: 0; }
.shot img { width: 100%; display: block; }
.hero__shot { position: relative; }
.hero__shot .float-badge {
  position: absolute; left: -18px; bottom: 26px; z-index: 3;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 15px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); max-width: 220px;
}
.float-badge__top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.float-badge__top .rk { width: 9px; height: 9px; border-radius: 3px; background: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 22%, transparent); }
.float-badge__sub { font-family: var(--mono); font-size: 11px; color: var(--tx-2); margin-top: 5px; }

/* sign-in card (used in 'signin' hero variant) */
.signin-card {
  display: none; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.signin-card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.signin-card p { margin: 0 0 18px; font-size: 13.5px; color: var(--tx-2); line-height: 1.5; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 6px; }
.field input {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 11px 13px; color: var(--tx); font: 400 14px var(--mono); outline: none;
}
.field input:focus { border-color: var(--accent); }
.signin-card .btn { width: 100%; justify-content: center; }
.signin-card .fine { margin: 14px 0 0; font-size: 12px; color: var(--tx-3); text-align: center; }

/* ---------------- Sources strip ---------------- */
.sources { padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.sources__label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 22px; }
.sources__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.src-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-3); font-size: 14px; font-weight: 500;
}
.src-chip .sw { width: 9px; height: 9px; border-radius: 3px; }

/* ---------------- Section scaffolding ---------------- */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 680px; margin: 0 0 50px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; line-height: 1.1; margin: 14px 0 16px; font-weight: 700; }
.section__head p { font-size: 17.5px; color: var(--tx-2); margin: 0; line-height: 1.55; }

/* value prop cards */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: border-color .16s, transform .16s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card__ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); margin-bottom: 16px;
}
.card__ic svg { width: 21px; height: 21px; }
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14px; color: var(--tx-2); line-height: 1.55; }

/* showcase, alternating product shots */
.showcase { display: grid; gap: 72px; margin-top: 64px; }
.show-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: center; }
.show-row--flip { grid-template-columns: 0.85fr 1.15fr; }
.show-row--flip .show-media { order: 2; }
.show-media .shot { box-shadow: 0 30px 70px -30px rgba(0,0,0,.65); }
.show-copy h3 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.015em; margin: 12px 0 12px; font-weight: 700; }
.show-copy p { margin: 0; font-size: 15.5px; color: var(--tx-2); line-height: 1.6; }
.show-copy p .mono { font-size: 13px; color: var(--accent-text); }
.show-copy ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.show-copy li { display: block; position: relative; padding-left: 24px; font-size: 14px; color: var(--tx-2); }
.show-copy li::before { content: "\2192"; position: absolute; left: 0; top: 0; color: var(--accent-text); font-family: var(--mono); }
@media (max-width: 980px) {
  .show-row, .show-row--flip { grid-template-columns: 1fr; gap: 24px; }
  .show-row--flip .show-media { order: 0; }
}

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 16px; }
.step__num {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent-text);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.step__num::before { content: ""; width: 34px; height: 1px; background: var(--line-2); }
.step h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14.5px; color: var(--tx-2); line-height: 1.55; }
.step p code { font-family: var(--mono); font-size: 12.5px; background: var(--bg-4); padding: 1px 6px; border-radius: 5px; color: var(--tx); }
.steps__line { position: relative; }

/* security band */
.secure { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.secure__list { display: grid; gap: 14px; }
.secure__item { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.secure__item .chk { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, #2bbf6e 22%, transparent); color: #6fe3a3; }
.secure__item .chk svg { width: 15px; height: 15px; }
.secure__item h4 { margin: 0 0 3px; font-size: 15px; }
.secure__item p { margin: 0; font-size: 13.5px; color: var(--tx-2); line-height: 1.5; }
.secure__quote {
  font-family: var(--mono); font-size: 12px; color: var(--tx-3); line-height: 1.7;
  background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 18px 20px; margin-top: 24px;
}
.secure__quote .k { color: var(--accent-text); }
.secure__quote .s { color: #8fd6a8; }

/* permissions */
.perm { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.perm-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.perm-table__cap {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600; background: var(--bg-2);
}
.perm-table__cap .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin-left: auto; }
.perm-row { display: grid; grid-template-columns: 230px 1fr; gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.perm-row:last-child { border-bottom: none; }
.perm-row .scope { font-family: var(--mono); font-size: 12.5px; color: var(--tx); }
.perm-row .desc { font-size: 13px; color: var(--tx-2); }
.perm-row .scope .pv { font-size: 9px; background: var(--accent-soft); color: var(--accent-text); padding: 1px 5px; border-radius: 4px; margin-left: 6px; letter-spacing: .04em; text-transform: uppercase; }
.perm-aside { display: grid; gap: 16px; }
.perm-note { border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 20px; background: var(--bg-3); }
.perm-note h4 { margin: 0 0 8px; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.perm-note p { margin: 0; font-size: 13.5px; color: var(--tx-2); line-height: 1.55; }
.perm-note--warn { border-color: color-mix(in srgb, var(--orange) 45%, var(--line-2)); }
.perm-note--warn h4 .d { color: var(--orange-text); }
.perm-apis { display: flex; flex-wrap: wrap; gap: 8px; }
.perm-api { font-family: var(--mono); font-size: 11.5px; color: var(--tx-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; background: var(--bg-3); }
.perm-stack { display: grid; gap: 20px; }
.perm-callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.perm-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.step p a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.perm-row .scope .gov { font-size: 9px; background: color-mix(in srgb, var(--orange) 22%, transparent); color: var(--orange-text); padding: 1px 5px; border-radius: 4px; margin-left: 6px; letter-spacing: .04em; text-transform: uppercase; }
.perm-row .role { font-size: 13px; color: var(--tx); font-weight: 500; }
.perm-row--role { grid-template-columns: minmax(220px, 1.1fr) 1fr; }
.perm-table--mini .perm-row { grid-template-columns: 1fr; gap: 4px; padding: 11px 16px; }
.perm-table--mini .perm-row .desc { font-size: 12.5px; }
.perm-table--warn { border-color: color-mix(in srgb, var(--orange) 42%, var(--line-2)); }
.perm-table--warn .perm-table__cap { background: color-mix(in srgb, var(--orange) 11%, var(--bg-2)); }
.perm-table--warn .perm-table__cap .tag { color: var(--orange-text); }
.perm-subhead { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); margin: 8px 0 -6px; }
.perm-fine { font-size: 13px; color: var(--tx-2); line-height: 1.55; margin: 10px 2px 0; }
.perm-fine code { font-family: var(--mono); font-size: 12px; background: var(--bg-4); padding: 1px 6px; border-radius: 5px; color: var(--tx); }
/* A .perm-fine note placed INSIDE a perm-table (e.g. the full-governance box)
   reads as a footer: align it with the rows and tint it, instead of letting it
   sit flush to the edge. The preceding row's bottom border is the separator. */
.perm-table > .perm-fine { margin: 0; padding: 12px 18px; font-size: 12.5px; line-height: 1.5; }
.perm-table--warn > .perm-fine { background: color-mix(in srgb, var(--orange) 7%, transparent); }
@media (max-width: 760px) { .perm-callouts { grid-template-columns: 1fr; } .perm-row { grid-template-columns: 1fr; gap: 3px; } .perm-row--role { grid-template-columns: 1fr; } }

/* demo band */
.demo-band { text-align: center; }
.demo-band .inner {
  border: 1px solid var(--line-2); border-radius: 20px; padding: 52px 40px; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% -20%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%),
    var(--bg-3);
}
.demo-band h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 700; }
.demo-band p { font-size: 18px; color: var(--tx-2); margin: 0 auto 28px; max-width: 560px; }
.demo-band .cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-size: 16.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 18px; height: 18px; flex-shrink: 0; color: var(--tx-3); transition: transform .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); color: var(--accent-text); }
.faq .a { padding: 0 22px 20px; font-size: 14.5px; color: var(--tx-2); line-height: 1.6; }
.faq .a a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { font-size: 13.5px; color: var(--tx-2); line-height: 1.6; margin: 14px 0 0; max-width: 300px; }
.footer__col h5 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); }
.footer__col a { display: block; font-size: 14px; color: var(--tx-2); padding: 5px 0; }
.footer__col a:hover { color: var(--tx); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--tx-3); }
.footer__bottom .mono { font-size: 12px; }

/* ---------------- Hero layout variants ---------------- */
body[data-hero="centered"] .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 44px; }
body[data-hero="centered"] .hero__text { max-width: 760px; margin: 0 auto; }
body[data-hero="centered"] .hero__sub { margin-left: auto; margin-right: auto; }
body[data-hero="centered"] .hero__cta, body[data-hero="centered"] .hero__trust { justify-content: center; }
body[data-hero="centered"] .hero__shot { max-width: 940px; margin: 0 auto; width: 100%; }
body[data-hero="centered"] .hero__shot .float-badge { left: auto; right: -10px; }

body[data-hero="signin"] .hero__shot { display: none; }
body[data-hero="signin"] .signin-card { display: block; }
body[data-hero="signin"] .hero__grid { grid-template-columns: 1.1fr 0.9fr; }

/* ---------------- Responsive ---------------- */
/* Five feature cards fit one row on wide screens; step down gracefully so
   they never get cramped. */
@media (max-width: 1200px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero__grid, body[data-hero="signin"] .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__shot { order: 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .secure, .perm { grid-template-columns: 1fr; gap: 28px; }
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 64px 0; }
  .nav__actions .gh-star { display: none; }
}

/* ---- utilities replacing inline styles (strict CSP: style-src self) ---- */
.tx { color: var(--tx); }
.dim { color: var(--tx-3); }
.sw--teams   { background: #b79cff; }
.sw--pp      { background: #6fd39a; }
.sw--foundry { background: #e8a35a; }
.sw--sp      { background: #4fd0d6; }
.sw--entra   { background: #d98fd0; }
.sw--sc      { background: #ff7a6b; }
.sw--aws     { background: #ff9900; }
.sw--gcp     { background: #4285f4; }
.sw--sf      { background: #00a1e0; }
.sw--dbx     { background: #ff3621; }
.sw--snow    { background: #62d84e; }
.secure__h2   { font-size: clamp(28px,3.4vw,40px); letter-spacing: -0.02em; margin: 14px 0 16px; line-height: 1.1; }
.secure__lead { font-size: 17px; color: var(--tx-2); margin: 0; line-height: 1.55; }
.btn--email   { margin-top: 2px; display: inline-flex; width: auto; white-space: nowrap; }
/* The footer link rule (.footer__col a, specificity 0,1,1) beats the button
   classes (0,1,0) and strips the email button's padding / color / font-size,
   leaving "Email Frane" squashed against the column edge. Restore the .btn
   metrics at equal-or-higher specificity, scoped to the footer. */
.footer__col a.btn--email {
  padding: 8px 14px;
  font-size: 13.5px;
  color: #fff;
}
.footer__col a.btn--email:hover { color: #fff; }
.fine a.link  { color: var(--accent-text); text-decoration: underline; }


/* FAQ bullet list (in answer body) */
.faq .a .faq-list { margin: 10px 0 0; padding-left: 20px; line-height: 1.7; }
.faq .a .faq-list li { margin-bottom: 4px; }
