/* sigdek.com. Same tokens as the dashboard and the report, set larger for reading. */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/public-sans-latin-wght-normal.5ed4d31c98.woff2) format("woff2-variations");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/ibm-plex-mono-latin-400-normal.08949f728d.woff2) format("woff2");
}

:root {
  --paper: #f3f6f4;
  --surface: #ffffff;
  --ink: #15231f;
  --muted: #56645d;
  --faint: #5e6b64;
  --line: #d4ddd8;
  --line-strong: #b7c4bd;
  --seal: #0f5c4d;
  --seal-ink: #ffffff;
  --seal-2: #7fbba7;
  --seal-3: #22705a;
  --seal-wash: #e6f1ec;
  --flag: #8a5300;
  --flag-wash: #fbefd9;
  --deny: #9e2a2a;
  --deny-wash: #f9e3e1;
  --term: #10201b;
  --term-ink: #d8e6df;
  --focus: #1f6fd1;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1311;
    --surface: #131b18;
    --ink: #e2ebe6;
    --muted: #9aaaa2;
    --faint: #84938c;
    --line: #26332e;
    --line-strong: #364640;
    --seal: #3fae92;
    --seal-ink: #06231b;
    --seal-2: #23604f;
    --seal-3: #3a9e83;
    --seal-wash: #12261f;
    --flag: #e2a54a;
    --flag-wash: #2d220f;
    --deny: #f08a80;
    --deny-wash: #321716;
    --term: #18231f;
    --term-ink: #d8e6df;
    --focus: #6aa8ff;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--seal);
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.88em;
}
:not(pre) > code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 680;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.88rem;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
}

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

.site-head {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 720;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  gap: 22px;
  flex: 1;
}
.site-nav a,
.site-head .signin {
  color: var(--muted);
  text-decoration: none;
  font-weight: 520;
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-head .signin:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: 600 0.98rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--ink);
}
.btn.primary {
  background: var(--seal);
  border-color: var(--seal);
  color: var(--seal-ink);
}
.btn.primary:hover {
  filter: brightness(1.08);
}
.btn.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.92rem;
}
/* Phones: the nav and Sign in move into a disclosure menu that works without JavaScript. */
.menu {
  display: none;
}
.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary svg {
  flex: none;
}
.menu[open] summary {
  border-color: var(--ink);
}
.menu[open] .menu-open-icon,
.menu:not([open]) .menu-close-icon {
  display: none;
}
.menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  padding: 4px 16px 18px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.45);
}
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
}
.menu-panel a + a {
  border-top: 1px solid var(--line);
}
.menu-panel a[aria-current="page"] {
  color: var(--seal);
}
.menu-panel a.btn {
  display: none;
  margin-top: 12px;
  justify-content: center;
}
@media (max-width: 820px) {
  .site-nav,
  .site-head .signin {
    display: none;
  }
  .site-head .wrap {
    gap: 12px;
  }
  .wordmark {
    margin-right: auto;
  }
  .menu {
    display: block;
  }
}
/* The narrowest phones: the trial button moves from the header into the menu. */
@media (max-width: 369px) {
  .site-head .head-cta {
    display: none;
  }
  .menu-panel a.btn {
    display: flex;
  }
}

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

.hero {
  padding: 72px 0 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.hero p.lede {
  margin-top: 22px;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34em;
}
.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero .fine {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--faint);
}
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 44px;
  }
}

/* The ledger: real records, each sealed with the hash of the one before. */
.ledger {
  margin: 0;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 0;
  font-size: 0.86rem;
  box-shadow: 0 30px 60px -40px rgba(15, 92, 77, 0.45);
}
.ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 18px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.ledger-head b {
  color: var(--ink);
  font-weight: 620;
}
.ledger-head span:last-child {
  white-space: nowrap;
}
.rec {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 12px 18px 12px 18px;
}
.rec + .rec {
  border-top: 1px dashed var(--line);
}
.rec time {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.rec .who {
  color: var(--muted);
  font-size: 0.8rem;
}
.rec .what {
  font-family: var(--mono);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}
/* A word of a command or rule name: lines break between words, never inside a flag. */
.rec .what .w,
.terminal .w {
  white-space: nowrap;
}
.rec .res {
  font-size: 0.78rem;
  font-weight: 620;
  color: var(--muted);
  white-space: nowrap;
}
.rec .res.blocked {
  color: var(--deny);
}
.rec .res.flagged {
  color: var(--flag);
}
.rec .seal {
  grid-column: 2 / 4;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec .seal b {
  color: var(--seal-3);
  font-weight: 400;
}
.rec.blocked-row {
  background: linear-gradient(90deg, var(--deny-wash), transparent 70%);
}
.ledger-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 6px;
  border-top: 1px solid var(--line);
  color: var(--seal);
  font-weight: 620;
  font-size: 0.82rem;
}
.ledger-foot::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--seal-3);
}
/* Phones: the result goes under the command instead of squeezing it. */
@media (max-width: 480px) {
  .ledger-head,
  .ledger-foot {
    padding-left: 14px;
    padding-right: 14px;
  }
  .rec {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 3px 10px;
    padding: 12px 14px;
  }
  .rec .res {
    grid-column: 2;
    white-space: normal;
  }
  .rec .seal {
    grid-column: 2;
  }
}

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

section.band {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
section.band.alt {
  background: var(--surface);
}
.band-head {
  max-width: 44em;
  margin-bottom: 40px;
}
.band-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}
.prose {
  max-width: 42em;
}
.prose p + p {
  margin-top: 1em;
}
.prose h2 {
  margin: 2.2em 0 0.6em;
}
.prose h3 {
  margin: 1.8em 0 0.5em;
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
}
.prose li + li {
  margin-top: 0.35em;
}
.prose pre {
  background: var(--term);
  color: var(--term-ink);
  padding: 14px 16px;
  border-radius: 8px;
  overflow-x: auto;
  line-height: 1.5;
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
table.spec th,
table.spec td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  border-top: 1px solid var(--line);
}
table.spec thead th {
  border-top: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
table.spec td:first-child {
  font-weight: 620;
  white-space: nowrap;
}
table.spec td.crit {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--seal);
  white-space: nowrap;
}
.table-scroll {
  overflow-x: auto;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  border-top: 2px solid var(--seal);
  padding-top: 18px;
}
.steps li::before {
  content: counter(s);
  display: block;
  font-weight: 700;
  color: var(--seal);
  margin-bottom: 8px;
}
.steps h3 {
  margin-bottom: 8px;
}
.steps p {
  color: var(--muted);
}
.steps pre {
  margin: 14px 0 0;
  background: var(--term);
  color: var(--term-ink);
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 0.8rem;
  overflow-x: auto;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .two {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

.term-fig {
  margin: 0;
  min-width: 0;
}
.terminal {
  background: var(--term);
  color: var(--term-ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.terminal p {
  padding-left: 2ch;
  text-indent: -2ch;
}
.terminal .no {
  padding-left: 4ch;
  color: #f3a59d;
}
.terminal .agent {
  color: #9fd6c2;
}
.terminal .gap {
  margin-top: 1.2em;
}
.term-fig figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

ul.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
ul.checks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
}
ul.checks li::before {
  content: "";
  width: 7px;
  height: 12px;
  margin: 4px 0 0 4px;
  border: solid var(--seal);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
ul.checks.never li::before {
  width: 14px;
  height: 14px;
  margin: 6px 0 0;
  border: 2px solid var(--deny);
  border-radius: 3px;
  transform: none;
  background: linear-gradient(45deg, transparent 45%, var(--deny) 45%, var(--deny) 55%, transparent 55%);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
/* The free plan sits back a little: it's the recorder alone, not the hosted product. */
.plan.free {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-strong);
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.plan .price {
  font-size: 2.4rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan .price small {
  font-size: 1rem;
  font-weight: 450;
  color: var(--muted);
  letter-spacing: 0;
}
.plan ul {
  margin: 4px 0 8px;
  padding-left: 1.1em;
  color: var(--muted);
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }
}

dl.faq {
  margin: 0;
  max-width: 46em;
}
dl.faq dt {
  font-weight: 640;
  margin-top: 26px;
}
dl.faq dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.cta-band {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  background: var(--seal);
  color: var(--seal-ink);
}
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  max-width: 22em;
}
.cta-band .btn {
  background: var(--seal-ink);
  color: var(--seal);
  border-color: var(--seal-ink);
}
.cta-band :focus-visible {
  outline-color: var(--seal-ink);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- docs and legal */

.page-head {
  padding: 56px 0 8px;
}
.page-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 40em;
}
.doc {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding: 32px 0 80px;
}
.doc nav {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 6px;
  font-size: 0.93rem;
}
.doc nav a {
  color: var(--muted);
  text-decoration: none;
}
.doc nav a:hover {
  color: var(--ink);
}
.doc .prose h2:first-child {
  margin-top: 0;
}
@media (max-width: 860px) {
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc nav {
    position: static;
  }
}
.updated {
  color: var(--faint);
  font-size: 0.9rem;
  margin-top: 8px;
}

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

.site-foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-foot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-foot a {
  color: var(--muted);
}

.legal {
  padding: 24px 0 80px;
}
.faq-band {
  padding: 24px 0 80px;
}
.plans-band {
  padding: 40px 0 24px;
}
.after {
  margin-top: 22px;
}
.narrow {
  max-width: 46em;
}
.plan-name {
  font-size: 1.3rem;
}
.band-head.flush {
  margin-bottom: 0;
}
.band-head.tight {
  margin-bottom: 24px;
}
.list-head {
  margin-bottom: 16px;
}
.page-head.tall {
  padding-bottom: 120px;
}
table.spec code {
  overflow-wrap: anywhere;
}

/* Phones: two-column docs tables (a command, then what it does) put the second cell under
   the first, so command names and URLs keep their width instead of breaking mid-word. */
@media (max-width: 600px) {
  table.pairs,
  table.pairs tbody,
  table.pairs tr,
  table.pairs td {
    display: block;
  }
  table.pairs tr {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  table.spec.pairs td {
    padding: 0;
    border: 0;
    white-space: normal;
  }
  table.spec.pairs td + td {
    margin-top: 4px;
  }
  table.spec.pairs code {
    overflow-wrap: break-word;
  }
}

/* Phones: the report table stacks each row (section and criteria, then the answer). The
   markup carries explicit table roles, so changing display here doesn't drop the semantics. */
@media (max-width: 600px) {
  table.stack,
  table.stack tbody,
  table.stack td {
    display: block;
  }
  table.stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  table.stack tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  table.spec.stack td {
    padding: 0;
    border: 0;
  }
  table.stack td.crit {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    white-space: normal;
  }
  table.stack td:nth-child(2) {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
}
@media (max-width: 480px) {
  table.spec th,
  table.spec td {
    padding-right: 10px;
  }
  table.spec td:first-child {
    white-space: normal;
  }
}
