/* Threeum — minimalist typographic system (v3)
   Serif essay column on white, mono labels, thin rules. */

:root {
  --paper: #ffffff;
  --ink: #1b1b1b;
  --ui-ink: #0c0c0c;
  --dim: #6b6b70;
  --faint: #b3b3b0;
  --rule: #ececea;
  --pill-bg: #ecebe7;
  --muted2: #8d8d8a;
  --solid: #111111;
  --solid-ink: #ffffff;
  --accent: #0148b0;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ui: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --col: 600px;
  --sidebar-w: 232px;
}

:root[data-theme="dark"] {
  --paper: #0d0d0d;
  --ink: #d8d8d4;
  --ui-ink: #e4e4e0;
  --dim: #9a9a96;
  --faint: #6e6e6e;
  --rule: #242424;
  --pill-bg: #1e1e1c;
  --muted2: #8d8d8a;
  --solid: #e8e8e4;
  --solid-ink: #111111;
  --accent: #6f9fe8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--faint);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  padding: 0.5rem 1rem;
  font-family: var(--mono);
  font-size: 12px;
}

.skip-link:focus {
  left: 0;
  z-index: 10;
}

/* ── mono label utility ─────────────────────────────── */

.terms-kicker,
.reference-label,
.desktop-nav a,
.header-actions a,
.footer-links a,
.learn-more-links > p,
.learn-more-links summary,
.sales-features > p,
.capacity-field > span,
.form-grid label > span,
.capacity-radio-group legend {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── sidebar / nav (mirendil layout) ────────────────── */

.app {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  padding: 64px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--paper);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ui-ink);
}

.brand .mark {
  height: 26px;
  width: auto;
}

:root[data-theme="dark"] .brand .mark,
:root[data-theme="dark"] .page-mark img {
  filter: invert(1);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 7px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ui-ink);
  text-decoration: none;
}

.nav__item:hover {
  background: var(--pill-bg);
}

.nav__item.is-active {
  background: var(--pill-bg);
}

.nav__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.sidebar__footer {
  margin-top: auto;
}

.mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-size: 12px;
  color: var(--ui-ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ui-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__lines {
  position: relative;
}

.nav-toggle__lines::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.nav-toggle__lines::after {
  position: absolute;
  top: 7px;
  left: 0;
}

.sidebar.is-open .nav-toggle__lines {
  background: transparent;
}

.sidebar.is-open .nav-toggle__lines::before {
  transform: translateY(7px) rotate(45deg);
}

.sidebar.is-open .nav-toggle__lines::after {
  transform: translateY(-7px) rotate(-45deg);
}

.search-button,
.mobile-menu {
  display: none;
}

.app > main,
.app > footer {
  margin-left: var(--sidebar-w);
}

/* ── page scaffold ──────────────────────────────────── */

main {
  padding: 4.5rem 1.5rem 6rem;
}

.terms-document,
.capacity-layout,
.sales-hero,
.reference-section,
.page-hero > div,
.intro,
.features,
.cta-panel,
.hero-copy,
.careers-section,
.essay {
  max-width: var(--col);
  margin-left: auto;
  margin-right: auto;
}

/* centered page mark, like a colophon device */

.page-mark {
  display: block;
  text-align: center;
  margin: 2.5rem 0 7rem;
}

.page-mark img {
  height: 40px;
  width: auto;
}

.terms-kicker {
  text-align: center;
  color: var(--faint);
  margin-bottom: 1.4rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-align: center;
  max-width: 30ch;
  margin: 0 auto 2.6rem;
  text-wrap: balance;
}

h1 + p,
.page-hero p,
.sales-lede {
  margin-bottom: 1.4rem;
}

/* ── essay body ─────────────────────────────────────── */

.terms-document p,
.intro-copy p,
.reference-copy p,
.essay p,
.capacity-copy > p,
.sales-lede,
.cta-panel p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.terms-document section,
.essay section {
  margin-top: 3.2rem;
}

/* numbered section headings, mirendil-style */

.terms-document,
.essay {
  counter-reset: sec;
}

.terms-document section > h2,
.essay section > h2,
.intro > h2,
.features > h2,
.cta-panel h2,
.reference-lead h2,
.capacity-copy h2,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 0.9rem;
}

.terms-document section > h2::before,
.essay section > h2::before {
  counter-increment: sec;
  content: counter(sec) ".0";
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin-bottom: 0.65rem;
}

.terms-document ol,
.terms-document ul,
.essay ol,
.essay ul {
  padding-left: 1.2rem;
  margin-bottom: 1.35rem;
}

.terms-document li,
.essay li {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

/* ── tables ─────────────────────────────────────────── */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0 0.6rem;
  border-top: 1px solid var(--ink);
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.98rem;
  line-height: 1.5;
}

.comparison-table thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 0.9rem;
}

.comparison-table tbody th {
  font-weight: 500;
  white-space: nowrap;
}

/* ── learn-more link blocks ─────────────────────────── */

.learn-more-links {
  margin-top: 3.2rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.learn-more-links > p,
.learn-more-links summary {
  margin-bottom: 0.9rem;
  cursor: default;
}

.learn-more-links summary {
  cursor: pointer;
  list-style: none;
}

.learn-more-links summary::-webkit-details-marker {
  display: none;
}

.learn-more-links summary::after {
  content: " +";
}

.learn-more-links[open] summary::after {
  content: " \2212";
}

.benefits-link {
  display: block;
  font-size: 1.02rem;
  padding: 0.45rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.benefits-link:last-child {
  border-bottom: none;
}

.benefits-link:hover {
  text-decoration: underline;
}

.benefits-link span {
  color: var(--faint);
}

/* ── buttons ────────────────────────────────────────── */

.pill,
.submit-button,
.light-cta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.75em 1.6em;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.pill:hover,
.submit-button:hover,
.light-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.pill-dark,
.submit-button {
  background: var(--ink);
  color: var(--paper);
}

.pill-dark:hover,
.submit-button:hover {
  background: var(--paper);
  color: var(--ink);
}

.header-actions .pill {
  padding: 0.5em 1.1em;
}

.hero-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.8rem;
}

/* ── forms ──────────────────────────────────────────── */

.capacity-request-form,
.sales-form {
  margin-top: 3.4rem;
  border-top: 1px solid var(--rule);
  padding-top: 2.6rem;
  display: grid;
  gap: 1.7rem;
}

.capacity-field {
  display: grid;
  gap: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7rem 1.6rem;
}

.form-grid label {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.form-wide {
  grid-column: 1 / -1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.4em 0;
  outline: none;
  width: 100%;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b6b70'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2em center;
  padding-right: 1.4em;
}

textarea {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.7em 0.85em;
  min-height: 104px;
  resize: vertical;
}

input:focus,
select:focus {
  border-bottom-color: var(--ink);
}

textarea:focus {
  border-color: var(--ink);
}

::placeholder {
  color: var(--faint);
  opacity: 1;
}

.capacity-radio-group {
  border: none;
  display: grid;
  gap: 0.55rem;
}

.capacity-radio-group legend {
  margin-bottom: 0.6rem;
}

.capacity-radio-group label {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 1rem;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--ink);
}

.requester-followup {
  display: grid;
  gap: 1.7rem;
  border-top: 1px solid var(--rule);
  padding-top: 2.2rem;
}

.requester-followup h2 {
  margin-bottom: 0;
}

.payment-notice,
.screening-terms {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: 0.8rem;
}

.payment-notice p,
.screening-terms span,
.process-note {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dim);
}

.payment-notice label,
.screening-terms label {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
}

.submit-button {
  justify-self: start;
}

.help-link {
  font-size: 0.95rem;
  color: var(--dim);
}

/* ── capacity / get-a-cella page ────────────────────── */

.capacity-copy h1 {
  margin-bottom: 1.6rem;
}

.capacity-copy > p {
  text-align: center;
  color: var(--ink);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.8rem;
}

.cella-feature-list h2 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.4rem;
}

.cella-feature-list ul {
  list-style: none;
}

.cella-feature-list li {
  font-size: 1.02rem;
  line-height: 1.6;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.cella-feature-list li:last-child {
  border-bottom: none;
}

.cella-feature-list strong {
  font-weight: 500;
}

/* ── contact / sales pages ──────────────────────────── */

.sales-copy h1 {
  margin-bottom: 1.6rem;
}

.sales-lede {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.6rem;
}

.sales-features {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.sales-features > p {
  margin-bottom: 0.6rem;
}

.sales-features ul {
  list-style: none;
}

.sales-features li {
  font-size: 1.02rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}

.sales-features li:last-child {
  border-bottom: none;
}

.sales-features svg {
  display: none;
}

/* ── about page ─────────────────────────────────────── */

.page-hero {
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: 1.15rem;
  text-align: center;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.reference-section {
  margin-top: 4rem;
}

.reference-label {
  color: var(--faint);
  margin-bottom: 0.9rem;
}

.reference-lead h2 {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.reference-lead p {
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
}

.reference-cards article {
  border-top: 1px solid var(--rule);
  padding: 1.3rem 0 0.4rem;
  margin-top: 1.3rem;
}

.reference-cards article:first-child {
  margin-top: 0.4rem;
}

.reference-cards span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.reference-cards h3 {
  font-weight: 500;
  font-size: 1.12rem;
  margin: 0.4rem 0 0.5rem;
}

.reference-list p {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}

.reference-list strong {
  font-weight: 500;
}

.system-panel {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin-top: 1.8rem;
  color: var(--dim);
}

.system-panel > span {
  color: var(--ink);
  font-weight: 500;
}

.system-panel p {
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 0.7rem;
}

.system-panel dl div {
  display: flex;
  gap: 0.7rem;
}

.system-panel dd {
  color: var(--ink);
}

/* ── guaranteed capacity page ───────────────────────── */

.hero {
  padding-bottom: 1rem;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy > p {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.1rem;
}

.hero-art,
.capacity-stage,
.capacity-artwork {
  display: none;
}

.intro,
.features,
.cta-section {
  margin-top: 4rem;
}

.feature-grid article {
  border-top: 1px solid var(--rule);
  padding: 1.3rem 0 0.3rem;
  margin-top: 1.3rem;
}

.feature-grid img {
  display: none;
}

.feature-grid h3 {
  font-weight: 500;
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.feature-grid p {
  font-size: 1.02rem;
}

.cta-panel {
  border-top: 1px solid var(--rule);
  padding-top: 2.4rem;
  text-align: center;
}

.cta-panel p {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

/* ── home essay ─────────────────────────────────────── */

.essay-mark {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-bottom: 24px;
}

.essay-paths {
  margin-top: 3.4rem;
  border-top: 1px solid var(--rule);
  padding-top: 0.4rem;
  list-style: none;
  padding-left: 0;
}

.essay-paths li {
  border-bottom: 1px solid var(--rule);
  padding: 1.05rem 0;
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
}

.essay-paths .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
  min-width: 2.2rem;
}

.essay-paths a {
  font-size: 1.08rem;
  font-weight: 500;
  text-decoration: none;
}

.essay-paths a:hover {
  text-decoration: underline;
}

.essay-paths .d {
  color: var(--dim);
  font-size: 0.98rem;
}

.roles {
  margin-top: 3.4rem;
}

.role-group {
  margin-top: 2.4rem;
}

.role-area {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.4rem;
}

.roles ul {
  list-style: none;
  padding-left: 0;
}

.roles li {
  border-bottom: 1px solid var(--rule);
}

.roles li a {
  display: block;
  font-size: 1.02rem;
  padding: 0.55rem 0;
  text-decoration: none;
}

.roles li a:hover {
  text-decoration: underline;
}

.programs {
  margin-top: 3.4rem;
  border-top: 1px solid var(--rule);
}

.program-group {
  margin-top: 2.4rem;
}

.program-title {
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.programs p {
  font-size: 1.02rem;
  line-height: 1.65;
}

.program-apply {
  margin-top: 2.2rem;
  color: var(--dim);
}

.posting h1 {
  margin-bottom: 1rem;
}

.posting-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  margin-bottom: 2.6rem;
}

.look-for {
  list-style: none;
  padding-left: 0;
}

.look-for li {
  font-size: 1.02rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}

.look-for li:last-child {
  border-bottom: none;
}

.apply {
  margin-top: 2.8rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}

.back-link {
  margin-top: 2.6rem;
}

.back-link a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
}

.roles li a span,
.program-title a span {
  color: var(--faint);
}

.program-title a {
  text-decoration: none;
}

.program-title a:hover {
  text-decoration: underline;
}

.footnote {
  margin-top: 3.4rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
  max-width: 30rem;
}

.footnote p {
  font-size: 0.88rem;
  color: var(--faint);
  line-height: 1.6;
}

/* ── careers: back arrow, job list, role page ───────── */

.back {
  display: inline-block;
  margin: 0 0 28px;
  color: var(--accent);
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
}

.back:hover {
  opacity: 0.75;
}

.careers-lede {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  max-width: 30rem;
  margin: 0 auto;
}

.jobs {
  margin-top: 64px;
}

.jobs__group + .jobs__group {
  margin-top: 48px;
}

.jobs__dept {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted2);
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.jobs__count {
  color: var(--faint);
}

.job {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 8px 18px 4px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  border-radius: 6px;
  transition: background 0.15s ease, padding 0.15s ease;
}

.job:hover {
  background: var(--pill-bg);
  padding-left: 12px;
  padding-right: 12px;
}

.job__main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.job__title {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ui-ink);
}

.job__meta {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted2);
}

.job__arrow {
  color: var(--faint);
  transition: transform 0.15s ease, color 0.15s ease;
}

.job:hover .job__arrow {
  color: var(--ui-ink);
  transform: translateX(2px);
}

.role__meta {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--muted2);
  text-align: center;
  margin: 16px 0 0;
}

.role__body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-top: 40px;
}

.role__body p {
  margin: 0 0 1em;
  font-size: 17px;
}

.role__body ul {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.role__body li {
  margin: 0.25em 0;
}

.role__body strong {
  color: var(--ui-ink);
  font-weight: 500;
}

.role__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 7px;
  padding: 10px 18px;
  font-family: var(--ui);
  font-size: 14px;
  text-decoration: none;
  background: var(--solid);
  color: var(--solid-ink);
}

.btn:hover {
  opacity: 0.88;
}

.role__apply-note {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted2);
  text-align: center;
  margin: 14px 0 0;
}

.contact-form {
  margin-top: 44px;
  display: grid;
  gap: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted2);
}

.contact-form .role__actions {
  margin-top: 8px;
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* ── footer ─────────────────────────────────────────── */

.site-footer,
.footer {
  border-top: none;
  padding: 3rem 2rem 2.2rem;
}

.footer-inner {
  max-width: none;
  display: grid;
  gap: 1.1rem;
}

.footer-links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.legal,
.legal span {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--faint);
  text-align: center;
}

/* ── responsive ─────────────────────────────────────── */

@media (max-width: 860px) {
  .sidebar {
    position: sticky;
    top: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    z-index: 20;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    margin: 4px 0 0;
    padding: 8px 0 2px;
    border-top: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    display: none;
  }

  .sidebar.is-open .nav {
    display: flex;
  }

  .nav__item {
    padding: 11px 8px;
  }

  .sidebar__footer {
    order: 4;
    flex-basis: 100%;
    display: none;
    margin: 0;
    padding-bottom: 6px;
  }

  .sidebar.is-open .sidebar__footer {
    display: block;
  }

  .app > main,
  .app > footer {
    margin-left: 0;
  }

  main {
    padding: 16px 22px 64px;
  }

  .page-mark {
    margin: 2rem 0 4.5rem;
  }

  .page-mark img {
    height: 36px;
  }

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

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  h1 {
    font-size: 25px;
  }
}
