/* The sales website's only stylesheet.

   Direction: the job docket. Navy and blue (the OntraOS app theme; orange stays in the logo only) and a
   condensed DIN-style face (Bahnschrift on Windows, DIN on Apple, Roboto
   Condensed or Arial Narrow elsewhere). No web fonts: every face is a
   system font, so the site loads nothing from other websites.

   Light and dark follow the device (prefers-color-scheme). Text colours
   pass WCAG 2.2 AA on their backgrounds in both themes. */

:root {
  color-scheme: light dark;
  --paper: #f4f6f7;
  --surface: #ffffff;
  --surface-2: #e8ecef;
  --ink: #0b1b33;
  --muted: #4a5a6c;
  --line: #cfd7de;
  --line-strong: #0b1b33;
  --link: #0b6b6a;
  --accent: #1463d9;
  --accent-hover: #1053b8;
  --accent-ink: #ffffff;
  --band: #0b1b33;
  --band-2: #1c3150;
  --band-ink: #ffffff;
  --band-muted: #c3cfdb;
  --tick: #0b6b6a;
  --focus: #0b6b6a;
  --max: 76rem;
  --gutter: 1rem;
  --radius: 8px;
  --display: "Bahnschrift", "DIN Condensed", "DIN Alternate", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1622;
    --surface: #12202f;
    --surface-2: #172839;
    --ink: #e8eef4;
    --muted: #a6b4c3;
    --line: #2b3e53;
    --line-strong: #e8eef4;
    --link: #62d4cc;
    --band: #162a42;
    --band-2: #1f3756;
    --band-muted: #c3cfdb;
    --tick: #62d4cc;
    --focus: #5b9dff;
  }
}

@media (min-width: 40rem) {
  :root {
    --gutter: 1.5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Type. One condensed display face for headings and figures, the system
   face for reading. The scale steps by about a fourth. */

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

h1,
h2 {
  font-stretch: 80%;
}

h1 {
  font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(2rem, 1.45rem + 2.2vw, 3rem);
}

h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

main:focus {
  outline: none;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: var(--radius);
}

.skip:focus {
  top: 1rem;
}

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  max-width: 38em;
}

.lead-small {
  font-size: 1.15rem;
  line-height: 1.55;
}

.fine {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Buttons. Yellow is the action colour everywhere: a button you press. */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-size: 1.125rem;
  font-stretch: 88%;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 3px 0 var(--ink);
  transform: translateY(-2px);
}

.button:active {
  box-shadow: none;
  transform: none;
}

.button-small {
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  font-size: 1rem;
}

.button-block {
  display: flex;
  width: 100%;
}

.button-line {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.button-ink {
  background: var(--band);
  border-color: var(--band);
  color: var(--band-ink);
}

.button-line-ink {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.text-link {
  font-weight: 700;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "brand actions"
    "nav nav";
  align-items: center;
  column-gap: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.25rem;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 2rem;
  width: auto;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

@media (max-width: 24rem) {
  .brand {
    font-size: 1.2rem;
  }

  .header-actions .button-small {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
}

.sign-in {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.sign-in:hover {
  text-decoration: underline;
}

.site-nav {
  grid-area: nav;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0.35rem 0 0.2rem;
  list-style: none;
  overflow-x: auto;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  border-bottom-color: var(--line);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

@media (min-width: 52rem) {
  .header-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav actions";
    column-gap: 2.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .site-nav ul {
    padding: 0;
  }
}

/* Hero: the navy band with the product drawn on it. */

.hero {
  --focus: #5b9dff;
  background: var(--band);
  color: var(--band-ink);
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  max-width: 11ch;
}

.hero .lead {
  color: var(--band-muted);
}

.hero-small {
  color: var(--band-muted);
  font-size: 0.95rem;
}

.hero-art {
  position: relative;
  padding-bottom: 12%;
}

.art-scheduler {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55);
}

.art-phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 30%;
  filter: drop-shadow(0 20px 30px rgb(0 0 0 / 0.5));
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 3rem;
  }

  .hero-art {
    margin-right: calc(-1 * var(--gutter));
  }
}

/* The docket: the path of one job as a strip of tear-off stubs. */

.docket-band {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}

.docket-title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  margin-bottom: 1.25rem;
}

.docket {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.stub {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1rem 1.2rem;
  border-right: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

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

.stub:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stub-ref {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.stub-step {
  font-family: var(--display);
  font-size: 1.6rem;
  font-stretch: 80%;
  font-weight: 700;
  line-height: 1;
}

.stub-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.stub-paid {
  background: var(--accent);
  color: var(--accent-ink);
}

.stub-paid .stub-ref,
.stub-paid .stub-text {
  color: #ffffff;
}

.stamp {
  position: absolute;
  top: 0.8rem;
  right: 0.7rem;
  padding: 0.05rem 0.45rem;
  border: 3px solid #ffffff;
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  transform: rotate(-12deg);
  opacity: 0.85;
}

@media (min-width: 40rem) {
  .docket {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stub:nth-child(2n) {
    border-right: 2px dashed var(--line);
  }

  .stub:nth-child(3n) {
    border-right: 0;
  }

  .stub:nth-last-child(-n + 3) {
    border-bottom: 0;
  }
}

@media (min-width: 68rem) {
  .docket {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .stub,
  .stub:nth-child(2n),
  .stub:nth-child(3n) {
    border-right: 2px dashed var(--line);
    border-bottom: 0;
  }

  .stub:last-child {
    border-right: 0;
  }
}

/* Sections */

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section-tight {
  padding-top: 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-head {
  display: grid;
  gap: 0.5rem 3rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head h2 {
  margin: 0;
  max-width: 16ch;
}

.section-head p {
  margin: 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (min-width: 52rem) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }
}

/* Lists with ticks */

.ticks {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.75rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.8rem;
  border-right: 3px solid var(--tick);
  border-bottom: 3px solid var(--tick);
  transform: rotate(45deg);
}

/* Who it is for */

.trades {
  display: grid;
  gap: 2.5rem;
}

.trade {
  padding-top: 1.1rem;
  border-top: 6px solid var(--line-strong);
}

.trade h3 {
  font-size: 1.6rem;
  font-stretch: 85%;
  margin-bottom: 0.4rem;
}

.trade > p {
  color: var(--muted);
}

@media (min-width: 52rem) {
  .trades {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

/* Departments */

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

.dept {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.dept h3 {
  margin-bottom: 0.3rem;
}

.dept p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 40rem) {
  .depts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}

@media (min-width: 64rem) {
  .depts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-pair {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.pair-title {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-stretch: 80%;
}

.art-frame {
  margin: 0;
}

.art-frame img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 40px -22px rgb(19 35 58 / 0.55);
}

.art-frame-phone img {
  box-shadow: none;
  max-width: 22rem;
  margin: 0 auto;
}

@media (min-width: 52rem) {
  .feature-pair {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3.5rem;
  }
}

/* Phone app */

.phone-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 52rem) {
  .phone-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4rem;
  }
}

/* Your data stays apart */

.apart {
  --focus: #5b9dff;
  --link: #8fe3dc;
  background: var(--band);
  color: var(--band-ink);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.apart h2 {
  margin-bottom: 1.75rem;
}

.apart-list {
  display: grid;
  gap: 1.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.apart-list li {
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}

.apart-list p {
  margin: 0;
  color: var(--band-muted);
}

@media (min-width: 52rem) {
  .apart-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

/* Prices */

.price-flag {
  display: inline-block;
  max-width: 40em;
  margin: 0.5rem 0 1.25rem;
  padding: 0.55rem 0.85rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
}

.tier-strip {
  display: grid;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.tier-strip li {
  padding: 1.4rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.tier-strip li:last-child {
  border-bottom: 0;
}

.tier-strip h3 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.tier-strip p {
  margin: 0;
  color: var(--muted);
}

.tier-strip .tier-price {
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.tier-price strong,
.tier-amount strong,
.hosting-fee strong {
  font-family: var(--display);
  font-size: 2.1rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

@media (min-width: 52rem) {
  .tier-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tier-strip li {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .tier-strip li:last-child {
    border-right: 0;
  }
}

/* How buying works: a real sequence, so the steps carry numbers. */

.steps {
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 4rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
}

.steps p {
  color: var(--muted);
}

@media (min-width: 52rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .steps li {
    padding: 4rem 0 0;
  }
}

/* Closing band */

.closing {
  --focus: #ffffff;
  background: var(--accent);
  color: #ffffff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.closing .button-ink {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b1b33;
}

.closing-row {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.closing h2 {
  margin: 0;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem);
}

.closing .actions {
  margin: 0;
}

@media (min-width: 52rem) {
  .closing-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
  }
}

/* Page heads of the inner pages */

.page-head {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-head h1 {
  max-width: 14ch;
}

.page-head .lead {
  color: var(--muted);
}

/* Pricing: tier cards */

.tier-cards {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.25rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

/* The accent bars count the tier: one, two and three. */
.tier-card::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 0.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--accent) 0 100%);
  border-radius: 2px;
}

.tier-card:nth-child(2)::before {
  width: 3.25rem;
  background: repeating-linear-gradient(90deg, var(--accent) 0 1.5rem, transparent 1.5rem 1.75rem);
}

.tier-card:nth-child(3)::before {
  width: 5rem;
  background: repeating-linear-gradient(90deg, var(--accent) 0 1.5rem, transparent 1.5rem 1.75rem);
}

.tier-card h3 {
  font-size: 1.9rem;
  font-stretch: 85%;
  margin-bottom: 0.25rem;
}

.tier-for {
  color: var(--muted);
}

.tier-amount {
  margin: 0.25rem 0 0.2rem;
}

.tier-amount span {
  color: var(--muted);
}

.tier-min {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.tier-card .button-block {
  margin-bottom: 1.25rem;
}

.tier-plus {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.tier-card .ticks {
  margin: 0;
  font-size: 0.98rem;
}

@media (min-width: 60rem) {
  .tier-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Hosting */

.hosting {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hosting-option {
  padding: 1.5rem 1.35rem;
  border-left: 6px solid var(--line-strong);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hosting-option h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.hosting-fee {
  color: var(--muted);
}

.hosting-fee strong {
  color: var(--ink);
}

.hosting-option p:last-child {
  margin: 0;
}

@media (min-width: 52rem) {
  .hosting {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Comparison table */

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

thead th {
  position: sticky;
  top: 0;
  background: var(--surface);
  font-family: var(--display);
  font-size: 1.1rem;
  border-bottom: 2px solid var(--line-strong);
}

.compare thead th:not(:first-child),
.compare td {
  width: 18%;
  text-align: center;
}

.compare tbody th {
  font-weight: 500;
}

.compare .group th {
  padding-top: 1.25rem;
  background: var(--surface-2);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
}

.compare tbody tr:last-child > * {
  border-bottom: 0;
}

/* The cell text stays for screen readers. The mark shows it. */
.compare td.yes,
.compare td.no {
  position: relative;
  font-size: 0;
}

.compare td.yes::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.95rem;
  border-right: 3px solid var(--tick);
  border-bottom: 3px solid var(--tick);
  transform: rotate(45deg);
}

.compare td.no::before {
  content: "";
  display: inline-block;
  width: 0.9rem;
  height: 2px;
  background: var(--muted);
  vertical-align: middle;
}

/* Questions */

.faq-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 52rem) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 3rem;
  }
}

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

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1rem 2.5rem 1rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
}

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

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 1rem;
  height: 3px;
  margin-top: -1.5px;
  background: var(--ink);
}

.faq summary::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  max-width: 40em;
  color: var(--muted);
}

/* Features page */

.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.toc a:hover {
  border-color: var(--line-strong);
}

.feature-art {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.feature-art img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 18px 40px -22px rgb(19 35 58 / 0.55);
}

.feature-groups {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.feature-group {
  display: grid;
  gap: 1rem 3rem;
  padding: 2rem 0;
  border-top: 2px solid var(--line-strong);
  scroll-margin-top: 7rem;
}

.feature-group h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
}

.feature-list {
  display: grid;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 44rem) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .feature-group {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  }

  .feature-group h2 {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

/* Text pages: security, contact, privacy and terms */

.prose {
  max-width: calc(44rem + 2 * var(--gutter));
  margin-left: 0;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

@media (min-width: 76rem) {
  .prose {
    margin-left: calc((100% - var(--max)) / 2);
  }
}

.prose section {
  padding: 1.75rem 0 0.5rem;
  border-top: 2px solid var(--line-strong);
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--muted);
}

.placeholder,
.note {
  padding: 0.8rem 1rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.contact-email {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 700;
  word-break: break-all;
}

.contact-line .button {
  min-height: 2.5rem;
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
}

.copy-status {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  --focus: #5b9dff;
  --link: #ffffff;
  background: var(--band);
  color: var(--band-muted);
  padding: 3rem 0 0;
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 0.4rem;
  color: var(--band-ink);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
}

.footer-about p:last-child {
  max-width: 28em;
}

.footer-head {
  margin-bottom: 0.5rem;
  color: var(--band-ink);
  font-weight: 700;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: var(--band-ink);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--band-2);
}

.footer-base p {
  margin: 0;
  font-size: 0.9rem;
}

@media (min-width: 44rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
