/* =========================================================
   Public site — editorial refresh
   Applied to the marketing, docs and sign-in views only.
   ========================================================= */

body.public-page {
  --font-ui: "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", Menlo, Consolas, monospace;
  --text: #eef3e8;
  --muted: #afbca3;
  --dim: #78856f;
  overflow-x: clip;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.7;
  background-image:
    radial-gradient(ellipse 75% 48% at 12% -12%, rgba(200, 255, 78, 0.075), transparent 62%),
    radial-gradient(ellipse 50% 35% at 104% 8%, rgba(132, 216, 255, 0.04), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: auto, auto, 52px 52px, 52px 52px;
}

body.public-page .public-topbar {
  height: 72px;
  background: rgba(7, 9, 7, 0.86);
  border-bottom-color: rgba(44, 56, 36, 0.8);
}

body.public-page .public-topbar .topbar-inner {
  height: 72px;
  gap: 30px;
}

body.public-page .brand {
  font-family: var(--font-mono);
  font-size: 17px;
}

body.public-page .topnav {
  gap: 2px;
}

body.public-page .topnav a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  color: var(--muted);
}

body.public-page .topnav a:hover,
body.public-page .topnav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

body.public-page .eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.19em;
}

.live-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 78, 0.1), 0 0 14px rgba(200, 255, 78, 0.4);
  animation: live-pip 2.4s ease-in-out infinite;
}

@keyframes live-pip {
  50% { opacity: 0.45; }
}

.btn-lg {
  min-height: 46px;
  padding: 0 19px;
  font-size: 12.5px;
  border-radius: 10px;
}

body.public-page .btn {
  font-family: var(--font-mono);
}

body.public-page .btn-primary {
  box-shadow: 0 10px 32px rgba(200, 255, 78, 0.09);
}

body.public-page .btn-primary:hover {
  box-shadow: 0 12px 38px rgba(200, 255, 78, 0.16);
}

/* ---------- home hero ---------- */

body.public-page .landing {
  min-height: 100vh;
}

body.public-page .landing .topbar {
  background: rgba(7, 9, 7, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(44, 56, 36, 0.65);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(64px, 8.5vw, 120px);
  padding-bottom: clamp(62px, 8vw, 100px);
  background: radial-gradient(ellipse 52% 62% at 100% -4%, rgba(200, 255, 78, 0.055), transparent 68%) no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.land-h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 7.2vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 24px 0 26px;
}

.land-h1 em {
  color: var(--lime);
  font-style: italic;
  font-weight: 400;
}

.land-h1 em::after {
  display: none;
}

.hero-lede {
  max-width: 55ch;
  color: var(--muted);
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.7;
}

.hero-note a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}

.hero-note a:hover {
  color: var(--lime);
}

body.public-page .stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  padding-top: 0;
  border-top: 1px solid var(--line);
}

body.public-page .stat-strip div {
  padding: 18px 18px 0 0;
}

body.public-page .stat-strip b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--text);
}

body.public-page .stat-strip span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.11em;
}

/* ---------- hero box mock ---------- */

.hero-board {
  position: relative;
  min-width: 0;
  border: 1px solid #34412c;
  border-radius: 19px;
  background:
    linear-gradient(180deg, rgba(200, 255, 78, 0.035), transparent 36%),
    linear-gradient(180deg, #10140d, #0b0e09 72%);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.015) inset,
    0 1px 0 rgba(255, 255, 255, 0.055) inset;
  overflow: hidden;
  font-family: var(--font-mono);
}

.hero-board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 30%);
}

.board-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(52, 65, 44, 0.75);
  background: rgba(255, 255, 255, 0.018);
  color: var(--dim);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.board-dots {
  display: inline-flex;
  gap: 5px;
}

.board-dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #36402e;
}

.board-dots i:first-child {
  background: rgba(200, 255, 78, 0.55);
}

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

.board-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 8.5px;
}

.board-live i,
.board-foot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(200, 255, 78, 0.6);
}

.board-inner {
  position: relative;
  z-index: 1;
  padding: 22px;
}

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

.board-name {
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.01em;
}

.board-url {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(44, 56, 36, 0.65);
  color: var(--dim);
  font-size: 9.5px;
}

.board-url code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

.board-url span {
  margin-left: auto;
  color: var(--lime);
  font-size: 14px;
}

.board-clock {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(44, 56, 36, 0.65);
}

.board-ring {
  position: relative;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: conic-gradient(var(--lime) 0 93%, #293322 93% 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(200, 255, 78, 0.06);
}

.board-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #0d110b;
}

.board-ring span,
.board-ring small {
  position: relative;
  z-index: 1;
}

.board-ring span {
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.board-ring small {
  color: var(--dim);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

.board-clock > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.board-clock b {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.board-clock > div:last-child span {
  color: var(--dim);
  font-size: 9.5px;
  line-height: 1.65;
  max-width: 34ch;
}

.board-files {
  padding: 11px 0;
  border-bottom: 1px solid rgba(44, 56, 36, 0.65);
}

.board-files div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 9.5px;
}

.board-files div > span:last-child {
  margin-left: auto;
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.board-flow {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 0 4px;
  color: var(--dim);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.board-flow span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.board-flow b {
  color: var(--muted);
  font-weight: 400;
}

.board-flow i {
  flex: 1;
  min-width: 8px;
  height: 1px;
  background: #2b3525;
}

.board-flow .gone,
.board-flow .gone b {
  color: var(--red);
}

.board-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  border-top: 1px solid rgba(52, 65, 44, 0.75);
  background: rgba(0, 0, 0, 0.16);
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.05em;
}

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

/* ---------- proof rail ---------- */

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

.proof-rail > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px 24px 0;
  border-right: 1px solid var(--line);
}

.proof-rail > div + div {
  padding-left: 28px;
}

.proof-rail > div:last-child {
  border-right: 0;
}

.proof-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: -0.02em;
  background: rgba(200, 255, 78, 0.025);
}

.proof-rail p {
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.7;
}

.proof-rail b {
  display: block;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 2px;
}

/* ---------- public sections ---------- */

body.public-page .public-section {
  padding-top: clamp(74px, 9vw, 120px);
  padding-bottom: clamp(74px, 9vw, 120px);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.section-intro h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.7vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  max-width: 16ch;
  margin-top: 18px;
}

.section-intro > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  max-width: 46ch;
  padding-bottom: 4px;
}

/* steps */

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

.step-card {
  position: relative;
  min-width: 0;
  padding: 25px 24px 4px 0;
  border-right: 1px solid var(--line);
}

.step-card + .step-card {
  padding-left: 24px;
}

.step-card:last-child {
  border-right: 0;
}

.step-num {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.step-card h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 20px 0 12px;
}

.step-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.step-detail {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* use cases */

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

.use-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.022), transparent 55%),
    var(--panel);
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}

.use-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.use-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
}

.use-card h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 34px 0 12px;
}

.use-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

/* limits */

.limits-section {
  padding: 0;
  background:
    radial-gradient(ellipse 55% 45% at 95% 0%, rgba(200, 255, 78, 0.045), transparent 70%),
    #090c08;
}

.limits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding-top: clamp(74px, 9vw, 118px);
  padding-bottom: clamp(74px, 9vw, 118px);
}

.limits-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.7vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 400;
  max-width: 14ch;
  margin: 18px 0 22px;
}

.limits-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  max-width: 49ch;
}

.limits-copy > p + p {
  margin-top: 12px;
}

.limits-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: 140ms;
}

.link-arrow:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.limits-board {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}

.limit-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}

.limit-row strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.limit-row span {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.limit-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 22px;
  background: rgba(255, 180, 84, 0.045);
  border-top: 1px solid rgba(255, 180, 84, 0.16);
}

.warn-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid rgba(255, 180, 84, 0.42);
  border-radius: 50%;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 10px;
}

.limit-warning p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.limit-warning b {
  color: var(--amber);
  font-weight: 500;
}

/* FAQ */

.faq-list {
  border-top: 1px solid var(--line-2);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 27px);
  letter-spacing: -0.025em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary:hover {
  color: var(--lime);
}

.faq-plus {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 150ms ease;
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item > div {
  max-width: 78ch;
  padding: 0 50px 26px 2px;
}

.faq-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.faq-item code {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 4px;
}

/* CTA */

.public-cta {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: end;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid #3b4a30;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 65% 90% at 100% 0%, rgba(200, 255, 78, 0.11), transparent 66%),
    linear-gradient(135deg, #131810, #0b0e09 70%);
  overflow: hidden;
}

.cta-panel::after {
  content: "24h";
  position: absolute;
  right: -12px;
  top: -52px;
  color: rgba(200, 255, 78, 0.04);
  font-family: var(--font-display);
  font-size: clamp(150px, 20vw, 290px);
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 15ch;
  margin: 17px 0 16px;
}

.cta-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  max-width: 49ch;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}

/* ---------- footer ---------- */

body.public-page .site-foot {
  display: block;
  margin-top: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  background: #070907;
  color: var(--dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(120px, 0.7fr));
  gap: clamp(30px, 4vw, 64px);
  padding-top: 56px;
  padding-bottom: 48px;
}

.footer-brand .brand {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-brand p {
  max-width: 38ch;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.8;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.footer-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(200, 255, 78, 0.6);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-col h3 {
  margin-bottom: 7px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--muted);
  font-size: 11.5px;
  transition: color 120ms ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 17px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(44, 56, 36, 0.55);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

/* ---------- sign in ---------- */

.signin-page {
  display: grid;
  grid-template-columns: minmax(370px, 460px) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: start;
  padding-top: clamp(54px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
  min-height: calc(100vh - 230px);
}

.signin-card {
  width: 100%;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 18px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.4);
}

.signin-card h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 18px 0 14px;
}

.signin-lede {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.signin-card .btn {
  width: 100%;
  min-height: 42px;
}

.signin-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--dim);
  font-size: 10.5px;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lime);
  font-size: 10.5px;
  text-decoration: underline;
  text-decoration-color: rgba(200, 255, 78, 0.28);
  text-underline-offset: 3px;
}

.link-button:hover {
  text-decoration-color: var(--lime);
}

.signin-help,
.signin-legal {
  margin-top: 12px;
  color: var(--dim);
  font-size: 9.5px;
  line-height: 1.7;
}

.signin-help a,
.signin-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signin-help a:hover,
.signin-legal a:hover {
  color: var(--lime);
}

.signin-aside {
  padding-top: clamp(8px, 3vw, 48px);
  max-width: 50ch;
}

.signin-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(35px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 18px 0 28px;
}

.signin-aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  border-top: 1px solid var(--line);
}

.signin-aside li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.signin-aside li span {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

/* ---------- docs typography ---------- */

body.public-page .docs-page {
  padding-top: 42px;
}

body.public-page .docs-toc h2 {
  font-family: var(--font-mono);
  font-size: 10px;
}

body.public-page .docs-toc nav button,
body.public-page .docs-toc nav a {
  font-family: var(--font-ui);
  font-size: 11.5px;
  padding: 6px 8px;
}

body.public-page .docs-toc-foot {
  font-size: 10px;
}

body.public-page .docs {
  font-size: 14px;
}

body.public-page .docs-hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 0.99;
  letter-spacing: -0.05em;
  font-weight: 400;
}

body.public-page .docs-hero .lede {
  font-size: 15.5px;
  line-height: 1.85;
}

body.public-page .docs h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 48px;
  padding-top: 20px;
}

body.public-page .docs h3 {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  margin-top: 26px;
}

body.public-page .docs p,
body.public-page .docs li {
  font-family: var(--font-ui);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

body.public-page .docs code {
  font-size: 11px;
}

body.public-page .docs .callout {
  font-family: var(--font-ui);
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---------- static editorial pages ---------- */

.content-page {
  padding-top: clamp(46px, 7vw, 80px);
  padding-bottom: clamp(50px, 7vw, 90px);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(34px, 7vw, 100px);
  align-items: start;
}

.content-layout.centered {
  grid-template-columns: minmax(0, 78ch);
  justify-content: center;
}

.content-main {
  min-width: 0;
}

.content-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.content-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime);
  opacity: 0.7;
}

.content-main h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 22px 0 22px;
  max-width: 17ch;
}

.content-main .content-lede {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
  max-width: 62ch;
}

.content-main > section,
.content-main > h2 {
  scroll-margin-top: 100px;
}

.content-main h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 50px 0 15px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.content-main h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  margin: 27px 0 9px;
}

.content-main p,
.content-main li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.content-main p + p {
  margin-top: 12px;
}

.content-main ul,
.content-main ol {
  padding-left: 21px;
  margin: 14px 0;
}

.content-main li {
  margin-bottom: 7px;
}

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

.content-main a {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-color: rgba(200, 255, 78, 0.32);
  text-underline-offset: 3px;
}

.content-main a:hover {
  text-decoration-color: var(--lime);
}

.content-main code {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 4px;
}

.content-main blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 2px solid var(--lime);
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.content-aside {
  position: sticky;
  top: 100px;
  border-top: 1px solid var(--line-2);
  padding-top: 15px;
}

.content-aside h2 {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.content-aside nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.content-aside nav a {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
  padding: 6px 0;
  border-bottom: 1px solid rgba(44, 56, 36, 0.45);
  transition: color 120ms ease;
}

.content-aside nav a:hover {
  color: var(--lime);
}

.content-aside .aside-cta {
  display: block;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.content-aside .aside-cta b {
  display: block;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 3px;
}

.content-aside .aside-cta a {
  display: block;
  margin-top: 8px;
  color: var(--lime);
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.content-main a.guide-card {
  color: inherit;
  text-decoration: none;
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color 140ms ease, transform 140ms ease;
}

.guide-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.guide-card .guide-tag {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.guide-card h2 {
  margin: 28px 0 10px;
  padding: 0;
  border: 0;
  color: var(--text);
  font-size: clamp(24px, 2.3vw, 30px);
  transition: color 140ms ease;
}

.guide-card:hover h2 {
  color: var(--lime);
}

.guide-card p {
  font-size: 12px;
  line-height: 1.8;
}

.guide-card .guide-read {
  margin-top: auto;
  padding-top: 20px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guide-card .guide-read::after {
  content: " →";
}

.article-next {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11px;
}

.article-next a {
  color: var(--lime);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.contact-card h2 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-card p {
  font-size: 12.5px;
  line-height: 1.8;
}

.contact-card .contact-action {
  display: inline-flex;
  margin-top: 15px;
  font-size: 11.5px;
}

.content-callout {
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--amber);
  border-radius: 10px;
  background: var(--panel);
}

.content-callout strong {
  color: var(--text);
}

.policy-toc {
  margin: 30px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.policy-toc h2 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
}

.policy-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}

.policy-toc li {
  font-size: 12px;
  break-inside: avoid;
  margin-bottom: 4px;
}

/* ---------- responsive public ---------- */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    gap: 38px;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .step-card:nth-child(2n) {
    border-right: 0;
  }

  .step-card:nth-child(n + 3) {
    padding-top: 24px;
    border-bottom: 0;
  }

  .limits-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 42px;
  }
}

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

  .hero-copy {
    max-width: 680px;
  }

  .hero-board {
    width: 100%;
    max-width: 560px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .section-intro > p {
    max-width: 60ch;
  }

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

  .use-card {
    min-height: 0;
  }

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

  .limits-board {
    max-width: 560px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .signin-page {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .signin-aside {
    padding-top: 0;
    max-width: 600px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-aside {
    position: static;
    order: 2;
    margin-top: 40px;
  }

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

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

@media (max-width: 680px) {
  body.public-page .public-topbar .topbar-inner {
    height: 62px;
    gap: 10px;
  }

  body.public-page .topbar .brand-tag {
    display: none;
  }

  body.public-page .topnav a {
    padding: 7px 6px;
    font-size: 10.5px;
  }

  body.public-page .public-topbar .topnav a:first-child {
    display: none;
  }

  body.public-page .public-topbar .topbar-right .btn {
    padding: 7px 9px;
    font-size: 10.5px;
  }

  .land-h1 {
    font-size: clamp(48px, 15vw, 68px);
    margin-top: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-note {
    font-size: 9.5px;
  }

  body.public-page .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  body.public-page .stat-strip div {
    padding: 15px 10px 13px 0;
    border-bottom: 1px solid var(--line);
  }

  body.public-page .stat-strip div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  body.public-page .stat-strip b {
    font-size: 23px;
  }

  .board-inner {
    padding: 18px;
  }

  .board-clock {
    gap: 13px;
  }

  .board-ring {
    width: 71px;
    height: 71px;
  }

  .board-ring span {
    font-size: 15px;
  }

  .board-flow {
    gap: 5px;
    font-size: 7.5px;
    letter-spacing: 0.04em;
  }

  .board-flow i {
    min-width: 3px;
  }

  .proof-rail {
    grid-template-columns: 1fr;
  }

  .proof-rail > div,
  .proof-rail > div + div {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-rail > div:last-child {
    border-bottom: 0;
  }

  .section-intro h2 {
    font-size: clamp(33px, 10vw, 46px);
  }

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

  .step-card,
  .step-card + .step-card {
    padding: 23px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .use-card {
    padding: 22px;
  }

  .limit-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    padding: 17px;
  }

  .limit-row strong {
    font-size: 26px;
  }

  .limit-warning {
    padding: 16px 17px;
  }

  .faq-item summary {
    gap: 16px;
    padding: 20px 0;
    font-size: 20px;
  }

  .faq-plus {
    width: 24px;
    height: 24px;
  }

  .faq-item > div {
    padding: 0 32px 22px 0;
  }

  .cta-panel {
    padding: 26px 22px;
    border-radius: 14px;
  }

  .cta-copy h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-base {
    flex-direction: column;
    gap: 6px;
  }

  .signin-page {
    padding-top: 34px;
  }

  .signin-card {
    padding: 24px 20px;
  }

  .signin-alt {
    gap: 5px;
  }

  .content-main h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .content-main h2 {
    font-size: 28px;
  }

  .content-main p,
  .content-main li {
    font-size: 13.5px;
  }

  .policy-toc ol {
    columns: 1;
  }

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

  .content-aside nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  body.public-page .public-topbar .topbar-inner {
    gap: 7px;
  }

  body.public-page .public-topbar .topnav a {
    padding-left: 5px;
    padding-right: 5px;
  }

  .topbar-right {
    gap: 6px;
  }

  .board-files div > span:last-child {
    display: none;
  }

  .board-foot {
    font-size: 7px;
  }

  .signin-aside li {
    grid-template-columns: 62px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .live-pip,
  .board-live i {
    animation: none;
  }

  .use-card,
  .guide-card,
  .faq-plus::after {
    transition: none;
  }
}
