/*
 * Business: the commercial look of laikait.com. White and very light grey, electric blue, Inter, one-line
 * navigation, real product screenshots, solid blue buttons, subtle shadows. Light only.
 *
 * Every colour is a token here; pages use the tokens. The class names every page uses (forms, releases,
 * plugins, verify, issues, legal, errors) are the same as Standard's, so this template is a drop-in.
 */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --border: #e5eaf2;
  --border-strong: #cfd8e6;
  --text: #0b1b3a;
  --muted: #5b6b86;
  --accent: #1a56f0;
  --accent-2: #1246cc;
  --accent-soft: #eef3ff;
  --accent-line: #c5d5fb;
  --accent-ink: #ffffff;
  --success: #15803d;
  --success-soft: #f0fdf4;
  --success-line: #bbf7d0;
  --warning: #b45309;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --violet: #6d28d9;
  --header-bg: rgba(255, 255, 255, .96);
  --footer: #0b1b3a;
  --footer-text: #c7d2e6;
  --footer-muted: #8fa0bd;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .05), 0 24px 56px rgba(16, 24, 40, .12);
  --radius: 12px;
  --max: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; }
code, .key { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: .92em; }
h1, h2, h3 { color: var(--text); letter-spacing: -.02em; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-size: 19px; font-weight: 800; letter-spacing: .06em; color: var(--text); white-space: nowrap; }
.logo:hover { color: var(--text); }
.logo span { color: var(--accent); }
.logo-mark { display: inline-block; height: 28px; width: auto; vertical-align: -7px; margin-right: 10px; }
.nav-links { display: flex; gap: 6px; align-items: center; flex: 1; justify-content: center; }
.nav-links > a, .nav-menu > button {
  color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-links > a:hover, .nav-menu > button:hover, .nav-links > a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-menu { position: relative; }
.nav-menu > button::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav-panel {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: 360px; padding: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow);
}
.nav-menu.open .nav-panel, .nav-menu:focus-within .nav-panel { display: grid; gap: 2px; }
.nav-panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; color: var(--text); }
.nav-panel a:hover { background: var(--surface-2); color: var(--text); }
.nav-panel strong { font-size: 15px; }
.nav-panel small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.nav-panel .pill { justify-self: start; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 20px; padding: 4px 10px; cursor: pointer; }

/* ---- Buttons, pills ------------------------------------------------------------ */
.btn, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 8px; border: 1px solid var(--border-strong);
  font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--text); background: var(--surface);
  cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--text); color: var(--text); }
.btn-primary, .button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover, .button:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }
.btn-secondary { background: var(--surface); color: var(--text); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.button { margin-top: 14px; }
.pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
}
.pill-accent { background: var(--accent-soft); color: var(--accent-2); border-color: var(--accent-line); }
.pill-success { background: var(--success-soft); color: var(--success); border-color: var(--success-line); }

/* ---- Hero, sections ------------------------------------------------------------- */
.hero { padding: 84px 0 64px; background: linear-gradient(180deg, var(--accent-soft), var(--bg) 70%); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 12px 0 16px; font-size: clamp(36px, 6vw, 60px); line-height: 1.06; letter-spacing: -.035em; }
.hero p { max-width: 640px; color: var(--muted); font-size: 18px; margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero-points li::before { content: "\2713"; color: var(--success); font-weight: 700; margin-right: 6px; }
.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 26px; }
.hero-card h3 { margin: 0 0 6px; }
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 32px; }
.section-head.center { display: block; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head.center .section-intro { margin: 0 auto; }
.section h1 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.12; margin: 8px 0 12px; }
.section h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin: 6px 0 10px; }
.section-intro { color: var(--muted); max-width: 680px; margin: 0; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.meta { margin-top: 18px; color: var(--accent); font-size: 14px; font-weight: 600; }
.notice { padding: 14px 18px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 10px; color: var(--text); }

/* ---- Products ------------------------------------------------------------------ */
.product-card { display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, box-shadow .15s; }
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-card .product-top { display: flex; align-items: center; gap: 14px; }
.product-mark {
  flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 15px; letter-spacing: .02em;
}
.product-mark.saas { background: #0e7490; color: #fff; }
.product-card h3 { margin: 0; }
.product-card .product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.product-facts { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.prose p { color: var(--muted); font-size: 17px; max-width: 760px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding: 22px 22px 22px 66px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-weight: 700; display: grid; place-items: center; }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- Pricing ---------------------------------------------------------------------- */
.pricing { margin-top: 8px; }
.term-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); margin-bottom: 26px; flex-wrap: wrap; }
.term-switch button { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.term-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; }
.plan.is-highlight { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .plan-flag { position: absolute; top: -12px; left: 24px; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .plan-clients { color: var(--muted); font-size: 14px; margin: 0; }
.plan-price { margin: 4px 0 0; font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-none { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.plan li::before { content: "\2713"; color: var(--success); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: auto; }
.pricing [data-term] { display: none; }
.pricing[data-show="monthly"] [data-term="monthly"],
.pricing[data-show="quarterly"] [data-term="quarterly"],
.pricing[data-show="semiannual"] [data-term="semiannual"],
.pricing[data-show="yearly"] [data-term="yearly"],
.pricing[data-show="lifetime"] [data-term="lifetime"] { display: block; }
.pricing-note { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---- FAQ, CTA ---------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 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: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); white-space: pre-line; }
.cta {
  border-radius: 20px; padding: 44px; background: var(--footer); color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { color: var(--footer-text); margin: 0; }
.cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta .btn-secondary:hover { border-color: #fff; }

/* ---- Legal ----------------------------------------------------------------------- */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
.legal-nav { position: sticky; top: 96px; align-self: start; }
.legal-nav a { display: block; padding: 6px 0; color: var(--muted); font-size: 14px; }
.legal-nav a:hover { color: var(--text); }
.legal-content { min-width: 0; max-width: 820px; }
.legal-content h2 { margin: 36px 0 10px; font-size: 23px; }
.legal-content h3 { margin: 24px 0 8px; font-size: 18px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 22px; }

/* ---- Footer ---------------------------------------------------------------------- */
.site-footer { background: var(--footer); color: var(--footer-text); padding: 56px 0 26px; margin-top: 0; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-text { color: var(--footer-muted); font-size: 14px; max-width: 300px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--footer-text); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, .2); color: var(--footer-muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---- Errors ---------------------------------------------------------------------- */
.error-page { max-width: 640px; }
.error-page .status { font-size: clamp(56px, 12vw, 96px); line-height: 1; font-weight: 800; color: var(--accent); letter-spacing: -.04em; }
.error-page h1 { margin: 6px 0 14px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.03em; }
.error-page p { color: var(--muted); }

/* ---- Forms ----------------------------------------------------------------------- */
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: grid; gap: 6px; min-width: 0; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-form input, .contact-form textarea, .contact-form select, .issue-search input, .verify-row input {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: inherit; font-size: 15px; line-height: 1.5;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #94a3b8; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible,
.issue-search input:focus-visible, .verify-row input:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 0; border-color: var(--accent); }
.contact-form [aria-invalid="true"] { border-color: var(--danger); }
.contact-form button { cursor: pointer; font-family: inherit; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { margin: 0; color: var(--muted); font-size: 14px; }
.form-error { margin: 0; color: var(--danger); font-size: 14px; }
.form-status { margin: 0 0 20px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--success-line); background: var(--success-soft); color: var(--text); }
.form-optional { color: var(--muted); font-weight: 400; font-size: 13px; }
/* Out of sight and out of the tab order, but not display:none -- a bot that
   skips hidden fields is not the kind this catches. */
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.contact-list strong { display: block; font-size: 14px; }
.contact-list span, .contact-list a { font-size: 15px; }

/* ---- Releases (/downloads/<product>) ---------------------------------------------- */
.release-latest { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.release-jump { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.release-jump a { padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 14px; background: var(--surface); }
.release-jump a:hover { color: var(--text); border-color: var(--border-strong); }
.release-jump a[aria-current="page"] { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }
.release-channel { padding-top: 34px; scroll-margin-top: 80px; }
.release-channel h2 { font-size: 24px; margin: 0 0 4px; }
.release-channel .section-intro { margin-bottom: 18px; }
.release-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.release.card { padding: 18px 22px; }
.release-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.release-head h3 { margin: 0; font-size: 18px; }
.release-head p, .release-latest p { font-size: 14px; }
.release-notes { margin-top: 10px !important; white-space: pre-line; color: var(--text) !important; font-size: 14px; }
.changelog-list { list-style: disc; padding-left: 20px; }
.changelog-list li { margin: 2px 0; }
.release-sha { margin-top: 8px !important; font-size: 12px; overflow-wrap: anywhere; }
.release-sha code { font-family: ui-monospace, Consolas, Menlo, monospace; }
.download-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ---- Plugins (/plugins) ---------------------------------------------------------- */
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.plugin-card.card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.plugin-card-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.plugin-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px; }
.plugin-card-body h3 { margin: 0; font-size: 19px; }
.plugin-card-version { color: var(--muted); font-size: 14px; font-weight: 400; }
.plugin-card-meta { font-size: 13px; }
.plugin-card-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; }
.plugin-fact { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.plugin-fact svg { flex: none; }
.plugin-fact-date svg { color: var(--accent); }
.plugin-fact-version svg { color: var(--success); }
.plugin-fact-author svg { color: #7c3aed; }
.plugin-card-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.plugin-card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.plugin-card-body .release-notes, .plugin-card-body .release-sha { margin-top: 0 !important; }

/* ---- Licence check (/verify) ---------------------------------------------------------- */
.verify-row { display: flex; gap: 10px; }
.verify-row input { flex: 1; min-width: 0; }
.verify-result { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--border); border-left-width: 4px; border-radius: 12px; background: var(--bg-soft); }
.verify-result.is-valid { border-left-color: var(--success); }
.verify-result.is-invalid { border-left-color: var(--danger); }
.verify-result.is-neutral { border-left-color: var(--muted); }
.verify-result h2 { margin: 2px 0 6px; font-size: 24px; }
.verify-result.is-valid h2 { color: var(--success); }
.verify-result.is-invalid h2 { color: var(--danger); }
.verify-domain { margin: 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.verify-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0 0; }
.verify-facts dt { color: var(--muted); font-size: 13px; }
.verify-facts dd { margin: 2px 0 0; font-weight: 600; }
.verify-result .form-note { margin-top: 12px; }

/* ---- Issue register (/issues, /features) ------------------------------------------------ */
.issue-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.issue-bar .release-jump { margin: 0; }
.issue-search { display: flex; gap: 10px; margin-bottom: 18px; }
.issue-search input { flex: 1; min-width: 0; }
.issue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.issue-row.card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; }
.issue-link { display: grid; gap: 4px; min-width: 0; color: var(--text); }
.issue-link:hover .issue-title { color: var(--accent); }
.issue-title { font-weight: 600; overflow-wrap: anywhere; }
.issue-meta { color: var(--muted); font-size: 14px; }
.issue-status { display: inline-block; flex: none; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid currentColor; }
.issue-status.status-open { color: var(--accent); }
.issue-status.status-acknowledged { color: var(--warning); }
.issue-status.status-in_progress { color: var(--violet); }
.issue-status.status-solved { color: var(--success); }
.issue-pager { display: flex; justify-content: center; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.issue-page { max-width: 880px; }
.issue-head h1 { margin: 6px 0 8px; font-size: clamp(26px, 4vw, 36px); overflow-wrap: anywhere; }
.issue-number { color: var(--muted); font-weight: 400; font-size: .7em; white-space: nowrap; }
.issue-head .issue-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
.issue-text { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.65; }
.issue-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 18px; }
.issue-shots img { display: block; width: 100%; height: 130px; object-fit: cover; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); }
.section .issue-thread-title { font-size: 22px; margin: 34px 0 12px; }
.section .issue-reply .issue-thread-title { margin-top: 0; }
.issue-reply { margin-top: 24px; }
.issue-thread { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.issue-comment.card { padding: 16px 20px; }
.issue-comment.is-staff { border-left: 4px solid var(--accent); }
.issue-comment-by { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.issue-comment-by strong { color: var(--text); }
.issue-staff { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.issue-event { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 4px 6px; color: var(--muted); font-size: 14px; }

/* ---- Narrow screens ----------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid, .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; left: 16px; right: 16px; top: 68px; padding: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-panel { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 0 8px; }
  .nav-menu > button { width: 100%; text-align: left; }
  .menu-toggle { display: block; }
  .nav-actions .btn-secondary { display: none; }
}
@media (max-width: 680px) {
  .grid, .grid-3, .grid-4, .feature-grid, .steps, .footer-grid, .legal-layout, .form-row { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 56px 0; }
  .section-head { display: block; }
  .section-head > .btn { margin-top: 16px; }
  .cta { padding: 28px; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .release-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .verify-row, .issue-search { flex-direction: column; }
  .issue-row.card { flex-direction: column; align-items: flex-start; }
  .nav-actions .btn-primary { padding: 8px 12px; font-size: 14px; }
}

.product-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.product-shots a { display: block; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-soft); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06); }
.product-shots img { display: block; width: 100%; height: auto; }

/* ---- Business: header, hero, showcases ------------------------------------------------------ */
.logo { font-weight: 800; letter-spacing: .04em; font-size: 20px; }
.logo span { color: var(--accent); }
.nav { min-height: 72px; }
.nav-links { justify-content: flex-start; margin-left: 28px; }
.site-header { background: var(--header-bg); backdrop-filter: none; }
.hero {
  padding: 40px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-bottom: 0;
}
.hero-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; }
.hero .eyebrow { color: var(--muted); letter-spacing: .14em; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; }
.hero p { font-size: 19px; }
.hero-points { margin-top: 24px; }
.shot {
  margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); display: block; }
.shot img { display: block; width: 100%; height: auto; }
.shot-empty {
  display: grid; place-items: center; min-height: 280px; padding: 24px; text-align: center;
  background: linear-gradient(180deg, var(--accent-soft), #fff); color: var(--muted); font-weight: 600;
}
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-item { padding: 26px 24px; display: grid; gap: 2px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item strong { font-size: 16px; }
.trust-item span { color: var(--muted); font-size: 14px; }
.showcase { display: grid; gap: 64px; }
.showcase-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.showcase-row.is-flip .showcase-text { order: 2; }
.showcase-row.is-lead { grid-template-columns: .85fr 1.15fr; }
.showcase-text h3 { font-size: 30px; margin: 10px 0 8px; letter-spacing: -.03em; }
.showcase-row.is-lead .showcase-text h3 { font-size: 36px; }
.showcase-text p { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.showcase-mark { display: flex; align-items: center; gap: 12px; }
.showcase-price { font-size: 17px; margin: 0 0 18px; }
.showcase-price strong { color: var(--accent); }
.showcase-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.showcase-link { font-weight: 600; }
.feature::before { background: var(--accent); }
.cta { background: var(--footer); border-radius: 16px; }
.btn-primary { box-shadow: 0 1px 2px rgba(26, 86, 240, .3); }
@media (max-width: 960px) {
  .hero-grid, .showcase-row, .showcase-row.is-lead { grid-template-columns: 1fr; }
  .showcase-row.is-flip .showcase-text { order: 0; }
  .showcase { gap: 48px; }
}
@media (max-width: 680px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  .showcase-text h3, .showcase-row.is-lead .showcase-text h3 { font-size: 26px; }
}.nav-signin { color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 10px; }
.nav-signin:hover { color: var(--text); }
@media (max-width: 860px) { .nav-signin { display: none; } }

/* ---- Lightbox: a picture opens over the same page ---------------------------------------------- */
img.zoomable { cursor: zoom-in; }
html.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; background: rgba(8, 15, 30, .84);
}
.lightbox.open { display: flex; }
.lightbox > img { max-width: 92vw; max-height: 80vh; border-radius: 10px; background: #fff; box-shadow: 0 24px 64px rgba(0, 0, 0, .5); }
.lightbox-caption { margin: 0; max-width: 92vw; text-align: center; color: #e5eaf2; font-size: 14px; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.lightbox button:hover:not(:disabled) { background: rgba(255, 255, 255, .26); }
.lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox button:disabled { opacity: .3; cursor: default; }
.lightbox button[hidden] { display: none; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (prefers-reduced-motion: no-preference) { .lightbox.open { animation: lightbox-in .15s ease-out; } }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

/* The currency picker in the footer (Currency module): prices are for reading, billing charges in US dollars. */
.currency-picker { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.currency-picker label { color: var(--footer-muted); }
.currency-picker select { padding: 4px 8px; border: 1px solid rgba(148, 163, 184, .4); border-radius: 8px; background: transparent; color: inherit; font: inherit; }
.currency-picker select option { color: #0f172a; }
.currency-picker button { padding: 4px 12px; border: 1px solid rgba(148, 163, 184, .4); border-radius: 8px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.currency-picker button:hover, .currency-picker button:focus-visible { border-color: currentColor; }

/* The custom package card: a size no plan covers, quoted by hand. */
.plan-custom { border-style: dashed; background: transparent; }
.plan-custom .plan-none { margin: 0; }
/* The buttons under a plugin card: icons only, each in its own colour, the word in the title. */
.plugin-card-actions .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border-radius: 10px; border: 1px solid currentColor; background: transparent; text-decoration: none; cursor: pointer; transition: background .15s; }
.plugin-card-actions .icon-btn:hover { text-decoration: none; background: color-mix(in srgb, currentColor 12%, transparent); }
.plugin-card-actions .icon-details { color: var(--accent); }
.plugin-card-actions .icon-download { color: var(--success); }
.plugin-card-actions .icon-about { color: #7c3aed; }
/* A plugin's tags: small pills, kept apart. */
.plugin-card-meta[data-plugin-tags] { display: flex; flex-wrap: wrap; gap: 8px; }
.plugin-card-meta[data-plugin-tags] .badge { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--accent-line, var(--border)); background: var(--accent-soft, var(--surface-2)); color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.3; }

/* ---- A plugin's own page (2026-11-24): a product page - hero, content beside a download card, older versions. ---- */
.pp-hero { padding: 52px 0 48px; }
.pp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.pp-hero-grid:not(:has(.pp-hero-art)) { grid-template-columns: minmax(0, 1fr); }
.pp-crumbs { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.pp-crumbs a { color: var(--muted); text-decoration: none; }
.pp-crumbs a:hover { color: var(--accent); text-decoration: underline; }
.pp-hero h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 10px 0 14px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
.pp-version { display: inline-block; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-2); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.pp-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.pp-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; }
.pp-facts .plugin-fact { color: var(--text); }
.plugin-fact-size svg { color: var(--warning); }
.pp-hero .hero-actions .btn, .pp-side-card .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pp-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-soft); box-shadow: var(--shadow); }

.pp-main { padding: 56px 0 64px; }
.pp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.pp-content > h2:first-child { margin-top: 0; }
.pp-content h2 { margin: 44px 0 16px; font-size: 26px; line-height: 1.2; }
.pp-prose p { max-width: 70ch; margin: 0 0 14px; color: var(--text); font-size: 17px; line-height: 1.7; }
.pp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pp-features li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); line-height: 1.45; }
.pp-tick { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--success-line); border-radius: 50%; background: var(--success-soft); color: var(--success); }
.pp-tick svg { width: 16px; height: 16px; }
.pp-tags { margin-top: 20px; }

.pp-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pp-news-card { padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pp-news-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 17px; }
.pp-news-changes h3 { color: var(--accent); }
.pp-news-fixes h3 { color: var(--violet); }
.pp-bullets { margin: 0; padding-left: 20px; }
.pp-bullets li { margin: 5px 0; color: var(--text); line-height: 1.5; }

.pp-older { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pp-old { border-bottom: 1px solid var(--border); }
.pp-old:last-child { border-bottom: 0; }
.pp-old summary { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; }
.pp-old summary::-webkit-details-marker { display: none; }
.pp-old summary::before { content: "\203A"; display: inline-block; width: 12px; color: var(--muted); font-size: 20px; line-height: 1; transition: transform .15s; }
.pp-old[open] summary::before { transform: rotate(90deg); }
.pp-old-meta { margin-right: auto; color: var(--muted); font-size: 14px; }
.pp-old-body { padding: 0 18px 16px 44px; }
.pp-old-body h3 { margin: 12px 0 6px; font-size: 15px; }
.pp-old-needs { margin: 0; color: var(--muted); font-size: 14px; }

.pp-side { position: sticky; top: 92px; }
.pp-side-card { padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.pp-side-card h3 { margin: 0 0 14px; font-size: 20px; }
.pp-spec { margin: 18px 0 0; }
.pp-spec div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14px; }
.pp-spec dt { color: var(--muted); }
.pp-spec dd { margin: 0; font-weight: 600; text-align: right; }
.pp-links { display: grid; gap: 8px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); list-style: none; font-size: 14px; }
.pp-side-note { margin: 14px 4px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.pp-band { padding: 48px 0; }
.pp-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pp-band h2 { margin: 0 0 6px; }

@media (max-width: 960px) {
  .pp-hero-grid, .pp-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pp-side { position: static; }
}
@media (max-width: 680px) {
  .pp-hero { padding: 36px 0 32px; }
  .pp-features { grid-template-columns: minmax(0, 1fr); }
  .pp-old summary { flex-wrap: wrap; }
  .pp-old-body { padding-left: 18px; }
  .pp-main { padding: 36px 0 44px; }
}

/* ---- A template's screenshots (2026-11-24): thumbnails that open in the lightbox. ---- */
.pp-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pp-shots a { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06); transition: transform .15s, box-shadow .15s; }
.pp-shots a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pp-shots img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }

/* A template card's type fact (2026-11-24). */
.plugin-fact-type svg { color: var(--warning); }
