:root {
  --bg: #fafafa;
  --panel: #fff;
  --rail: #f5f5f3;
  --inset: #efefed;
  --ink: #242424;
  --muted: #686864;
  --line: #e3e3df;
  --accent: #752c46;
  --wash: #f5ebef;
  --shadow: 0 12px 40px #23202214;
  --sans:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  --serif:
    Georgia, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #080808;
  --panel: #101010;
  --rail: #111110;
  --inset: #232321;
  --ink: #f4f4f1;
  --muted: #aaa9a4;
  --line: #30302e;
  --accent: #e3aabd;
  --wash: #36252c;
  --shadow: 0 12px 40px #0006;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 15px/1.5 var(--sans);
}
[hidden] {
  display: none !important;
}
button,
a,
textarea,
input {
  font: inherit;
}
a,
button {
  color: inherit;
}
a {
  text-decoration: none;
}
button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 99;
  background: var(--panel);
  padding: 10px;
}
.skip:focus {
  top: 4px;
}
.topbar {
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - 1184px) / 2));
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.top-left,
.brand,
.menu-trigger,
.account-trigger,
.icon-btn,
.menu-home,
.side-item,
.mobile-rail {
  display: flex;
  align-items: center;
}
.top-left {
  gap: 22px;
}
.brand {
  gap: 10px;
}
.brand strong {
  font-size: 17px;
  letter-spacing: 0.06em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  background: #121212;
  display: grid;
  place-items: center;
  border-radius: 7px;
}
.brand-mark img {
  width: 31px;
  height: 31px;
}
.brand-word,
#who,
.eyebrow,
.meta {
  font: 12px var(--mono);
  letter-spacing: 0.055em;
}
.brand-word {
  color: var(--muted);
}
.menu-trigger,
.account-trigger {
  gap: 8px;
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 40px;
}
.account-trigger:hover,
.icon-btn:hover {
  background: var(--rail);
}
.account-trigger[aria-expanded="true"] {
  background: var(--inset);
}
[data-icon="down"] svg {
  width: 13px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--panel);
  font: 600 13px var(--mono);
}
.icon-btn {
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: var(--muted);
}
.flyout {
  position: fixed;
  top: 56px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: auto;
  overscroll-behavior: contain;
}
.view-heading,
.actions,
.title-line,
.pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.eyebrow {
  font-size: 11px;
  color: var(--accent);
}
h1,
h2,
h3,
p {
  margin: 0;
}
.account-menu {
  right: max(16px, calc((100% - 1184px) / 2));
  width: 306px;
  padding: 16px;
}
.account-caption {
  padding: 3px 8px 12px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 9px;
  border-radius: 7px;
  font-size: 14px;
  text-align: left;
}
.action-row:hover {
  background: var(--rail);
}
.action-row span {
  color: var(--muted);
}
.workspace {
  height: calc(100dvh - 64px);
  display: flex;
}
#sidebar {
  width: 216px;
  flex: none;
  background: var(--rail);
  display: flex;
  flex-direction: column;
  padding: 18px 12px;
  gap: 14px;
  overflow: auto;
}
.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.side-head strong {
  font-size: 16px;
  padding-left: 5px;
}
.side-head .icon-btn {
  background: var(--inset);
}
.side-nav,
.side-foot nav {
  display: grid;
  gap: 3px;
}
.side-item {
  border-radius: 7px;
  min-height: 37px;
  gap: 12px;
  text-align: left;
  width: 100%;
  padding: 7px 10px;
  font-size: 14px;
}
.side-item svg {
  color: var(--muted);
}
.side-item:hover,
.side-item.active {
  background: var(--inset);
}
.history,
.side-foot {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.history {
  overflow: auto;
  min-height: 0;
}
.side-foot {
  margin-top: auto;
}
.history h2,
.side-foot h2 {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin: 0 6px 7px;
}
.history .empty {
  font-size: 12px;
  color: var(--muted);
  padding: 2px 6px;
}
.history-entry {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-size: 13px;
  padding: 7px 6px;
  border-radius: 6px;
}
.history-entry:hover {
  background: var(--inset);
}
#main {
  min-width: 0;
  flex: 1;
  overflow: auto;
  outline: 0;
}
#view {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.welcome {
  width: min(750px, 100%);
  margin: auto;
  display: grid;
  gap: 22px;
  justify-items: center;
  padding: 44px 12px 9vh;
}
.welcome h1 {
  font: 500 clamp(30px, 3vw, 42px)/1.2 var(--serif);
  letter-spacing: -0.04em;
}
.welcome h1 em {
  font:
    500 clamp(48px, 5vw, 70px)/1 Georgia,
    serif;
  letter-spacing: -0.045em;
  margin-left: 8px;
}
.welcome h1 b {
  color: var(--accent);
  font-weight: inherit;
}
.lead {
  color: var(--muted);
  font-size: 18px;
}
.composer {
  width: 100%;
  padding: 18px 21px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 2px 6px #00000003;
}
.composer:focus-within {
  border-color: var(--muted);
}
textarea {
  width: 100%;
  height: 75px;
  resize: vertical;
  max-height: 35vh;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
}
.composer textarea:focus {
  outline: none;
}
.composer .actions {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.send {
  color: var(--panel);
  background: var(--ink);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.suggestion {
  width: 100%;
  padding: 8px 10px;
  color: var(--muted);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
}
.suggestion:hover {
  color: var(--accent);
  border-color: var(--line);
}
.page {
  max-width: 960px;
  width: 100%;
  padding: 40px clamp(20px, 4vw, 62px);
  margin: 0 auto;
}
.page h1 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin: 8px 0 20px;
}
.page h2 {
  font-size: 18px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  gap: 18px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  background: var(--ink);
  color: var(--panel);
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
}
.pref {
  border-bottom: 1px solid var(--line);
  padding: 8px 0 14px;
}
.pref input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.detail-value {
  font-family: var(--mono);
  overflow-wrap: anywhere;
}
.mobile-rail,
.mobile-shade {
  display: none;
}
#notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  background: var(--ink);
  color: var(--panel);
  border-radius: 8px;
  padding: 9px 16px;
  z-index: 40;
  font-size: 14px;
}
.auth-error {
  max-width: 540px;
  margin: 15vh auto;
  padding: 26px;
  display: grid;
  gap: 15px;
}
.auth-error a {
  color: var(--accent);
}
@media (min-width: 761px) {
  body.folded #sidebar {
    width: 64px;
    padding: 18px 8px;
  }
  body.folded .side-item,
  body.folded .side-head {
    justify-content: center;
  }
  body.folded .side-item span,
  body.folded .side-head strong,
  body.folded .side-foot h2,
  body.folded .history {
    display: none;
  }
  body.folded #collapse svg {
    transform: rotate(180deg);
  }
}
@media (max-width: 760px) {
  .topbar {
    padding: 0 10px;
    height: 56px;
  }
  .workspace {
    height: calc(100dvh - 56px);
  }
  .brand-word {
    display: none;
  }
  .brand strong {
    font-size: 15px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .brand-mark img {
    width: 26px;
    height: 26px;
  }
  .brand,
  .top-left {
    gap: 8px;
  }
  .account-trigger {
    padding: 5px;
    gap: 4px;
  }
  #who {
    max-width: 80px;
  }
  .account-menu {
    top: 51px;
    right: 8px;
    width: min(306px, 95vw);
  }
  #sidebar {
    display: none;
  }
  body.rail-open #sidebar {
    display: flex;
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    width: min(280px, 84vw);
    z-index: 16;
    box-shadow: var(--shadow);
  }
  .mobile-shade:not([hidden]) {
    display: block;
    position: fixed;
    inset: 56px 0 0;
    background: #0003;
    z-index: 15;
  }
  .mobile-rail {
    display: flex;
    margin: 12px 16px 0;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    padding: 6px 9px;
    border-radius: 7px;
    background: var(--rail);
  }
  #view {
    min-height: calc(100% - 45px);
  }
  .welcome {
    padding: 28px 18px 6vh;
    gap: 18px;
  }
  .welcome h1 {
    font-size: 29px;
  }
  .welcome h1 em {
    font-size: 47px;
  }
  .lead {
    font-size: 16px;
  }
  .composer {
    padding: 15px;
  }
  .page {
    padding: 24px 16px;
  }
  .panel {
    padding: 18px;
  }
  .pref {
    align-items: flex-start;
  }
}

/* The product directory belongs to the top bar; only the page behind it softens. */
:root {
  --nav-height: 64px;
  --gutter: max(24px, calc((100vw - 1184px) / 2));
}
.menu-trigger {
  background: transparent;
  padding: 8px 2px;
  font-size: 15px;
}
.menu-trigger:hover,
.menu-trigger[aria-expanded="true"] {
  color: var(--accent);
}
.directory {
  position: absolute;
  inset: 100% 0 auto;
  width: 100%;
  max-height: calc(100dvh - var(--nav-height));
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--panel);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 140ms ease,
    transform 200ms ease,
    visibility 0s 200ms;
}
.directory[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}
.directory-inner {
  position: relative;
  max-width: 1232px;
  margin: auto;
  padding: 40px 24px 50px;
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) minmax(150px, 0.75fr) minmax(
      140px,
      1fr
    );
  gap: 32px;
}
.directory-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.directory-group h2 {
  font-size: 13px;
  font-weight: 450;
  color: var(--muted);
  margin: 0 0 7px;
}
.directory-group a {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.55;
  padding: 2px 0;
}
.directory-group a:hover,
.directory-group a:focus-visible {
  color: var(--accent);
}
.primary-links a {
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.25;
  letter-spacing: -0.045em;
  font-weight: 650;
}
.directory .close-menu {
  position: absolute;
  right: 24px;
  top: 28px;
}
.menu-veil {
  position: fixed;
  inset: var(--nav-height) 0 0;
  z-index: 19;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  background: color-mix(in srgb, var(--panel) 39%, transparent);
  backdrop-filter: blur(13px) saturate(0.75);
  -webkit-backdrop-filter: blur(13px) saturate(0.75);
  transition:
    opacity 240ms ease,
    visibility 0s 240ms;
}
.directory-open .menu-veil {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}
.company-page {
  display: none;
}
.company-home .company-page {
  display: block;
}
.company-home #sidebar,
.company-home #open-rail,
.company-home #view {
  display: none;
}
.company-home .workspace {
  display: block;
  height: auto;
}
.company-home #main {
  overflow: visible;
}
.page-width {
  max-width: 1232px;
  margin-inline: auto;
  padding-inline: 24px;
}
.brand-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #070d18;
  color: #fff;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 78%;
  height: 100%;
  background: url("/assets/evidence-city.webp") center center / cover no-repeat;
  z-index: -2;
}
.brand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #070d18 8%,
    #070d18 21%,
    #070d18ec 32%,
    #070d18a8 45%,
    #070d1828 65%,
    #070d1810
  );
}
.hero-copy {
  min-height: clamp(430px, 37vw, 570px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 58px;
}
.brand-motto {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #c0ccdc;
  margin-bottom: 23px;
}
.hero-copy h1 {
  font: 600 clamp(42px, 4.8vw, 72px)/1.14 var(--sans);
  letter-spacing: -0.06em;
}
.hero-intro {
  max-width: 31em;
  margin-top: 21px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.85;
  color: #d1d9e4;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 9px 18px;
  border-radius: 22px;
  color: #16202c;
  background: #f4f6f9;
  font-size: 14px;
  font-weight: 600;
}
.hero-link:hover {
  background: #fff;
}
#brand-heading {
  scroll-margin-top: calc(var(--nav-height) + 45px);
}
@media (max-width: 760px) {
  :root {
    --nav-height: 56px;
  }
  .topbar {
    padding: 0 16px;
  }
  .top-left {
    gap: 20px;
  }
  .directory-inner {
    padding: 26px 22px 32px;
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }
  .primary-links {
    grid-column: 1/-1;
  }
  .directory-group {
    gap: 4px;
  }
  .primary-links a {
    font-size: 22px;
    padding: 4px 0;
  }
  .directory-group h2 {
    margin-bottom: 4px;
  }
  .directory .close-menu {
    right: 16px;
    top: 16px;
  }
  .page-width {
    padding-inline: 22px;
  }
  .hero-copy {
    min-height: 480px;
    padding-top: 36px;
    padding-bottom: 32px;
    justify-content: flex-end;
  }
  .hero-art {
    inset: 0 0 auto;
    width: 100%;
    height: 67%;
    background-position: 55% 45%;
  }
  .brand-hero::before {
    background: linear-gradient(
      0deg,
      #070d18 2%,
      #070d18 27%,
      #070d18ef 39%,
      #070d1890 56%,
      #070d1810 84%
    );
  }
  .brand-motto {
    margin-bottom: 12px;
  }
  .hero-intro {
    margin-top: 12px;
    font-size: 14px;
    max-width: 32em;
  }
  .hero-link {
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .directory,
  .menu-veil {
    transition: none;
  }
}
.top-left {
  height: 100%;
}
#products-wrap {
  align-self: stretch;
  display: flex;
  align-items: center;
}
.directory[aria-hidden="false"] {
  box-shadow: 0 16px 26px -18px
    color-mix(in srgb, var(--panel) 85%, transparent);
}
