/* PaqLink marketing — 2026 design system.
   Brand: white ground, steel blue accent, black primary actions.
   Self-hosted Inter Variable (CSP allows 'self' only — see fonts/LICENSE.txt). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-var-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-var-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  /* Ink: near-black with a blue cast, so text sits in the same family as the accent. */
  --ink: #0a0e14;
  --ink-2: #47566a;
  --ink-3: #6b7b8f;
  --surface: #ffffff;
  --surface-2: #fbfcfe;
  --bg: #f5f8fb;
  --bg-deep: #eef4f9;
  --line: #e2e9f1;
  --line-soft: #edf2f8;
  --line-strong: #cfdae7;
  --black: #0a0e14;
  --black-hover: #1d2733;
  --accent: #33608d;
  --accent-hover: #274b70;
  --accent-deep: #1b3554;
  --accent-weak: #e9f1f8;
  --accent-glow: rgba(51, 96, 141, 0.16);
  --navy: #0b1420;
  --navy-2: #142334;
  --good-ink: #067647;
  --good-bg: #e8f6ee;
  --warn-bg: #fdf1e2;
  --warn-ink: #b54708;

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  /* Layered, blue-tinted elevation — flat cards read cheap. */
  --shadow-xs: 0 1px 2px rgba(11, 20, 32, 0.05);
  --shadow-sm: 0 1px 2px rgba(11, 20, 32, 0.05), 0 2px 6px rgba(11, 20, 32, 0.04);
  --shadow: 0 2px 4px rgba(11, 20, 32, 0.04), 0 8px 20px -6px rgba(11, 20, 32, 0.10);
  --shadow-lg: 0 8px 16px -8px rgba(11, 20, 32, 0.12), 0 28px 56px -20px rgba(11, 20, 32, 0.22);
  --ring: 0 0 0 3px var(--accent-glow);

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

  /* Fluid rhythm */
  --section-y: clamp(3.25rem, 5vw, 5.25rem);
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Grid and flex children default to min-width:auto, so a wide child (the hero
   mock's table) widens the whole page instead of shrinking. Opt out globally. */
.hero .wrap > *, .split > *, .cols > *, .segments > *, .plans > *, .steps > *,
.faq-layout > *, footer.site .wrap > *, .markhero > * { min-width: 0; }
img, svg { max-width: 100%; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11" 0, "ss01" 1;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.14; letter-spacing: -0.028em; margin: 0 0 0.6rem; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.5rem + 1.9vw, 3.05rem); font-weight: 780; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.15rem); letter-spacing: -0.032em; }
h3 { font-size: 1.06rem; letter-spacing: -0.018em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 650; }

a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; transition: color 0.15s var(--ease); }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-weak); color: var(--accent-deep); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 60; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-xs); }

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

header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }

/* The mark and the wordmark are the only two flex items — the gap must never
   land between "Paq" and "Link" (it did when the wordmark was a bare text node). */
.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 700; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo img, .logo svg { display: block; border-radius: 7px; }
.wordmark { font-size: 1.16rem; font-weight: 720; letter-spacing: -0.035em; white-space: nowrap; }
.wordmark span { color: var(--accent); letter-spacing: -0.035em; }

nav.main { display: flex; align-items: center; gap: 0.15rem; }
nav.main a { color: var(--ink-2); font-size: 0.93rem; font-weight: 520; padding: 0.45rem 0.72rem; border-radius: var(--radius-xs); transition: background 0.15s var(--ease), color 0.15s var(--ease); }
nav.main a:hover { background: var(--line-soft); color: var(--ink); text-decoration: none; }
nav.main a.active { color: var(--accent); background: var(--accent-weak); }
nav.main a.btn { color: #fff; margin-left: 0.35rem; }
nav.main a.btn:hover { color: #fff; }
.nav-sep { width: 1px; height: 20px; background: var(--line); margin: 0 0.5rem; }
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 920px) {
  header.site .wrap { flex-wrap: wrap; }
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 38px;
    border: 1px solid var(--line); border-radius: var(--radius-xs); padding: 0 9px; cursor: pointer; margin-left: auto; background: var(--surface); }
  .nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s var(--ease); }
  .nav-sep { display: none; }
  nav.main { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0.1rem;
    padding: 0.6rem 0 0.7rem; border-top: 1px solid var(--line-soft); margin-top: 0.6rem; }
  nav.main a { padding: 0.65rem 0.6rem; font-size: 1rem; }
  nav.main a.btn { margin: 0.5rem 0 0; }
  .nav-toggle:checked ~ nav.main { display: flex; }
}

/* Private-preview banner */
.banner { background: linear-gradient(90deg, var(--navy) 0%, var(--accent-deep) 100%); color: #cfdcea; font-size: 0.87rem; }
.banner .wrap { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.banner a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--black); color: #fff; border: 1px solid var(--black);
  padding: 0.66rem 1.3rem; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.96rem; font-weight: 600; letter-spacing: -0.011em;
  cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.btn:hover { background: var(--black-hover); border-color: var(--black-hover); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn:focus-visible { box-shadow: var(--ring); outline: none; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--ink-3); color: var(--ink); }
.btn.alt { background: var(--accent); border-color: var(--accent); }
.btn.alt:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.invert { background: #fff; color: var(--ink); border-color: #fff; }
.btn.invert:hover { background: var(--accent-weak); border-color: var(--accent-weak); color: var(--ink); }
.btn.big { padding: 0.82rem 1.7rem; font-size: 1.02rem; border-radius: var(--radius-sm); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }

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

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(72rem 34rem at 78% -12%, var(--accent-weak) 0%, rgba(233, 241, 248, 0) 62%),
    radial-gradient(46rem 26rem at 4% 0%, #f2f7fc 0%, rgba(242, 247, 252, 0) 60%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 72%);
  border-bottom: 1px solid var(--line-soft);
}
/* Faint module grid — a quiet nod to the QR matrix, never loud enough to notice first. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(51, 96, 141, 0.13) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(58rem 30rem at 72% 8%, #000 0%, transparent 72%);
  mask-image: radial-gradient(58rem 30rem at 72% 8%, #000 0%, transparent 72%);
  opacity: 0.75;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(2rem, 4vw, 3.6rem); align-items: center;
  padding-top: clamp(2.75rem, 4.5vw, 4.75rem); padding-bottom: clamp(2.5rem, 4vw, 4.25rem); }
.hero h1 { margin: 0 0 1.05rem; max-width: 15ch; }
.hero p.lead { font-size: clamp(1.04rem, 0.98rem + 0.3vw, 1.18rem); color: var(--ink-2); margin: 0 0 1.7rem; max-width: 34rem; }
.hero .cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero .fine { margin-top: 1.05rem; font-size: 0.86rem; color: var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.3rem 0.85rem 0.3rem 0.45rem; font-size: 0.8rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-xs); margin-bottom: 1.1rem; }
.eyebrow b { background: var(--accent-weak); color: var(--accent); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.16rem 0.55rem; border-radius: 999px; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } .hero p.lead { max-width: none; } .hero h1 { max-width: 18ch; } }
@media (max-width: 560px) {
  .eyebrow { font-size: 0.74rem; padding: 0.26rem 0.7rem 0.26rem 0.35rem; gap: 0.4rem; }
  .eyebrow b { font-size: 0.66rem; padding: 0.14rem 0.45rem; }
  .mock .stats { grid-template-columns: 1fr 1fr; }
  .mock .stats .stat:last-child { display: none; }
  .mock .chrome .addr { display: none; }
  .hero .cta .btn { width: 100%; }
}

/* Product mock */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 100%; }
.mock .chrome { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.mock .chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock .chrome .addr { margin-left: 0.6rem; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3);
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 999px; padding: 0.12rem 0.6rem; }
.mock .body { padding: 1.2rem 1.3rem 1.4rem; }
.mock .rowtop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mock .orgname { font-weight: 680; letter-spacing: -0.02em; color: var(--ink); }
.mock .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; margin-bottom: 1rem; }
.mock .stat { border: 1px solid var(--line-soft); background: var(--surface-2); border-radius: var(--radius-xs); padding: 0.6rem 0.7rem; }
.mock .stat .l { font-size: 0.66rem; color: var(--ink-3); letter-spacing: 0.02em; }
.mock .stat .v { font-size: 1.08rem; font-weight: 680; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock .scroller { overflow-x: auto; }
.mock table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.mock th { text-align: left; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); padding: 0.35rem 0.4rem; border-bottom: 1px solid var(--line); font-weight: 650; }
.mock td { padding: 0.46rem 0.4rem; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.mock tr:last-child td { border-bottom: 0; }
.mock td.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 0.71rem; color: var(--ink); }
.mock .pill { display: inline-block; font-size: 0.64rem; font-weight: 650; padding: 0.12rem 0.55rem; border-radius: 999px; background: var(--accent-weak); color: var(--accent); }
.mock .pill.g { background: var(--good-bg); color: var(--good-ink); }

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

section { padding: var(--section-y) 0; }
section.tint { background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
section > .wrap > h2:first-child { margin-top: 0; }
.kicker { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem; }
.kicker a { color: inherit; }
.sub { color: var(--ink-2); max-width: 46rem; margin: 0 0 2.2rem; font-size: 1.03rem; }
.muted { color: var(--ink-3); font-size: 0.9rem; }
.muted a { color: var(--accent); }
code { font-family: var(--mono); font-size: 0.87em; background: var(--bg); border: 1px solid var(--line-soft); color: var(--accent-deep); padding: 0.1rem 0.38rem; border-radius: 6px; word-break: break-word; }
pre { background: var(--navy); color: #dbe6f2; padding: 1.1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; font-size: 0.85rem; line-height: 1.6; border: 1px solid var(--navy-2); }
pre code { background: none; border: 0; color: inherit; padding: 0; font-size: inherit; }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem 0; align-items: center; padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft); }
.trust span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: var(--ink-3); font-weight: 600;
  padding: 0 1.15rem; border-right: 1px solid var(--line-soft); }
.trust span:last-child { border-right: 0; }
.trust span:first-child { padding-left: 0; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
@media (max-width: 700px) { .trust span { border-right: 0; padding: 0.15rem 0; flex-basis: 100%; } }

/* Feature grid */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.05rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.6rem 1.7rem;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}
.cols .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin: 0.9rem 0 0.45rem; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--accent-weak), #f4f9fd); color: var(--accent);
  border: 1px solid #dbe8f4; box-shadow: inset 0 1px 0 #fff; }
.icon svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.05rem; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.5rem 1.6rem; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 0.7rem;
  border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; margin-bottom: 0.85rem; font-variant-numeric: tabular-nums; }
.steps strong { display: block; margin-bottom: 0.3rem; color: var(--ink); font-size: 1.04rem; letter-spacing: -0.018em; }
.steps li p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.05rem; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.7rem 1.6rem; display: flex; flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.popular { border-color: transparent; box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.plan .flag { position: absolute; top: -0.75rem; left: 1.4rem; background: var(--accent); color: #fff; font-size: 0.66rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.7rem; border-radius: 999px; box-shadow: var(--shadow-xs); }
.plan h3 { margin: 0 0 0.2rem; font-size: 0.95rem; color: var(--ink-2); font-weight: 650; letter-spacing: 0.01em; }
.plan .price { font-size: 2rem; font-weight: 740; letter-spacing: -0.04em; color: var(--ink); margin: 0.1rem 0 0.2rem; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 0.85rem; font-weight: 500; color: var(--ink-3); letter-spacing: -0.01em; }
.plan ul { list-style: none; margin: 0.9rem 0 1.4rem; padding: 0; color: var(--ink-2); font-size: 0.93rem; flex: 1; }
.plan li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.72rem; width: 7px; height: 4px;
  border-left: 2px solid var(--good-ink); border-bottom: 2px solid var(--good-ink); transform: rotate(-45deg); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 5.5rem; }
.faq-layout h2 { margin-bottom: 0.5rem; }
.faq-layout .sub { margin-bottom: 0; font-size: 0.96rem; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout > div:first-child { position: static; } }
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 0.15rem 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 620; font-size: 1.02rem; color: var(--ink);
  padding: 1.05rem 2.5rem 1.05rem 0; position: relative; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 1.5rem; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq p { color: var(--ink-2); margin: 0 0 1.1rem; max-width: 48rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--accent-deep) 100%);
  color: #dce6f1; border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3.2rem) clamp(1.5rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.10) 1px, transparent 0); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(30rem 18rem at 88% 110%, #000, transparent 70%);
  mask-image: radial-gradient(30rem 18rem at 88% 110%, #000, transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 0.35rem; }
.cta-band p { margin: 0; color: #a9bcd0; }

/* Forms / tools */
label { display: block; margin: 1rem 0 0.35rem; font-weight: 620; font-size: 0.9rem; color: var(--ink); }
input[type=text], input[type=search], input[type=email], input[type=url], textarea, select {
  width: 100%; padding: 0.68rem 0.8rem; border: 1px solid var(--line-strong); border-radius: var(--radius-xs);
  font: inherit; color: var(--ink); background: var(--surface);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.result { margin-top: 1.3rem; padding: 1.15rem 1.35rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.result.ok { border-color: #a9d8c1; background: #f2fbf6; }
.result.bad { border-color: #e3aeae; background: #fdf4f4; }
.result table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.result th, .result td { text-align: left; padding: 0.45rem 0.35rem; border-bottom: 1px solid var(--line-soft); }
.qr-preview { margin-top: 1.1rem; }
.qr-preview img { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fff; box-shadow: var(--shadow-sm); }

/* Footer */
footer.site { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); margin-top: var(--section-y); }
footer.site .wrap { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 1.6rem; }
footer.site h4 { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.75rem; font-weight: 700; }
footer.site a { display: block; color: var(--ink-2); font-size: 0.92rem; padding: 0.2rem 0; }
footer.site a:hover { color: var(--accent); }
footer.site .logo { margin-bottom: 0.6rem; }
footer.site p { font-size: 0.87rem; color: var(--ink-3); max-width: 26rem; margin: 0.7rem 0 0; }
footer.site .legalline { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.15rem; margin-top: 0.6rem; font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 900px) { footer.site .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer.site .wrap { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---------- Page scaffolding ---------- */

.page-head { position: relative; padding: clamp(2.8rem, 5vw, 4.4rem) 0 clamp(2rem, 3vw, 2.8rem); border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(50rem 22rem at 84% -20%, var(--accent-weak) 0%, rgba(233, 241, 248, 0) 65%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); }
.page-head h1 { margin: 0 0 0.8rem; max-width: 24ch; }
.page-head p.lead { font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.15rem); color: var(--ink-2); margin: 0; max-width: 46rem; }
.page-head .cta { margin-top: 1.6rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.page-head .kicker a { text-decoration: none; }

.prose { max-width: 44rem; }
.wrap.prose { max-width: 1140px; }
.wrap.prose > * { max-width: 44rem; }
.wrap.prose > .compare-wrap, .wrap.prose > .table-scroll, .wrap.prose > pre { max-width: 56rem; }
.prose h2 { font-size: 1.4rem; margin: 2.4rem 0 0.7rem; }
.prose h3 { font-size: 1.08rem; margin: 1.6rem 0 0.4rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: 0.35rem 0; }
.prose li::marker { color: var(--line-strong); }
.prose a { text-decoration: underline; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: currentColor; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h2 { margin-top: 0; }
.split p { color: var(--ink-2); }

.badge { display: inline-block; background: var(--accent-weak); color: var(--accent); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; padding: 0.28rem 0.8rem; }
.badge.dark { background: var(--navy); color: #fff; }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface-2);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--ink-2); font-size: 0.95rem; margin: 1.4rem 0; }
.notice strong { color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 0.4rem 0 0.4rem 1.75rem; position: relative; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0.15rem; top: 0.85rem; width: 8px; height: 4.5px;
  border-left: 2px solid var(--good-ink); border-bottom: 2px solid var(--good-ink); transform: rotate(-45deg); }
.check-list li strong { color: var(--ink); }

/* Live Mark showcase */
.markhero { display: grid; grid-template-columns: 230px 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.4rem); }
.markhero img { width: 230px; height: 230px; display: block; border-radius: var(--radius); }
.markhero .frame { display: inline-flex; padding: 0.9rem; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.markhero h2 { margin-top: 0.5rem; }
.markhero p { color: var(--ink-2); margin: 0 0 0.7rem; }
@media (max-width: 800px) { .markhero { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0.2rem 0 1.6rem 1.8rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.6rem; width: 12px; height: 12px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline li.hard::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.timeline .when { font-family: var(--mono); font-size: 0.79rem; color: var(--accent); font-weight: 700; letter-spacing: 0.02em; }
.timeline .what { display: block; font-weight: 650; color: var(--ink); margin: 0.15rem 0 0.2rem; letter-spacing: -0.015em; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 0.94rem; max-width: 42rem; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
.compare th, .compare td { padding: 0.72rem 0.9rem; border-bottom: 1px solid var(--line-soft); text-align: left; }
.compare thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); border-bottom: 1px solid var(--line); font-weight: 700; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare td.c, .compare th.c { text-align: center; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare td.yes { color: var(--good-ink); font-weight: 700; }
.compare td.no { color: var(--ink-3); }
.compare tr.group th { background: var(--bg); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); padding-top: 0.95rem; font-weight: 700; }

/* Segments */
.segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.05rem; }
.segment { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; background: var(--surface);
  box-shadow: var(--shadow-xs); transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s var(--ease); }
.segment:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.segment h3 { margin: 0 0 0.45rem; }
.segment p { margin: 0 0 0.85rem; color: var(--ink-2); font-size: 0.94rem; }
.segment a { font-weight: 620; font-size: 0.92rem; }

/* Tools */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.05rem; }
.tool-grid .card h3 { margin-top: 0.8rem; }
.tool { max-width: 660px; }
.tool .btn { margin-top: 0.6rem; }
.tool .result p:first-child { margin-top: 0; }
.tool .result p:last-child { margin-bottom: 0; }
.tool textarea { resize: vertical; }
.tool-more { margin-top: 2.4rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 0.28rem 0.8rem; font-size: 0.86rem; color: var(--ink-2); background: var(--surface); box-shadow: var(--shadow-xs); }

/* Contact cards */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.contacts .card h3 { margin-top: 0; font-size: 0.95rem; }
.contacts .card a { font-family: var(--mono); font-size: 0.9rem; }

/* 404 */
.notfound { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.notfound h1 { margin: 0.7rem 0; }
.notfound p { color: var(--ink-2); }
.notfound .code { font-family: var(--mono); color: var(--accent); font-weight: 700; letter-spacing: 0.14em; }

/* Conformance results (standards) */
details.results { margin-top: 1.2rem; }
details.results > summary { cursor: pointer; font-weight: 620; color: var(--accent); padding: 0.4rem 0; }
.table-scroll { overflow-x: auto; margin-top: 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); }
.results-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--surface); }
.results-table th, .results-table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.results-table tr:last-child td { border-bottom: 0; }
.results-table th { font-weight: 650; background: var(--bg); color: var(--ink-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.results-table td.ok { font-weight: 700; color: var(--good-ink); white-space: nowrap; }
.results-table td.bad { font-weight: 700; color: #a12a2a; white-space: nowrap; }

/* Help center */
.help-search { display: flex; gap: 0.5rem; max-width: 34rem; margin-top: 1.4rem; }
.help-search input { flex: 1; }
.help-cats { columns: 3 21rem; column-gap: 1.05rem; }
.help-cat { break-inside: avoid; -webkit-column-break-inside: avoid; display: inline-block; width: 100%;
  margin: 0 0 1.05rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.4rem 1.5rem; }
.help-cat > h2 { display: flex; align-items: center; gap: 0.7rem; font-size: 1.05rem; letter-spacing: -0.018em; margin: 0 0 0.4rem; }
.help-cat .icon { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.help-cat .icon svg { width: 17px; height: 17px; }
.help-list { list-style: none; padding: 0; margin: 0; }
.help-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
.help-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.help-list li a { font-weight: 600; color: var(--ink); font-size: 0.95rem; line-height: 1.4; display: inline-block; }
.help-list li a:hover { color: var(--accent); text-decoration: none; }
.help-list li .muted { display: block; font-size: 0.88rem; margin-top: 0.1rem; line-height: 1.5; }

/* Anchored headings clear the sticky header */
[id] { scroll-margin-top: 5.5rem; }
