/* gLabels Plus website */
:root {
  --bg: #fbfaf8;
  --bg-alt: #f3f2ee;
  --surface: #ffffff;
  --text: #18181b;
  --muted: #5f5f68;
  --line: #e5e3dd;
  --line-strong: #cfccc4;
  --ink: #18181b;
  --on-ink: #fbfaf8;
  --accent: #c2410c;
  --accent-soft: #fbeee6;
  --ok: #15803d;
  --no: #b91c1c;
  --part: #a16207;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(24, 24, 27, .05);
  --shadow-lg: 0 1px 3px rgba(24, 24, 27, .08), 0 24px 48px -12px rgba(24, 24, 27, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --bg-alt: #18181b;
    --surface: #1c1c1f;
    --text: #ededec;
    --muted: #a1a1a8;
    --line: #2c2c31;
    --line-strong: #3f3f46;
    --ink: #ededec;
    --on-ink: #111113;
    --accent: #fb8b55;
    --accent-soft: #2a1d16;
    --ok: #4ade80;
    --no: #f87171;
    --part: #facc15;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lg: 0 1px 3px rgba(0, 0, 0, .4), 0 24px 48px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd, pre { font-family: var(--mono); font-size: .9em; }
code { background: var(--bg-alt); border: 1px solid var(--line); padding: .05em .35em; border-radius: 5px; }
kbd { border: 1px solid var(--line-strong); border-bottom-width: 2px; padding: 0 .35em; border-radius: 5px; background: var(--surface); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--accent); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--text); background: var(--bg-alt); text-decoration: none; }
.nav .btn { color: var(--text); margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: 1rem;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; border-color: var(--text); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.btn-primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); border-color: transparent; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-block { width: 100%; }
.btn-white { background: #fbfaf8; color: #18181b; border-color: #fbfaf8; }
.btn-white:hover { background: #fff; border-color: #fff; }
.btn-outline-white { background: transparent; color: #fbfaf8; border-color: rgba(255, 255, 255, .28); }
.btn-outline-white:hover { border-color: #fbfaf8; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--surface);
  color: var(--text); border: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); display: inline-block; }
.platforms { color: var(--muted); font-size: .92rem; margin: 14px 0 10px; font-weight: 500; }
.grad { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 6px; font-size: .9rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line);
}
.chips svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.hero-shot { margin: 0; position: relative; }
.hero-shot img {
  border-radius: 10px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* Gen AI badge pinned to the hero screenshot: light in both themes, Claude mark */
.genai-badge {
  position: absolute; z-index: 2; top: -20px; right: -18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 14px;
  background: #ffffff; color: #18181b; border: 1px solid #e4e2dd;
  box-shadow: 0 1px 3px rgba(24, 24, 27, .08), 0 16px 32px -10px rgba(24, 24, 27, .22);
  text-decoration: none; line-height: 1.15;
  transition: transform .2s;
}
.genai-badge:hover { color: #18181b; transform: translateY(-2px); }
.genai-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fbeee6; }
.genai-mark svg { width: 24px; height: 24px; fill: #d97757; }
.genai-text { display: flex; flex-direction: column; }
.genai-text b { font-size: 1.05rem; font-weight: 800; letter-spacing: .01em; }
.genai-text small { font-size: .76rem; font-weight: 600; color: #57534e; }

/* Release strip under the hero screenshot */
.release {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
  width: fit-content; max-width: calc(100% - 32px);
  margin: -26px auto 0; padding: 10px 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600; color: var(--muted);
}
.rel-ver { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.rel-ver b { color: var(--text); font-weight: 700; }
.rel-item, .rel-ver, .rel-link { white-space: nowrap; }
.rel-item { display: inline-flex; align-items: center; gap: 6px; padding-left: 18px; border-left: 1px solid var(--line); }
.rel-item svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rel-link { padding-left: 18px; border-left: 1px solid var(--line); font-weight: 700; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.eyebrow.light { color: #fb8b55; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 720px; margin-bottom: 36px; }
h2 + .cards, h2 + .gallery, h2 + .faq { margin-top: 36px; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: border-color .2s;
}
.card:hover { border-color: var(--line-strong); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.ico {
  width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center;
  background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 18px;
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.numbered .num { display: block; font-family: var(--mono); font-weight: 600; font-size: .9rem; margin-bottom: 10px; color: var(--accent); }

/* Download */
.dl-card { display: flex; flex-direction: column; }
.os { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.os svg { width: 34px; height: 34px; color: var(--text); }
.os h3 { margin: 0; font-size: 1.3rem; }
.meta { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; color: var(--muted); font-size: .95rem; }
.meta li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.meta li:last-child { border-bottom: 0; }
.dl-alt { margin: 12px 0 0; font-size: .9rem; color: var(--muted); text-align: center; }
.dl-all { margin: 18px 0 0; font-size: .95rem; color: var(--muted); }
.source { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.source summary { cursor: pointer; font-weight: 600; }
.term { margin: 16px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.term-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.term-bar span:nth-child(2) { background: #febc2e; }
.term-bar span:nth-child(3) { background: #28c840; }
.term-bar b { margin-left: 8px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.copy { margin-left: auto; font: inherit; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.term pre { margin: 0; padding: 16px 18px; overflow-x: auto; color: var(--text); font-size: .88rem; line-height: 1.7; }
.term pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.source p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shot.wide { grid-column: span 3; }
.shot a { display: block; background: var(--bg-alt); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; cursor: zoom-in; transition: transform .4s; }
.shot.wide img { aspect-ratio: auto; }
.shot figcaption { padding: 14px 18px; font-size: .92rem; color: var(--muted); }
.shot figcaption b { color: var(--text); }

/* What's new */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding: 14px 18px 14px 50px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.ticks li b { color: var(--text); }
.ticks li::after { content: ""; position: absolute; left: 22px; top: 19px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 11px 18px; text-align: left; white-space: nowrap; }
thead th { background: var(--bg-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); position: sticky; top: 0; }
tbody tr { border-top: 1px solid var(--line); }
tbody tr:hover { background: var(--bg-alt); }
td:first-child { font-weight: 600; font-variant-numeric: tabular-nums; }
td:nth-child(2) { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Specs */
.specs dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .94rem; }
.specs dt { color: var(--muted); font-weight: 500; }
.specs dd { margin: 0; font-weight: 500; }
.specs h3 { padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta-band { background: #18181b; color: #fbfaf8; text-align: center; padding: 88px 0; position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; }
.cta-band p { color: #a1a1a8; font-size: 1.1rem; margin-bottom: 28px; }

/* Footer */
/* Custom solution contact band (above the footer on every page) */
.custom-solution { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0; }
.custom-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.custom-inner h2 { margin: 4px 0 10px; }
.custom-inner p:last-child { color: var(--muted); max-width: 680px; margin: 0; }
.custom-inner .btn { flex-shrink: 0; }
@media (max-width: 720px) { .custom-inner { flex-direction: column; align-items: flex-start; gap: 20px; } .custom-solution { padding: 44px 0; } }

.site-footer { background: #111113; color: #a1a1a8; border-top: 1px solid #27272a; padding: 64px 0 24px; font-size: .94rem; }
.site-footer a { color: #d4d4d8; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2, .footer-grid h4 { color: #fafafa; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 14px; }
.footer-grid > nav a, .footer-grid > div:not(.footer-about) a { display: block; padding: 4px 0; }
.footer-about p { max-width: 380px; }
.ver { display: inline-flex; align-items: center; gap: 8px; color: #d4d4d8; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #27272a; margin-top: 40px; padding-top: 22px; font-size: .88rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 8, 15, .88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1000px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot img { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards-3, .gallery { grid-template-columns: 1fr; }
  .shot.wide { grid-column: auto; }
  .section, .cta-band { padding: 64px 0; }
  .hero { padding: 40px 0 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .release { display: grid; grid-template-columns: auto auto; justify-content: space-around; width: calc(100% - 20px); border-radius: 14px; margin-top: -18px; padding: 10px 14px; gap: 8px 12px; font-size: .84rem; }
  .rel-item, .rel-link { padding-left: 0; border-left: 0; }
  .genai-badge { top: -14px; right: 8px; padding: 6px 12px 6px 6px; gap: 8px; }
  .genai-mark { width: 30px; height: 30px; }
  .genai-mark svg { width: 19px; height: 19px; }
  .cards-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { width: 100%; }
}

/* Donate */
.donate {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
  padding: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.donate .sub { margin-bottom: 16px; }
.donate .cta-row { margin-top: 24px; }
.mail-line { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
.mail-line a, .mail-line span { font-weight: 600; }
.donate-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.donate-ways li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.donate-ways .ico { flex: none; margin: 0; width: 40px; height: 40px; }
.donate-ways .ico svg { width: 20px; height: 20px; }
.donate-ways h3 { margin: 0 0 4px; font-size: 1rem; }
.donate-ways p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 1000px) { .donate { grid-template-columns: 1fr; padding: 32px; } }
@media (max-width: 560px) { .donate { padding: 22px; } }

/* Numbered eyebrow */
.eyebrow .n { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: .75rem; letter-spacing: 0; }

/* Barcode presets */
.presets-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.presets-head .sub { margin-bottom: 24px; }
.preset-facts { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 12px; }
.preset-facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; text-align: center; min-width: 96px; }
.preset-facts b { display: block; font-size: 1.3rem; color: var(--text); font-variant-numeric: tabular-nums; }
.preset-facts span { font-size: .8rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { font: inherit; font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: .15s; }
.filters button:hover { color: var(--text); border-color: var(--line-strong); }
.filters button.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.presets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.preset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.preset:hover { border-color: var(--line-strong); }
.preset[hidden] { display: none; }
.pv {
  height: 124px; display: grid; place-items: center;
  background-color: var(--bg-alt);
  background-image: radial-gradient(color-mix(in srgb, var(--muted) 30%, transparent) 1px, transparent 1px);
  background-size: 12px 12px; border-bottom: 1px solid var(--line);
}
.lbl {
  position: relative; background: #fff; border-radius: 3px; display: grid; place-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 4px 12px rgba(40,50,120,.12); outline: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: -3px;
}
.lbl i {
  width: 72%; height: 52%; max-height: 40px;
  background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 6px, #111 6px 9px, transparent 9px 10px);
}
.pinfo { padding: 14px 16px 16px; }
.pinfo b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.pinfo small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.pinfo span { display: block; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pinfo p { margin: 8px 0 0; font-size: .88rem; font-weight: 500; color: var(--text); }
.presets-note { margin: 24px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 560px) { .presets { grid-template-columns: 1fr 1fr; gap: 10px; } .pv { height: 110px; } .pinfo { padding: 10px 12px 12px; } .preset-facts { width: 100%; } .preset-facts li { flex: 1; min-width: 0; padding: 10px; } }

/* ---------- Multi-page additions ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--text); background: var(--bg-alt); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 2px; border-radius: 2px; background: var(--accent); }

/* Breadcrumbs */
.crumbs { padding-top: 18px; font-size: .88rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* Inner page hero */
.page-hero {
  padding: 36px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 1000px; }
.page-hero .answer { max-width: 900px; }
.page-hero .cta-row { margin-top: 24px; }
.answer { font-size: 1.12rem; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.byline { color: var(--muted); font-size: .88rem; margin: 0; }
.byline a { font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .88rem; font-weight: 600; }
.toc a:hover { color: var(--text); border-color: var(--line-strong); text-decoration: none; }
.nf { padding: 80px 0 100px; text-align: center; }
.nf .cta-row { justify-content: center; }

/* Home: at a glance */
.glance-wrap { padding: 56px 0; }
.glance { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.glance h2 { margin-bottom: 14px; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.more { margin: 28px 0 0; font-weight: 600; }

/* Features page */
.fgroups { display: grid; gap: 64px; }
.fgroup .ticks { grid-template-columns: 1fr 1fr; }
.keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.keys li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.keys kbd { display: inline-grid; place-items: center; width: 38px; height: 38px; font-size: 1rem; font-weight: 600; border-radius: 7px; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-bottom-width: 3px; }

/* Steps */
.steps { counter-reset: s; list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 58px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-weight: 600; font-size: .85rem; }

/* Release notes */
.release-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 5px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 32px; }
.notes + .notes { margin-top: 48px; }
.notes h2 { font-size: 1.5rem; }

/* FAQ headings inside summary */
.faq summary h3 { display: inline; font-size: 1rem; margin: 0; letter-spacing: 0; }
.source h2 { font-size: 1.3rem; }
.source .sub { margin-bottom: 8px; font-size: 1rem; }

/* Home presets teaser */
.presets-4 { grid-template-columns: repeat(4, 1fr); }
.presets-head > .btn { margin-bottom: 24px; }

@media (max-width: 1000px) {
  .glance { grid-template-columns: 1fr; gap: 28px; }
  .keys { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .fgroup .ticks { grid-template-columns: 1fr; }
  .presets-4 { grid-template-columns: 1fr 1fr; }
  .nav a[aria-current="page"]::after { display: none; }
  .page-hero { padding: 28px 0 40px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .keys { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fgroups { gap: 48px; }
}
.fgroup, .fgroups > * { min-width: 0; }
.ticks li, .faq p, .answer, .steps li { overflow-wrap: anywhere; }
.keys li { min-width: 0; }
.keys span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } .keys li { padding: 10px; gap: 10px; } .keys kbd { width: 32px; height: 32px; flex: none; } }

/* Latest additions: highlight cards */
.latest-sub { color: var(--muted); margin: -4px 0 16px; }
.hl-jump { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hl-jump a { display: inline-block; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 600; text-decoration: none; }
.hl-jump a:hover { border-color: var(--line-strong); text-decoration: none; }
.hl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hl { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 96px; }
.hl:target { border-color: var(--text); }
.hl-wide, .hl-grid > .hl:last-child:nth-child(even) { grid-column: 1 / -1; }
.hl-head { display: flex; align-items: center; gap: 12px; }
.hl-head h3 { margin: 0; font-size: 1.1rem; letter-spacing: 0; flex: 1; }
.hl-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text); }
.hl-badge { flex: none; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 4px; color: var(--accent); background: var(--accent-soft); }
.hl p { margin: 0; color: var(--muted); }
.hl p b, .hl p i { color: var(--text); }
.hl-how { margin-top: auto !important; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .88rem; }
.hl-how span { display: inline-block; margin-right: 8px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hl-keys { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hl-keys li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-alt); font-weight: 600; font-size: .92rem; }
.hl-keys kbd { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; font-weight: 600; border: 1px solid var(--line-strong); border-bottom-width: 3px; border-radius: 6px; background: var(--surface); color: var(--text); }
.hl-minor { margin-top: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.hl-minor h3 { margin: 0 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hl-minor ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
@media (max-width: 720px) {
  .hl-grid { grid-template-columns: 1fr; }
  .hl-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Full-width release notes */
.release-notes .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hl-minor ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 820px) {
  .release-notes .ticks, .hl-minor ul { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* Why switch: benefits + comparison table */
.why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 28px; }
.glance .hl-jump { margin: 20px 0 0; }
.compare th, .compare td { white-space: normal; min-width: 128px; vertical-align: top; }
.compare tbody th { font-weight: 600; color: var(--text); background: transparent; text-transform: none; letter-spacing: 0; font-size: .95rem; }
.compare td:first-child { font-weight: 400; }
.compare td:nth-child(2) { color: var(--text); font-weight: 600; background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent); }
.compare td:not(:nth-child(2)) { color: var(--muted); }
.compare tbody tr:last-child td:nth-child(2) { box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent), inset 0 -2px 0 var(--accent); }
.compare thead th.cmp-hl { color: var(--accent); background: var(--accent-soft); font-weight: 800; box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent), inset 0 2px 0 var(--accent); }
.cmp-badge { display: block; width: max-content; margin-bottom: 6px; padding: 2px 7px; border-radius: 4px; background: var(--accent); color: var(--on-ink); font-size: .66rem; letter-spacing: .06em; }
.compare tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.compare tbody tr:hover th[scope="row"] { background: var(--bg-alt); }
.compare td.cmp-c { text-align: center; }
.compare thead th:not(:first-child) { text-align: center; }
.compare thead th.cmp-hl .cmp-badge { margin-left: auto; margin-right: auto; }
.cmp-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.cmp-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cmp-y { color: var(--ok); background: color-mix(in srgb, var(--ok) 15%, transparent); }
.cmp-n { color: var(--no); background: color-mix(in srgb, var(--no) 13%, transparent); }
.cmp-p { color: var(--part); background: color-mix(in srgb, var(--part) 16%, transparent); }
.compare td:nth-child(2) .cmp-y { color: var(--on-ink); background: var(--ok); }
.cmp-note { display: block; margin-top: 4px; font-size: .8rem; font-weight: 400; line-height: 1.35; color: var(--muted); }
.compare tr.cmp-group th { background: var(--bg-alt); color: var(--accent); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding-top: 9px; padding-bottom: 9px; position: static; }
.compare tr.cmp-group:hover { background: transparent; }
.compare-gl table { min-width: 0; }
.compare-gl tbody th[scope="row"] { width: 60%; }
.compare-gl tr.cmp-group + tr td:nth-child(2) { box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent); }
.cmp-gl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 44px 0 18px; flex-wrap: wrap; }
.cmp-gl-head h3 { font-size: 1.35rem; margin: 0 0 6px; }
.cmp-gl-head .sub { margin: 0; max-width: 640px; }
.cmp-gl-head .btn { flex: none; }
.fine { color: var(--muted); font-size: .82rem; margin: 14px 0 0; max-width: 820px; }
@media (max-width: 820px) { .why-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .compare th, .compare td { min-width: 104px; padding: 10px 12px; } .compare-gl th, .compare-gl td { min-width: 0; } .compare-gl tbody th[scope="row"] { width: auto; min-width: 150px; } }

/* Latest additions: quick index */
.hl-index { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow); overflow: hidden; }
.hl-index li { min-width: 0; background: var(--surface); }
.hl-index a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; color: var(--text); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .15s; }
.hl-index a:hover, .hl-index a:focus-visible { background: var(--bg-alt); text-decoration: none; }
.hx-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--text); transition: color .15s, border-color .15s, background .15s; }
.hl-index a:hover .hx-icon, .hl-index a:focus-visible .hx-icon { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.hx-title { flex: 1; min-width: 0; line-height: 1.3; }
.hx-num { flex: none; font-family: var(--mono); font-size: .78rem; font-weight: 500; color: var(--muted); }
.hl-index a:hover .hx-num, .hl-index a:focus-visible .hx-num { color: var(--accent); }
@media (max-width: 820px) {
  .hl-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-index li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hl-index { grid-template-columns: 1fr; }
  .hl-index a { padding: 12px 14px; }
}

/* Features page: feature cards with screenshots */
.fcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fcard { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.fcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.fcard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.fcard-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.fcard h3 { margin: 0; font-size: 1.08rem; letter-spacing: 0; }
.fcard p { margin: 0; color: var(--muted); font-size: .95rem; }
.fcard .fc-keys { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; }
.fc-keys kbd { font-family: var(--mono); font-size: .8rem; color: var(--text); }
@media (max-width: 1000px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fcards { grid-template-columns: 1fr; gap: 16px; } }

/* Design with Claude */
.new-tag { display: inline-flex; align-items: center; flex: none; font-size: .7rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 4px; color: var(--accent); background: var(--accent-soft); }
.hero-new { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .9rem; font-weight: 600; text-decoration: none; }
.hero-new:hover { border-color: var(--line-strong); color: var(--text); }
.ai { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.ai .steps { margin-bottom: 20px; }
.ai-note { margin: 0; padding: 14px 16px; border-left: 3px solid var(--line-strong); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); font-size: .93rem; }
.ai-note b { color: var(--text); }
.split .ai-note { margin-top: -12px; }
.chat-demo { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .93rem; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.chat-head span { color: var(--muted); }
.msg-user { align-self: flex-end; max-width: 82%; margin: 4px 16px 0; padding: 9px 13px; background: var(--accent-soft); border-radius: 10px 10px 2px 10px; }
.msg-steps { list-style: none; margin: 0 16px; padding: 0; display: grid; gap: 2px; color: var(--muted); font-size: .82rem; }
.msg-steps li::before { content: "\25E6\00a0"; }
.msg-claude { margin: 0 16px; }
.msg-claude b { display: block; margin-bottom: 2px; color: var(--accent); font-size: .85rem; }
.chat-input { margin: 6px 16px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .88rem; }
.fcard-wide { grid-column: 1 / -1; flex-direction: row; }
.fcard-wide img { width: 56%; flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
.fcard-wide .fcard-body { justify-content: center; padding: 28px 32px; }
.fcard-wide .eyebrow { margin-bottom: 0; }
.fcard-wide h3 { font-size: 1.4rem; }
@media (max-width: 1000px) { .ai { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 820px) {
  .fcard-wide { flex-direction: column; }
  .fcard-wide img { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .fcard-wide .fcard-body { padding: 18px 20px 20px; }
}
.hero-new:has(.new-tag) { padding-left: 6px; }
