/* The app's and auth's JetBrains Mono: the master, then the Latin subset as
   one family. The subset's range is the README's pyftsubset --unicodes list.
   The master's is the rest of Unicode plus the combining marks U+0300-036F,
   where it keeps all of its marks, so a sequence such as и + U+0301 renders
   whole from the master. Browsers try the last-declared face first. Latin
   text without combining marks never fetches the master: Chromium also
   fetches a face covering text while an earlier one is still loading. */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/fonts/jetbrains-mono-regular.woff2?v=8aegNnLN1JTODVVD") format("woff2");
  unicode-range:
    U+0300-1DFF, U+1F00-1FFF, U+20D0-20FF, U+2150-218F, U+219A-2211,
    U+2213-2214, U+2216-2218, U+221A-221D, U+221F-2247, U+2249-225F,
    U+2261-2263, U+2266-2712, U+2714, U+2716, U+2718-FEFE, U+FF00-FFFC,
    U+FFFE-10FFFF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/fonts/jetbrains-mono-latin.woff2?v=s4r9lXoOe3honJAS") format("woff2");
  unicode-range:
    U+0000-036F, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF,
    U+2100-214F, U+2190-2199, U+2212, U+2215, U+2219, U+221E, U+2248, U+2260,
    U+2264-2265, U+2713, U+2715, U+2717, U+FEFF, U+FFFD;
}

/* Shared Carbon Copy theme. The site explicitly chooses light; the app follows
   the system. Both dark declarations are kept equal by contrast.test.ts.
   Each product declares JetBrains Mono itself: mono-site.css or mono-split.css. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("/fonts/geist-latin-variable.woff2?v=m29f9FsnjHRLXzea") format("woff2");
}
:root {
  color-scheme: light;
  --ground: #eeeae1;
  --surface: #faf7ef;
  --ink: #242424;
  --muted: #625f58;
  --hairline: #bcb5a8;
  --accent: #242424;
  --on-accent: #ffffff;
  --accent-hover: #45423c;
  --sheet-bar: #e3d1a8;
  --sheet-bar-ink: #242424;
  --sheet-rule: #242424;
  --input: #80786b;
  --shadow: rgba(34, 31, 27, 0.08);
  --font-display: var(--font-mono);
  --font-display-weight: 400;
  --font-sans:
    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* The printed-form serif of the signed-in cover sheet; system fonts only. */
  --font-form: "Times New Roman", Times, Georgia, serif;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --text-caption: 0.75rem;
  --text-small: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-subtitle: 1.25rem;
  --text-title: 1.2rem;
  --text-page: clamp(2rem, 4vw, 2.5rem);
  --text-section: clamp(1.5rem, 2.8vw, 2.1rem);
  --text-hero: clamp(1.85rem, 3.8vw, 3rem);
  /* The cover sheet form's title: large on paper, still fits a 320px phone. */
  --text-form-title: clamp(1.75rem, 8vw, 4.2rem);
  --leading-body: 1.6;
  --leading-heading: 1.2;
  --leading-label: 1.5;
  --leading-document: 1.85;
  --radius-card: 0;
  --radius-control: 0.5rem;
  --radius-button: 0;
  --radius-sheet: 0;
  --control-height: 3rem;
  --touch-target: 2.75rem;
  --shadow-sheet: 3px 3px 0 var(--hairline);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #1e1d1a;
    --surface: #292722;
    --ink: #f5efdf;
    --muted: #c0b7a4;
    --hairline: #66604f;
    --accent: #e9d6aa;
    --on-accent: #292722;
    --accent-hover: #f4e6c8;
    --sheet-bar: #3e382c;
    --sheet-bar-ink: #f5efdf;
    --sheet-rule: #b9aa87;
    --input: #9a907b;
    --shadow: rgba(0, 0, 0, 0.3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #1e1d1a;
  --surface: #292722;
  --ink: #f5efdf;
  --muted: #c0b7a4;
  --hairline: #66604f;
  --accent: #e9d6aa;
  --on-accent: #292722;
  --accent-hover: #f4e6c8;
  --sheet-bar: #3e382c;
  --sheet-bar-ink: #f5efdf;
  --sheet-rule: #b9aa87;
  --input: #9a907b;
  --shadow: rgba(0, 0, 0, 0.3);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: var(--text-body) / var(--leading-body) var(--font-sans);
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  letter-spacing: -0.025em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a,
button,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
pre,
code {
  font-family: var(--font-mono);
  font-variant-ligatures: none;
}
p,
li,
dd,
code {
  overflow-wrap: anywhere;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  font: var(--font-display-weight) var(--text-subtitle)/1 var(--font-display);
  text-decoration: none;
}
.brand svg {
  flex: none;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 1.25rem;
  z-index: 2;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--ink);
}
.skip-link:focus {
  top: 0.75rem;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  min-height: var(--control-height);
  max-width: 100%;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--accent);
  border-radius: var(--radius-button);
  background: var(--accent);
  color: var(--on-accent);
  font: 600 var(--text-small) / var(--leading-label) var(--font-sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.button:hover,
button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.button.secondary,
button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button.secondary:hover,
button.secondary:hover {
  background: var(--surface);
}
input,
textarea {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--input);
  border-radius: var(--radius-control);
  padding: var(--space-3);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.small-note,
.sheet-content > .small-note {
  font-size: var(--text-small);
  color: var(--muted);
}
.billing-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  margin-block: var(--space-4);
}
.billing-note p {
  flex: 1 1 20rem;
  margin: 0;
}
/* No block margin, so a page's form spacing can't push the button off center. */
.billing-note form {
  margin-block: 0;
  margin-inline-start: auto;
}
/* Beside text, the text fills the row, so a wrapped button starts under it. */
.billing-note p + form {
  margin-inline-start: 0;
}
.billing-note button {
  min-height: auto;
  padding: var(--space-2) var(--space-4);
}
.sheet {
  --sheet-padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sheet);
  box-shadow: var(--shadow-sheet);
  min-width: 0;
}
.sheet-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-3) var(--sheet-padding);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  border-top: 2px solid var(--sheet-rule);
  border-bottom: 1px solid var(--ink);
  background: var(--sheet-bar);
  color: var(--sheet-bar-ink);
  font: var(--text-caption) / var(--leading-label) var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Shared editorial pieces for marketing examples and app documents. */
.eyebrow {
  margin: 0;
  color: var(--muted);
  font: var(--text-caption) / var(--leading-label) var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sheet-content {
  padding: var(--sheet-padding, var(--space-6));
}
/* One complete instruction per item; hanging markers keep wrapped text aligned. */
.instruction-list {
  margin: 0;
  padding-inline-start: var(--space-4);
  list-style: disc outside;
}
.instruction-list > li + li {
  margin-top: var(--space-2);
}
.sheet-content > p {
  margin: var(--space-3) 0 0;
  font-size: var(--text-body);
}
/* The About report's framing, shared by the site's report pages. */
:where(.report-page) :where(h1, h2, h3, p, figure, blockquote) {
  margin: 0;
}
.report-page p,
.report-page li,
.report-page blockquote {
  text-wrap: pretty;
}
.report-page {
  padding-top: var(--space-16);
}
.report-page .page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2) var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--sheet-rule);
}
.report-page .page-head h1 {
  font-size: var(--text-page);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.report-page .page-note {
  color: var(--muted);
  font: var(--text-small) / var(--leading-label) var(--font-mono);
}
.report-page .report-wrap {
  position: relative;
  margin-top: var(--space-10);
  padding-bottom: var(--space-6);
}
.report-page .report > .sheet-content {
  padding-block: var(--space-8) var(--space-6);
}
.report-page .report-heading {
  font-size: var(--text-section);
  letter-spacing: -0.045em;
}
.report-page .applies {
  margin-top: var(--space-3);
  color: var(--muted);
  font: italic var(--text-body) / var(--leading-label) var(--font-form);
}
.report-section {
  margin-top: var(--space-8);
}
.report-section h3 {
  font-size: var(--text-subtitle);
}
.report-section > * + * {
  margin-top: var(--space-3);
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--text-small);
  font-variant-numeric: tabular-nums;
}
.report-table th,
.report-table td {
  padding: var(--space-2);
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.report-table thead {
  background: var(--sheet-bar);
  color: var(--sheet-bar-ink);
}
.report-table th {
  font-weight: 600;
}
.report-table th:first-child {
  width: 40%;
}
@media (max-width: 767px) {
  .report-page {
    padding-top: var(--space-10);
  }
  .sheet {
    --sheet-padding: var(--space-5);
  }
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: var(--leading-body);
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
header,
main {
  width: min(100% - 2rem, 56rem);
  margin-inline: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-8);
}
header > a:first-child {
  font-family: var(--font-mono);
  font-size: var(--text-subtitle);
  text-decoration: none;
}
header span {
  display: block;
  font-size: var(--text-caption);
}
.sheet {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sheet);
  padding: clamp(1.25rem, 5vw, 3rem);
}
h1,
h2,
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
}
h1 {
  font-size: var(--text-page);
  line-height: var(--leading-heading);
  margin-block: var(--space-4) var(--space-6);
}
h2 {
  font-size: var(--text-subtitle);
  margin-top: var(--space-10);
}
p {
  text-wrap: pretty;
}
.eyebrow,
.hint,
.divider,
footer {
  font-size: var(--text-small);
  color: var(--muted);
}
form {
  display: grid;
  gap: var(--space-4);
}
label {
  display: grid;
  gap: var(--space-2);
}
input,
button {
  font: inherit;
  color: inherit;
  min-height: var(--control-height);
  border: 1px solid var(--input);
  border-radius: var(--radius-control);
  padding: var(--space-3);
  width: 100%;
  background: var(--surface);
}
button {
  cursor: pointer;
  border-radius: var(--radius-button);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
button:hover {
  background: var(--accent-hover);
}
button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hairline);
}
button:disabled {
  color: var(--muted);
  cursor: default;
}
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.social,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.social > form,
.actions > form {
  flex: 1 1 13rem;
}
nav,
footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
footer {
  padding-block: var(--space-6);
}
.divider {
  margin-block: var(--space-6);
}
.notice {
  border-left: 3px solid var(--ink);
  padding: var(--space-4);
  background: var(--ground);
}
.identifier {
  overflow-wrap: anywhere;
}
fieldset {
  margin: 0;
  padding: var(--space-4);
  border: 1px solid var(--hairline);
}
.choice {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-block: var(--space-4);
}
.choice input {
  width: 1.25rem;
  min-height: 1.25rem;
  margin: 0;
}
.choice span {
  grid-column: 2;
  color: var(--muted);
}
.records {
  padding: 0;
  list-style: none;
}
.records li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  border-bottom: 1px solid var(--hairline);
  padding-block: var(--space-4);
}
.records p {
  margin: 0;
  font-size: var(--text-small);
}
@media (max-width: 480px) {
  header {
    align-items: flex-start;
  }
  .actions > button {
    width: 100%;
  }
  header > a:last-child {
    font-size: var(--text-small);
  }
}
