@import './appearance.css';

:root {
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --s8: 128px;
  --ox-bg: var(--paper);
  --ox-surface: var(--paper);
  --ox-surface-alt: var(--paper);
  --ox-bg-elevated: var(--paper);
  --ox-surface-subtle: var(--paper);
  --ox-ink: var(--ink);
  --ox-body: var(--ink);
  --ox-muted: var(--graphite);
  --ox-line: var(--rule);
  --ox-line-strong: var(--ink);
  --ox-ink-secondary: var(--graphite);
  --ox-ink-muted: var(--graphite);
  --ox-border: var(--rule);
  --ox-border-strong: var(--ink);
  --ox-fold: var(--fold);
  --muted: var(--graphite);
  --line: var(--rule);
  --blue: var(--ink);
  --tool-ink: var(--ink);
  --tool-muted: var(--graphite);
  --tool-line: var(--rule);
  --tool-blue: var(--fold);
  --tool-paper: var(--paper);
}

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

html {
  background: var(--paper);
  color: var(--ink);
}

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

body,
html body {
  font-family: "Geist Serif", Georgia, serif !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

/* KaTeX is left out: it sets its own maths fonts and keeps each formula on one line. */
h1, h2, h3, h4, h5, h6,
p, li, dt, dd, th, td, label, summary,
button, input, select, textarea, a, span:not(.katex, .katex *, .code), b, strong, em {
  font-family: "Geist Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-wrap: wrap !important;
  max-width: none !important;
}

code, pre, kbd, samp, .code {
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

:is(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--fold) !important;
  outline-offset: 3px !important;
}

.frame,
.home-site,
.tool-site,
.hub-site,
.static-site {
  width: 100%;
  background: var(--paper) !important;
  color: var(--ink) !important;
  container-type: inline-size;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

.frame.dark {
  --paper: #151920;
  --ink: #ECEEF2;
  --graphite: #A6AEBB;
  --rule: #2B313C;
  --fold: #E8664A;
  --mark: #7A6420;
  background: #151920 !important;
  color: #ECEEF2 !important;
}

.wrap {
  width: min(1280px, calc(100% - 160px));
  margin: 0 auto;
}

/* Type scale */
.display { font-size: 88px; line-height: 92px; letter-spacing: -0.022em; font-weight: 400; }
.h1 { font-size: 64px; line-height: 70px; letter-spacing: -0.018em; font-weight: 400; }
.h2 { font-size: 56px; line-height: 62px; letter-spacing: -0.015em; font-weight: 400; }
.h3 { font-size: 32px; line-height: 40px; letter-spacing: -0.008em; font-weight: 400; }
.lead { font-size: 24px; line-height: 36px; font-weight: 400; }
.body { font-size: 19px; line-height: 30px; font-weight: 400; }
.small { font-size: 16px; line-height: 24px; font-weight: 400; }
.quiet { color: var(--graphite); }

/* Actions: exactly two kinds */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px 0 26px;
  background: var(--ink);
  color: var(--paper);
  font-size: 19px;
  line-height: 24px;
  border-radius: 3px;
  border: 0;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn svg.i {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.btn .dogear {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.link {
  font-size: 19px;
  line-height: 30px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--fold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  white-space: nowrap;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
/* Downloads: visible toggle that opens the SHA-256 checksum table */
.checksums-toggle {
  display: inline-block;
  margin-top: 28px;
  font-size: 17px;
}
.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Header */
.top {
  height: 64px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
}
html[data-theme="dark-half"] .top,
html[data-appearance="dark-half"] .top {
  --paper: #1C2230;
  --ink: #FFFFFF;
  --graphite: #C9CFD8;
  --rule: #2E3646;
  --wm-oxford: #AEB5C2;
  --wm-pdf: #FFFFFF;
  background: #1C2230;
  color: #FFFFFF;
  border-bottom-color: #2E3646;
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 48px;
}
.top nav {
  display: flex;
  gap: 36px;
  font-size: 19px;
}
.top nav a {
  color: var(--ink);
  text-decoration: none;
}
.top .right {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.wm {
  height: 30px;
  width: auto;
  display: block;
}
.switch {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 3px;
  height: 40px;
}
.switch > button,
.switch > span {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.switch > :last-child {
  border-right: 0;
}
.switch > .on {
  background: var(--ink);
  color: var(--paper);
}
.switch > .on .i {
  stroke: var(--paper);
}
.switch .half-fill {
  fill: var(--ink);
  stroke: none;
}
.switch > .on .half-fill {
  fill: var(--paper) !important;
}
.lang-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 8px 0;
  min-width: 180px;
  list-style: none;
}
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}
.lang-menu a[aria-current="true"] {
  text-decoration: underline;
  text-decoration-color: var(--fold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.top .btn {
  height: 44px;
  padding: 0 22px 0 18px;
  font-size: 17px;
}

/* Compact menu button and panel (shown below 1120px) */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .i {
  width: 22px;
  height: 22px;
}
.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  padding: 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
}
.menu-panel nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 19px;
}
.menu-panel nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 4px;
}
.menu-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px 4px;
  margin-top: 8px;
  border-top: 1px solid var(--rule);
}
.menu-panel-label {
  font-size: 15px;
  color: var(--graphite);
}

/* Mid widths: tighten the header so all controls fit without clipping */
@media (max-width: 1280px) {
  .top .wrap { gap: 24px; }
  .top nav { gap: 20px; font-size: 17px; }
  .top .right { gap: 14px; }
}

@media (max-width: 1120px) {
  .top .wrap { width: calc(100% - 40px); gap: 16px; position: relative; }
  .top .wrap > nav { display: none !important; }
  .top .right > .lang-wrap,
  .top .right > .switch { display: none !important; }
  .top .right { gap: 12px; }
  .menu-btn { display: inline-flex; }
}

/* Hero: a single column; an older stylesheet made .hero a two-column grid. */
html body .hero {
  display: block;
  padding: 24px 0 0;
}
.hero-col {
  width: 86%;
}
.hero .display {
  width: 86%;
  font-size: 54px;
  line-height: 58px;
}
.hero-col .display {
  width: 100%;
}
.hero-code-word {
  display: inline-flex;
  align-items: baseline;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.78em;
  line-height: 1.05;
  letter-spacing: -0.03em;
  padding: 2px 12px 4px;
  margin: 0 2px;
  border-radius: 6px;
  border: 1.5px solid color-mix(in srgb, var(--fold) 42%, var(--rule));
  background: color-mix(in srgb, var(--fold) 8%, var(--paper));
  color: var(--ink);
  vertical-align: baseline;
}
.hero-code-word::before {
  content: "<";
  color: var(--fold);
  margin-right: 2px;
  font-weight: 500;
}
.hero-code-word::after {
  content: "/>";
  color: var(--fold);
  margin-left: 3px;
  font-weight: 500;
}
.hero .lead {
  margin-top: 10px;
  width: 76%;
  font-size: 19px;
  line-height: 27px;
  color: var(--graphite);
}
.hero-col .lead {
  width: 100%;
}
.hero-pillars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin: 12px auto 0;
  padding: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--graphite);
}
.hero-pillars strong {
  display: inline-block;
  padding: 2px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 3%, var(--paper));
  font-weight: 400;
}
.cta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 14px;
}
.hero .cta .btn {
  height: 46px;
  padding: 0 24px 0 20px;
  font-size: 17px;
}
.credit {
  margin-top: 10px;
  font-size: 15px;
  line-height: 21px;
  color: var(--graphite);
}
.credit .i {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 10px;
}
.credit a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 4px;
}
.shot-stage {
  margin-top: 18px;
}
.shot {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  line-height: 0;
  background: var(--paper);
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot .shot-half,
.shot .shot-snapshot,
.shot .shot-dark {
  display: none;
}
html[data-theme="dark-half"] .shot:not([data-shot-view]) .shot-light,
html[data-theme="dark-full"] .shot:not([data-shot-view]) .shot-light {
  display: none;
}
html[data-theme="dark-half"] .shot:not([data-shot-view]) .shot-half {
  display: block;
}
html[data-theme="dark-full"] .shot:not([data-shot-view]) .shot-dark {
  display: block;
}
.shot[data-shot-view="dark-half"] .shot-light,
.shot[data-shot-view="snapshot"] .shot-light,
.shot[data-shot-view="dark-full"] .shot-light {
  display: none;
}
.shot[data-shot-view="dark-half"] .shot-half {
  display: block;
}
.shot[data-shot-view="snapshot"] .shot-snapshot {
  display: block;
}
.shot[data-shot-view="dark-full"] .shot-dark {
  display: block;
}
.shot > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 32px;
  height: 32px;
}
.shot-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 3px 3px;
  background: color-mix(in srgb, var(--ink) 2%, var(--paper));
}
.shot-card {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease;
}
.shot-card:last-child {
  border-right: 0;
}
.shot-card:hover {
  background: color-mix(in srgb, var(--ink) 4%, var(--paper));
}
.shot-card.on {
  background: color-mix(in srgb, var(--fold) 9%, var(--paper));
  box-shadow: inset 0 -3px 0 var(--fold);
}
.shot-card-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 48px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper);
}
.shot-card.on .shot-card-thumb {
  border-color: var(--fold);
}
.shot-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shot-card-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shot-card-title {
  font-size: 14.5px;
  line-height: 19px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-card-title em {
  font-style: normal;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--fold);
  margin-right: 4px;
}
.shot-card-desc {
  font-size: 12.5px;
  line-height: 16.5px;
  color: var(--graphite);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 980px) {
  .shot-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shot-card:nth-child(2) {
    border-right: 0;
  }
  .shot-card:nth-child(1),
  .shot-card:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
}
@media (max-width: 560px) {
  .shot-dock {
    grid-template-columns: 1fr;
  }
  .shot-card {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .shot-card:last-child {
    border-bottom: 0;
  }
}

/* Annotated trust sentence */
.annot {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 64px;
  padding: 112px 0 104px;
  border-bottom: 1px solid var(--rule);
}
.annot .h2 span {
  background: linear-gradient(transparent 12%, var(--mark) 12%, var(--mark) 88%, transparent 88%);
  padding: 0 4px;
  margin: 0 -4px;
}
.note {
  align-self: end;
  border-inline-start: 3px solid var(--fold);
  padding: 4px 0;
  padding-inline-start: 24px;
}
.note .who {
  font-size: 16px;
  line-height: 24px;
  color: var(--graphite);
  margin-bottom: 6px;
}

/* Section heading */
.sec {
  padding: 104px 0;
}
.sec + .sec {
  border-top: 1px solid var(--rule);
}
.sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.sechead .lead {
  color: var(--graphite);
}

/* Downloads: three columns of type, no cards */
.dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.dl > div {
  padding: 0 40px;
  border-inline-start: 1px solid var(--rule);
}
.dl > div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}
.dl .os {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dl .os .i {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}
.dl .what {
  margin: 8px 0 28px;
  color: var(--graphite);
}
.dl .alts {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dl .alts .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.dl .first {
  margin-top: 26px;
  font-size: 16px;
  line-height: 24px;
  color: var(--graphite);
}

/* Features */
.feat {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--rule);
}
.feat.flip {
  grid-template-columns: 7fr 5fr;
}
.feat.flip .txt {
  order: 2;
}
.feat .txt .lead {
  margin-top: 18px;
  color: var(--graphite);
}
.pic {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
}
.pic img {
  width: 100%;
  display: block;
}
.pic > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 36px;
  height: 36px;
}
.ask {
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 36px;
  position: relative;
}
.ask > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 36px;
  height: 36px;
}
.ask .q {
  font-size: 19px;
  line-height: 28px;
  color: var(--graphite);
}
.ask .eq {
  font-size: 40px;
  line-height: 56px;
  margin: 22px 0 14px;
  font-style: normal;
  letter-spacing: 0.01em;
}
.ask .eq i {
  font-style: italic;
}
.ask .eq .katex {
  font-size: 1em;
}
.ask .a {
  font-size: 19px;
  line-height: 30px;
}
.ask .ref {
  display: inline-block;
  margin-top: 14px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-color: var(--fold);
  text-underline-offset: 4px;
}
.conv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sheet {
  position: relative;
  height: 200px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  font-size: 24px;
  line-height: 28px;
}
.sheet > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 30px;
  height: 30px;
}
.sheet .lines {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sheet .lines b {
  display: block;
  height: 2px;
  background: var(--rule);
}

/* Tools index */
.search {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--ink);
  height: 64px;
  width: 520px;
  font-size: 21px;
  color: var(--graphite);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Geist Serif", Georgia, serif;
  font-size: 21px;
  line-height: 30px;
  outline: none;
}
.search input::placeholder {
  color: var(--graphite);
  opacity: 1;
}
.search input::-webkit-search-cancel-button {
  appearance: none;
}
.index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 56px;
  row-gap: 56px;
}
.index h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.index h3 em {
  font-style: normal;
  font-size: 19px;
  color: var(--graphite);
}
.index ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 8px;
}
.index li {
  font-size: 19px;
  line-height: 30px;
}
.index li a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.index li a .tool-idx-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--graphite);
  stroke-width: 1.65;
  transition: color 0.14s ease;
}
.index li a:hover .tool-idx-icon {
  color: var(--fold);
}
.index li a:hover {
  text-decoration: underline;
  text-decoration-color: var(--fold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Assistants: a table of rows */
.rows {
  border-top: 1px solid var(--ink);
}
.rows .r {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}
.rows .desc .code {
  margin-top: 14px;
  display: inline-flex;
  max-width: 100%;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  height: auto;
  min-height: 48px;
}
.rows .r .desc {
  color: var(--graphite);
}
.rows .r .desc .body {
  color: var(--graphite);
}
.rows .act {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-end;
}
@media (min-width: 701px) and (max-width: 1120px) {
  .rows .r { grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 16px 32px; }
  .rows .act { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
}
.code {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

/* Why */
.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.why .h3 {
  margin-bottom: 14px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.facts .t {
  font-size: 21px;
  line-height: 30px;
  margin-bottom: 6px;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 72px;
}
.faq dt {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 10px;
}
.faq dd {
  font-size: 19px;
  line-height: 30px;
  color: var(--graphite);
}

/* Closing band and footer */
.close {
  background: #1C2230;
  color: #fff;
  padding: 120px 0 112px;
}
.close .h2 {
  color: #fff;
}
.close .btn {
  background: #fff;
  color: #1C2230;
  margin-top: 40px;
}
.foot {
  background: #1C2230;
  color: #C9CFD8;
  border-top: 1px solid #2E3646;
  padding: 64px 0 48px;
}
.foot .cols {
  display: grid;
  grid-template-columns: 3.5fr 2fr 2fr 2fr 2fr;
  gap: 36px;
}
.foot h3,
.foot h4 {
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  color: #fff;
  margin-bottom: 16px;
}
.foot li {
  list-style: none;
  font-size: 17px;
  line-height: 32px;
}
.foot li a {
  color: #C9CFD8;
}
.foot li a:hover {
  color: #fff;
}
.foot .base {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #2E3646;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.foot .credit2 a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #59627A;
  text-underline-offset: 4px;
}
.foot p,
.foot p a {
  color: #C9CFD8 !important;
}

/* Tool page */
.crumb {
  padding: 40px 0 0;
  font-size: 17px;
  line-height: 24px;
  color: var(--graphite);
}
.crumb a {
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 4px;
  color: var(--ink);
}
.tool {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 72px;
  padding: 40px 0 104px;
}
.tool .h1,
.tool-head .h1 {
  font-size: 64px;
  line-height: 70px;
  letter-spacing: -0.018em;
}
.tool .lead,
.tool-head .lead {
  margin-top: 16px;
  color: var(--graphite);
}
.drop,
body .tool-site .tool-empty {
  position: relative !important;
  margin-top: 48px !important;
  height: 360px !important;
  min-height: 360px !important;
  border: 1px solid var(--ink) !important;
  border-radius: 3px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  background: var(--paper) !important;
  padding: 24px !important;
  text-align: center !important;
}
.drop > .dogear,
body .tool-site .tool-empty > .dogear {
  position: absolute !important;
  top: -1px !important;
  right: -1px !important;
  width: 60px !important;
  height: 60px !important;
}
.drop .small,
body .tool-site .tool-empty > p:not(.h3),
body .tool-site .tool-empty .tool-empty-meta,
body .tool-site .tool-empty .tool-empty-meta p {
  font-size: 16px !important;
  line-height: 24px !important;
  color: var(--graphite) !important;
  margin: 0 !important;
  text-align: center !important;
}
.steps {
  list-style: none;
  counter-reset: s;
  margin-top: 150px;
  border-top: 1px solid var(--ink);
}
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 40px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 21px;
  line-height: 30px;
}
.steps li::before {
  content: counter(s);
  color: var(--fold);
  font-size: 21px;
}
.opts {
  margin-top: 48px;
  border-top: 1px solid var(--ink);
}
.opts .o {
  display: grid;
  grid-template-columns: 36px 260px 1fr;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.radio {
  width: 20px;
  height: 20px;
  border: 1.6px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radio.on::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.related {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* System sheet */
.sys { padding: 96px 0; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 40px; }
.sw .chip { height: 120px; border: 1px solid var(--rule); border-radius: 3px; }
.sw .n { font-size: 21px; line-height: 30px; margin-top: 16px; }
.sw .use { font-size: 16px; line-height: 24px; color: var(--graphite); margin-top: 6px; }
.scale { margin-top: 64px; border-top: 1px solid var(--ink); }
.scale .row { display: grid; grid-template-columns: 200px 1fr; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.scale .row .k { font-size: 16px; color: var(--graphite); }
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--ink); }
.kit .k { font-size: 16px; line-height: 24px; color: var(--graphite); margin-top: 18px; }

/* Shared Tool Page Grid & Active Tool Workspace Restyling */
body .tool-site .tool-main,
body .tool-site .mw-main {
  width: min(1280px, calc(100% - 160px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 0 104px !important;
  display: grid;
  grid-template-columns: 8fr 4fr;
  column-gap: 72px;
  align-items: start;
}
body .tool-site .tool-main > .crumb,
body .tool-site .mw-main > .crumb {
  grid-column: 1 / -1;
  padding: 40px 0 40px;
}
body .tool-site .tool-main > .tool-head,
body .tool-site .mw-main > .tool-head {
  grid-column: 1;
}
body .tool-site .tool-main > .tool-workspace,
body .tool-site .mw-main > .tool-workspace {
  grid-column: 1;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
body .tool-site .tool-main > .opts,
body .tool-site .mw-main > .opts {
  grid-column: 1;
}
body .tool-site .tool-main > .tool-right,
body .tool-site .mw-main > .tool-right {
  grid-column: 2;
  grid-row: 2 / span 4;
}
body .tool-site .tool-privacy,
body .tool-site .browser-privacy,
body .tool-site .google-drive-help {
  display: none !important;
}
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.tool-interface-icon { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.tool-operation-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--graphite); }
.tool-operation-icon .tool-glyph { display: block; width: 32px; height: 32px; }
.page-range { white-space: nowrap; }
.batch-empty-illustration { margin: 24px auto 8px; max-width: 280px; }

/* Active tool controls when a file is loaded */
body .tool-site .tool-form,
body .tool-site .browser-panel,
body .tool-site .security-editor,
body .tool-site .office-panel,
body .tool-site .organise-panel,
body .tool-site .structured-panel,
body .tool-site .mw-workspace-active {
  margin-top: 48px;
  border: 1px solid var(--ink) !important;
  border-radius: 3px !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  padding: 32px !important;
  box-shadow: none !important;
}
body .tool-site .tool-button,
body .tool-site .mw-primary-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  min-height: 56px;
  padding: 0 30px 0 26px !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
  border: 0 !important;
  border-radius: 3px !important;
  font-family: "Geist Serif", Georgia, serif !important;
  font-size: 19px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  cursor: pointer;
}
body .tool-site .tool-button:not(:has(.dogear))::before,
body .tool-site .mw-primary-btn:not(:has(.dogear))::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}
body .tool-site .tool-button:not(:has(.dogear))::after,
body .tool-site .mw-primary-btn:not(:has(.dogear))::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: var(--fold);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  pointer-events: none;
}
body .tool-site .tool-text-button {
  background: transparent !important;
  border: 0 !important;
  color: var(--ink) !important;
  font-family: "Geist Serif", Georgia, serif !important;
  font-size: 19px !important;
  line-height: 30px !important;
  text-decoration: underline !important;
  text-decoration-color: var(--fold) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 6px !important;
  padding: 0 !important;
  min-height: auto !important;
  cursor: pointer;
}
body .tool-site :is(input:not([type="color"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 3px !important;
  font-family: "Geist Serif", Georgia, serif !important;
  font-size: 19px !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
}

/* Legal pages (/about and /privacy) */
.legal-page {
  padding: 72px 0 104px;
}
.legal-page .h1 {
  margin-bottom: 16px;
}
.legal-page .updated {
  color: var(--graphite);
  margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.008em;
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.legal-page p {
  font-size: 19px;
  line-height: 30px;
  margin-bottom: 16px;
}
.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page li {
  font-size: 19px;
  line-height: 30px;
  margin-bottom: 8px;
}
.legal-page li strong,
.trust-table strong {
  font-weight: 600;
}

/* Trust pages (/how-safe/, /how-private/, /how-fast/, /how-free/) */
.trust-visual {
  margin: 32px 0 40px;
}
.trust-svg {
  width: 100%;
  height: auto;
  display: block;
  direction: ltr;
}
.trust-svg text {
  direction: ltr;
  unicode-bidi: plaintext;
}
.trust-svg-mobile {
  display: none;
}
.trust-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  margin: 24px 0 32px;
}
.trust-table th,
.trust-table td {
  text-align: start;
  vertical-align: top;
  padding-block: 18px;
  padding-inline: 0 24px;
  border-bottom: 1px solid var(--rule);
  font-size: 19px;
  line-height: 28px;
}
.trust-table th:last-child,
.trust-table td:last-child {
  padding-inline-end: 0;
}
.trust-table th {
  font-size: 16px;
  line-height: 24px;
  color: var(--graphite);
  border-bottom: 1px solid var(--ink);
  padding-top: 14px;
  padding-bottom: 14px;
}
.trust-cell-label {
  display: none;
}
.inline-code {
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-size: 16px;
  padding: 1px 6px;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

/* Phone: the frame adapts to its own width */
@media (max-width: 700px) {
  .wrap,
  body .tool-site .tool-main,
  body .tool-site .mw-main {
    width: calc(100% - 40px) !important;
  }
  .top .wrap { gap: 16px; }
  .hero { padding-top: 48px; }
  .hero-col, .hero .display { width: 100%; font-size: 44px; line-height: 48px; }
  .hero .lead, .hero-col .lead { width: 100%; font-size: 20px; line-height: 30px; }
  .cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta .btn { width: 100%; justify-content: center; }
  .shot { margin-top: 48px; }
  .shot > .dogear { width: 28px; height: 28px; }
  .annot { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
  .annot .h2 { font-size: 34px; line-height: 42px; }
  .sec { padding: 64px 0; }
  .sechead { flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .h2 { font-size: 34px; line-height: 42px; }
  .h1, .tool .h1 { font-size: 44px; line-height: 48px; }
  .dl { grid-template-columns: 1fr; gap: 48px; }
  .dl > div { padding: 0; border-inline-start: 0; border-top: 1px solid var(--rule); padding-block-start: 32px; }
  .dl > div:first-child { border-top: 0; padding-top: 0; }
  .dl .btn { width: 100%; justify-content: center; }
  .feat, .feat.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 56px 0; }
  .feat > * { min-width: 0; }
  .feat.flip .txt { order: 0; }
  .conv { grid-template-columns: repeat(2, 1fr); }
  .search { width: 100%; }
  .index { grid-template-columns: 1fr; row-gap: 40px; }
  .rows .r { grid-template-columns: 1fr; gap: 12px; }
  .rows .act { justify-content: flex-start; flex-wrap: wrap; }
  .why, .facts, .faq { grid-template-columns: 1fr; gap: 32px; }
  .close { padding: 72px 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > div:first-child { grid-column: 1 / -1; }
  .foot .base { flex-direction: column; }
  .trust-svg-desktop { display: none; }
  .trust-svg-mobile { display: block; }
  .trust-table,
  .trust-table tbody,
  .trust-table tr,
  .trust-table td {
    display: block;
    width: 100%;
  }
  .trust-table thead {
    display: none;
  }
  .trust-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
  }
  .trust-table td {
    padding: 4px 0;
    border-bottom: 0;
  }
  .trust-table td:empty {
    display: none;
  }
  .trust-cell-primary {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 4px;
  }
  .trust-cell-label {
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: var(--graphite);
  }
  .trust-cell-primary .trust-cell-label {
    display: none;
  }
  .tool,
  body .tool-site .tool-main,
  body .tool-site .mw-main {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding: 0 0 64px !important;
  }
  body .tool-site .tool-main > .tool-right,
  body .tool-site .mw-main > .tool-right {
    grid-column: 1;
    grid-row: auto;
  }
  .steps { margin-top: 24px; }
  .opts .o { grid-template-columns: 36px 1fr; row-gap: 4px; }
  .opts .o > :nth-child(3) { grid-column: 2; }
}

/* Alignment
   Rule: a heading sits over the content it introduces. Where the content
   beneath spans the full width (hero screenshot, downloads, tools index,
   assistants table, Why OxnaPDF, FAQ, closing band), the heading and its
   short lead are centred in a column above it. Where the content beneath is a
   left-aligned reading column (About, Privacy, tool pages), the heading stays
   left-aligned with it. Body text inside columns is always left-aligned.
   Feature rows keep text beside image. Columns only: no text measures, no
   text-wrap balancing. */

/* Hero: one centred block over the full-width screenshot. */
.hero .hero-col {
  width: 86%;
  margin: 0 auto;
  text-align: center;
}
.hero .hero-col .lead {
  width: 74%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero .cta {
  justify-content: center;
}
.hero .credit {
  text-align: center;
}

/* Trust sentence: centred, with its margin note set under it. */
.annot {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 40px;
}
.annot .h2 {
  width: 58%;
  text-align: center;
}
.annot .note {
  align-self: auto;
  text-align: left;
}

/* Section headings over full-width content: centred heading, lead under it. */
.sechead {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: center;
}
.sechead > * {
  text-align: center;
}
.sechead .search {
  margin-top: 16px;
}
/* An older stylesheet rules a line over the FAQ list; give it the same air as the facts row. */
.sec > .faq {
  padding-top: 40px;
}
.sec > .rows + p {
  text-align: center;
}

/* Downloads: the three columns sit symmetrically under the centred heading. */
.dl > div:last-child {
  padding-inline-end: 0;
}

/* Closing band: centred. */
.close .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 700px) {
  .hero .hero-col,
  .hero .hero-col .lead,
  .annot .h2 {
    width: 100%;
  }
  .hero .cta {
    align-items: center;
  }
  .hero .cta .btn {
    width: 100%;
    justify-content: center;
  }
  .annot {
    gap: 28px;
  }
  .sechead {
    gap: 12px;
  }
  .sechead .search {
    margin-top: 8px;
  }
  .sec > .faq {
    padding-top: 32px;
  }
}

/* The free offer: one highlighted line in the hero, above the actions, and
   six core pillars under the screenshot. */
.hero .free-line {
  margin: 12px auto 0;
  font-size: 21px;
  line-height: 30px;
  color: var(--ink);
  text-align: center;
}
.hero .free-line mark {
  background: var(--mark);
  color: var(--ink);
  padding: 2px 10px;
  border-radius: 2px;
}
.freefacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
}
.freefacts > div {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.freefacts .h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 34px;
}
.freefacts p {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--graphite);
}
.ask-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.ask-providers span {
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 13px;
  line-height: 18px;
  color: var(--graphite);
}
.ask-providers span.on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.snapshot-showcase .snap-kicker {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 12px;
}
.snapshot-showcase .snap-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.snapshot-showcase .snap-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 15px;
  line-height: 20px;
  color: var(--ink);
}
.snapshot-showcase .snap-pill.on {
  border-color: var(--fold);
  background: color-mix(in srgb, var(--fold) 8%, var(--paper));
}
.snapshot-showcase .snap-pill em {
  font-style: normal;
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--graphite);
}
.snapshot-showcase .snap-code {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--ink) 3%, var(--paper));
}
.snapshot-showcase .snap-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.snapshot-showcase .snap-share-tag {
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink);
}
@media (max-width: 1100px) {
  .freefacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero .free-line { font-size: 20px; line-height: 30px; margin-top: 14px; }
  .freefacts { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .snapshot-showcase .snap-formats { grid-template-columns: 1fr; }
}

/* Compare to Acrobat page (/compare-acrobat/) */
.compare-hero {
  margin: 32px 0 48px;
}
.compare-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.compare-price-card {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.compare-price-card > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
}
.compare-price-card--oxford {
  border-width: 1.75px;
  box-shadow: inset 0 4px 0 0 var(--fold);
}
.compare-price-card--acrobat {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 2.5%, var(--paper));
}
.compare-price-label {
  font-size: 20px;
  line-height: 28px;
  color: var(--graphite);
}
.compare-price-figure {
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 20px;
}
.compare-price-action {
  margin-top: auto;
}
.compare-price-sub {
  margin-top: auto;
  font-size: 17px;
  line-height: 26px;
  color: var(--graphite);
}
.compare-hero-caption {
  margin-top: 18px !important;
  font-size: 17px !important;
  line-height: 26px !important;
  color: var(--graphite);
}

/* Price ladder figure */
.price-ladder {
  margin: 28px 0 36px;
}
.ladder-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
}
.ladder-step {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: color-mix(in srgb, var(--ink) 2%, var(--paper));
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
}
.ladder-step > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
}
.ladder-step--1 {
  min-height: 290px;
}
.ladder-step--2 {
  min-height: 336px;
}
.ladder-step--3 {
  min-height: 382px;
}
.ladder-step-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  padding-inline-end: 16px;
}
.ladder-step-num {
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-size: 13px;
  line-height: 18px;
  color: var(--fold);
}
.ladder-step-tier {
  font-size: 19px;
  line-height: 26px;
  color: var(--ink);
  font-weight: 600;
}
.ladder-step-price {
  font-size: 28px;
  line-height: 34px;
  color: var(--ink);
  margin-bottom: 2px;
}
.ladder-step-annual {
  font-size: 15px;
  line-height: 22px;
  color: var(--graphite);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.ladder-step-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ladder-step-list li {
  font-size: 16px !important;
  line-height: 23px !important;
  margin: 0 !important;
  color: var(--ink);
  padding-inline-start: 14px;
  position: relative;
}
.ladder-step-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 6px;
  height: 1.5px;
  background: var(--graphite);
}
.ladder-oxford-bar {
  position: relative;
  margin-top: 20px;
  border: 1.75px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: inset 0 4px 0 0 var(--fold);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.ladder-oxford-bar > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
}
.ladder-oxford-main {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-shrink: 0;
}
.ladder-oxford-name {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink);
}
.ladder-oxford-price {
  font-size: 36px;
  line-height: 40px;
  color: var(--ink);
  background: var(--mark);
  padding: 2px 12px;
  border-radius: 2px;
}
.ladder-oxford-desc {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 26px !important;
  color: var(--ink);
}

/* Feature cards */
.compare-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 24px;
}
.compare-feature-card {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.14s ease;
}
.compare-feature-card:hover {
  border-color: var(--fold);
}
.compare-feature-card > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
}
.compare-feature-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-inline-end: 14px;
}
.compare-feature-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
}
.compare-feature-title {
  font-size: 20px;
  line-height: 28px;
  color: var(--ink);
}
.compare-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.compare-chip {
  display: inline-block;
  font-size: 15px;
  line-height: 22px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--rule);
}
.compare-chip--oxford {
  background: var(--mark);
  border-color: var(--ink);
  color: var(--ink);
}
.compare-chip--acrobat {
  background: color-mix(in srgb, var(--ink) 4%, var(--paper));
  color: var(--graphite);
}

/* Connectors two-column block */
.compare-connectors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}
.compare-connector-card {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  padding: 22px 24px;
}
.compare-connector-card > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
}
.compare-connector-title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.compare-connector-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  font-size: 17px;
  line-height: 26px;
}

/* Only in OxnaPDF icon cards */
.compare-only-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}
.compare-only-card {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.compare-only-card > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
}
.compare-only-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  margin-top: 2px;
}
.compare-only-text {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 26px !important;
  color: var(--ink);
  padding-inline-end: 10px;
}

/* Compare closing band subtext */
.compare-closing-sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 26px;
  color: #C9CFD8;
}

@media (max-width: 960px) {
  .ladder-steps {
    grid-template-columns: 1fr;
  }
  .ladder-step--1,
  .ladder-step--2,
  .ladder-step--3 {
    min-height: auto;
  }
  .ladder-oxford-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .compare-hero-cards,
  .compare-feature-grid,
  .compare-connectors-grid,
  .compare-only-grid,
  .infra-choice-grid {
    grid-template-columns: 1fr;
  }
  .compare-price-figure {
    font-size: 44px;
    line-height: 50px;
  }
  .compare-connector-row {
    flex-direction: column;
    gap: 2px;
  }
}

/* Infrastructure page (/infrastructure/) */
.infra-steps-list {
  padding-inline-start: 24px;
  margin-bottom: 16px;
}
.infra-steps-list li {
  font-size: 19px;
  line-height: 30px;
  margin-bottom: 8px;
}
.infra-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 36px;
}
.infra-choice-card {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  padding: 20px 22px;
}
.infra-choice-card > .dogear {
  position: absolute;
  top: -1px;
  right: -1px;
}
.infra-choice-text {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 26px !important;
  color: var(--ink);
  padding-inline-end: 8px;
}
.infra-end-links {
  margin-top: 28px !important;
}
@media (max-width: 960px) {
  .infra-choice-grid {
    grid-template-columns: 1fr;
  }
}

/* Keyboard skip link: hidden until it has keyboard focus, then shown at the top left. */
.skip-link:not(:focus-visible) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link:focus-visible {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--paper, #fff);
  color: var(--ink, #1C2230);
  border: 1px solid var(--ink, #1C2230);
}
