/* The same locally bundled Geist font used by the Astro/Vinext app shell. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/_next/static/_vinext_fonts/geist-8ac0455e797f/geist-001175b1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/_next/static/_vinext_fonts/geist-8ac0455e797f/geist-98bbbccb.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist Fallback';
  src: local('Arial');
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}

:root {
  --doc-font: 'Geist', 'Geist Fallback', Arial, Helvetica, sans-serif;
  color-scheme: light;
  --doc-bg: #edf2f1;
  --doc-surface: #ffffff;
  --doc-paper: #ffffff;
  --doc-ink: #172a3d;
  --doc-muted: #687985;
  --doc-line: #d8e0e2;
  --doc-line-strong: #aebdc2;
  --doc-accent: #ee7658;
  --doc-accent-deep: #c85b43;
  --doc-accent-button-foreground: #241a18;
  --doc-accent-soft: #fff0eb;
  --doc-accent-text: #744132;
  --doc-table: #edf3f1;
  --doc-control: #ffffff;
  --doc-brand: #172a3d;
  --doc-brand-foreground: #ffffff;
  --doc-solid-foreground: #ffffff;
  --doc-document-bg: #ffffff;
  --doc-document-ink: #172a3d;
  --doc-document-muted: #687985;
  --doc-document-line: #d8e0e2;
  --doc-document-line-strong: #aebdc2;
  --doc-document-control: #ffffff;
  --doc-document-table: #edf3f1;
  --doc-document-accent: #ee7658;
  --doc-shadow: 0 18px 55px rgb(23 42 61 / 12%);
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --doc-bg: #0e1821;
  --doc-surface: #152534;
  --doc-paper: #ffffff;
  --doc-ink: #f1f6fa;
  --doc-muted: #a8bac8;
  --doc-line: #304656;
  --doc-line-strong: #536b79;
  --doc-accent: #ff9076;
  --doc-accent-deep: #ffab93;
  --doc-accent-button-foreground: #261714;
  --doc-accent-soft: #34241f;
  --doc-accent-text: #ffd1c3;
  --doc-table: #edf3f1;
  --doc-control: #1a2b39;
  --doc-brand: #f28a6d;
  --doc-brand-foreground: #16232d;
  --doc-solid-foreground: #0e1821;
  --doc-shadow: 0 18px 55px rgb(0 0 0 / 28%);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 0;
  overflow-x: hidden;
}

html {
  background: var(--doc-bg);
}

body {
  margin: 0;
  background: var(--doc-bg) !important;
  color: var(--doc-ink) !important;
  font-family: var(--doc-font);
  font-size: 16px;
  line-height: 1.55;
}

button,
input,
select,
textarea {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

.document-site-header {
  display: flex;
  align-items: center;
  width: calc(100% - 36px);
  max-width: 1180px;
  min-height: 86px;
  margin-inline: auto;
  gap: 20px;
  border-bottom: 1px solid var(--doc-line);
}

.document-brand,
.document-site-header .brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  color: var(--doc-ink) !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.document-brand-mark,
.document-site-header .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--doc-brand) !important;
  color: var(--doc-brand-foreground) !important;
  transform: rotate(-4deg);
}

.document-brand-mark svg,
.document-site-header .brand-mark svg {
  display: block;
  width: 19px;
  height: 19px;
}

.document-brand-name,
.document-site-header .brand-name {
  white-space: nowrap;
}

.document-brand-name span,
.document-site-header .brand-name span {
  color: var(--doc-accent) !important;
}

.document-main-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.8vw, 34px);
  margin-left: auto;
  color: var(--doc-muted);
  font-size: 15px;
}

.document-main-nav a,
.document-mobile-menu a {
  text-decoration: none;
  transition: color 160ms ease;
}

.document-main-nav a:hover,
.document-mobile-menu a:hover {
  color: var(--doc-accent-deep);
}

.document-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.document-search-link,
.document-theme-toggle,
.document-menu-toggle,
.document-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--doc-line-strong);
  border-radius: 11px;
  background: var(--doc-control);
  color: var(--doc-ink);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.document-search-link {
  gap: 7px;
  padding: 0 13px;
  color: var(--doc-muted);
  font-size: 14px;
  font-weight: 700;
}

.document-theme-toggle,
.document-menu-toggle {
  width: 42px;
  padding: 0;
  font-size: 20px;
}

.document-header-cta {
  padding: 0 14px;
  border-color: var(--doc-ink);
  background: var(--doc-ink);
  color: var(--doc-solid-foreground);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.document-search-link:hover,
.document-theme-toggle:hover,
.document-menu-toggle:hover {
  border-color: var(--doc-accent);
  background: var(--doc-bg);
  color: var(--doc-ink);
}

.document-header-cta:hover {
  border-color: var(--doc-accent);
  background: var(--doc-accent);
  color: #241a18;
}

.document-menu-toggle {
  display: none;
}

.document-mobile-menu {
  width: calc(100% - 36px);
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 16px;
  border: 1px solid var(--doc-line);
  border-radius: 14px;
  background: var(--doc-surface);
  box-shadow: var(--doc-shadow);
}

.document-mobile-menu[hidden] {
  display: none;
}

.document-mobile-menu:not([hidden]) {
  display: grid;
  gap: 4px;
}

.document-mobile-menu a {
  padding: 11px 10px;
  border-radius: 9px;
  color: var(--doc-ink);
  font-weight: 700;
}

.document-mobile-menu a:hover {
  background: var(--doc-bg);
}

.toolbar a,
.toolbar button,
.toolbar-link,
.toolbar-button {
  border-color: var(--doc-line) !important;
  background: var(--doc-control) !important;
  color: var(--doc-ink) !important;
}

.toolbar button,
.toolbar-button.primary {
  border-color: var(--doc-ink) !important;
  background: var(--doc-ink) !important;
  color: var(--doc-solid-foreground) !important;
}

.toolbar a:hover,
.toolbar button:hover,
.toolbar-link:hover,
.toolbar-button:hover {
  border-color: var(--doc-accent) !important;
}

.paper,
.invoice-paper {
  color-scheme: light;
  background: var(--doc-document-bg) !important;
  color: var(--doc-document-ink) !important;
  box-shadow: var(--doc-shadow) !important;
}

.paper .brand,
.invoice-paper .brand {
  color: var(--doc-document-ink) !important;
}

.paper input,
.paper select,
.paper textarea {
  border-color: var(--doc-document-line-strong) !important;
  color: var(--doc-document-ink) !important;
}

.paper input,
.paper textarea {
  background: transparent !important;
}

.photo,
.signature-line {
  border-color: var(--doc-line-strong) !important;
}

.invoice-paper input,
.invoice-paper select,
.invoice-paper textarea {
  border-color: var(--doc-document-line) !important;
  background: var(--doc-document-control) !important;
  color: var(--doc-document-ink) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--doc-muted) !important;
  opacity: 0.82;
}

.paper input::placeholder,
.paper textarea::placeholder,
.invoice-paper input::placeholder,
.invoice-paper textarea::placeholder {
  color: var(--doc-document-muted) !important;
}

.top,
.cv-head,
.invoice-header {
  border-color: var(--doc-document-ink) !important;
}

 .paper table th,
.items-table th {
  background: var(--doc-document-table) !important;
  color: var(--doc-document-ink) !important;
}

 .paper table td,
.items-table td {
  border-color: var(--doc-document-line) !important;
}

.editor-panel {
  border-color: var(--doc-line) !important;
  background: var(--doc-surface) !important;
  box-shadow: 0 10px 35px rgb(0 0 0 / 10%) !important;
}

.editor-panel label {
  color: var(--doc-muted) !important;
}

.editor-panel input,
.editor-panel select,
.editor-panel textarea {
  border-color: var(--doc-line) !important;
  background: var(--doc-control) !important;
  color: var(--doc-ink) !important;
}

.party-box {
  border-color: var(--doc-document-line) !important;
  background: var(--doc-document-bg) !important;
  box-shadow: none !important;
}

.notice {
  border-color: var(--doc-accent) !important;
  background: var(--doc-accent-soft) !important;
  color: var(--doc-accent-text) !important;
}

.notice strong {
  color: var(--doc-ink) !important;
}

.page-intro-copy,
.editor-panel > p,
.editor-tip {
  color: var(--doc-muted) !important;
}

.invoice-paper .invoice-caption,
.invoice-paper .invoice-title p,
.invoice-paper .invoice-note,
.paper .notes,
.paper .doc-meta,
.paper .contact,
.paper label,
.paper .field label,
.paper .field small,
.paper .total-line,
.paper .signature small,
.invoice-paper .field label,
.invoice-paper .field small,
.invoice-paper .total-line {
  color: var(--doc-document-muted) !important;
}

.invoice-paper .invoice-section h3,
.paper .box h2,
.paper .section h2 {
  color: var(--doc-document-accent) !important;
}

.invoice-paper .total-line strong,
.invoice-paper .total-line.final {
  color: var(--doc-document-ink) !important;
}

.paper .total-line strong,
.paper .total-line.final {
  color: var(--doc-document-ink) !important;
}

.invoice-paper .remove-row {
  border-color: var(--doc-document-line) !important;
  background: var(--doc-document-control) !important;
  color: var(--doc-document-muted) !important;
}

.invoice-paper .add-row {
  border-color: var(--doc-document-line-strong) !important;
  color: var(--doc-document-ink) !important;
}

/* The generator is a document editor, but the invoice itself stays a white paper. */
.invoice-paper .invoice-title,
.invoice-paper .invoice-title h2,
.invoice-paper .invoice-header .brand,
.invoice-paper .invoice-header .brand-mark {
  color: var(--doc-document-ink) !important;
}

.invoice-paper .invoice-header .brand-mark {
  background: #172a3d !important;
  color: #ffffff !important;
}

.invoice-paper .invoice-section h3 {
  color: var(--doc-document-accent) !important;
}

.invoice-paper .invoice-note,
.invoice-paper .total-line,
.invoice-paper .field small {
  color: var(--doc-document-muted) !important;
}

.invoice-paper .invoice-header,
.invoice-paper .top,
.invoice-paper .total-line.final {
  border-color: var(--doc-document-ink) !important;
}

.invoice-paper input,
.invoice-paper select,
.invoice-paper textarea {
  border-color: var(--doc-document-line) !important;
  background: var(--doc-document-control) !important;
  color: var(--doc-document-ink) !important;
}

.invoice-paper .items-table th {
  background: var(--doc-document-table) !important;
  color: var(--doc-document-ink) !important;
}

.invoice-paper .items-table td {
  border-color: var(--doc-document-line) !important;
}

.invoice-paper output {
  color: var(--doc-document-ink) !important;
}

.eyebrow,
.box h2,
.section h2 {
  color: var(--doc-accent) !important;
}

/* Shared introductory copy displayed above document editors. */
.document-page-intro {
  display: block;
  width: min(960px, calc(100% - 36px));
  margin: 24px auto 24px;
  color: var(--doc-ink);
}

.document-page-intro .eyebrow {
  margin: 0 0 9px;
  color: var(--doc-accent) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.document-page-intro h2 {
  max-width: 780px;
  margin: 0 0 10px;
  color: var(--doc-ink);
  font: 700 clamp(30px, 4vw, 48px)/1.05 var(--doc-font);
  letter-spacing: -.055em;
}

.document-page-intro .page-intro-copy {
  max-width: 780px;
  margin: 0;
  color: var(--doc-muted) !important;
  font-size: 18px;
  line-height: 1.6;
}

/* Reusable white document surface and fields for new printable models. */
.standard-form-shell {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto 52px;
}

.standard-form-paper {
  width: 100%;
  padding: 48px clamp(24px, 6vw, 68px) 60px;
  border: 1px solid #e2e8e8;
  background: #fff !important;
  color: #172a3d !important;
  box-shadow: var(--doc-shadow);
}

.standard-form-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
  color: #687985;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.standard-form-paper h1 {
  max-width: 780px;
  margin: 0 0 10px;
  color: #172a3d !important;
  font: 700 clamp(30px, 4vw, 45px)/1.08 Georgia, serif;
  letter-spacing: -.02em;
}

.standard-form-subtitle {
  max-width: 760px;
  margin: 0;
  color: #687985 !important;
  font-size: 18px;
  line-height: 1.55;
}

.standard-form-section {
  margin-top: 32px;
  padding-top: 25px;
  border-top: 1px solid #d8e0e2;
}

.standard-form-section h2 {
  margin: 0 0 16px;
  color: #172a3d !important;
  font: 700 23px/1.2 var(--doc-font);
  letter-spacing: -.025em;
}

.standard-form-section h3 {
  margin: 0 0 12px;
  color: #ee7658 !important;
  font-size: 16px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.standard-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 20px;
}

.standard-form-grid.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.standard-form-field {
  display: grid;
  gap: 7px;
}

.standard-form-field.full-width {
  grid-column: 1 / -1;
}

.standard-form-field label {
  color: #687985 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.standard-form-field small {
  display: block;
  margin-top: 2px;
  color: #687985 !important;
  font-size: 12px;
  font-weight: 400;
}

.standard-form-field input,
.standard-form-field select,
.standard-form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #aebdc2;
  border-radius: 8px;
  outline: 0;
  background: #fff !important;
  color: #172a3d !important;
}

.standard-form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.standard-form-field input:focus,
.standard-form-field select:focus,
.standard-form-field textarea:focus {
  border-color: #ee7658;
  box-shadow: 0 0 0 3px rgb(238 118 88 / 15%);
}

.standard-form-note {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid #efb7a8;
  border-radius: 10px;
  background: #fff4f0 !important;
  color: #744132 !important;
  font-size: 14px;
  line-height: 1.55;
}

.standard-form-note strong {
  color: #603325 !important;
}

.standard-form-note a {
  color: #c85b43 !important;
  font-weight: 700;
}

.standard-form-checks {
  display: grid;
  gap: 11px;
}

.standard-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #172a3d !important;
  font-size: 15px;
  line-height: 1.5;
}

.standard-form-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: #ee7658;
}

.standard-form-table-wrap {
  overflow-x: auto;
}

.standard-form-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: #172a3d;
  font-size: 14px;
}

.standard-form-table th,
.standard-form-table td {
  padding: 10px 9px;
  border: 1px solid #d8e0e2;
  text-align: left;
  vertical-align: top;
}

.standard-form-table th {
  background: #edf3f1;
  color: #687985;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.standard-form-table input {
  width: 100%;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid #aebdc2;
  border-radius: 6px;
  background: #fff !important;
  color: #172a3d !important;
}

.standard-form-lines {
  display: grid;
  gap: 15px;
}

.standard-form-line {
  min-height: 35px;
  padding: 5px 0;
  border-bottom: 1px solid #aebdc2;
}

.standard-form-signatures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  margin-top: 36px;
}

.standard-form-signature {
  min-height: 72px;
  padding-top: 38px;
  border-top: 1px solid #aebdc2;
  color: #687985;
  font-size: 13px;
  text-align: center;
}

.standard-form-legal {
  margin: 22px 0 0;
  color: #687985 !important;
  font-size: 13px;
  line-height: 1.6;
}

.standard-form-legal a {
  color: #c85b43 !important;
  font-weight: 700;
}

@media (max-width: 650px) {
  .standard-form-shell {
    width: calc(100% - 24px);
    margin-bottom: 36px;
  }

  .standard-form-paper {
    padding: 34px 20px 44px;
  }

  .standard-form-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 26px;
  }

  .standard-form-subtitle {
    font-size: 17px;
  }

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

  .standard-form-signatures {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* One shared visual language for document actions on every page. */
.document-page-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: min(960px, calc(100% - 36px)) !important;
  margin: 0 auto 18px !important;
}

.page-shell,
.contract-shell {
  width: min(960px, calc(100% - 36px)) !important;
  margin-top: 0 !important;
}

.paper {
  width: min(960px, calc(100% - 36px)) !important;
}

.page-shell .document-page-actions,
.contract-shell .document-page-actions {
  width: 100% !important;
}

.page-shell .paper,
.contract-shell .paper {
  width: 100% !important;
}

.page-intro .document-page-actions {
  width: 100% !important;
  margin: 17px 0 0 !important;
}

.document-page-actions a,
.document-page-actions button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px !important;
  border: 1px solid var(--doc-line-strong) !important;
  border-radius: 11px !important;
  background: var(--doc-control) !important;
  color: var(--doc-ink) !important;
  font: 700 14.5px/1.2 var(--doc-font) !important;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.document-page-actions button {
  border-color: var(--doc-ink) !important;
  background: var(--doc-ink) !important;
  color: var(--doc-solid-foreground) !important;
}

.document-page-actions a:hover,
.document-page-actions button:hover {
  border-color: var(--doc-accent) !important;
}

.document-page-actions button:hover {
  background: var(--doc-accent) !important;
  color: var(--doc-accent-button-foreground) !important;
}

.document-bottom-actions {
  display: flex;
  justify-content: center;
  width: min(960px, calc(100% - 36px));
  margin: 0 auto 42px;
}

.document-form-note {
  width: min(900px, calc(100% - 32px));
  margin: -18px auto 28px;
  padding: 14px 18px;
  border: 1px solid var(--doc-accent);
  border-radius: 12px;
  background: var(--doc-accent-soft);
  color: var(--doc-accent-text) !important;
  font-size: 14px;
  line-height: 1.55;
}

.document-form-note span {
  margin-right: 4px;
}

.document-form-note a {
  color: var(--doc-accent-text) !important;
  font-weight: 800;
}

.document-print-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 360px);
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid var(--doc-accent) !important;
  border-radius: 13px;
  background: var(--doc-accent) !important;
  color: var(--doc-accent-button-foreground) !important;
  font: 800 16px/1.2 var(--doc-font);
  text-decoration: none;
  box-shadow: 0 10px 24px rgb(238 118 88 / 22%);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.document-print-button:hover {
  background: var(--doc-accent-deep) !important;
  color: var(--doc-accent-button-foreground) !important;
  box-shadow: 0 13px 28px rgb(238 118 88 / 30%);
  transform: translateY(-1px);
}

.document-print-button:focus-visible,
.document-page-actions a:focus-visible,
.document-page-actions button:focus-visible,
.document-related-card:focus-visible {
  outline: 3px solid var(--doc-accent);
  outline-offset: 3px;
}

/* Related document cards keep visitors moving through the catalog. */
.document-related-section {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto 64px;
}

.document-related-kicker {
  margin: 0 0 9px;
  color: var(--doc-accent) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.document-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.document-related-heading h2 {
  max-width: 680px;
  margin: 0;
  color: var(--doc-ink);
  font: 700 clamp(27px, 4vw, 40px)/1.1 Georgia, serif;
  letter-spacing: -.02em;
}

.document-related-heading p {
  max-width: 310px;
  margin: 0;
  color: var(--doc-muted) !important;
  font-size: 16px;
  line-height: 1.5;
}

.document-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.document-related-card {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--doc-line);
  border-radius: 15px;
  background: var(--doc-surface);
  color: var(--doc-ink);
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(23 42 61 / 6%);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.document-related-card:hover {
  border-color: var(--doc-accent);
  box-shadow: 0 15px 32px rgb(23 42 61 / 12%);
  transform: translateY(-2px);
}

.document-related-card-tag {
  margin-bottom: 14px;
  color: var(--doc-accent) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.document-related-card h3 {
  margin: 0;
  color: var(--doc-ink);
  font-size: 20px;
  line-height: 1.22;
}

.document-related-card p {
  margin: 10px 0 0;
  color: var(--doc-muted) !important;
  font-size: 15px;
  line-height: 1.55;
}

.document-related-card-arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--doc-accent-deep) !important;
  font-size: 14px;
  font-weight: 800;
}

/* Reusable human-first information section shown below document editors. */
.document-info-section {
  display: block;
  width: min(960px, calc(100% - 36px));
  margin: 0 auto 60px;
  padding: 40px clamp(24px, 5vw, 58px) 44px;
  border: 1px solid var(--doc-line);
  border-radius: 18px;
  background: var(--doc-surface);
  color: var(--doc-ink);
  box-shadow: var(--doc-shadow);
}

.document-info-kicker {
  margin: 0 0 10px;
  color: var(--doc-accent) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.document-info-section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--doc-ink);
  font: 700 clamp(27px, 4vw, 40px)/1.1 Georgia, serif;
  letter-spacing: -.02em;
}

.document-info-lead {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--doc-muted) !important;
  font-size: 18px;
  line-height: 1.65;
}

.document-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.document-info-card {
  padding: 22px;
  border: 1px solid var(--doc-line);
  border-radius: 14px;
  background: var(--doc-bg);
}

.document-info-card h3 {
  margin: 0 0 10px;
  color: var(--doc-ink);
  font-size: 20px;
  line-height: 1.25;
}

.document-info-card p,
.document-info-card li {
  color: var(--doc-muted) !important;
  font-size: 16px;
  line-height: 1.6;
}

.document-info-card p {
  margin: 0;
}

.document-info-card ul,
.document-info-card ol {
  margin: 14px 0 0;
  padding-left: 21px;
}

.document-info-card li + li {
  margin-top: 8px;
}

.document-info-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--doc-accent);
  border-radius: 12px;
  background: var(--doc-accent-soft);
  color: var(--doc-accent-text) !important;
  font-size: 15px;
  line-height: 1.6;
}

.document-info-note strong {
  color: var(--doc-ink) !important;
}

.document-info-note a {
  color: inherit;
  font-weight: 700;
}

@media (max-width: 980px) {
  .document-main-nav {
    display: none;
  }

  .document-menu-toggle {
    display: inline-flex;
  }

  .document-header-cta {
    display: none;
  }

  .document-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .document-site-header {
    width: calc(100% - 24px);
    min-height: 74px;
    gap: 12px;
  }

  .document-mobile-menu {
    width: calc(100% - 24px);
  }

  .document-search-link {
    display: none;
  }

  .document-site-header .brand,
  .document-brand {
    font-size: 16px;
  }

  .document-site-header .brand-mark,
  .document-brand-mark {
    width: 32px;
    height: 32px;
  }

  .document-info-section {
    width: calc(100% - 24px);
    margin-bottom: 36px;
    padding: 30px 20px 32px;
  }

  .document-page-intro {
    width: calc(100% - 24px);
    margin: 16px auto 18px;
  }

  .document-page-intro .page-intro-copy {
    font-size: 17px;
  }

  .document-info-lead {
    font-size: 17px;
  }

  .document-info-grid {
    grid-template-columns: 1fr;
  }

  .document-page-actions {
    width: calc(100% - 24px) !important;
    align-items: stretch;
    flex-direction: column;
  }

  .page-shell .document-page-actions,
  .contract-shell .document-page-actions,
  .page-intro .document-page-actions {
    width: 100% !important;
  }

  .document-page-actions a,
  .document-page-actions button,
  .document-print-button {
    width: 100%;
  }

  .document-bottom-actions {
    width: calc(100% - 24px);
    margin-bottom: 36px;
  }

  .page-shell,
  .contract-shell {
    width: calc(100% - 24px) !important;
  }

  .paper {
    width: calc(100% - 24px) !important;
  }

  .page-shell .paper,
  .contract-shell .paper {
    width: 100% !important;
  }

  .standard-form-shell {
    width: calc(100% - 24px);
  }

  .standard-form-paper {
    width: 100%;
  }

  .document-related-section {
    width: calc(100% - 24px);
    margin-bottom: 44px;
  }

  .document-related-heading {
    display: block;
  }

  .document-related-heading p {
    margin-top: 12px;
  }

  .document-related-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .document-site-header,
  .document-mobile-menu,
  .document-page-actions,
  .document-bottom-actions,
  .document-form-note,
  .document-page-intro,
  .document-info-section,
  .document-related-section {
    display: none !important;
  }

  body {
    background: #fff !important;
  }

  .paper,
  .invoice-paper,
  .standard-form-paper {
    box-shadow: none !important;
  }

  .standard-form-shell {
    width: 100%;
    margin: 0;
  }

  .standard-form-paper {
    border: 0;
    padding: 8mm;
  }
}
