/* laksmed.com -- dark-first, one accent (the gold of the LAKSMED mark), system fonts. */
:root {
  --bg: #0f1013;
  --bg-2: #141519;
  --surface: #191b20;
  --surface-2: #20232a;
  --line: #2b2f37;
  --text: #f3f1ec;
  --muted: #a6abb5;
  --faint: #878d98;
  --accent: #e2b955;
  --accent-hi: #f0cd74;
  --accent-ink: #1b1404;
  --ok: #6fd39a;
  --soon: #9fb3d9;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-hi); text-underline-offset: .2em; }
a:hover { color: var(--text); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .86em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink);
  padding: .6em 1em; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tbc { background: #3a2f12; color: var(--accent-hi); padding: 0 .35em; border-radius: 4px; font-family: var(--mono); font-size: .85em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 16, 19, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font-weight: 800; letter-spacing: .14em; font-size: 1.02rem; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.site-nav ul a { color: var(--muted); text-decoration: none; padding: .5em .8em; border-radius: 8px; font-size: .97rem; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--text); background: var(--surface); }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 8px; cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    gap: 14px; padding: 16px var(--gutter) 22px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; margin: 0; }
  .site-nav ul a { display: block; padding: .75em .6em; font-size: 1.05rem; }
  .nav-cta .btn { flex: 1; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em;
  border-radius: 999px; border: 1px solid transparent; font: 600 .98rem/1.2 var(--font); text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--faint); color: var(--text); }
.btn-link { color: var(--muted); padding-left: .4em; padding-right: .4em; }
.btn-link:hover { color: var(--text); }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 1em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); color: var(--muted); max-width: 46rem; }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

.mt { margin-top: 28px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-tight { padding: 40px 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 30%; height: 720px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(226, 185, 85, .16), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin: 1.2em 0 1.6em; }
.hero .actions { margin-top: 0; }
.player-only { display: inline-flex; align-items: center; gap: .6em; margin-top: 1.6em; color: var(--muted); font-size: .95rem; }
.player-only .ico { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); min-width: 0; }
.card p { color: var(--muted); }
.card h3 { margin-bottom: .4em; }
.ico { width: 22px; height: 22px; }
.ico-lg { width: 34px; height: 34px; color: var(--accent); }
.plat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.is-soon .ico-lg { color: var(--soon); }
.pill { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3em .7em; border-radius: 999px; border: 1px solid; }
.pill-ok { color: var(--ok); border-color: rgba(111, 211, 154, .35); background: rgba(111, 211, 154, .08); }
.pill-soon { color: var(--soon); border-color: rgba(159, 179, 217, .35); background: rgba(159, 179, 217, .08); }

/* ---------- steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { position: relative; padding-left: 0; }
.step-num { display: block; font: 700 .9rem/1 var(--mono); color: var(--accent); margin-bottom: 14px; }
.guide-steps { counter-reset: g; list-style: none; padding: 0; margin: 1.5em 0; }
.guide-steps > li { counter-increment: g; position: relative; padding: 0 0 1.4em 3.2em; }
.guide-steps > li::before { content: counter(g); position: absolute; left: 0; top: -.1em; width: 2.1em; height: 2.1em;
  display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--accent); font-weight: 700; font-size: .92rem; }
.guide-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 1.03em; top: 2.2em; bottom: .3em; width: 1px; background: var(--line); }
.guide-steps strong { color: var(--text); }

/* ---------- connection methods ---------- */
.conn .ico-lg { margin-bottom: 18px; }
.conn ul { margin: .4em 0 1.2em; padding-left: 1.1em; color: var(--muted); }

/* ---------- screenshots ---------- */
.shots { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.shots .shot:first-child { grid-row: span 2; }
.shot { margin: 0; }
.shot-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0b0c0f; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } .shots .shot:first-child { grid-row: auto; } }
.hero-shot .shot-frame { border-radius: 18px; }

/* ---------- pricing ---------- */
.pricing { max-width: 860px; margin: 0 auto; }
.price { padding: clamp(24px, 3vw, 34px); }
.price.is-featured { border-color: rgba(226, 185, 85, .55); background: linear-gradient(180deg, #221f17, var(--surface) 60%); }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .35em .75em; border-radius: 999px; }
.amount { margin: .6em 0 1em; }
.amount .num { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; }
.amount .per { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.6em; }
.ticks li { display: flex; gap: .7em; align-items: flex-start; padding: .35em 0; }
.ticks .ico { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .25em; }
.pay-note { text-align: center; color: var(--muted); margin-top: 22px; }

/* ---------- matrix ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.matrix { width: 100%; border-collapse: collapse; min-width: 520px; }
.matrix caption { text-align: left; padding: 16px 20px 0; color: var(--muted); font-size: .9rem; }
.matrix th, .matrix td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th[scope="row"], .matrix thead th:first-child { text-align: left; font-weight: 500; }
.matrix thead th { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.mk { display: inline-flex; align-items: center; justify-content: center; }
.mk .ico { width: 20px; height: 20px; }
.mk-yes { color: var(--ok); }
.mk-no { color: var(--faint); }
.mk-lim { color: var(--accent-hi); font-size: .8rem; font-weight: 700; border: 1px solid rgba(226, 185, 85, .4); padding: .1em .55em; border-radius: 999px; }
.matrix-notes { color: var(--muted); font-size: .92rem; padding-left: 1.1em; margin: 14px 0 0; }

/* ---------- devices ---------- */
.device { padding: 36px 0; border-top: 1px solid var(--line); }
.device-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.device-head h2 { margin: 0 0 .25em; font-size: 1.7rem; }
.device-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.device-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 820px) { .device-body { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 1.4em; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.sup-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.sup-list li { display: flex; gap: .6em; align-items: center; }
.sup-list li.sup-no span:last-child { color: var(--faint); }
@media (max-width: 520px) { .sup-list { grid-template-columns: 1fr; } }

/* ---------- downloads / releases ---------- */
.dl-card h2 { font-size: 1.35rem; }
.rel-meta { color: var(--muted); font-size: .95rem; margin-bottom: .4em; }
.rel-sha { font-size: .78rem; color: var(--faint); word-break: break-all; margin-bottom: 1.2em; }
.rel-sha span { text-transform: uppercase; letter-spacing: .08em; margin-right: .4em; }
.rel-plat { margin-bottom: 56px; }
.release { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.release.is-latest { border-color: rgba(226, 185, 85, .45); }
.release header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.release header .rel-meta { flex-basis: 100%; }
.release h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 1.2em 0 .4em; }
.release ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.inline-dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 1.5em 0; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.35rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 18px 2px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.06rem; font-weight: 600; }
.qa summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .ans { padding: 0 2px 18px; color: var(--muted); max-width: 52rem; }

/* ---------- prose (guides, legal) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose p, .prose li { color: #d7d6d2; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
.aside-nav { position: sticky; top: 96px; align-self: start; font-size: .95rem; }
.aside-nav h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.aside-nav ul { list-style: none; padding: 0; margin: 0 0 1.6em; }
.aside-nav a { display: block; padding: .3em 0; color: var(--muted); text-decoration: none; }
.aside-nav a:hover, .aside-nav a[aria-current] { color: var(--text); }
@media (max-width: 900px) { .with-aside { grid-template-columns: 1fr; } .aside-nav { position: static; } }
.callout { background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin: 1.4em 0; }
.callout p:last-child { margin: 0; }
.notice { background: #241f12; border: 1px solid #4a3c18; color: #ecd9a6; border-radius: var(--radius-sm); padding: 12px 16px; }

/* ---------- legal notice / CTA ---------- */
.legal-notice { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; color: var(--muted); }
.legal-notice .ico { width: 26px; height: 26px; color: var(--accent); flex: none; }
.legal-notice p { margin: 0; }
.legal-notice strong { color: var(--text); }
.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto 1.6em; }
.cta-band .actions { justify-content: center; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; max-width: 36rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7em .85em; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(226, 185, 85, .25); }
.field :disabled { opacity: .55; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--muted); margin-top: 14px; }
.foot-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: .25em 0; color: var(--text); text-decoration: none; opacity: .82; }
.site-footer li a:hover { opacity: 1; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line); color: var(--faint); font-size: .88rem; }
.foot-base p { margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- link cards ---------- */
.card-link { text-decoration: none; color: var(--text); transition: border-color .15s, background-color .15s; }
.card-link:hover { border-color: var(--faint); background: var(--surface-2); color: var(--text); }
.card-link h3 { margin-bottom: .3em; }
.group-h { font-size: 1.3rem; margin: 40px 0 16px; }
.group-h:first-child { margin-top: 0; }
.kbd { display: inline-block; font: 600 .82em var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: .05em .45em; color: var(--text); }
.prose-wide { max-width: 52rem; }
.card .amount, .card .amount .num { color: var(--text); }
.card .amount .per { color: var(--muted); }
.card > .btn-link { align-self: flex-start; padding-left: 0; margin-top: auto; }
