/* ==========================================================================
   gltpub.com — single stylesheet, no framework, no external requests.

   Design direction: dark, terminal-adjacent, quiet. Hairline borders over
   heavy shadows, one accent colour used sparingly, generous vertical rhythm.
   Both colour schemes are first-class.
   ========================================================================== */

:root {
  /* surfaces, dark -> light are swapped in the media query below */
  --bg:        #08090b;
  --bg-1:      #0d0f12;
  --bg-2:      #12151a;
  --bg-3:      #191d24;
  --code-bg:   #050608;

  --fg:        #e8eaed;
  --fg-2:      #a8b0bb;
  --fg-3:      #717a86;

  --line:      #21262e;
  --line-2:    #2c333d;
  --line-soft: #171b21;

  --accent:      #4ade9b;
  --accent-2:    #2fbb7c;
  --accent-ink:  #0b1a13;
  --accent-soft: #0e2419;

  --amber:      #f0b429;
  --amber-soft: #241a06;

  --blue:       #63a9f5;
  --blue-soft:  #0d1a28;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 20px;

  --maxw:  1180px;
  --pad:   clamp(20px, 4vw, 40px);

  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo,
          Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow:    0 4px 12px -2px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 48px -24px rgba(0,0,0,.7);
  --ring:      0 0 0 3px rgba(74, 222, 155, .22);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:        #ffffff;
    --bg-1:      #fbfcfd;
    --bg-2:      #f4f6f8;
    --bg-3:      #eceff3;
    --code-bg:   #0d1117;

    --fg:        #0d1117;
    --fg-2:      #4a5563;
    --fg-3:      #7b8794;

    --line:      #e2e7ec;
    --line-2:    #cfd6de;
    --line-soft: #eef1f5;

    --accent:      #0f9d63;
    --accent-2:    #0b7a4c;
    --accent-ink:  #ffffff;
    --accent-soft: #e8f7f0;

    --amber:      #b4740a;
    --amber-soft: #fdf5e6;

    --blue:       #1c6fd0;
    --blue-soft:  #eaf2fd;

    --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
    --shadow:    0 4px 14px -4px rgba(16,24,40,.12);
    --shadow-lg: 0 24px 48px -24px rgba(16,24,40,.22);
    --ring:      0 0 0 3px rgba(15, 157, 99, .18);
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

/* one container for everything, so nothing ever touches the viewport edge */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { letter-spacing: -.022em; line-height: 1.2; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 20px; font-weight: 650; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

kbd {
  font: 12px/1 var(--mono); background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--line-2); border-bottom-width: 2px;
  border-radius: 5px; padding: 3px 6px; white-space: nowrap;
}
code { font-family: var(--mono); }

/* =========================================================== header */

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px) brightness(1.1);
  -webkit-backdrop-filter: saturate(180%) blur(16px) brightness(1.1);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 680; color: var(--fg); text-decoration: none; flex: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--bg-3), var(--bg-1));
  border: 1px solid var(--line-2);
  color: var(--accent);
  font: 700 13px/1 var(--mono);
  box-shadow: var(--shadow-sm);
}
.brand-text { font-size: 15.5px; letter-spacing: -.015em; white-space: nowrap; }

/* A tool's own page: the header names the tool, not the directory. */
.brand-product { gap: 10px; }
.brand-product .brand-text {
  font-size: 16.5px; font-weight: 700; letter-spacing: -.02em;
  color: var(--fg);
  max-width: 44vw; overflow: hidden; text-overflow: ellipsis;
}
.brand-sub {
  font: 600 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-3); padding: 4px 8px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  white-space: nowrap;
}
.brand-product:hover .brand-text { color: var(--accent); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 13px; border-radius: var(--radius-sm);
  color: var(--fg-2); font-size: 14.5px; font-weight: 520;
  text-decoration: none; white-space: nowrap;
  transition: color .14s, background .14s;
}
.nav a:hover { color: var(--fg); background: var(--bg-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

/* =========================================================== hero */

.hero { padding: clamp(52px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5.4vw, 52px);
  font-weight: 720;
  letter-spacing: -.035em;
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--accent) 10%, var(--blue) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  margin: 0 0 28px;
  font-size: clamp(16.5px, 1.9vw, 19px);
  color: var(--fg-2);
  max-width: 60ch;
  line-height: 1.6;
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 10px 12px;
  margin: 0 0 32px;
}
.hero-stats span {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--bg-1); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--fg-2);
}
.hero-stats strong { color: var(--fg); font-size: 15px; font-weight: 680; }

.search { display: flex; gap: 10px; max-width: 560px; }
.search input {
  flex: 1 1 auto; min-width: 0;
  font: 15px var(--sans); padding: 13px 17px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--bg-1); color: var(--fg);
  transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: var(--fg-3); }
.search input:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--ring);
}
.search button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px var(--sans); padding: 13px 22px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: filter .15s, transform .15s;
}
.search button:hover, .btn:hover {
  filter: brightness(1.08); text-decoration: none; transform: translateY(-1px);
}
.btn-ghost {
  background: var(--bg-2); color: var(--fg); border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }

/* =========================================================== grid + cards */

/* -------------------------------------------------- how-it-works strip */

.pitch {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  padding: 28px 0 12px;
  margin-bottom: 12px;
  border-top: 1px solid var(--line-soft);
}
.pitch-item {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
}
.pitch-n {
  display: grid; place-items: center;
  width: 26px; height: 26px; margin-bottom: 12px;
  border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  font: 700 12.5px/1 var(--mono);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.pitch-item h2 {
  margin: 0 0 6px; font-size: 15.5px; font-weight: 650; letter-spacing: -.015em;
}
.pitch-item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); }

.listing-h {
  margin: 0 0 20px;
  font-size: 15px; font-weight: 620; color: var(--fg-2);
  letter-spacing: .01em;
}

.listing { padding: 8px 0 72px; }
.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--bg-1), var(--bg));
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
.card::after {
  /* hairline highlight along the top edge */
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0; transition: opacity .16s;
}
.card:hover {
  border-color: var(--line-2); transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card:hover::after { opacity: 1; }
.card h3 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.018em; }
.card h3 a { color: var(--fg); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card-desc {
  margin: 0; flex: 1;
  font-size: 14px; line-height: 1.55; color: var(--fg-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.pill {
  display: inline-flex; align-items: center;
  font: 600 11.5px/1 var(--sans);
  padding: 5px 9px; border-radius: 999px;
  background: var(--bg-2); color: var(--fg-2);
  border: 1px solid var(--line-soft);
  white-space: nowrap;
}
.pill-star  { color: var(--amber); background: var(--amber-soft); border-color: transparent; }
.pill-win   { color: var(--blue);  background: var(--blue-soft);  border-color: transparent; }
.pill-mac   { color: var(--accent);background: var(--accent-soft);border-color: transparent; }
.pill-ok    { color: var(--accent);background: var(--accent-soft);border-color: transparent; }
.pill-link  { color: var(--fg-2); text-decoration: none; }
.pill-link:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

.pager { display: flex; gap: 10px; justify-content: center; margin-top: 44px; }
.pg {
  padding: 11px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--fg); font-size: 14.5px; font-weight: 550; text-decoration: none;
  background: var(--bg-1);
}
.pg:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* =========================================================== software page */

.soft { max-width: 900px; padding: clamp(28px, 4vw, 44px) 0 80px; }

.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 22px; font-size: 13.5px; color: var(--fg-3);
}
.crumbs a { color: var(--fg-3); }
.crumbs a:hover { color: var(--accent); }

.soft-head { margin-bottom: 36px; }
.soft-head h1 {
  margin: 0 0 14px;
  font-size: clamp(27px, 4.2vw, 40px);
  font-weight: 700; letter-spacing: -.032em;
}
.soft-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }

.install h2, .about-tool h2, .mobile h2, .related h2, .prose h2 {
  margin: 0 0 10px; font-size: 21px; font-weight: 660; letter-spacing: -.02em;
}
.install .intro { margin: 0 0 22px; font-size: 15px; max-width: 62ch; }

/* ------------------------------------------------------------- tabs */

.tabs { margin: 0 0 20px; }
.tablist {
  display: flex; gap: 4px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  font: 600 14.5px var(--sans);
  padding: 11px 18px; cursor: pointer;
  background: none; border: 0;
  border-bottom: 2px solid transparent;
  color: var(--fg-2); white-space: nowrap;
  margin-bottom: -1px;
  transition: color .14s, border-color .14s;
}
.tab:hover { color: var(--fg); }
.tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.tabpanel[hidden] { display: none; }
.tabpanel.is-active { animation: rise .18s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- command block
   The install card is the centrepiece: a hairline accent edge plus a soft
   accent wash so it reads as the primary object on the page. */
.cmd {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line-2));
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 50% 0%,
      color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%),
    var(--bg-1);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cmd[data-state="ready"] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2));
  box-shadow: var(--shadow-lg);
}
.cmd[data-available="0"] {
  border-color: var(--line);
  background: var(--bg-1);
  box-shadow: var(--shadow-sm);
}
.cmd-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.cmd-label {
  font: 650 11.5px/1 var(--mono);
  color: var(--fg-2); text-transform: uppercase; letter-spacing: .09em;
}
.cmd-dots { display: flex; gap: 6px; margin-right: 4px; }
.cmd-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.cmd-tag {
  margin-left: auto; order: 1;
  font: 600 11px/1 var(--sans); color: var(--fg-3);
  padding: 4px 9px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--line-soft);
}
.cmd-tag:empty { display: none; }
/* The primary call to action. Deliberately the loudest element on the page:
   solid accent fill, generous size, and a slow attention pulse while idle.
   All of that is visual only — the command is still fetched on load, so
   nothing about indexability depends on the user clicking it. */
.show {
  order: 2;
  display: inline-flex; align-items: center; gap: 10px;
  font: 680 15.5px var(--sans);
  padding: 13px 24px; cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(74, 222, 155, .45);
  animation: cta 2.8s ease-out infinite;
  transition: filter .15s, transform .12s, box-shadow .15s;
}
.show-ico {
  font: 700 14px/1 var(--mono);
  opacity: .75;
}
.show:hover {
  filter: brightness(1.07);
  animation-play-state: paused;
  transform: translateY(-1px);
}
.show:active { transform: translateY(0); }
.show:focus-visible { box-shadow: var(--ring); animation-play-state: paused; }
.show[aria-expanded="true"] {
  background: var(--bg-3);
  color: var(--fg-2);
  border-color: var(--line-2);
  animation: none;
  box-shadow: none;
}
.show[aria-expanded="true"] .show-ico { opacity: .5; }

/* A tool with nothing for this OS gets a quieter, clearly secondary button. */
.cmd[data-available="0"] .show {
  background: var(--bg-3);
  color: var(--fg-2);
  border-color: var(--line-2);
  animation: none;
  box-shadow: none;
}
.cmd[data-available="0"] .show:hover {
  border-color: var(--accent); color: var(--accent); filter: none;
}

@keyframes cta {
  0%        { box-shadow: 0 0 0 0 rgba(74, 222, 155, .5); }
  60%, 100% { box-shadow: 0 0 0 14px rgba(74, 222, 155, 0); }
}
@media (prefers-color-scheme: light) {
  @keyframes cta {
    0%        { box-shadow: 0 0 0 0 rgba(15, 157, 99, .38); }
    60%, 100% { box-shadow: 0 0 0 14px rgba(15, 157, 99, 0); }
  }
}

/* Copy becomes the loud thing once the command is on screen. */
.cmd[data-state="ready"] .copy {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  font-weight: 650;
  padding: 10px 20px;
  font-size: 13.5px;
}

.cmd-panel { border-top: 0; }
.cmd-loading { padding: 18px 20px; font: 13.5px var(--sans); color: var(--fg-3); }
.cmd-slot { display: contents; }
.cmd-missing { padding: 28px 24px; text-align: center; }
.empty-title { margin: 0 0 10px; font-weight: 650; font-size: 16.5px; }
.cmd-missing .muted { margin: 0 auto; max-width: 50ch; font-size: 14.5px; color: var(--fg-2); }

.cmd-body {
  margin: 0; padding: 20px 22px;
  background: var(--code-bg);
  color: #e6edf3;
  font: 14.5px/1.7 var(--mono);
  overflow-x: auto;
  white-space: pre-wrap; word-break: break-word;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cmd-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 14px 16px; background: var(--bg-2);
}
.copy {
  font: 620 13px var(--sans);
  padding: 9px 16px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--bg-3); color: var(--fg);
  transition: border-color .15s, color .15s;
}
.copy:hover { border-color: var(--accent); color: var(--accent); }
.copy.is-done { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

.cmd-note {
  margin: 0; padding: 14px 18px;
  font-size: 13.5px; line-height: 1.6;
  background: var(--amber-soft); color: var(--amber);
  border-top: 1px solid var(--line);
}
.cmd-note strong { font-weight: 700; }

.cmd-panel-noscript { padding: 20px 22px; }
.cmd-panel-noscript p { margin: 0; font-size: 14.5px; color: var(--fg-2); }

/* ------------------------------------------------------------ howto */

.howto {
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  overflow: hidden;
}
.howto h3 {
  margin: 0; padding: 16px 22px;
  font-size: 16px; font-weight: 650; letter-spacing: -.015em;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.howto-body { padding: 20px 22px; font-size: 15px; color: var(--fg-2); }
.howto-body p { margin: 0 0 12px; }
.howto-body p:last-child { margin-bottom: 0; }
.howto-body code {
  font-size: 13.5px; background: var(--bg-3); color: var(--fg);
  padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line-soft);
}

/* ------------------------------------------------------------ facts */

.about-tool, .mobile, .related { margin-top: 48px; }
.facts {
  width: 100%; border-collapse: collapse; margin-top: 18px;
  font-size: 14.5px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.facts tr:not(:last-child) th, .facts tr:not(:last-child) td { border-bottom: 1px solid var(--line-soft); }
.facts th, .facts td { text-align: left; padding: 13px 18px; vertical-align: top; }
.facts th { font-weight: 600; color: var(--fg-2); width: 40%; background: var(--bg-1); }
.facts td { word-break: break-word; }
.muted { color: var(--fg-2); }

/* =========================================================== features */

.features { margin-top: 48px; }
.features h2 { margin: 0 0 18px; font-size: 21px; font-weight: 660; letter-spacing: -.02em; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.feat-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  font-size: 15px; line-height: 1.6; color: var(--fg-2);
}
.feat-list code {
  font-size: 13.5px; background: var(--bg-2); color: var(--fg);
  padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line-soft);
}
/* tick mark drawn in CSS so there is no image request */
.tick {
  width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  position: relative; flex: none;
}
.tick::after {
  content: ""; position: absolute;
  left: 5px; top: 4px; width: 5px; height: 8px;
  border: solid var(--accent); border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}
.feat-summary { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; color: var(--fg-2); }
.feat-src {
  margin: 18px 0 0; font-size: 12.5px; color: var(--fg-3);
  padding-top: 14px; border-top: 1px solid var(--line-soft);
}

.related .grid { margin-top: 6px; }
.disclaimer-inline {
  margin: 48px 0 0; padding: 16px 20px;
  font-size: 13.5px; line-height: 1.65; color: var(--fg-3);
  background: var(--bg-1); border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

/* =========================================================== prose pages */

.prose { max-width: 760px; padding: clamp(32px, 5vw, 56px) 0 88px; }
.prose h1 { margin: 0 0 14px; font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; letter-spacing: -.03em; }
.prose h2 {
  margin: 40px 0 12px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 19px;
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.prose p, .prose li { font-size: 16px; line-height: 1.72; color: var(--fg-2); }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 24px; margin: 0 0 16px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--fg); font-weight: 650; }
.prose code {
  font-size: 14px; background: var(--bg-2); color: var(--fg);
  padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line-soft);
}

/* =========================================================== footer */

.site-foot {
  margin-top: 72px; padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}
.foot-grid {
  display: grid; gap: 40px;
  grid-template-columns: 2.2fr 1fr 1fr;
}
.foot-grid h2 { margin: 0 0 8px; font-size: 16px; font-weight: 650; }
.foot-grid h3 {
  margin: 0 0 12px; font-size: 11.5px; font-weight: 650;
  text-transform: uppercase; letter-spacing: .1em; color: var(--fg-3);
}
.foot-grid a {
  display: block; padding: 5px 0;
  font-size: 14.5px; color: var(--fg-2); text-decoration: none;
}
.foot-grid a:hover { color: var(--accent); text-decoration: none; }
.foot-grid p { margin: 0 0 12px; font-size: 14px; color: var(--fg-2); }
.disclaimer { font-size: 13px; color: var(--fg-3); line-height: 1.65; max-width: 52ch; }
.foot-note {
  margin: 40px 0 0; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px; line-height: 1.65; color: var(--fg-3); max-width: 86ch;
}

/* legal entity + contact */
.foot-biz {
  margin: 22px 0 0; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 8px 24px;
  font-size: 12.5px; color: var(--fg-3);
}
.foot-copy { margin: 0; }
.foot-addr {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-style: normal;
}
.foot-addr a { color: var(--fg-2); text-decoration: none; }
.foot-addr a:hover { color: var(--accent); text-decoration: underline; }

/* address block on the contact / privacy / terms pages */
.biz-block {
  font-style: normal; margin: 0 0 8px; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-1);
}
.biz-block p { margin: 0 0 10px; font-size: 14.5px; color: var(--fg-2); }
.biz-block p:last-child { margin-bottom: 0; }
.biz-block strong { color: var(--fg); }

/* =========================================================== consent */

.consent {
  position: fixed; z-index: 120;
  left: var(--pad); right: var(--pad); bottom: 20px;
  margin-inline: auto; max-width: 640px;
  padding: 20px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.consent[hidden] { display: none; }
.consent h2 { margin: 0 0 8px; font-size: 16px; font-weight: 650; }
.consent p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
.consent p a { text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions button, .consent-actions .btn { padding: 10px 18px; font-size: 14px; }
.consent-decline {
  background: transparent; color: var(--fg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  cursor: pointer;
}
.consent-decline:hover { color: var(--fg); border-color: var(--fg-3); }

/* =========================================================== responsive */

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .head-inner { gap: 16px; }
}
@media (max-width: 760px) {
  :root { --radius: 12px; }
  .head-inner { min-height: 60px; padding-block: 10px; }
  .nav {
    order: 3; width: 100%; margin-left: 0;
    padding-bottom: 6px; overflow-x: auto; scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .brand-product .brand-text { max-width: 52vw; font-size: 15.5px; }
  .brand-sub { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .facts th { width: 44%; }
  .cmd-body { font-size: 13.5px; padding: 16px; }
  .tab { padding: 10px 15px; font-size: 14px; }
  .cmd-bar { flex-wrap: wrap; }
  .cmd-tag { margin-left: 0; }
  .consent { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .consent-actions { flex-direction: column; }
  .consent-actions button, .consent-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .search { flex-direction: column; }
  .search button { width: 100%; }
  .facts, .facts tbody, .facts tr, .facts th, .facts td { display: block; width: 100%; }
  .facts tr { border-bottom: 1px solid var(--line-soft); }
  .facts th { width: 100%; padding-bottom: 4px; }
  .facts td { padding-top: 0; }
}

@media print {
  .site-head, .site-foot, .consent, .copy, .show, .tablist, .search, .skip { display: none !important; }
  .cmd-panel[hidden], .cmd-panel { display: block !important; }
  .cmd-body { background: #fff; color: #000; border: 1px solid #999; }
  .card, .cmd, .howto, .facts { break-inside: avoid; }
  body { font-size: 11pt; }
}
