@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.hugeicons.com/font/hgi-stroke-rounded.css');

:root {
  --bg: #0b1016;
  --bg-2: #0d131a;
  --surface: #111820;
  --surface-2: #151d27;
  --elev: #1a2430;
  --hover: #1d2834;
  --line: #1e2935;
  --line-2: #2b3947;
  --text: #f5f7fa;
  --muted: #aebac8;
  --quiet: #78889a;
  --cyan: #08dff1;
  --cyan-hover: #35e8f5;
  --cyan-ink: #031b20;
  --cyan-soft: rgba(8, 223, 241, 0.1);
  --cyan-line: rgba(8, 223, 241, 0.35);
  --blue: #4c7dff;
  --ok: #22c98b;
  --ok-soft: rgba(34, 201, 139, 0.12);
  --warn: #f5b942;
  --warn-soft: rgba(245, 185, 66, 0.12);
  --danger: #f2667a;
  --danger-soft: rgba(242, 102, 122, 0.12);
  --dev: #7aa7ff;
  --dev-soft: rgba(122, 167, 255, 0.13);
  --stg: #f5b942;
  --stg-soft: rgba(245, 185, 66, 0.13);
  --prd: #f2667a;
  --prd-soft: rgba(242, 102, 122, 0.13);
  --custom: #b59cff;
  --custom-soft: rgba(181, 156, 255, 0.13);
  --code-bg: #080c11;
  --shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --r-xs: 4px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

[data-theme='light'] {
  --bg: #f4f7fb;
  --bg-2: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --elev: #e7eef6;
  --hover: #eef3f9;
  --line: #e1e8f0;
  --line-2: #d3dde8;
  --text: #0b1016;
  --muted: #3c4b5c;
  --quiet: #5c6d80;
  --cyan: #0796a3;
  --cyan-hover: #067f8a;
  --cyan-ink: #ffffff;
  --cyan-soft: rgba(7, 150, 163, 0.09);
  --cyan-line: rgba(7, 150, 163, 0.4);
  --ok: #0f8a5c;
  --ok-soft: #e5f8f0;
  --warn: #9a6a10;
  --warn-soft: #fff6e0;
  --danger: #c2334a;
  --danger-soft: #fdecef;
  --dev: #2f5fd0;
  --dev-soft: #e8efff;
  --stg: #9a6a10;
  --stg-soft: #fff4dc;
  --prd: #c2334a;
  --prd-soft: #fdecef;
  --custom: #6d4fd6;
  --custom-soft: #f0ebff;
  --code-bg: #0b1016;
  --shadow:
    0 1px 2px rgba(11, 16, 22, 0.05), 0 18px 40px -24px rgba(11, 16, 22, 0.25);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

code,
pre,
kbd,
.mono {
  font-family: var(--mono);
  font-feature-settings: 'zero' 1;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

::selection {
  background: var(--cyan);
  color: var(--cyan-ink);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.hgi {
  line-height: 1;
  display: inline-block;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--muted);
}

.quiet {
  color: var(--quiet);
}

.ok {
  color: var(--ok);
}

.danger {
  color: var(--danger);
}

.cyan {
  color: var(--cyan);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease),
    color 0.15s var(--ease),
    transform 0.1s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn .hgi {
  font-size: 17px;
}

.btn-primary {
  background: var(--cyan);
  color: var(--cyan-ink);
}

.btn-primary:hover {
  background: var(--cyan-hover);
}

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--line-2);
}

.btn-secondary:hover {
  background: var(--hover);
}

.btn-ghost {
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--hover);
}

.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: transparent;
}

.btn-danger:hover {
  border-color: var(--danger);
}

.btn-sm {
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
  gap: 6px;
}

.btn-sm .hgi {
  font-size: 15px;
}

.btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  color: var(--quiet);
  transition:
    background 0.15s,
    color 0.15s;
}

.icon-btn:hover {
  background: var(--hover);
  color: var(--text);
}

.icon-btn .hgi {
  font-size: 17px;
}

.icon-btn.is-done {
  color: var(--ok);
}

/* badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-xs);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--elev);
  color: var(--muted);
}

.badge .hgi {
  font-size: 13px;
}

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.label-development {
  background: var(--dev-soft);
  color: var(--dev);
}

.label-staging {
  background: var(--stg-soft);
  color: var(--stg);
}

.label-production {
  background: var(--prd-soft);
  color: var(--prd);
}

.label-custom {
  background: var(--custom-soft);
  color: var(--custom);
}

.badge-ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.badge-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge-cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.kbd,
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-2);
  font-size: 11px;
  color: var(--quiet);
  font-family: var(--mono);
}

/* forms */
.field {
  display: grid;
  gap: 6px;
}

.field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.field-hint {
  font-size: 12.5px;
  color: var(--quiet);
}

.input,
.select,
.textarea {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  transition:
    border-color 0.15s,
    background 0.15s;
}

.textarea {
  height: auto;
  padding: 12px;
  resize: vertical;
  line-height: 1.6;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--quiet);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--quiet);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--surface);
}

.input.is-invalid {
  border-color: var(--danger);
}

.select {
  appearance: none;
  padding-right: 32px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--quiet) 50%),
    linear-gradient(135deg, var(--quiet) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 16px,
    calc(100% - 12px) 16px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}

.search .hgi {
  position: absolute;
  left: 11px;
  font-size: 16px;
  color: var(--quiet);
  pointer-events: none;
}

.search .input {
  padding-left: 34px;
}

.search .kbd {
  position: absolute;
  right: 9px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
}

.check input {
  appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: var(--r-xs);
  border: 1.5px solid var(--line-2);
  background: var(--bg-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.check input:checked {
  background: var(--cyan);
  border-color: var(--cyan);
}

.check input:checked::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--cyan-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.segmented {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.segmented button {
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-xs);
  font-size: 13px;
  color: var(--quiet);
  font-weight: 500;
}

.segmented button:hover {
  color: var(--text);
}

.segmented button[aria-selected='true'],
.segmented button[aria-pressed='true'] {
  background: var(--elev);
  color: var(--text);
}

/* code */
.code {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: #d8e1ea;
  overflow: hidden;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: #8796a8;
}

.code-head .icon-btn {
  color: #8796a8;
}

.code-head .icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.code pre {
  margin: 0;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  tab-size: 2;
}

.tok-k {
  color: #08dff1;
}

.tok-s {
  color: #9be3b5;
}

.tok-c {
  color: #66768a;
}

.tok-n {
  color: #f5b942;
}

.tok-p {
  color: #b59cff;
}

.tok-v {
  color: #f5f7fa;
}

/* table */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}

.table-scroll {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.table th {
  text-align: left;
  font-weight: 500;
  color: var(--quiet);
  font-size: 12.5px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  white-space: nowrap;
}

.table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover td {
  background: var(--surface-2);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--quiet);
  flex-wrap: wrap;
}

.pager-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pager-controls button {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pager-controls button:hover:not([disabled]) {
  background: var(--hover);
  color: var(--text);
}

.pager-controls button[aria-current='page'] {
  background: var(--elev);
  color: var(--text);
}

.pager-controls button[disabled] {
  opacity: 0.35;
  cursor: default;
}

/* avatar */
.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  color: #0b1016;
}

.avatar-lg {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.avatar-token {
  border-radius: var(--r-xs);
  background: var(--elev);
  color: var(--cyan);
}

.avatar-token .hgi {
  font-size: 14px;
}

/* toast */
.toast-region {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1300;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r);
  background: var(--elev);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  pointer-events: auto;
  animation: toast-in 0.25s var(--ease);
}

.toast .hgi {
  color: var(--ok);
  font-size: 17px;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ============ marketing ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 600;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  height: 62px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.site-nav a {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text);
}

.site-nav a[aria-current='page'] {
  background: var(--surface-2);
}

.site-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.menu-btn {
  display: none;
}

@media (max-width: 760px) {
  .site-nav,
  .site-actions .btn-ghost {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    margin-left: auto;
  }

  .site-actions {
    margin-left: 0;
  }

  .site-header.is-open .site-nav {
    display: grid;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    padding: 12px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav a {
    padding: 12px;
    font-size: 16px;
  }
}

.section {
  padding: 112px 0;
}

.section-tight {
  padding: 72px 0;
}

.display {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 54ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid h4 {
  font-size: 13px;
  color: var(--quiet);
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid a {
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-base {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--quiet);
  font-size: 13px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* hero */
.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.hero-top .display {
  max-width: 15ch;
}

.hero-side {
  display: grid;
  gap: 22px;
  padding-bottom: 6px;
}

.hero-side .lead {
  font-size: 17px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.spec-line {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--quiet);
}

.spec-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spec-line .hgi {
  color: var(--cyan);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* boundary demo */
.boundary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.boundary-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.boundary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  min-height: 56px;
}

.boundary-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
}

.boundary-title .hgi {
  font-size: 18px;
  color: var(--quiet);
}

.boundary-title small {
  color: var(--quiet);
  font-weight: 400;
  font-size: 13px;
}

.env-editor {
  flex: 1;
  min-height: 260px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  resize: none;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text);
}

.env-editor:focus {
  outline: none;
  background: var(--surface-2);
}

.key-strip {
  margin: 0 14px 14px;
  padding: 12px 14px;
  border-radius: var(--r);
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-line);
  display: grid;
  gap: 6px;
}

.key-strip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--cyan);
  font-weight: 500;
}

.key-strip-top span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.key-value {
  font-family: var(--mono);
  font-size: 13px;
  word-break: break-all;
  color: var(--text);
  letter-spacing: 0.02em;
}

.wire {
  position: relative;
  border-left: 1px dashed var(--line-2);
  border-right: 1px dashed var(--line-2);
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 7px,
    var(--line) 7px 8px
  );
  display: grid;
  place-items: end center;
  padding-bottom: 18px;
}

.wire-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--quiet);
  background: var(--surface);
  padding: 12px 4px;
  border-radius: var(--r-xs);
  letter-spacing: 0.04em;
}

.packet {
  position: absolute;
  left: 50%;
  top: 72px;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--cyan-line);
  display: grid;
  place-items: center;
  color: var(--cyan);
}

.packet .hgi {
  font-size: 16px;
}

.packet.is-moving {
  animation: packet 0.7s var(--ease);
}

@keyframes packet {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
  }
}

.envelope-view {
  flex: 1;
  margin: 0;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--muted);
}

.envelope-view .tok-k {
  color: var(--quiet);
}

.envelope-view .tok-s {
  color: var(--text);
}

.envelope-view .cipher {
  color: var(--cyan);
}

[data-theme='light'] .envelope-view .cipher {
  color: #067f8a;
}

.boundary-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--quiet);
  min-height: 54px;
  flex-wrap: wrap;
}

.meter {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
}

.meter b {
  color: var(--text);
  font-weight: 500;
}

.verify-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .boundary {
    grid-template-columns: 1fr;
  }

  .wire {
    height: 56px;
    border: 0;
    border-top: 1px dashed var(--line-2);
    border-bottom: 1px dashed var(--line-2);
  }

  .wire {
    place-items: center;
    padding-bottom: 0;
  }

  .wire-label {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 4px 10px;
  }

  .packet {
    display: none;
  }

  .boundary-title small {
    display: none;
  }

  .env-editor {
    min-height: 200px;
  }
}

/* path of a secret */
.journey {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  grid-template-areas: 'title stage' 'steps stage';
  gap: 0 56px;
  align-items: start;
}

.journey-title {
  grid-area: title;
  margin: 0 0 28px 16px;
  max-width: 14ch;
}

.journey-steps {
  grid-area: steps;
}

.journey-stage {
  grid-area: stage;
}

.journey-steps {
  display: grid;
  gap: 4px;
}

.journey-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  text-align: left;
  padding: 18px 16px;
  border-radius: var(--r);
  color: var(--quiet);
  transition:
    background 0.2s,
    color 0.2s;
  min-height: 40vh;
  align-content: start;
}

.journey-step:hover {
  color: var(--muted);
}

.journey-step.is-active {
  background: var(--surface);
  color: var(--text);
}

.journey-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
}

.journey-step.is-active .journey-num {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--cyan-ink);
}

.journey-step h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 3px 0 8px;
}

.journey-step p {
  font-size: 15px;
  color: inherit;
  max-width: 42ch;
}

.journey-step.is-active p {
  color: var(--muted);
}

.journey-stage {
  position: sticky;
  top: 96px;
  min-height: 460px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage-panel {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    visibility 0.35s;
}

.stage-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.stage-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--quiet);
}

.stage-caption span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

@media (max-width: 900px) {
  .journey {
    grid-template-columns: 1fr;
    grid-template-areas: 'title' 'stage' 'steps';
    gap: 20px;
  }

  .journey-title {
    margin: 0;
  }

  .journey-step {
    min-height: 0;
  }

  .journey-stage {
    position: relative;
    top: 0;
    min-height: 560px;
  }
}

.mini-env {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 13px;
  overflow: hidden;
}

.mini-env-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  padding: 4px 0;
}

.mini-env-row > span:first-child {
  color: var(--quiet);
  text-align: right;
  padding-right: 10px;
  user-select: none;
}

.mini-env-row .k {
  color: var(--cyan);
}

.mini-env-row .v {
  color: var(--text);
}

.progress-line {
  height: 4px;
  border-radius: 2px;
  background: var(--elev);
  overflow: hidden;
}

.progress-line i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cyan);
  transform-origin: left;
  animation: grow 1.6s var(--ease) both;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

.key-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  padding: 22px;
  display: grid;
  gap: 16px;
}

.key-card-title {
  display: flex;
  gap: 12px;
  align-items: center;
}

.key-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--cyan-soft);
  color: var(--cyan);
  display: grid;
  place-items: center;
}

.key-card-icon .hgi {
  font-size: 21px;
}

.key-box {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  padding: 16px;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px dashed var(--cyan-line);
  word-break: break-all;
  text-align: center;
}

.notice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r);
  font-size: 13.5px;
  line-height: 1.5;
  background: var(--elev);
  color: var(--muted);
}

.notice .hgi {
  font-size: 18px;
  flex: none;
  margin-top: 1px;
}

.notice-warn {
  background: var(--warn-soft);
  color: var(--text);
}

.notice-warn .hgi {
  color: var(--warn);
}

.notice-danger {
  background: var(--danger-soft);
  color: var(--text);
}

.notice-danger .hgi {
  color: var(--danger);
}

.notice-ok {
  background: var(--ok-soft);
  color: var(--text);
}

.notice-ok .hgi {
  color: var(--ok);
}

.notice-cyan {
  background: var(--cyan-soft);
  color: var(--text);
}

.notice-cyan .hgi {
  color: var(--cyan);
}

.db-row {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  font-size: 13px;
}

.db-row > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}

.db-row > div:last-child {
  border-bottom: 0;
}

.db-row dt {
  color: var(--quiet);
  font-family: var(--mono);
}

.db-row dd {
  margin: 0;
  font-family: var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-lines {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
}

.terminal-lines .prompt {
  color: var(--cyan);
}

.terminal-lines .out {
  color: #8796a8;
}

/* inspector */
.inspector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.inspector-table {
  min-width: 0;
}

.inspector .table-wrap {
  border: 0;
  border-radius: 0;
}

.inspector .table td:first-child {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 13px;
}

.inspector .value-cell {
  font-family: var(--mono);
  font-size: 13px;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inspector tr.is-absent td {
  color: var(--quiet);
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 8px,
    var(--bg-2) 8px 9px
  );
}

.inspector tr.is-absent .value-cell {
  font-style: italic;
  font-family: var(--sans);
}

.readable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.readable .hgi {
  font-size: 16px;
}

.inspector-side {
  border-left: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--surface-2);
}

.tally {
  display: grid;
  gap: 4px;
}

.tally strong {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tally span {
  color: var(--muted);
  font-size: 14px;
}

.tally-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
}

.tally-bar i {
  display: block;
  height: 100%;
}

@media (max-width: 960px) {
  .inspector {
    grid-template-columns: 1fr;
  }

  .inspector-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* product preview with hotspots */
.preview-shell {
  position: relative;
}

.preview-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-bottom: 0;
  overflow: hidden;
  background: var(--surface);
}

.legend-item {
  text-align: left;
  padding: 18px 20px;
  display: grid;
  gap: 6px;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}

.legend-item:last-child {
  border-right: 0;
}

.legend-item:hover,
.legend-item.is-active {
  background: var(--surface-2);
}

.legend-item strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.legend-item strong .hgi {
  font-size: 18px;
  color: var(--quiet);
  transition: color 0.2s;
}

.legend-item.is-active strong .hgi {
  color: var(--cyan);
}

.legend-item span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .preview-legend {
    grid-template-columns: 1fr 1fr;
  }

  .legend-item:nth-child(2) {
    border-right: 0;
  }

  .legend-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

.mock {
  border: 1px solid var(--line-2);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  display: grid;
  grid-template-columns: 200px 300px minmax(0, 1fr);
  height: 560px;
  font-size: 13px;
  box-shadow: var(--shadow);
}

.mock [data-zone] {
  transition:
    box-shadow 0.25s var(--ease),
    opacity 0.25s;
  border-radius: var(--r-sm);
}

.mock.has-focus [data-zone] {
  opacity: 0.4;
}

.mock.has-focus [data-zone].is-lit {
  opacity: 1;
  box-shadow: 0 0 0 1.5px var(--cyan);
}

@media (max-width: 1000px) {
  .mock {
    grid-template-columns: 0 260px minmax(0, 1fr);
  }

  .mock > .mock-side {
    display: none;
  }
}

@media (max-width: 680px) {
  .mock {
    grid-template-columns: 1fr;
    height: auto;
  }

  .mock > .mock-list {
    display: none;
  }
}

.mock-side {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-list {
  border-right: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}

.mock-detail {
  padding: 22px 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* tabs for deploy */
.deploy {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.deploy-tabs {
  display: grid;
  gap: 2px;
}

.deploy-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--muted);
  text-align: left;
}

.deploy-tab small {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--quiet);
}

.deploy-tab:hover {
  background: var(--surface);
  color: var(--text);
}

.deploy-tab[aria-selected='true'] {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.deploy-panel[hidden] {
  display: none;
}

.deploy-panel {
  display: grid;
  gap: 14px;
}

.deploy-panel .code pre {
  max-height: 420px;
}

.cred-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
}

.cred {
  padding: 12px 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 2px;
}

.cred code {
  font-size: 13px;
}

.cred span {
  color: var(--quiet);
  font-size: 12.5px;
}

.cred-pair > .hgi {
  color: var(--quiet);
  font-size: 18px;
}

@media (max-width: 860px) {
  .deploy {
    grid-template-columns: 1fr;
  }

  .deploy-tabs {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 4px;
  }

  .deploy-tab {
    flex: none;
    gap: 8px;
  }

  .deploy-tab small {
    display: none;
  }

  .cred-pair {
    grid-template-columns: 1fr;
  }

  .cred-pair > .hgi {
    display: none;
  }
}

/* pricing calc */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}

.calc-input {
  padding: 36px;
  display: grid;
  gap: 28px;
  align-content: start;
}

.calc-out {
  padding: 36px;
  background: var(--surface-2);
  border-left: 1px solid var(--line);
  display: grid;
  gap: 20px;
  align-content: start;
}

.people-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.people-count output {
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.people-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 34px;
}

.people-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.9;
}

.people-dots i.is-free {
  background: var(--ok);
}

.range {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    var(--cyan) var(--fill, 10%),
    var(--elev) var(--fill, 10%)
  );
  cursor: pointer;
}

.range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  border: 4px solid var(--cyan);
  cursor: grab;
}

.range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text);
  border: 4px solid var(--cyan);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--quiet);
  font-family: var(--mono);
  margin-top: 8px;
}

.price-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-big strong {
  font-size: 72px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.price-big span {
  color: var(--muted);
}

.per-person {
  display: grid;
  gap: 8px;
}

.per-person-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.per-person-row .bar {
  height: 8px;
  border-radius: 4px;
  background: var(--elev);
  overflow: hidden;
}

.per-person-row .bar i {
  display: block;
  height: 100%;
  background: var(--quiet);
  border-radius: 4px;
}

.per-person-row.is-you .bar i {
  background: var(--cyan);
}

.per-person-row.is-you {
  color: var(--text);
  font-weight: 500;
}

.per-person-row b {
  text-align: right;
  font-family: var(--mono);
  font-weight: 500;
}

@media (max-width: 860px) {
  .calc {
    grid-template-columns: 1fr;
  }

  .calc-out {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .calc-input,
  .calc-out {
    padding: 24px;
  }
}

/* trade-off */
.tradeoff {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.tradeoff-quote {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.tradeoff-quote em {
  font-style: normal;
  color: var(--danger);
}

.mitigations {
  display: grid;
  gap: 2px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.mitigation {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
}

.mitigation .hgi {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  background: var(--elev);
  color: var(--cyan);
}

.mitigation strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.mitigation span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .tradeoff {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.cta-band {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* page head for inner marketing pages */
.page-head {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-head .display {
  font-size: clamp(36px, 5vw, 60px);
  max-width: 18ch;
}

.page-head .lead {
  margin-top: 18px;
}

/* plans */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.plan {
  padding: 32px;
  display: grid;
  gap: 22px;
  align-content: start;
}

.plan + .plan {
  border-left: 1px solid var(--line);
  background: var(--surface-2);
}

.plan-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price strong {
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.plan-price span {
  color: var(--muted);
}

.plan-list {
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.plan-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan-list .hgi {
  color: var(--ok);
  font-size: 18px;
  margin-top: 1px;
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.compare .table td:not(:first-child),
.compare .table th:not(:first-child) {
  text-align: center;
  width: 22%;
}

.compare .hgi {
  font-size: 18px;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  font-size: 15.5px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .hgi {
  color: var(--quiet);
  transition: transform 0.2s;
  flex: none;
}

.faq details[open] summary .hgi {
  transform: rotate(45deg);
}

.faq details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 60ch;
}

@media (max-width: 760px) {
  .faq {
    grid-template-columns: 1fr;
  }
}

/* security flow diagram */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.7fr) minmax(
      0,
      1fr
    ) minmax(120px, 0.7fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.flow-node {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-node header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-node header .hgi {
  font-size: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: var(--elev);
}

.flow-node.is-trusted header .hgi {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.flow-node h3 {
  font-size: 15.5px;
  font-weight: 600;
}

.flow-node header small {
  display: block;
  color: var(--quiet);
  font-size: 12.5px;
}

.holds {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.holds li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 12.5px;
}

.holds li .hgi {
  font-size: 15px;
}

.holds li.no {
  color: var(--quiet);
  text-decoration: line-through;
  text-decoration-color: var(--line-2);
}

.flow-edge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
  position: relative;
}

.flow-edge::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed var(--line-2);
}

.edge-chip {
  position: relative;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: nowrap;
}

.edge-chip.is-key {
  color: var(--danger);
  border-color: var(--danger-soft);
}

.edge-chip .hgi {
  font-size: 13px;
}

@media (max-width: 1000px) {
  .flow {
    grid-template-columns: 1fr;
  }

  .flow-edge {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .flow-edge::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    border-top: 0;
    border-left: 1px dashed var(--line-2);
  }
}

.threats .table td {
  vertical-align: top;
  padding: 16px 14px;
}

.threats .table td:first-child {
  font-weight: 500;
  width: 26%;
}

.threats .table td:nth-child(2) {
  width: 20%;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.spec-grid > div {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 4px;
}

.spec-grid > div:nth-child(3n) {
  border-right: 0;
}

.spec-grid > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.spec-grid dt {
  font-size: 12.5px;
  color: var(--quiet);
}

.spec-grid dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
}

@media (max-width: 760px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid > div {
    border-right: 0;
  }

  .spec-grid > div:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .spec-grid > div:last-child {
    border-bottom: 0;
  }
}

/* about scatter */
.scatter {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 80px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.copies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.copy-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 14px;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.copy-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
}

.copy-card header span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.copy-card header .hgi {
  font-size: 17px;
  color: var(--quiet);
}

.copy-card pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--danger);
  background: var(--danger-soft);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  overflow: hidden;
  white-space: pre;
  text-overflow: ellipsis;
}

.scatter-arrow {
  display: grid;
  place-items: center;
  color: var(--quiet);
  font-size: 26px;
}

.one-copy {
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.one-copy pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--cyan);
  background: var(--bg-2);
  padding: 12px;
  border-radius: var(--r-sm);
  white-space: pre-wrap;
  word-break: break-all;
}

@media (max-width: 900px) {
  .scatter {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scatter-arrow {
    transform: rotate(90deg);
  }
}

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.audience > div {
  padding: 28px 28px 0 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.audience > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.audience .hgi {
  font-size: 24px;
  color: var(--cyan);
}

.audience p {
  color: var(--muted);
  font-size: 14.5px;
}

.audience .is-not .hgi {
  color: var(--quiet);
}

@media (max-width: 860px) {
  .audience {
    grid-template-columns: 1fr;
  }

  .audience > div,
  .audience > div + div {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* docs */
.docs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding: 40px 0 96px;
}

.docs-nav {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  gap: 18px;
  font-size: 14px;
}

.docs-nav h4 {
  font-size: 12.5px;
  color: var(--quiet);
  font-weight: 500;
  margin-bottom: 6px;
}

.docs-nav a {
  display: block;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  color: var(--muted);
}

.docs-nav a:hover {
  color: var(--text);
}

.docs-nav a.is-active {
  background: var(--surface-2);
  color: var(--text);
}

.doc-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 70px;
}

.doc-section:first-child {
  padding-top: 0;
}

.doc-text {
  display: grid;
  gap: 14px;
  align-content: start;
  font-size: 15px;
  color: var(--muted);
}

.doc-text h2 {
  font-size: 24px;
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.doc-text code {
  font-size: 13px;
  padding: 1px 5px;
  border-radius: var(--r-xs);
  background: var(--elev);
  color: var(--text);
}

.doc-code {
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: 86px;
}

.endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  overflow-x: auto;
  white-space: nowrap;
}

.method {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  background: var(--ok-soft);
  color: var(--ok);
}

.params {
  display: grid;
  border-top: 1px solid var(--line);
}

.params > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.params dt code {
  background: none;
  padding: 0;
  color: var(--cyan);
}

.params dt small {
  display: block;
  color: var(--quiet);
  font-size: 12px;
}

.params dd {
  margin: 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.client-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
}

.client-grid a:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.client-grid a .hgi {
  color: var(--quiet);
}

@media (max-width: 1080px) {
  .doc-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doc-code {
    position: static;
  }
}

@media (max-width: 820px) {
  .docs {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .docs-nav {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  .docs-nav h4 {
    display: none;
  }

  .docs-nav > div {
    display: flex;
    gap: 4px;
  }

  .docs-nav a {
    white-space: nowrap;
  }

  .client-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* sign in */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.auth-main {
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
}

.auth-card {
  margin: auto 0;
  max-width: 380px;
  display: grid;
  gap: 24px;
  padding: 40px 0;
}

.auth-side {
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.btn-google {
  height: 46px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  font-weight: 500;
}

.btn-google:hover {
  background: #f2f4f7;
}

.btn-google svg {
  width: 18px;
  height: 18px;
}

.locked-list {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.locked-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.locked-row:last-child {
  border-bottom: 0;
}

.locked-row .hgi {
  font-size: 17px;
}

.locked-row .secret-icon {
  width: 34px;
  height: 34px;
}

.redacted {
  display: inline-block;
  height: 8px;
  border-radius: 4px;
  background: var(--elev);
}

@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
  }

  .auth-side {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 32px 24px;
  }

  .auth-main {
    padding: 24px;
  }
}

/* ============ app ============ */
.app {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.scrim {
  display: none;
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.vault-switch {
  margin: 10px;
  padding: 8px 10px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: background 0.15s;
}

.vault-switch:hover {
  background: var(--hover);
}

.vault-switch img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.vault-switch strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.vault-switch small {
  display: block;
  font-size: 12px;
  color: var(--quiet);
}

.vault-switch .hgi {
  margin-left: auto;
  color: var(--quiet);
}

.side-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 4px 10px 12px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-group h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--quiet);
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  transition:
    background 0.12s,
    color 0.12s;
}

.side-link:hover {
  background: var(--hover);
  color: var(--text);
}

.side-link[aria-current='page'],
.side-link.is-active {
  background: var(--elev);
  color: var(--text);
  font-weight: 500;
}

.side-link .hgi {
  font-size: 17px;
  color: var(--quiet);
}

.side-link[aria-current='page'] .hgi,
.side-link.is-active .hgi {
  color: var(--cyan);
}

.side-link .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
}

.label-swatch {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin: 0 4px;
  flex: none;
}

.side-foot {
  border-top: 1px solid var(--line);
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.plan-meter {
  padding: 12px;
  border-radius: var(--r);
  background: var(--bg-2);
  display: grid;
  gap: 8px;
  font-size: 12.5px;
}

.plan-meter-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.plan-meter-top b {
  color: var(--text);
  font-weight: 500;
}

.seat-dots {
  display: flex;
  gap: 4px;
}

.seat-dots i {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--elev);
}

.seat-dots i.on {
  background: var(--cyan);
}

.me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
}

.me div {
  min-width: 0;
  flex: 1;
}

.me strong {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
}

.me small {
  display: block;
  font-size: 12px;
  color: var(--quiet);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.topbar {
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.topbar .search {
  flex: 1;
  max-width: 560px;
}

.topbar .search .input {
  height: 34px;
  background: var(--surface);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}

.mobile-only {
  display: none !important;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--quiet);
}

.crumbs strong {
  color: var(--text);
  font-weight: 500;
}

.crumbs .hgi {
  font-size: 14px;
}

.content {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  position: relative;
}

.detail-pane,
.secret-list,
.table-wrap {
  position: relative;
}

.content-inner {
  padding: 28px 40px 64px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.page-title h1 {
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.page-title p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 14.5px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.panel-head h2 {
  font-size: 15.5px;
  font-weight: 600;
}

.panel-head p {
  font-size: 13px;
  color: var(--quiet);
  margin-top: 2px;
}

.panel-body {
  padding: 20px;
  min-width: 0;
}

.panel-body > *,
.done-grid > *,
.split-2 > * {
  min-width: 0;
}

body:has(> .app) {
  overflow: hidden;
}

.panel .table-wrap {
  border: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: transparent;
}

.panel .table th {
  background: transparent;
}

.kv {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.kv:last-child {
  border-bottom: 0;
}

.kv dt {
  color: var(--quiet);
  font-size: 13.5px;
}

.kv dd {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kv dd.mono {
  font-size: 13.5px;
}

@media (max-width: 960px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 272px;
    z-index: 1210;
    transform: translateX(-100%);
    transition: transform 0.25s var(--ease);
  }

  .app.nav-open .sidebar {
    transform: none;
    box-shadow: var(--shadow);
  }

  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }

  .app.nav-open .scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-only {
    display: inline-grid !important;
  }

  .btn.mobile-only {
    display: inline-flex !important;
  }

  .content-inner {
    padding: 20px 16px 48px;
  }

  .kv {
    grid-template-columns: 1fr auto;
  }

  .kv dt {
    grid-column: 1 / -1;
  }
}

/* vault three pane */
.vault {
  flex: 1;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 0;
}

.list-pane {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bg-2);
}

.list-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.list-tools .select {
  height: 30px;
  width: auto;
  font-size: 13px;
  background-color: transparent;
  border-color: transparent;
}

.list-tools .select:hover {
  border-color: var(--line-2);
}

.list-filters {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line-2);
  white-space: nowrap;
  flex: none;
}

.chip:hover {
  color: var(--text);
}

.chip[aria-pressed='true'] {
  background: var(--elev);
  color: var(--text);
  border-color: var(--elev);
}

.secret-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}

.list-group-label {
  padding: 12px 10px 6px;
  font-size: 12px;
  color: var(--quiet);
  font-weight: 500;
}

.secret-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: var(--r);
  text-align: left;
  transition: background 0.12s;
}

.secret-row:hover {
  background: var(--hover);
}

.secret-row[aria-selected='true'] {
  background: var(--elev);
}

.secret-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--muted);
}

.secret-icon .hgi {
  font-size: 18px;
}

.secret-row strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.secret-row small {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12.5px;
  color: var(--quiet);
  overflow: hidden;
  white-space: nowrap;
}

.secret-row .meta-right {
  display: grid;
  justify-items: end;
  gap: 4px;
  font-size: 11.5px;
  color: var(--quiet);
  font-family: var(--mono);
}

.list-foot {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--quiet);
  display: flex;
  justify-content: space-between;
}

.detail-pane {
  overflow-y: auto;
  min-height: 0;
}

.detail-inner {
  padding: 24px 40px 64px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-head .secret-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  font-size: 15px;
}

.detail-head .secret-icon .hgi {
  font-size: 24px;
}

.detail-head h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.detail-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  font-size: 13px;
  color: var(--quiet);
}

.detail-actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--quiet);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tab:hover {
  color: var(--text);
}

.tab[aria-selected='true'] {
  color: var(--text);
}

.tab[aria-selected='true']::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.tab .count {
  font-size: 12px;
  color: var(--quiet);
  font-weight: 400;
}

.unlock {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  overflow: hidden;
}

.unlock-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.unlock-form h2 {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
}

.unlock-form h2 .hgi {
  color: var(--cyan);
  font-size: 20px;
}

.unlock-form > p {
  color: var(--muted);
  font-size: 14px;
  max-width: 52ch;
}

.unlock-row {
  display: flex;
  gap: 8px;
}

.unlock-row .input {
  font-family: var(--mono);
  font-size: 13.5px;
  height: 40px;
}

.unlock-row .btn {
  height: 40px;
}

.unlock-ghost {
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  padding: 18px;
  display: grid;
  gap: 9px;
  align-content: start;
  font-family: var(--mono);
  font-size: 12px;
}

.unlock-ghost div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  color: var(--quiet);
}

.form-error {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--danger);
  font-size: 13px;
}

.vars {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.vars-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.vars-head .badge-ok {
  gap: 6px;
}

.var-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.4fr) auto;
  gap: 16px;
  align-items: center;
  padding: 8px 12px 8px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
}

.var-row:last-child {
  border-bottom: 0;
}

.var-row:hover {
  background: var(--surface-2);
}

.var-key {
  color: var(--cyan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.var-val {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

.var-val.is-masked {
  color: var(--quiet);
  letter-spacing: 0.12em;
}

.var-actions {
  display: flex;
  gap: 2px;
  opacity: 0.6;
}

.var-row:hover .var-actions,
.var-row:focus-within .var-actions {
  opacity: 1;
}

@media (max-width: 680px) {
  .var-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 8px;
  }

  .var-val {
    grid-column: 1;
    grid-row: 2;
  }

  .var-actions {
    grid-row: 1 / 3;
    grid-column: 2;
    opacity: 1;
  }
}

.meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.meta-grid > div {
  padding: 14px 16px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 3px;
  min-width: 0;
}

.meta-grid > div:last-child {
  border-right: 0;
}

.meta-grid dt {
  font-size: 12.5px;
  color: var(--quiet);
}

.meta-grid dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .meta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .meta-grid > div:nth-child(2) {
    border-right: 0;
  }

  .meta-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

.timeline {
  display: grid;
}

.tl-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 0 0 0 4px;
  position: relative;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 30px;
  bottom: -2px;
  width: 1px;
  background: var(--line-2);
}

.tl-item:last-child::before {
  display: none;
}

.tl-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--quiet);
  position: relative;
  margin-top: 12px;
}

.tl-dot .hgi {
  font-size: 14px;
}

.tl-item.is-current .tl-dot {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--cyan-ink);
}

.tl-body {
  padding: 12px 0 18px;
  min-width: 0;
}

.tl-body strong {
  font-weight: 500;
  font-size: 14px;
}

.tl-body p {
  font-size: 13px;
  color: var(--quiet);
  margin-top: 2px;
}

.tl-diff {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tl-diff span {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  background: var(--elev);
  color: var(--muted);
}

.tl-side {
  padding-top: 14px;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  padding: 48px 24px;
  color: var(--muted);
}

.empty .hgi {
  font-size: 30px;
  color: var(--quiet);
}

.empty strong {
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .vault {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .unlock {
    grid-template-columns: 1fr;
  }

  .unlock-ghost {
    display: none;
  }
}

@media (max-width: 760px) {
  .vault {
    grid-template-columns: 1fr;
  }

  .vault .detail-pane {
    display: none;
  }

  .vault.show-detail .detail-pane {
    display: block;
  }

  .vault.show-detail .list-pane {
    display: none;
  }

  .detail-inner {
    padding: 16px 16px 48px;
  }

  .detail-head {
    flex-wrap: wrap;
  }

  .detail-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

/* stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.stat {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 6px;
  min-width: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat dt {
  font-size: 13px;
  color: var(--quiet);
}

.stat dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat dd strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat dd span {
  font-size: 12.5px;
  color: var(--quiet);
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
}

.spark i {
  flex: 1;
  background: var(--elev);
  border-radius: 2px 2px 0 0;
  min-height: 2px;
}

.spark i.hi {
  background: var(--cyan);
}

@media (max-width: 960px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.filters .select,
.filters .input {
  height: 32px;
  width: auto;
  font-size: 13px;
}

.filters .search {
  flex: 1;
  min-width: 200px;
}

.filters .search .input {
  width: 100%;
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.who strong {
  display: block;
  font-weight: 500;
  white-space: nowrap;
}

.who small {
  display: block;
  font-size: 12px;
  color: var(--quiet);
  white-space: nowrap;
}

.event {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.event .hgi {
  font-size: 16px;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--elev);
  color: var(--muted);
}

.event.ev-fetch .hgi {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.event.ev-create .hgi {
  background: var(--ok-soft);
  color: var(--ok);
}

.event.ev-version .hgi {
  background: var(--dev-soft);
  color: var(--dev);
}

.event.ev-rollback .hgi {
  background: var(--warn-soft);
  color: var(--warn);
}

.event.ev-member .hgi {
  background: var(--custom-soft);
  color: var(--custom);
}

.event.ev-remove .hgi {
  background: var(--danger-soft);
  color: var(--danger);
}

.day-row td {
  background: var(--bg-2) !important;
  font-size: 12.5px;
  color: var(--quiet);
  padding: 7px 14px !important;
  font-weight: 500;
}

/* stepper (new secret) */
.steps {
  display: flex;
  gap: 0;
  align-items: center;
  font-size: 13.5px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--quiet);
}

.steps li + li::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--line-2);
  margin: 0 12px;
}

.steps .n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-family: var(--mono);
}

.steps li.is-current {
  color: var(--text);
  font-weight: 500;
}

.steps li.is-current .n {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--cyan-ink);
}

.steps li.is-done {
  color: var(--muted);
}

.steps li.is-done .n {
  background: var(--ok-soft);
  border-color: transparent;
  color: var(--ok);
}

@media (max-width: 640px) {
  .steps .t {
    display: none;
  }

  .steps li.is-current .t {
    display: inline;
  }

  .steps li + li::before {
    width: 16px;
    margin: 0 6px;
  }
}

.composer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.editor-wrap {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.editor-wrap:focus-within {
  border-color: var(--cyan);
}

.editor-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--quiet);
}

.editor-body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 360px;
}

.gutter {
  padding: 14px 10px 14px 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--quiet);
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  user-select: none;
  overflow: hidden;
}

.editor-body textarea {
  border: 0;
  background: transparent;
  resize: none;
  padding: 14px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  min-height: 360px;
  white-space: pre;
  overflow-x: auto;
}

.editor-body textarea:focus {
  outline: none;
}

.drop-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--quiet);
}

.parse-list {
  display: grid;
  max-height: 300px;
  overflow-y: auto;
}

.parse-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  border-bottom: 1px solid var(--line);
}

.parse-row:last-child {
  border-bottom: 0;
}

.parse-row .hgi {
  font-size: 15px;
}

.parse-row small {
  font-family: var(--sans);
  color: var(--quiet);
  font-size: 12px;
}

.label-pick {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.label-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.label-pick label {
  cursor: pointer;
}

.label-pick label .badge {
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
  border: 1px solid transparent;
  background: var(--bg-2);
  color: var(--muted);
  transition:
    background 0.15s,
    color 0.15s;
}

.label-pick input:checked + .badge.label-development {
  background: var(--dev-soft);
  color: var(--dev);
  border-color: var(--dev);
}

.label-pick input:checked + .badge.label-staging {
  background: var(--stg-soft);
  color: var(--stg);
  border-color: var(--stg);
}

.label-pick input:checked + .badge.label-production {
  background: var(--prd-soft);
  color: var(--prd);
  border-color: var(--prd);
}

.label-pick input:checked + .badge.label-custom {
  background: var(--custom-soft);
  color: var(--custom);
  border-color: var(--custom);
}

.label-pick input:focus-visible + .badge {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.reveal-stage {
  max-width: 620px;
  margin: 24px auto;
  display: grid;
  gap: 20px;
}

.reveal-card {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reveal-top {
  padding: 28px 28px 0;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.reveal-top h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.reveal-top p {
  color: var(--muted);
  max-width: 46ch;
}

.vault-dial {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-line);
  display: grid;
  place-items: center;
  background: radial-gradient(circle, var(--cyan-soft), transparent 70%);
  color: var(--cyan);
}

.vault-dial .hgi {
  font-size: 32px;
}

.reveal-key {
  margin: 22px 28px;
  display: grid;
  gap: 10px;
}

.reveal-key .key-box {
  font-size: 16px;
  position: relative;
  word-break: normal;
  overflow-wrap: normal;
}

.key-box.is-hidden {
  color: transparent;
  text-shadow: 0 0 9px var(--muted);
  user-select: none;
}

.reveal-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.reveal-confirm {
  border-top: 1px solid var(--line);
  padding: 20px 28px;
  display: grid;
  gap: 16px;
  background: var(--surface-2);
}

.done-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .composer,
  .done-grid {
    grid-template-columns: 1fr;
  }
}

.members .who strong {
  font-size: 14px;
}

.invite-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.invite-row .input {
  flex: 1;
  min-width: 220px;
}

.split-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1000px) {
  .split-2 {
    grid-template-columns: 1fr;
  }
}

.token-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 13.5px;
}

.token-box span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmd-table td code {
  font-size: 12.5px;
}

.theme-toggle .hgi-sun-03 {
  display: none;
}

[data-theme='light'] .theme-toggle .hgi-sun-03 {
  display: inline-block;
}

[data-theme='light'] .theme-toggle .hgi-moon-02 {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ landing ============ */
.lp-hero {
  padding: 88px 0 0;
  text-align: center;
  position: relative;
}

.lp-hero .wrap {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.lp-display {
  font-size: clamp(42px, 6.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 15ch;
}

.lp-display b {
  font-weight: 600;
  color: var(--cyan);
}

.lp-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 46ch;
  font-weight: 300;
  line-height: 1.5;
}

.lp-h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.lp-h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.stage {
  --g1: #08dff1;
  --g2: #1f8ff0;
  --g3: #2c55db;
  position: relative;
  border-radius: 28px;
  background: radial-gradient(
    120% 100% at 50% 0%,
    var(--g1) 0%,
    var(--g2) 42%,
    var(--g3) 100%
  );
  overflow: hidden;
  isolation: isolate;
}

.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 120%,
      transparent 38%,
      rgba(255, 255, 255, 0.16) 38.2%,
      transparent 38.6%
    ),
    radial-gradient(
      circle at 50% 120%,
      transparent 54%,
      rgba(255, 255, 255, 0.12) 54.2%,
      transparent 54.6%
    ),
    radial-gradient(
      circle at 50% 120%,
      transparent 70%,
      rgba(255, 255, 255, 0.09) 70.2%,
      transparent 70.6%
    );
  z-index: -1;
}

.hero-stage {
  margin-top: 56px;
  padding: 56px 56px 0;
  width: 100%;
}

.shot {
  position: relative;
  margin: 0 auto;
  max-width: 1180px;
  border-radius: 14px 14px 0 0;
  background: var(--bg);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.14);
  overflow: hidden;
  text-align: left;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.shot-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-2);
}

.shot-url {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--quiet);
}

.shot-frame {
  position: relative;
  aspect-ratio: 1440 / 860;
  overflow: hidden;
}

.shot-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 860px;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  padding: 16px;
  display: grid;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  width: 340px;
}

.float-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.float-card header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.float-card pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-all;
}

.float-key {
  left: 18px;
  bottom: 48px;
}

.float-env {
  right: 18px;
  top: 230px;
}

@media (max-width: 1100px) {
  .float-card {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-stage {
    padding: 28px 16px 0;
    border-radius: 20px;
  }
}

.lp-hero .wrap.works-with,
.works-with {
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 28px;
  color: var(--quiet);
  font-size: 14px;
}

.works-with strong {
  color: var(--muted);
  font-weight: 500;
}

.works-with span {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--muted);
}

/* steps on gradient */
.steps2 {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: stretch;
}

.steps2-list {
  display: grid;
  align-content: center;
  gap: 0;
}

.steps2-list h2 {
  margin-bottom: 32px;
}

.step2 {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  text-align: left;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--quiet);
}

.step2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.step2.is-active::after {
  transform: scaleX(1);
}

.step2 .num {
  font-family: var(--mono);
  font-size: 14px;
  padding-top: 5px;
}

.step2 h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.step2 p {
  grid-column: 2;
  font-size: 15px;
  color: var(--muted);
  max-width: 44ch;
  display: none;
}

.step2.is-active {
  color: var(--text);
}

.step2.is-active .num {
  color: var(--cyan);
}

.step2.is-active p {
  display: block;
}

.steps2-stage {
  min-height: 520px;
  padding: 40px;
  display: grid;
}

.steps2-stage .stage-panel {
  inset: 40px;
  padding: 0;
  justify-content: center;
}

.stage-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 14px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
}

@media (max-width: 900px) {
  .steps2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps2-stage {
    min-height: 560px;
    padding: 20px;
  }

  .steps2-stage .stage-panel {
    inset: 20px;
  }
}

/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tile-visual {
  flex: 1;
  padding: 28px 28px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 260px;
  background: radial-gradient(
    90% 80% at 50% 100%,
    rgba(8, 223, 241, 0.1),
    transparent 70%
  );
}

.tile-visual > div {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  padding: 14px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.tile-text {
  padding: 24px 28px 28px;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.tile-text p {
  color: var(--muted);
  font-size: 15px;
  max-width: 44ch;
}

.t-versions,
.t-audit {
  grid-column: span 7;
}

.t-labels,
.t-users {
  grid-column: span 5;
}

.mini-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
}

.mini-row:nth-child(odd) {
  background: var(--surface);
}

.mini-row strong {
  font-weight: 500;
  display: block;
}

.mini-row small {
  color: var(--quiet);
  font-size: 12px;
}

.mini-row .secret-icon {
  width: 32px;
  height: 32px;
  font-size: 11px;
  border-radius: 8px;
}

@media (max-width: 960px) {
  .t-versions,
  .t-labels,
  .t-users,
  .t-audit {
    grid-column: span 12;
    grid-row: auto;
  }
}

.final-stage {
  padding: 80px 56px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 24px;
  color: #fff;
}

.final-stage .lp-h2 {
  max-width: 18ch;
}

.final-stage p {
  font-size: 18px;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.btn-white {
  background: #fff;
  color: #0b1016;
}

.btn-white:hover {
  background: #e9f6ff;
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 760px) {
  .final-stage {
    padding: 48px 20px;
  }
}

/* inner pages */
.page-head .lp-display {
  font-size: clamp(38px, 5.4vw, 72px);
}

.about-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: center;
}

.about-lockup {
  width: 100%;
  max-width: 360px;
  height: auto;
  justify-self: end;
  border-radius: 24px;
}

.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.plan-list.never .hgi {
  color: var(--danger);
}

.four-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.four-steps li {
  padding: 24px 24px 0 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.four-steps li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.four-steps .num {
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 14px;
}

.four-steps h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.four-steps p {
  color: var(--muted);
  font-size: 14.5px;
}

.about-int {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.spacetent {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.spacetent img {
  width: 72px;
  height: auto;
}

.spacetent strong {
  display: block;
  font-weight: 500;
  font-size: 16px;
}

.spacetent small {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 12.5px;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.target-grid li {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
}

.footer-spacetent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-spacetent img {
  width: 22px;
  height: auto;
}

@media (max-width: 900px) {
  .about-head,
  .about-int,
  .ledger {
    grid-template-columns: 1fr;
  }

  .about-lockup {
    justify-self: start;
    max-width: 220px;
  }

  .spacetent {
    justify-self: start;
  }

  .four-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .four-steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .four-steps {
    grid-template-columns: 1fr;
  }

  .four-steps li,
  .four-steps li + li {
    padding: 20px 0 0;
    border-left: 0;
  }

  .target-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pull {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.pull-side {
  display: grid;
  gap: 20px;
}

@media (max-width: 900px) {
  .pull {
    grid-template-columns: 1fr;
  }
}

.page-head .display {
  font-weight: 400;
  letter-spacing: -0.035em;
}

.page-head .lead {
  font-weight: 300;
}

.plans-note {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

.t-caption {
  font-size: 12px;
}

.t-body {
  font-size: 15px;
}

.t-title {
  font-size: 19px;
  font-weight: 500;
}

.ic-md {
  font-size: 17px;
}

.ic-lg {
  font-size: 20px;
}

.icon-list {
  display: grid;
  gap: 12px;
}

.icon-list li {
  display: flex;
  gap: 10px;
}

.ledger-title {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-tabs {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.lang-tabs button {
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-xs);
  font-size: 12.5px;
  color: #8796a8;
}

.lang-tabs button:hover {
  color: #fff;
}

.lang-tabs button[aria-selected='true'] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
