/* cogshift.io — static marketing site
   Dark, calm, appliance register. No accent rails, no tinted washes:
   hierarchy comes from spacing, hairline borders and type only. */

:root {
  --bg: #16181D;
  --surface: #1E2128;
  --ink: #E8E6E1;
  --muted: #9AA0AB;
  --border: #2A2E37;
  --accent: #34B3A5;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo,
          Consolas, "Liberation Mono", monospace;

  --wrap: 1120px;
  --gutter: 24px;
  --radius: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

p { margin: 0 0 16px; color: var(--muted); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--surface); color: var(--ink);
  padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  z-index: 20;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { color: var(--ink); }
.brand svg { display: block; }
.wordmark {
  font-family: var(--mono);
  font-size: 18px; font-weight: 700; letter-spacing: 0.005em;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  letter-spacing: 0.01em;
}
.nav a:hover { color: var(--ink); }
.nav a.is-current { color: var(--ink); }

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

section { border-top: 1px solid var(--border); scroll-margin-top: 64px; }
section:first-of-type { border-top: 0; }
.sec { padding: 76px 0; }
.sec-tight { padding: 60px 0; }

.eyebrow {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  letter-spacing: 0.06em; margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; flex: none;
  background: var(--accent); border-radius: 2px;
}

h1, h2, h3 { color: var(--ink); margin: 0; }

h1 {
  font-size: clamp(36px, 5.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 0 0 22px;
}
h1 em { color: var(--accent); font-style: normal; }

h2 {
  font-size: clamp(25px, 3.2vw, 34px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 8px; }

.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head p { font-size: 17px; margin: 0; }

.lede { font-size: 18px; line-height: 1.6; max-width: 34em; }

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

.hero { padding: 72px 0 68px; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 52px; align-items: center;
}
.hero h1 { max-width: 12ch; }
.hero .lede { font-size: 18.5px; }

.hero-note {
  margin-top: 30px;
  display: inline-flex; align-items: flex-start; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 14.5px; color: var(--muted); max-width: 30em;
}
.hero-note strong { color: var(--ink); font-weight: 600; }

.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  flex: none; margin-top: 8px;
  animation: breathe 3.4s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.28; } }

/* the quiet spec line under the hero copy: it carries the "nothing changes in
   your workflow" promise, so it reads as a stated fact, not a sales line */
.hero-meta {
  margin-top: 22px; font-family: var(--mono); font-size: 13px;
  color: var(--muted); letter-spacing: 0.01em; line-height: 1.7; max-width: 42em;
}

/* ---------------------------------------------------------------- diagram */

.diagram {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 22px 16px;
}
.diagram svg { display: block; width: 100%; height: auto; }
.diagram .d-tall { display: none; }
.diagram figcaption {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  letter-spacing: 0.02em; line-height: 1.5; text-wrap: balance;
}

.d-box { fill: #23262E; stroke: var(--border); stroke-width: 1.1; }
.d-node { fill: #23262E; stroke: #3D5C58; stroke-width: 1.2; }
.d-link { fill: none; stroke: #363B45; stroke-width: 1.5; }
.d-arrow {
  fill: none; stroke: #5D646F; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.d-label { fill: var(--ink); font-family: var(--mono); font-size: 14px; }
.d-sub { fill: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.d-cap { fill: #767D89; font-family: var(--mono); font-size: 11.5px; }
.d-title { fill: var(--ink); font-family: var(--mono); font-size: 17px; font-weight: 700; }
.d-pulse { fill: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .p1 { offset-path: path("M112 64 C 142 64 152 168 186 168"); animation: run 3.2s linear infinite; }
  .p2 { offset-path: path("M112 168 L 186 168"); animation: run 3.2s linear infinite 1.1s; }
  .p3 { offset-path: path("M112 272 C 142 272 152 168 186 168"); animation: run 3.2s linear infinite 2.1s; }
  .p4 { offset-path: path("M334 168 C 356 168 366 88 396 88"); animation: run 2.6s linear infinite 0.5s; }
  .p5 { offset-path: path("M334 168 C 356 168 366 88 396 88"); animation: run 2.6s linear infinite 1.8s; }
  .p6 { offset-path: path("M334 168 C 356 168 366 248 396 248"); animation: run 3.4s linear infinite 2.6s; }
  .m1 { offset-path: path("M50 72 C 50 108 96 104 150 140"); animation: run 3.2s linear infinite; }
  .m2 { offset-path: path("M150 72 L 150 140"); animation: run 3.2s linear infinite 1.1s; }
  .m3 { offset-path: path("M250 72 C 250 108 204 104 150 140"); animation: run 3.2s linear infinite 2.1s; }
  .m4 { offset-path: path("M150 264 C 150 298 74 294 74 330"); animation: run 2.6s linear infinite 0.5s; }
  .m5 { offset-path: path("M150 264 C 150 298 74 294 74 330"); animation: run 2.6s linear infinite 1.8s; }
  .m6 { offset-path: path("M150 264 C 150 298 226 294 226 330"); animation: run 3.4s linear infinite 2.6s; }
  @keyframes run {
    0% { offset-distance: 0%; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .d-pulse { display: none; }
  .dot { animation: none; }
}

/* -------------------------------------------------------------- how / steps */

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px; list-style: none; margin: 0; padding: 0;
}
.steps li { margin: 0; }
.step-n {
  font-family: var(--mono); font-size: 12.5px; color: var(--accent);
  letter-spacing: 0.08em; display: block; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.steps p { font-size: 15px; margin: 0; }

/* ------------------------------------------------------------------ lanes */

.lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lane {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 28px 24px;
}
.lane-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.lane-top h3 { margin: 0; font-size: 19px; }
.lane-gear {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.05em; white-space: nowrap;
}
.lane p { font-size: 15px; }
.tick-list { list-style: none; margin: 18px 0 0; padding: 0; }
.tick-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14.5px; color: var(--muted); margin-bottom: 10px;
}
.tick-list li:last-child { margin-bottom: 0; }
.tick-list svg { flex: none; margin-top: 5px; }

/* --------------------------------------------------------------- features */

.features {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 22px 24px;
}
.feature .glyph { display: block; margin-bottom: 16px; }
.feature h3 { font-size: 16px; }
.feature p { font-size: 14.5px; margin: 0; }

/* ------------------------------------------------------------------ tiers */

/* The ladder is deliberately lopsided: Download is the product, so it gets the
   card, the size and the accent. The three hosted tiers are a roadmap, so they
   are a hairline list — present, but not competing for the same click. */
.tier-lead {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px 32px;
}
.tier-n {
  display: block; font-family: var(--mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.08em; margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.tier-lead-body {
  display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 44px; align-items: start;
}
.tier-lead h3 {
  font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; margin-bottom: 8px;
}
.tier-lead p { font-size: 16px; margin: 0; }
.tier-lead p.tier-tag {
  font-family: var(--mono); font-size: 12.5px; color: var(--accent);
  letter-spacing: 0.01em; line-height: 1.55;
}

.tiers-head {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.06em; margin: 42px 0 0;
}
.tiers-next {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px; list-style: none; margin: 20px 0 0; padding: 0;
}
.tiers-next li { margin: 0; padding-top: 16px; border-top: 1px solid var(--border); }
.next-n {
  display: block; font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.tiers-next h3 { font-size: 15.5px; margin-bottom: 4px; }
.tiers-next p { font-size: 14px; margin: 0; }
.tiers-next p.next-tag {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  letter-spacing: 0.01em; margin: 0 0 10px;
}
.note {
  margin-top: 22px; font-size: 14.5px; color: var(--muted);
  display: flex; align-items: flex-start; gap: 11px;
}
.note svg { flex: none; margin-top: 5px; }

/* ------------------------------------------------------------- enterprise */

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.panel-split {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 48px;
}
/* On the home page enterprise is a signpost, not the offer — same layout as the
   panel, but no surface behind it, so the local/download story keeps the weight. */
.ent-split {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 48px;
}
.ent-split h2 { font-size: clamp(22px, 2.4vw, 26px); }
.ent-split .ent-list strong { font-size: 14.5px; }
.ent-split .ent-list span { font-size: 14px; }
.chip {
  display: inline-block; font-family: var(--mono); font-size: 11.5px;
  color: var(--accent); border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 11px; letter-spacing: 0.04em; margin-bottom: 16px;
}
.panel h2 { font-size: clamp(23px, 2.6vw, 28px); }
.ent-list { list-style: none; margin: 0; padding: 0; }
.ent-list li {
  padding: 16px 0; border-top: 1px solid var(--border);
  display: flex; gap: 14px; align-items: flex-start;
}
.ent-list li:first-child { border-top: 0; padding-top: 0; }
.ent-list li:last-child { padding-bottom: 0; }
.ent-list svg { flex: none; margin-top: 4px; }
.ent-list strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.ent-list span { font-size: 14.5px; color: var(--muted); }
.more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-family: var(--mono); font-size: 13px; color: var(--accent);
}
.more:hover { color: var(--ink); }
.more svg { transition: transform 0.18s ease; }
.more:hover svg { transform: translateX(3px); }

/* -------------------------------------------------------------------- faq */

.faq-grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px;
  align-items: start;
}
.faq-grid .sec-head { margin-bottom: 0; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0;
  position: relative; font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px; margin-top: -8px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 40px 22px 0; margin: 0; font-size: 15.5px; }

/* ------------------------------------------------------------------- form */

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 56px;
  align-items: start;
}
.contact-grid .eyebrow { margin-bottom: 14px; }
.fineprint {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--muted);
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  letter-spacing: 0.04em;
}
.field input, .field textarea {
  font: 400 15px/1.5 var(--sans);
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 13px; width: 100%;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover { border-color: #3a404b; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field input::placeholder, .field textarea::placeholder { color: #6d7480; }

/* honeypot — visually removed, still a real focusable input for bots */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.btn {
  justify-self: start;
  font: 600 15px/1 var(--sans); color: var(--bg);
  background: var(--accent); border: 1px solid var(--accent);
  border-radius: 8px; padding: 13px 22px; cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn[disabled] { opacity: 0.5; cursor: default; }

.form-status { font-size: 14.5px; margin: 0; min-height: 1px; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-err { color: #E8A87C; }

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

.site-footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.footer-grid p { font-size: 14.5px; max-width: 30em; margin: 16px 0 0; }
.foot-h {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.06em; margin: 0 0 14px;
}
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 10px; }
.foot-links a { font-size: 14.5px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.foot-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}

/* -------------------------------------------------------- enterprise page */

.page-hero { padding: 72px 0 64px; }
.page-hero .lede { font-size: 18px; }
.back {
  display: flex; width: max-content; align-items: center; gap: 8px;
  margin-bottom: 24px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
}
.back:hover { color: var(--accent); }

.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 28px;
}
.cap h3 { font-size: 17px; }
.cap p { font-size: 15px; margin: 0; }
.cap .glyph { display: block; margin-bottom: 16px; }

/* -------------------------------------------------------- legal documents */

/* A reading column plus a standing contents list. Sections are separated by
   the same hairline the rest of the site uses — no rails, no tinted blocks. */
.doc {
  display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 56px; align-items: start;
}
.doc-toc { position: sticky; top: 88px; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; }
.doc-toc li { margin-bottom: 9px; }
.doc-toc a {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.5;
  color: var(--muted); display: block;
}
.doc-toc a:hover { color: var(--ink); }

.doc-sec {
  margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border);
  scroll-margin-top: 84px;
}
.doc-sec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc-sec h2 { font-size: 21px; letter-spacing: -0.014em; margin-bottom: 12px; }
.doc-sec p { font-size: 15.5px; }
.doc-sec strong { color: var(--ink); font-weight: 600; }
.doc-sec a:not(.more) { color: var(--accent); }
.doc-sec a:not(.more):hover { color: var(--ink); }
.doc-sec .more { margin-top: 18px; }

.doc-list { list-style: none; margin: 16px 0 0; padding: 0; }
.doc-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 15px; color: var(--muted); margin-bottom: 11px;
}
.doc-list li:last-child { margin-bottom: 0; }
.doc-list svg { flex: none; margin-top: 5px; }
.doc-list strong { color: var(--ink); font-weight: 600; }
.doc-list + p { margin-top: 18px; }

.doc-meta {
  margin-top: 20px; font-family: var(--mono); font-size: 12.5px;
  line-height: 1.7; color: var(--muted); letter-spacing: 0.02em; max-width: 46em;
}

/* ------------------------------------------------------------ the cabinet */

/* The account page borrows the site's card, hairline and mono vocabulary
   wholesale — it should feel like the same appliance, not an app bolted on. */

.cab-hero { padding: 64px 0 44px; }
.cab-sec { padding: 44px 0 76px; }

.cab-cols {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px; align-items: start;
}
.cab-side { display: grid; gap: 22px; }

.cab-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px 26px;
}
.cab-cols + .cab-danger { margin-top: 22px; }
.cab-card h2 {
  font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin: 0;
}
/* a heading that is not inside a card-top rule needs its own breathing room */
.cab-card > h2 { margin-bottom: 12px; }
.cab-card-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding-bottom: 15px; margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.cab-card p { font-size: 14.5px; }
.cab-count {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em; white-space: nowrap;
}
.cab-loading, .cab-msg:empty { color: var(--muted); }
.cab-loading { font-family: var(--mono); font-size: 13px; }
.cab-msg { font-size: 14px; margin: 14px 0 0; }
.cab-msg:empty { display: none; }
.cab-err { font-size: 14px; color: #E8A87C; margin: 10px 0 0; }
.cab-fine {
  margin-top: 12px; font-family: var(--mono); font-size: 12px;
  line-height: 1.65; color: var(--muted);
}
.cab-stat {
  font-family: var(--mono); font-size: 14px; color: var(--ink);
  letter-spacing: 0.01em; margin: 0;
}

/* account rows */
.cab-rows { margin: 0; }
.cab-rows > div {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding: 11px 0; border-top: 1px solid var(--border);
}
.cab-rows > div:first-child { border-top: 0; padding-top: 0; }
.cab-rows > div:last-child { padding-bottom: 0; }
.cab-rows dt {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em; flex: none;
}
.cab-rows dd {
  margin: 0; font-size: 14.5px; color: var(--ink);
  text-align: right; overflow-wrap: anywhere;
}
.cab-rows dd.is-quiet { color: var(--muted); }

/* devices */
.dev-list { list-style: none; margin: 0; padding: 0; }
.dev {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; padding: 14px 0; border-top: 1px solid var(--border);
}
.dev:first-child { border-top: 0; padding-top: 0; }
.dev:last-child { padding-bottom: 0; }
.dev-main { min-width: 0; }
.dev-name { font-size: 15px; color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.dev-meta {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  letter-spacing: 0.02em; margin: 5px 0 0; line-height: 1.6;
}
.dev.is-revoked .dev-name { color: var(--muted); }
/* dimmer than a live row, still above the 4.5:1 contrast floor */
.dev.is-revoked .dev-meta { color: #8A9099; }

/* quiet text buttons: sign out, revoke */
.link-btn {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--muted); background: none; border: 0; padding: 0;
  cursor: pointer; flex: none;
  transition: color 0.15s ease;
}
.link-btn:hover { color: var(--ink); }
.link-danger:hover { color: #E8A87C; }
.link-btn[disabled] { color: #6d7480; cursor: default; }
/* mono cap-height sits higher than the sans name beside it */
.dev .link-btn { margin-top: 3px; }

/* the standing states: sign in, account deleted, API unreachable. One card,
   held to a reading width so a paragraph is not 1000px wide. */
.cab-solo { max-width: 560px; }
.cab-solo h2 { font-size: 20px; }
.cab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.btn-quiet {
  font: 600 15px/1 var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 13px 20px; cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-quiet:hover { border-color: var(--accent); color: var(--accent); }
.cab-solo .fineprint { max-width: 44em; }
.cab-solo .fineprint a { color: var(--accent); }
.cab-solo .fineprint a:hover { color: var(--ink); }
.cab-solo .more { margin-top: 18px; }

/* the danger zone — the one severe area on the site. It is marked by its
   words and by a warm button, not by a bar down its side. */
.cab-danger p { max-width: 62em; }
.cab-danger h2 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.cab-danger h2 svg { flex: none; }
.cab-confirm { margin: 22px 0 16px; max-width: 260px; }
.cab-confirm input {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em;
}
.btn-danger {
  font: 600 15px/1 var(--sans); color: #E8A87C;
  background: var(--bg); border: 1px solid #5A4438;
  border-radius: 8px; padding: 13px 20px; cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.btn-danger:hover { border-color: #E8A87C; }
.btn-danger[disabled] {
  color: #6d7480; border-color: var(--border); cursor: default;
}

/* --------------------------------------------------------- card hovers */

.lane, .feature, .tier-lead, .cap, .panel, .diagram, .field input, .field textarea {
  transition: border-color 0.18s ease;
}
.lane:hover, .feature:hover, .tier-lead:hover, .cap:hover { border-color: #3a404b; }

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

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: none; }
  /* stacked, the diagram would otherwise stretch to the full container and
     render at nearly twice the body type size */
  .diagram { max-width: 560px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-lead-body { grid-template-columns: 1fr; gap: 20px; }
  .steps { gap: 32px; }
  .panel-split { grid-template-columns: 1fr; gap: 34px; }
  .ent-split { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .doc { grid-template-columns: 1fr; gap: 34px; }
  .doc-toc { position: static; }
  .cab-cols { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav { gap: 18px; }
  .nav .nav-wide { display: none; }
  .sec { padding: 60px 0; }
  .sec-tight { padding: 52px 0; }
  .hero { padding: 52px 0 60px; }
  .hero h1 { max-width: none; }
  .sec-head { margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .lanes { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .panel { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lane, .feature { padding: 20px 20px 22px; }
  .cab-card { padding: 20px 20px 22px; }
  .cab-hero { padding: 48px 0 32px; }
  .cab-sec { padding: 32px 0 56px; }
  .tier-lead { padding: 22px 22px 24px; }
  .tiers-next { grid-template-columns: 1fr; gap: 22px; }
  .diagram { padding: 18px 14px 14px; }

  /* the landscape flow scales down to an illegible width on a phone:
     swap in the portrait one and scale its type up to match */
  .diagram .d-wide { display: none; }
  .diagram .d-tall { display: block; }
  .d-label { font-size: 16px; }
  .d-sub, .d-cap { font-size: 13px; }
  .d-title { font-size: 19px; }
}

@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  /* the sign-in link is the one nav item a signed-up user needs on a phone;
     "get in touch" is an on-page anchor and lives in the footer too */
  .nav { gap: 15px; }
  .nav .nav-mid { display: none; }
  .hero-note { padding: 14px 16px; }
  .btn { justify-self: stretch; text-align: center; }
  .cab-rows > div { flex-direction: column; align-items: flex-start; gap: 3px; }
  .cab-rows dd { text-align: left; }
  .cab-actions { flex-direction: column; align-items: stretch; }
  .cab-confirm { max-width: none; }
  .btn-danger { width: 100%; }
  .foot-bottom { flex-direction: column; gap: 8px; margin-top: 40px; }
}
