/*
  DAS generatorius: shared site styles (owner: marketing agent).
  Link from any page in web/:  <link rel="stylesheet" href="assets/site.css">

  Everything below the base layer is scoped to classes, so app.css can sit on
  top of it without fights. Page content styles apply inside <main class="page">.

  Tokens (CSS custom properties on :root):
    --primary #1f4e79   --cta #2e7d32   --text #1b1f24   --muted #5b6470
    --border  #d9dee5   --bg  #f6f8fb   --card #fff      --radius 10px
    --maxw 1080px

  ---------------------------------------------------------------------------
  HEADER SNIPPET (copy as is; add class "is-active" to the current nav link)

  <header class="site-header">
    <div class="site-header__inner">
      <a class="brand" href="index.html" aria-label="DAS generatorius, pradžia">
        <svg class="brand__icon" viewBox="0 0 24 24" width="28" height="28" aria-hidden="true" focusable="false">
          <path d="M6 2h8l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z" fill="#1f4e79"/>
          <path d="M14 2l5 5h-4a1 1 0 0 1-1-1z" fill="#9db7d5"/>
          <path d="M8 14.5l2.6 2.6L16.2 11.5" fill="none" stroke="#fff" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
        </svg>
        <span class="brand__name">DAS generatorius</span>
      </a>
      <nav class="site-nav" aria-label="Pagrindinė navigacija">
        <a href="index.html#kaip">Kaip veikia</a>
        <a href="index.html#kainos">Kainos</a>
        <a href="index.html#duk">DUK</a>
        <a href="buhalteriams.html">Buhalteriams</a>
      </nav>
      <a class="btn btn--cta site-header__cta" href="app.html">Pradėti nemokamai</a>
    </div>
  </header>

  FOOTER SNIPPET (the "Naudinga" list links the six search pages; on one of
  them add aria-current="page" to its own link; 404.html uses absolute URLs)

  <footer class="site-footer">
    <div class="site-footer__inner">
      <div class="site-footer__about">
        <strong class="site-footer__name">DAS generatorius</strong>
        <p>Darbo apmokėjimo sistemos ir susijusių dokumentų rengimo įrankis. Jūsų duomenys lieka jūsų naršyklėje.</p>
        <p class="site-footer__disclaimer">Tai nėra teisinė konsultacija.</p>
        <p class="site-footer__disclaimer">Privatus įrankis, nesusijęs su VDI ar Sodra.</p>
      </div>
      <nav class="site-footer__nav" aria-label="Informacija">
        <a href="kas-yra-das.html">Kas yra DAS</a>
        <a href="das-pavyzdys.html">DAS pavyzdys</a>
        <a href="buhalteriams.html">Buhalteriams</a>
        <a href="index.html#duk">DUK</a>
      </nav>
      <nav class="site-footer__nav" aria-label="Teisinė informacija">
        <a href="salygos.html">Pirkimo taisyklės</a>
        <a href="privatumas.html">Privatumo politika</a>
        <a href="rekvizitai.html">Rekvizitai ir kontaktai</a>
      </nav>
      <nav class="site-footer__useful" aria-labelledby="footer-useful">
        <p class="site-footer__label" id="footer-useful">Naudinga</p>
        <ul>
          <li><a href="isakymas-del-das-patvirtinimo.html">Įsakymas dėl DAS patvirtinimo</a></li>
          <li><a href="supazindinimo-lapas.html">Supažindinimo lapas</a></li>
          <li><a href="das-mazoms-imonems.html">DAS mažai įmonei</a></li>
          <li><a href="das-baudos.html">Baudos dėl DAS</a></li>
          <li><a href="pareigybiu-grupes-numeris-sodrai.html">Grupės numeris Sodrai</a></li>
          <li><a href="pareigybiu-vertinimo-lentele.html">Pareigybių vertinimo lentelė</a></li>
        </ul>
      </nav>
    </div>
    <div class="site-footer__bottom">
      <p>© 2026 Arminas Attas, Vilnius. Mokėjimus ir sąskaitas tvarko Polar.</p>
    </div>
  </footer>

  SCRIPTS SNIPPET (just before </body>; utm.js on every page, ads.js on landing and info pages)

  <script src="assets/utm.js" defer></script>
  <script src="assets/ads.js" defer></script>
  ---------------------------------------------------------------------------
*/

:root {
  --primary: #1f4e79;
  --primary-dark: #173b5c;
  --primary-soft: #e8eff7;
  --cta: #2e7d32;
  --cta-dark: #256628;
  --cta-soft: #e8f3e9;
  --text: #1b1f24;
  --muted: #5b6470;
  --border: #d9dee5;
  --bg: #f6f8fb;
  --card: #ffffff;
  --warn-soft: #fff6e0;
  --warn-border: #e9c46a;
  --radius: 10px;
  --maxw: 1080px;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 2px 8px rgba(16, 24, 40, 0.05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- Base ---------- */

*, *::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(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }

:focus-visible { outline: 3px solid #7aa7d6; outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--cta { background: var(--cta); color: #fff; }
.btn--cta:hover { background: var(--cta-dark); color: #fff; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--ghost { background: var(--card); color: var(--primary); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

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

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
}
.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand__icon { flex: 0 0 auto; display: block; width: 24px; height: 24px; }
.site-header__cta { order: 2; margin-left: auto; min-height: 38px; padding: 6px 10px; font-size: .82rem; }
.site-nav {
  order: 3;
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  padding-top: 2px;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  padding: 6px 0;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--primary); }
.site-nav a.is-active { font-weight: 600; }

@media (max-width: 359px) {
  .brand__name { font-size: .88rem; }
  .site-header__cta { padding: 6px 8px; font-size: .78rem; }
}

@media (min-width: 820px) {
  .site-header { position: sticky; top: 0; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand__icon { width: 28px; height: 28px; }
  .site-header__cta { min-height: 40px; padding: 8px 14px; font-size: .95rem; }
  .site-header__inner { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; column-gap: 24px; }
  .site-nav { order: 2; flex-basis: auto; margin-left: auto; padding-top: 0; gap: 22px; }
  .site-header__cta { order: 3; margin-left: 0; }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 56px;
  background: #102a43;
  color: #c9d5e3;
  font-size: .95rem;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px var(--gutter) 20px;
  display: grid;
  gap: 24px;
}
.site-footer__name { color: #fff; font-size: 1.05rem; }
.site-footer__about p { margin: 8px 0 0; }
.site-footer__disclaimer { color: #fff; font-weight: 600; }
.site-footer__nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: #e3ecf5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter) 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: .88rem;
  color: #9fb3c8;
}
.site-footer__bottom p { margin: 0; }
/* "Naudinga": a compact, wrapping list of the search pages, full width under the columns */
.site-footer__useful { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 16px; min-width: 0; }
.site-footer__label { margin: 0 0 6px; color: #fff; font-weight: 700; font-size: .95rem; }
.site-footer__useful ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 22px; font-size: .9rem; }
.site-footer__useful li { margin: 0; }
.site-footer__useful a { display: inline-block; padding: 3px 0; }
.site-footer__useful a[aria-current="page"] { color: #fff; font-weight: 600; }

@media (min-width: 720px) {
  .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}

/* ---------- Page layout ---------- */

.page { display: block; }
/* Base typography uses :where() so any component class overrides it. */
:where(.page) a { color: var(--primary); }
:where(.page) h1, :where(.page) h2, :where(.page) h3 { line-height: 1.25; color: var(--text); }
:where(.page) h1 { font-size: clamp(1.7rem, 4.4vw, 2.35rem); margin: 0 0 16px; letter-spacing: -0.01em; }
:where(.page) h2 { font-size: clamp(1.35rem, 3.6vw, 1.9rem); margin: 0 0 14px; }
:where(.page) h3 { font-size: 1.12rem; margin: 0 0 8px; }
:where(.page) p { margin: 0 0 14px; }
:where(.page) ul, :where(.page) ol { margin: 0 0 14px; padding-left: 22px; }
:where(.page) li { margin-bottom: 6px; }
.page .checklist, .page .steps, .page .hero__points, .page .doc-stack ul, .page .checklist-numbered { padding-left: 0; }

.section { padding: 44px 0; }
.section--white { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__lead { color: var(--muted); font-size: 1.05rem; max-width: 720px; margin-bottom: 24px; }
.section__head { margin-bottom: 20px; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

@media (min-width: 720px) {
  .section { padding: 64px 0; }
}

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

.hero { padding: 36px 0 40px; background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warn-soft);
  border: 1px solid var(--warn-border);
  color: #6b4e00;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero__lead { font-size: 1.1rem; color: #33404d; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.hero__note { font-size: .92rem; color: var(--muted); margin: 0; }
.hero__points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }

@media (min-width: 900px) {
  .hero { padding: 64px 0 64px; }
  .hero__grid { grid-template-columns: 1.35fr 1fr; gap: 48px; }
}

/* Check icon used in lists: <span class="tick" aria-hidden="true"></span> */
.tick {
  flex: 0 0 auto;
  width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%;
  background: var(--cta-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%232e7d32' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;
}
.cross {
  flex: 0 0 auto;
  width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%;
  background: #fdecea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23b3261e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;
}

/* Document stack illustration in the hero */
.doc-stack {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.doc-stack__title { font-weight: 700; margin: 0 0 10px; font-size: .98rem; }
.doc-stack ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.doc-stack li {
  display: flex; gap: 10px; align-items: center; margin: 0;
  padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: #fbfcfe;
  font-size: .95rem;
}
.doc-stack__ext {
  margin-left: auto; font-size: .75rem; font-weight: 700; color: var(--primary);
  background: var(--primary-soft); border-radius: 6px; padding: 2px 6px;
}

/* ---------- Cards and grids ---------- */

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary);
  margin-bottom: 10px;
}

.checklist { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }

/* Steps (Kaip veikia) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps > li { margin: 0; counter-increment: step; position: relative; padding-top: 56px; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 18px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

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

.pricing { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card--featured { border: 2px solid var(--cta); }
.price-card__tag {
  position: absolute; top: -12px; left: 20px;
  background: var(--cta); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.price-card__name { font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; }
.price-card__for { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.price-card__price { font-size: 2.3rem; font-weight: 800; color: var(--text); line-height: 1.1; margin: 0; }
.price-card__price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card__vat { color: var(--muted); font-size: .88rem; margin: 4px 0 14px; }
.price-card ul { flex: 1 1 auto; align-content: start; }
.price-card .btn { margin-top: 8px; }
.pricing-note { color: var(--muted); font-size: .92rem; margin-top: 16px; }

/* ---------- Tables ---------- */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.table th, .table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table thead th { background: #eef2f7; font-weight: 700; color: #26323f; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table .is-ours { background: var(--cta-soft); }
.table--compare th:first-child { min-width: 128px; }
@media (max-width: 480px) {
  .table { font-size: .86rem; }
  .table th, .table td { padding: 8px 8px; }
}
/* Score table (pareigybiu-vertinimo-lentele, das-pavyzdys): below 820 px the headers with class "rot"
   turn vertical so all 8 columns fit without sideways scrolling. These rules come after the
   .table ones above so they win at every width. */
.score-table td { text-align: center; }
.score-table th, .score-table td { padding: 10px 7px; }
@media (max-width: 819px) {
  .score-table thead th { vertical-align: bottom; }
  .score-table thead th.rot span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
}
@media (max-width: 560px) {
  .score-table { font-size: .8rem; }
  .score-table th, .score-table td { padding: 6px 4px; }
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 44px 14px 16px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 16px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__body { padding: 0 16px 14px; color: #2b3540; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Notices ---------- */

.notice {
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--card);
  margin: 0 0 18px;
}
.notice p:last-child { margin-bottom: 0; }
.notice--info { background: var(--primary-soft); border-color: #bcd0e6; }
.notice--warn { background: var(--warn-soft); border-color: var(--warn-border); }
.notice--ok { background: var(--cta-soft); border-color: #b5d8b7; }

.cta-band {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  display: grid;
  gap: 16px;
  align-items: center;
}
.cta-band h2, .cta-band h3, .cta-band p { color: #fff; margin: 0; }
.cta-band p { opacity: .92; }
@media (min-width: 760px) {
  .cta-band { grid-template-columns: 1fr auto; padding: 32px 36px; }
}

/* ---------- Article (prose) ---------- */

.article { max-width: 760px; margin: 0 auto; }
.article__meta { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.article h2 { margin-top: 36px; }
.article h3 { margin-top: 24px; }
.article blockquote {
  margin: 0 0 16px; padding: 10px 16px;
  border-left: 4px solid var(--primary); background: var(--primary-soft); border-radius: 0 8px 8px 0;
}
.article .toc {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; margin: 0 0 22px;
}
.article .toc ol { margin-bottom: 0; }
.checklist-numbered { counter-reset: chk; list-style: none; padding-left: 0 !important; }
.checklist-numbered li { counter-increment: chk; position: relative; padding-left: 42px; margin-bottom: 12px; min-height: 28px; }
.checklist-numbered li::before {
  content: counter(chk);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px;
  border: 2px solid var(--primary); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .88rem; color: var(--primary); background: var(--card);
}
.sources { font-size: .92rem; }
.sources li { margin-bottom: 8px; }

.breadcrumbs { font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.breadcrumbs a { color: var(--muted); }

.page-head { padding: 32px 0 8px; }
.page-head p { color: var(--muted); max-width: 720px; }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.25rem; margin-top: 28px; }
.legal ol, .legal ul { padding-left: 22px; }
.legal dl { display: grid; gap: 4px 16px; margin: 0 0 16px; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0 0 8px; }
@media (min-width: 640px) {
  .legal dl { grid-template-columns: 220px 1fr; }
  .legal dd { margin: 0; }
}

/* ---------- Document sample (das-pavyzdys) ---------- */

.doc-sheet {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.10);
  padding: 28px 20px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 15px;
  line-height: 1.5;
  color: #111;
  position: relative;
  overflow: hidden;
}
@media (min-width: 720px) { .doc-sheet { padding: 48px 56px; font-size: 16px; } }
.doc-sheet h2, .doc-sheet h3 { font-family: inherit; color: #111; }
.doc-sheet h2 { font-size: 1.15rem; text-align: center; text-transform: uppercase; margin: 0 0 4px; }
.doc-sheet h3 { font-size: 1rem; text-align: center; margin: 22px 0 10px; text-transform: uppercase; }
.doc-sheet p { margin: 0 0 10px; text-align: justify; hyphens: auto; }
.doc-sheet .doc-approve { text-align: right; font-size: .92em; margin-bottom: 20px; }
.doc-sheet .doc-center { text-align: center; }
.doc-sheet .doc-gap { text-align: center; color: #6b6b6b; }
.doc-sheet .doc-table { width: 100%; border-collapse: collapse; font-size: .9em; margin: 8px 0 14px; }
.doc-sheet .doc-table th, .doc-sheet .doc-table td { border: 1px solid #555; padding: 5px 6px; vertical-align: top; text-align: left; }
.doc-sheet .doc-table th { background: #f0f0f0; }
.doc-sheet .doc-table td.num, .doc-sheet .doc-table th.num { text-align: right; white-space: nowrap; }
.doc-sheet .doc-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 85%);
  pointer-events: none;
}
.doc-sheet .doc-watermark {
  position: absolute; top: 40%; left: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
  font-family: var(--font); font-weight: 800; font-size: clamp(2rem, 9vw, 4.5rem);
  color: rgba(31, 78, 121, 0.07); white-space: nowrap; pointer-events: none; user-select: none;
}
.doc-caption { color: var(--muted); font-size: .9rem; margin-top: 10px; }
@media (max-width: 719px) {
  .doc-sheet { padding: 22px 14px; }
  .doc-sheet p { text-align: left; }
  .doc-sheet .doc-table { font-size: .74em; }
  .doc-sheet .doc-table th, .doc-sheet .doc-table td { padding: 4px 4px; }
  .doc-sheet .doc-table th.num { white-space: normal; }
}
/* A wide sample table (.doc-table--stack, cells with data-label): headers may wrap, and on phones each
   row becomes a small card of label and value pairs, so nothing scrolls sideways. */
.doc-sheet .doc-table--stack th.num { white-space: normal; }
@media (max-width: 559px) {
  .doc-sheet .doc-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .doc-sheet .doc-table--stack, .doc-sheet .doc-table--stack tbody, .doc-sheet .doc-table--stack tr { display: block; width: 100%; }
  .doc-sheet .doc-table--stack { font-size: .86em; }
  .doc-sheet .doc-table--stack tr { border: 1px solid #555; margin-bottom: 8px; }
  .doc-sheet .doc-table--stack td,
  .doc-sheet .doc-table--stack td.num {
    display: flex; justify-content: space-between; gap: 12px; width: 100%;
    border: 0; border-bottom: 1px solid #ddd; padding: 5px 8px; text-align: right; white-space: normal;
  }
  .doc-sheet .doc-table--stack td:last-child { border-bottom: 0; }
  .doc-sheet .doc-table--stack td::before { content: attr(data-label); flex: 0 0 auto; font-weight: 700; text-align: left; }
}

/* ---------- Thank-you and 404 ---------- */

.center-box { max-width: 680px; margin: 0 auto; text-align: left; }
.keybox {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #0f2236; color: #d6e6f5; border-radius: 4px; padding: 1px 6px; font-size: .92em;
}
.big-code { font-size: clamp(3rem, 14vw, 6rem); font-weight: 800; color: var(--primary); margin: 0; line-height: 1; }

/* ---------- Consent bar (assets/ads.js, only when Google Ads measurement is turned on) ---------- */

.consent-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.18);
  padding: 14px 16px;
  font-size: .93rem;
  display: grid;
  gap: 10px;
}
.consent-bar p { margin: 0; }
.consent-bar a { color: var(--primary); }
.consent-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-bar__actions .btn { flex: 1 1 120px; min-height: 40px; }
@media (min-width: 720px) {
  .consent-bar { grid-template-columns: 1fr auto; align-items: center; }
  .consent-bar__actions .btn { flex: 0 0 auto; }
}

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.stack-12 > * + * { margin-top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
