/* ==========================================================================
   eIDAS Qualified Timestamps — qtsa.eu
   Same layout and type system as tsaserver.com.
   Palette: ink / slate / dark business-green accent on white.
   Type: IBM Plex Sans (display + body), IBM Plex Mono (protocol / spec data).
   ========================================================================== */

/* IBM Plex Sans + IBM Plex Mono, self-hosted (SIL Open Font License 1.1, see fonts/OFL.txt) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-latin.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin.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;
}

:root {
  --ink: #14212f;
  --slate: #46586c;
  --muted: #6b7c8f;
  --line: #dde4ec;
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --bg-deep: #0b2014;
  --accent: #006400;
  --accent-deep: #004700;
  --accent-soft: #e8f3ea;
  --ok: #1e7f4f;
  /* Text tones on the dark (footer / CTA band) background */
  --on-deep: #d9e8dd;
  --on-deep-muted: #9fbaa6;
  --on-deep-link: #c5dccb;
  --on-deep-faint: #7d9886;
  --code-bg: #0f1a14;
  --code-head: #17271d;
  --code-text: #e6efe8;
  --radius: 6px;
  --maxw: 1120px;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  color: var(--slate);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand strong { font-weight: 600; color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 26px; }

.main-nav a {
  color: var(--slate);
  font-size: 15px;
  font-weight: 500;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.main-nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 20px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero .lede {
  font-size: 18.5px;
  color: var(--slate);
  max-width: 54ch;
  margin-bottom: 32px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--slate); }

/* Hero illustration: Acrobat timestamp validation screenshot */

.hero-image {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 18px 44px rgba(11, 32, 20, 0.18);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 76px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 44px; }

h2 {
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head p { color: var(--slate); font-size: 17px; }

h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }

/* Card grids */

.grid { display: grid; gap: 26px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.card p { color: var(--slate); font-size: 15.5px; }

/* Evaluation cards (download page): pin the buttons to the card bottom so
   they stay aligned across both cards regardless of text length */
.eval-grid .card { display: flex; flex-direction: column; }
.eval-grid .card .card-cta { margin-top: auto; padding-top: 22px; }

.card .card-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Check list */

.checklist { list-style: none; }
.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--slate);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ok);
  font-weight: 700;
}
.checklist li strong { color: var(--ink); }

/* Spec table */

.spec-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 34%;
  color: var(--ink);
  font-weight: 600;
  background: var(--bg-soft);
}
.spec-table td { color: var(--slate); }
.spec-table td .mono, td.mono { font-family: var(--mono); font-size: 14px; color: var(--ink); }

/* Pricing */

.price-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  max-width: 560px;
  padding: 40px 42px;
}

.price-figure {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 6px;
}
.price-figure .amount {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.price-figure .terms { color: var(--muted); font-size: 15px; }
.price-figure .amount-from { font-size: 24px; font-weight: 500; color: var(--slate); margin-right: 2px; }
.price-note { color: var(--muted); font-size: 15px; margin-top: 2px; }

.price-card .from { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* Steps (use cases page intro / how it works) */

.usecase {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}
.usecase:last-of-type { border-bottom: 1px solid var(--line); }

.usecase .uc-label {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.usecase h3 { font-size: 21px; }
.usecase .uc-body p { color: var(--slate); margin-bottom: 14px; }
.usecase .uc-body p:last-child { margin-bottom: 0; }

.uc-onprem {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--accent-deep);
}
.uc-onprem strong { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* CTA band */

.cta-band {
  background: var(--bg-deep);
  color: var(--on-deep);
  padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-deep-muted); max-width: 60ch; margin-bottom: 26px; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(217, 232, 221, 0.35); }
.cta-band .btn-secondary:hover { border-color: #fff; }

/* Downloads */

.dl-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.dl-item:first-child { border-top: 1px solid var(--line); }
.dl-item .dl-meta { color: var(--muted); font-size: 14px; font-family: var(--mono); white-space: nowrap; }

/* Footer */

.site-footer {
  background: var(--bg-deep);
  color: var(--on-deep-muted);
  padding: 52px 0 40px;
  font-size: 14.5px;
}
.site-footer a { color: var(--on-deep-link); }
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 500;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(197, 220, 203, 0.15);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--on-deep-faint);
}
.footer-bottom .wrap { display: block; }

/* Page headers (inner pages) */

.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 50px;
}
.page-head h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 12px;
}
.page-head p { color: var(--slate); font-size: 17.5px; max-width: 70ch; }

/* Prose blocks */

.prose { max-width: 760px; }
.prose p { color: var(--slate); margin-bottom: 16px; }
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 + p, .prose h2 + ul { margin-top: 12px; }
.prose ul { color: var(--slate); padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.contact-form { max-width: 680px; }

.form-row { margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 7px;
}
.contact-form label .req { color: var(--accent); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.contact-form textarea { min-height: 170px; resize: vertical; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Honeypot: hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 15px;
}
.form-status.ok {
  display: block;
  background: #e9f6ef;
  border: 1px solid #bfe3cf;
  color: var(--ok);
}
.form-status.err {
  display: block;
  background: #fbeeee;
  border: 1px solid #ecc8c8;
  color: #a03434;
}

.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 54px; padding-bottom: 60px; }
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .usecase { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  section { padding: 56px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .dl-item { flex-direction: column; align-items: flex-start; gap: 8px; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 28px; }
  .main-nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
}

/* --------------------------------------------------------------------------
   Guides & articles
   -------------------------------------------------------------------------- */

/* Breadcrumb trail above the page title */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--slate); }
.breadcrumb [aria-current="page"] { color: var(--muted); }

/* Article metadata line under the title */
.article-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Article body: extends .prose with headings, lists, tables and figures */
.article-body { max-width: 780px; }
.article-body h2 { margin-top: 52px; scroll-margin-top: 90px; }
.article-body h3 { margin-top: 28px; }
.article-body ol { color: var(--slate); padding-left: 24px; margin-bottom: 16px; }
.article-body li strong, .article-body p strong { color: var(--ink); }
.article-body code { font-family: var(--mono); font-size: 0.92em; background: var(--bg-soft); padding: 1px 5px; border-radius: 3px; }
.article-body figure { margin: 30px 0; }
.article-body figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.article-body figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Key takeaways box */
.key-points { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 8px 0 34px; }
.key-points h2 { font-size: 13px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 10px; }
.key-points ul { margin-bottom: 0; color: var(--accent-deep); }
.key-points li { margin-bottom: 6px; }

/* Table of contents */
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 10px; }
.toc p { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin-bottom: 0; }
.toc li { margin-bottom: 4px; }

/* Data tables inside articles */
.table-scroll { overflow-x: auto; margin: 22px 0 26px; }
.article-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.article-table th, .article-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.article-table thead th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line); }
.article-table td { color: var(--slate); }
.article-table .tag { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 2px 8px; border-radius: 3px; white-space: nowrap; }
.article-table .tag-self { background: var(--accent-soft); color: var(--accent-deep); }
.article-table .tag-qual { background: #e6f3ec; color: var(--ok); }
.article-table .tag-hybrid { background: #eef1f4; color: var(--ink); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 10px 0 0; }

/* Guide cards on the guides index */
.guide-card { display: flex; flex-direction: column; }
.guide-card h3 a { color: var(--ink); }
.guide-card .card-cta { margin-top: auto; padding-top: 18px; font-weight: 600; }

/* Guides index: stacked list of full-width cards, newest first */
.guide-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.guide-item {
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: var(--bg);
}
.guide-item .guide-cat {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.guide-item h2 { font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 10px; }
.guide-item h2 a { color: var(--ink); }
.guide-item h2 a:hover { color: var(--accent); text-decoration: none; }
.guide-item p { color: var(--slate); font-size: 15.5px; margin-bottom: 14px; }
.guide-item .guide-more { font-size: 15px; font-weight: 600; }

/* Long inline commands in articles wrap instead of widening the page on small screens */
.article-body code { overflow-wrap: anywhere; }

/* ==========================================================================
   qtsa.eu additions — same visual language as the rules above
   ========================================================================== */

/* Guide subtitle under the page H1 */
.page-head .page-sub { font-size: 19px; color: var(--ink); font-weight: 500; margin-bottom: 8px; max-width: 70ch; }

/* Home hero screenshot (wide, short image) */
.hero-image.wide { max-width: 640px; padding: 8px; }

/* Highlighted statement (home: qualified status) */
.status-note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--slate);
}
.status-note strong { color: var(--ink); }

/* Screenshots inside prose */
.prose img { max-width: 100%; height: auto; }
.shot { margin: 22px 0 30px; }
.shot img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(11, 32, 20, 0.10);
}
.shot.center img { margin: 0 auto; }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Callouts (prerequisites, results) */
.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 8px 0 30px;
  color: var(--accent-deep);
}
.prose .callout p, .prose .callout ul { color: var(--accent-deep); }
.callout ul { margin-bottom: 0; }
.callout li { margin-bottom: 6px; }
.callout p:last-child { margin-bottom: 0; }
.callout .callout-title { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.callout code { background: rgba(255, 255, 255, 0.7); }
.callout.ok { background: #e9f6ef; border-left-color: var(--ok); color: #14532d; margin-top: 18px; }

/* Call-to-action box inside an article */
.cta-box {
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 40px 0 10px;
  background: var(--bg-soft);
}
.prose .cta-box h3, .cta-box h3 { margin-top: 0; }
.cta-box p:last-child { margin-bottom: 0; }
.cta-box .btn-primary { color: #fff; }

/* Code blocks (guides) */
.codebox {
  position: relative;
  margin: 14px 0 26px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1f3327;
  background: var(--code-bg);
}
.codebox pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  color: var(--code-text);
  font: 13.5px/1.6 var(--mono);
  tab-size: 4;
}
.codebox pre code { background: none; border: 0; padding: 0; color: inherit; font: inherit; overflow-wrap: normal; }
.codebox pre strong { color: #9be3a8; font-weight: 600; }
.codebox .cb-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  border: 1px solid #355543;
  background: var(--code-head);
  color: #c9dccf;
  border-radius: 5px;
  padding: 2px 11px;
  font: 12.5px var(--sans);
  opacity: 0.85;
}
.codebox .cb-copy:hover { opacity: 1; background: #20362a; }
.t-kw { color: #6cb6ff; }
.t-ty { color: #4ec9b0; }
.t-fn { color: #dcdcaa; }
.t-st { color: #e5a07b; }
.t-cm { color: #7fa883; font-style: italic; }
.t-nu { color: #b5cea8; }

/* Inline code in prose and lists */
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-soft); border: 1px solid var(--line); padding: 0 5px; border-radius: 3px; overflow-wrap: anywhere; }

/* Legal / policy pages: small mono section labels */
.prose h2.legal-h {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 34px 0 10px;
}
.prose h2.legal-h:first-child { margin-top: 0; }

/* Link list (technical information, integration guides, accreditations) */
.link-list { display: grid; gap: 16px; max-width: 820px; }
.link-list .card { padding: 22px 26px; }
.link-list .card h2 { font-size: 19px; margin-bottom: 6px; line-height: 1.35; }
.link-list .card h2 a { color: var(--ink); }
.link-list .card h2 a:hover { color: var(--accent); text-decoration: none; }
.link-list .card p { margin: 0; }
.link-list .card code { font-family: var(--mono); font-size: 14px; color: var(--accent-deep); background: var(--accent-soft); padding: 2px 7px; border-radius: 3px; overflow-wrap: anywhere; }

/* ---- Pricing table ---- */

.price-table-wrap { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); }
.price-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.price-table thead th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-soft);
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table th.pkg, .price-table td.pkg { text-align: left; }
.price-table .qty { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.price-table .qty-label { color: var(--slate); font-size: 14.5px; }
.price-table .amount { display: block; font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.price-table .per { color: var(--muted); font-size: 14px; font-family: var(--mono); }
.price-table tr.best td { background: var(--accent-soft); }
.price-table tr.best td.pkg { box-shadow: inset 4px 0 0 var(--accent); }
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 3px;
  padding: 2px 8px;
  margin-top: 6px;
}
.price-table form { margin: 0; }
.btn-pay {
  display: inline-block;
  min-width: 156px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font: 600 15px var(--sans);
  line-height: 1.4;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}
.btn-pay:hover { text-decoration: none; }
.btn-paypal { background: #ffc439; color: #111; border-color: #f2b51f; }
.btn-paypal:hover { background: #f2b51f; }
.btn-paypal .pp1 { color: #003087; font-style: italic; font-weight: 700; }
.btn-paypal .pp2 { color: #009cde; font-style: italic; font-weight: 700; }
.btn-card { background: var(--accent); color: #fff; }
.btn-card:hover { background: var(--accent-deep); }
.btn-offer { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-offer:hover { border-color: var(--slate); }
.price-foot { color: var(--muted); font-size: 14.5px; margin-top: 14px; }

/* ---- Responsive additions ---- */

@media (max-width: 1060px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 14.5px; }
}

@media (max-width: 860px) {
  .price-table-wrap { border: 0; border-radius: 0; background: none; overflow: visible; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 16px; overflow: hidden; background: var(--bg); }
  .price-table td { padding: 12px 18px; text-align: right; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .price-table td::before { content: attr(data-label); text-align: left; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .price-table td.pkg { display: block; text-align: left; }
  .price-table td.pkg::before { content: none; }
  .price-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .price-table tr td:last-child { border-bottom: 0 !important; }
  .price-table tr.best td.pkg { box-shadow: inset 0 4px 0 var(--accent); }
}

/* Home hero tagline (former site tagline) */
.hero .tagline { font-size: 21px; font-weight: 500; color: var(--ink); line-height: 1.4; margin: -6px 0 16px; }

/* The generic ".page-head p" rule would otherwise override the eyebrow label */
.page-head .eyebrow { font-size: 12.5px; color: var(--accent); margin-bottom: 18px; max-width: none; }
.page-head .article-meta { font-size: 13px; color: var(--muted); }
.price-table .per { white-space: nowrap; }
@media (max-width: 860px) {
  .price-table td::before { white-space: nowrap; }
}

/* Free timestamps: form + screenshot side by side */
.free-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: start; }
@media (max-width: 940px) { .free-grid { grid-template-columns: 1fr; } }

/* Long article titles: tighter leading; spacing after the table of contents */
.page-head h1 { line-height: 1.2; }
.article-body .toc { margin-bottom: 34px; }
.article-body .faq details p { margin-bottom: 0; }

/* Six menu items + brand need ~940px: switch to the mobile menu below 960px */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 28px; font-size: 15px; }
  .main-nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
}

/* Home: compact price cards */
.price-mini .price-figure { margin: 6px 0 4px; }
.price-mini .price-figure .amount { font-size: 34px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }

/* Guides: note about the TSA endpoint placeholder */
.page-head .endpoint-note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
}
.page-head .endpoint-note code { font-family: var(--mono); font-size: 13.5px; background: rgba(255, 255, 255, 0.7); padding: 1px 6px; border-radius: 3px; overflow-wrap: anywhere; }

/* Home: H3 that heads a column next to an H2 */
.col-h3 { font-size: clamp(22px, 2.6vw, 27px); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 14px; }

/* Home hero tagline: a full sentence, slightly smaller than the original 21px */
.hero .tagline { font-size: 19px; line-height: 1.45; }
