/* PDFVerge — site styles. One file, tokens on :root.
   Change a colour here and it changes everywhere. */

:root {
  --paper: #ffffff;
  --canvas: #f4f7f6;
  --ink: #10231c;
  --ink-2: #33453e;
  --muted: #5d6f67;
  --line: #e1e8e5;
  --line-2: #cfdad5;

  --brand: #0b7a55;
  --brand-600: #086446;
  --brand-700: #064f37;
  --brand-50: #e9f6f0;
  --brand-100: #d2eee2;

  /* category accents: [ink, tint] */
  --org: #0b7a55;  --org-t: #e4f4ec;
  --opt: #2458c6;  --opt-t: #e8effd;
  --edit: #6b45d8; --edit-t: #efeafd;
  --to: #c9551c;   --to-t: #fdeee4;
  --from: #a86a07; --from-t: #fcf3dd;
  --sec: #b8323a;  --sec-t: #fbe9ea;

  --bad: #b3261e;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(16, 35, 28, .05), 0 6px 20px -8px rgba(16, 35, 28, .12);
  --shadow-lg: 0 2px 4px rgba(16, 35, 28, .04), 0 22px 48px -18px rgba(16, 35, 28, .25);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(11, 122, 85, .45); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -6px rgba(11,122,85,.55); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--primary:disabled { background: #9db8ad; box-shadow: none; cursor: not-allowed; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); }

/* ------------------------------------------------------------- logo */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__word { font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.logo__word span { color: var(--brand); }
.logo--light .logo__word { color: #fff; }
.logo--light .logo__word span { color: #7fd1ae; }

/* ----------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.hdr__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px;
  color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.hdr__link:hover, .mega.is-open .mega__btn { background: var(--canvas); color: var(--ink); }
.mega { position: relative; }
.mega__btn .i { transition: transform .15s; }
.mega.is-open .mega__btn .i { transform: rotate(180deg); }
.mega__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(860px, calc(100vw - 40px));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 22px; display: none;
}
.mega.is-open .mega__panel { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 22px; }
.mega__h { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 6px 8px; }
.mega__a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.mega__a:hover { background: var(--canvas); color: var(--ink); }
.mega__all { display: inline-flex; align-items: center; gap: 4px; margin: 16px 0 0 8px; font-weight: 700; text-decoration: none; }
.hdr__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); align-items: center; justify-content: center; cursor: pointer; }
.hdr__burger .i--close { display: none; }

@media (max-width: 860px) {
  .hdr__burger { display: inline-flex; }
  .hdr__nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px 20px 20px; max-height: calc(100vh - 66px); overflow: auto;
  }
  .hdr.is-open .hdr__nav { display: flex; }
  .hdr.is-open .i--open { display: none; }
  .hdr.is-open .i--close { display: block; }
  .hdr__link { padding: 12px 8px; font-size: 16px; }
  .mega__btn { display: none; }
  .mega__panel { display: block; position: static; width: auto; border: 0; box-shadow: none; padding: 8px 0 0; }
  .mega__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 520px) { .mega__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ tool icons */
.ticon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 13px; color: var(--org); background: var(--org-t); }
.ticon--sm { width: 32px; height: 32px; border-radius: 9px; }
.ticon--lg { width: 60px; height: 60px; border-radius: 16px; }
.ticon--org { color: var(--org); background: var(--org-t); }
.ticon--opt { color: var(--opt); background: var(--opt-t); }
.ticon--edit { color: var(--edit); background: var(--edit-t); }
.ticon--to { color: var(--to); background: var(--to-t); }
.ticon--from { color: var(--from); background: var(--from-t); }
.ticon--sec { color: var(--sec); background: var(--sec-t); }

/* ------------------------------------------------------------- hero */
.hero { background: radial-gradient(1200px 420px at 50% -60px, var(--brand-50), transparent 70%), var(--paper); padding: 56px 0 36px; }
.hero__in { text-align: center; max-width: 860px; }
.pill { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero__h { font-size: clamp(36px, 6vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.hero__h2 { display: block; color: var(--brand); }
.hero__lede { max-width: 620px; margin: 18px auto 0; font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); }

.search { position: relative; max-width: 620px; margin: 28px auto 0; }
.search__i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 58px; padding: 0 20px 0 52px; border-radius: 16px; border: 1.5px solid var(--line-2);
  background: var(--paper); font-size: 17px; box-shadow: var(--shadow); outline: none; -webkit-appearance: none; appearance: none;
}
.search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11,122,85,.14), var(--shadow); }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks .i { color: var(--brand); }

/* ------------------------------------------------------ tools panel */
.panel-wrap { padding: 10px 0 56px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 28px; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel__head h2 { font-size: clamp(22px, 3vw, 28px); }
.panel__count { color: var(--muted); font-weight: 600; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink-2); }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tgrid--3 { grid-template-columns: repeat(3, 1fr); }
.tgrid--4 { grid-template-columns: repeat(4, 1fr); }
.tcard {
  position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 18px 40px 18px 18px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.tcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: var(--ink); }
.tcard[hidden] { display: none; }
.tcard__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tcard__name { font-weight: 700; font-size: 16px; }
.tcard__blurb { color: var(--muted); font-size: 14px; line-height: 1.45; }
.tcard__chev { position: absolute; right: 14px; top: 20px; color: var(--line-2); transition: color .15s, transform .15s; }
.tcard:hover .tcard__chev { color: var(--brand); transform: translateX(2px); }
.tgrid__empty { padding: 30px 0 10px; text-align: center; color: var(--muted); }

@media (max-width: 1060px) { .tgrid, .tgrid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .tgrid, .tgrid--3, .tgrid--4 { grid-template-columns: repeat(2, 1fr); } .panel { padding: 20px 16px; border-radius: 20px; } }
@media (max-width: 520px) {
  .tgrid, .tgrid--3, .tgrid--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tcard { flex-direction: column; gap: 10px; padding: 14px; }
  .tcard__chev { display: none; }
  .tcard__name { font-size: 15px; }
  .tcard__blurb { font-size: 13px; }
  .ticon { width: 40px; height: 40px; border-radius: 11px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip { flex: none; }
}

/* --------------------------------------------------------- sections */
.sec { padding: 64px 0; }
.sec--tint { background: var(--canvas); }
.sec--flush { padding-top: 8px; }
.sec__h { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-bottom: 26px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.step__n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feats--2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
.feat { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feats, .feats--2 { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- faq */
.faqwrap { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.faqwrap__intro p { color: var(--muted); margin-top: -12px; }
@media (max-width: 860px) { .faqwrap { grid-template-columns: 1fr; gap: 0; } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; font-weight: 700; font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__pm { position: relative; flex: none; width: 22px; height: 22px; }
.faq__pm::before, .faq__pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .2s; }
.faq__pm::after { transform: rotate(90deg); }
.faq__item[open] .faq__pm::after { transform: rotate(0deg); }
.faq__a { padding: 0 34px 20px 2px; color: var(--ink-2); }

/* -------------------------------------------------------- tool page */
.toolhero { padding: 26px 0 44px; background: radial-gradient(1000px 360px at 50% -40px, var(--brand-50), transparent 72%), var(--paper); }
.toolhero--opt { background: radial-gradient(1000px 360px at 50% -40px, var(--opt-t), transparent 72%), var(--paper); }
.toolhero--edit { background: radial-gradient(1000px 360px at 50% -40px, var(--edit-t), transparent 72%), var(--paper); }
.toolhero--to { background: radial-gradient(1000px 360px at 50% -40px, var(--to-t), transparent 72%), var(--paper); }
.toolhero--from { background: radial-gradient(1000px 360px at 50% -40px, var(--from-t), transparent 72%), var(--paper); }
.toolhero--sec { background: radial-gradient(1000px 360px at 50% -40px, var(--sec-t), transparent 72%), var(--paper); }
.toolhero .crumbs { justify-content: center; }
.toolhero__title { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.toolhero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.toolhero__lede { text-align: center; max-width: 640px; margin: 12px auto 0; font-size: 18px; color: var(--ink-2); }
.toolbox { max-width: 860px; margin: 28px auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 14px; }
@media (max-width: 560px) { .toolhero__title { gap: 12px; } .toolhero__title .ticon--lg { width: 48px; height: 48px; } .toolbox { padding: 10px; border-radius: 20px; } }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs { display: flex; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* the tool itself — markup comes from pdfverge-core.js */
.tdrop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 270px; padding: 30px 20px; border-radius: 16px; cursor: pointer;
  background: var(--brand); color: #fff;
  background-image: radial-gradient(600px 240px at 50% 0, rgba(255,255,255,.14), transparent 70%);
  outline: 2px dashed rgba(255,255,255,.45); outline-offset: -12px;
  transition: background-color .15s, outline-color .15s;
}
.tdrop:hover, .tdrop.is-over { background-color: var(--brand-600); outline-color: #fff; }
.tdrop__icon { opacity: .9; }
.tdrop__btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; border-radius: 14px; background: #fff; color: var(--brand-700); font-weight: 800; font-size: 18px; box-shadow: 0 8px 22px -8px rgba(0,0,0,.35); }
.tdrop__or { font-weight: 600; opacity: .92; }
.tdrop__hint { font-size: 14px; opacity: .8; max-width: 440px; }
.tool.has-files .tdrop { min-height: 0; flex-direction: row; flex-wrap: wrap; padding: 14px; gap: 12px; outline-offset: -7px; }
.tool.has-files .tdrop__icon, .tool.has-files .tdrop__hint { display: none; }
.tool.has-files .tdrop__btn { min-height: 44px; font-size: 15px; padding: 0 18px; }

.tfiles { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.tfiles li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.tfiles__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tfiles__size { color: var(--muted); font-size: 14px; white-space: nowrap; }
.tfiles__btn { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; font-size: 16px; line-height: 1; }
.tfiles__btn:hover { border-color: var(--ink-2); }

.tform { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.tform[hidden] { display: none; }
.tfield { display: flex; flex-direction: column; gap: 6px; }
.tfield label { font-weight: 700; font-size: 14px; }
.tfield input[type=text], .tfield input[type=number], .tfield select, .tfield textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--paper); font-size: 16px;
}
.tfield select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6f67' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
.tfield input:focus, .tfield select:focus, .tfield textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(11,122,85,.14); }
.tfield--check { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 10px; }
.tfield--check input { width: 20px; height: 20px; accent-color: var(--brand); }
.tfield__help { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .tform { grid-template-columns: 1fr; padding: 14px; } }

.tactions { display: flex; gap: 10px; margin-top: 16px; }
.tactions[hidden] { display: none; }
.tactions .btn--primary { flex: 1; min-height: 56px; font-size: 18px; }
.tstatus { margin-top: 12px; text-align: center; color: var(--ink-2); font-weight: 600; min-height: 1em; }
.tstatus:empty { display: none; }
.tstatus--bad { color: var(--bad); background: #fdecea; border-radius: 10px; padding: 12px; }
.tresults__card { margin-top: 16px; padding: 20px; border-radius: 16px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.tresults__head { font-size: 20px; margin-bottom: 4px; }
.tresults__report { color: var(--ink-2); margin-bottom: 12px; }
.tresult { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--brand-100); text-decoration: none; color: var(--ink); }
.tresult__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tresult__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tresult__size { color: var(--muted); font-size: 14px; }
.tresult__dl { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; }
.tresult:hover .tresult__dl { background: var(--brand-600); }

/* ----------------------------------------------------- article parts */
.answer { max-width: 900px; font-size: 19px; line-height: 1.6; color: var(--ink); padding: 22px 26px; margin-bottom: 44px; background: var(--paper); border-left: 4px solid var(--brand); border-radius: 0 var(--r) var(--r) 0; }
.prose { max-width: 760px; }
.prose--narrow { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: var(--ink-2); font-size: 17px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.note { margin: 24px 0; padding: 16px 20px; border-radius: var(--r); background: #fff8e8; border: 1px solid #f3e1b4; }
.note p { margin: 0; color: #5b4a1c; font-size: 16px; }
.contact-mail { margin-top: 24px; }

.pagehead { padding: 30px 0 34px; background: radial-gradient(1000px 320px at 50% -40px, var(--brand-50), transparent 72%), var(--paper); }
.pagehead h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; letter-spacing: -.03em; margin-top: 16px; }
.pagehead__lede { max-width: 680px; margin-top: 12px; font-size: 18px; color: var(--ink-2); }
.pagehead--center { text-align: center; }
.pagehead--center .crumbs { justify-content: center; }
.pagehead--center .pagehead__lede { margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------- footer */
.ftr { background: #0c1c16; color: #b9c9c2; padding: 56px 0 28px; margin-top: 0; }
.ftr__top { display: grid; gap: 36px; }
.ftr__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ftr__brand p { font-size: 15px; }
.ftr__cols { display: grid; grid-template-columns: repeat(7, auto); justify-content: space-between; gap: 28px 24px; }
.ftr__h { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin: 7px 0; }
.ftr a { color: #b9c9c2; text-decoration: none; font-size: 15px; }
.ftr a:hover { color: #fff; }
.ftr__base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
@media (max-width: 1100px) { .ftr__cols { grid-template-columns: repeat(4, 1fr); justify-content: stretch; } }
@media (max-width: 600px) { .ftr__cols { grid-template-columns: repeat(2, 1fr); } }
.tgrid + .prose { margin-top: 40px; }

/* rich content written in the admin HTML editor */
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose h4 { font-size: 17px; margin: 22px 0 8px; }
.prose a { font-weight: 600; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; border-radius: var(--r); background: #fff8e8; border: 1px solid #f3e1b4; }
.prose blockquote p { margin: 0; color: #5b4a1c; font-size: 16px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-sm); margin: 20px 0; }
.prose figure { margin: 24px 0; } .prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose code { font-size: .92em; background: var(--canvas); padding: 2px 6px; border-radius: 6px; }
.prose pre { overflow: auto; background: var(--canvas); padding: 14px; border-radius: var(--r-sm); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); background: var(--canvas); }
