/* KROMA Audio — Graphite palette (from KROMA-Suite installer art + FL-Themes palettes) */
:root {
  --bg: #131519;
  --panel: #242831;
  --control: #343a44;
  --deep: #0d1015;
  --border: #525967;
  --text: #e9e9ee;
  --text-2: #b1b5c1;
  --accent: #c597db;
  --accent-deep: #655071;
  --coral: #ff4d61;
  --steel: #88919f;
  /* product accents (from the matching KROMA themes) */
  --a-sends: #c597db;     /* Graphite */
  --a-panoramix: #509afb; /* Cobalt */
  --a-snapback: #d5ba89;  /* Carbon LN */
  --a-ohlala: #dba45e;    /* Vintage Console */
  --a-monitor: #56cbdc;   /* Deep Space */
  --radius: 14px;
  --radius-s: 8px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font);
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(197,151,219,.08), transparent 60%);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #dcbcec; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: var(--deep); border: 1px solid var(--control); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
.muted { color: var(--text-2); }
.small { font-size: .88rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--accent); color: var(--deep); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); margin-bottom: .8em; display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

/* Sale banner */
.sale { background: linear-gradient(90deg, var(--coral), #c2405a); color: #fff; text-align: center; font-weight: 650; font-size: .92rem; padding: 8px var(--gutter); }
.sale p { margin: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(19,21,25,.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(82,89,103,.45); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 850; letter-spacing: .28em; font-size: 1.02rem; }
.brand svg { width: 30px; height: 30px; }
.brand:hover { color: var(--text); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.05); }
.nav .lang { border: 1px solid var(--control); font-size: .82rem; letter-spacing: .08em; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--control); color: var(--text); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--control); padding: 8px var(--gutter) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav .btn { margin-top: 8px; justify-content: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #14070a; }
.btn-primary:hover { background: #ff6878; color: #14070a; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.05); color: var(--text); }
.btn-accent { background: var(--accent); color: #1b1220; }
.btn-accent:hover { background: #d6b1e8; color: #1b1220; }
.btn-s { padding: 8px 14px; font-size: .88rem; }
.btn.is-soon, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; background: var(--control); color: var(--text-2); border-color: var(--control); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: clamp(56px, 9vw, 104px) 0; }
section + section { border-top: 1px solid rgba(52,58,68,.6); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-2); }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--accent); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.page-hero { padding-bottom: 40px; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.badge { font-size: .78rem; font-weight: 650; letter-spacing: .04em; color: var(--text-2); border: 1px solid var(--control); padding: 4px 10px; border-radius: 999px; background: rgba(36,40,49,.6); }
.badge.free { color: #9fe3b0; border-color: #2f5a3d; }
.badge.paid { color: var(--accent); border-color: var(--accent-deep); }
.price { font-size: 1.9rem; font-weight: 800; margin: 0 0 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price small { font-size: .9rem; font-weight: 500; color: var(--text-2); }

/* Cards / grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (max-width: 380px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, var(--panel), #1c1f26); border: 1px solid rgba(82,89,103,.55); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--text-2); }
.card .card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card .tag { font-size: .72rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--pa, var(--accent)); }
.card-link { color: var(--text); text-decoration: none; font-weight: 650; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:hover { border-color: var(--border); }
.card-featured { border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep), 0 20px 60px -30px rgba(197,151,219,.45); }

/* Feature list */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.features li { background: rgba(36,40,49,.55); border: 1px solid rgba(82,89,103,.45); border-radius: var(--radius-s); padding: 16px 18px 16px 46px; position: relative; color: var(--text-2); }
.features li strong { color: var(--text); display: block; }
.features li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 3px; border-radius: 2px; background: var(--pa, var(--accent)); }

.note { border-left: 3px solid var(--coral); background: rgba(255,77,97,.07); padding: 14px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--text-2); }
.note strong { color: var(--text); }
.draft { border: 1px dashed var(--coral); background: rgba(255,77,97,.08); padding: 14px 18px; border-radius: var(--radius-s); font-weight: 600; }

/* Spec table */
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--control); vertical-align: top; }
.specs th { color: var(--text-2); font-weight: 600; width: 38%; }
.table-scroll { overflow-x: auto; }
.compare { min-width: 520px; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.yes { color: #9fe3b0; font-weight: 700; }

/* Plugin screenshots (real only) and placeholder */
.shot { margin: 0; display: flex; justify-content: center; }
.shot img { max-height: 640px; width: auto; }
.shot-sends img { max-height: 720px; }
.shot img { border-radius: var(--radius); border: 1px solid rgba(82,89,103,.55); box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.shot-soon { --pa: var(--accent); aspect-ratio: 4 / 3; border: 1px dashed var(--border); border-radius: var(--radius); background: rgba(36,40,49,.4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; color: var(--text-2); }
.shot-soon svg { width: 44px; height: 44px; opacity: .85; }
.shot-soon p { margin: 0; }
.shot-soon strong { color: var(--text); letter-spacing: .06em; }

/* Theme gallery */
.themes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.theme { margin: 0; background: var(--panel); border: 1px solid rgba(82,89,103,.55); border-radius: var(--radius); overflow: hidden; }
.theme img { aspect-ratio: 3 / 1; object-fit: cover; width: 100%; }
.theme figcaption { padding: 12px 16px; display: flex; justify-content: space-between; gap: 10px; font-weight: 650; font-size: .95rem; }
.theme figcaption a { font-weight: 550; font-size: .85rem; }
.wide-img { border-radius: var(--radius); border: 1px solid rgba(82,89,103,.55); }

/* Downloads */
.dl { display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; align-items: center; }
.dl .btn-row { justify-content: flex-end; }
@media (max-width: 640px) { .dl { grid-template-columns: 1fr; } .dl .btn-row { justify-content: flex-start; } }

/* FAQ */
.faq details { border: 1px solid rgba(82,89,103,.55); border-radius: var(--radius-s); background: rgba(36,40,49,.55); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 650; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 20px 16px; color: var(--text-2); }
.faq .a ol, .faq .a ul { padding-left: 1.2em; }

/* Prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; color: var(--text-2); }
.prose p { color: var(--text-2); }
.prose pre { white-space: pre-wrap; background: var(--deep); border: 1px solid var(--control); padding: 16px; border-radius: var(--radius-s); font-size: .8rem; color: var(--text-2); overflow-x: auto; }

/* Newsletter */
.newsletter { background: linear-gradient(135deg, #262033, #1a1d23 60%); border: 1px solid var(--accent-deep); border-radius: 20px; padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter h2 { margin-bottom: .3em; }
.nl-form { display: grid; gap: 12px; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-row input[type=email] { flex: 1 1 220px; min-width: 0; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--deep); color: var(--text); font: inherit; }
.nl-row input::placeholder { color: #8a8f9b; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--text-2); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
[role=status] { min-height: 1.3em; font-size: .9rem; color: var(--accent); margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--control); padding: 48px 0 40px; margin-top: 40px; font-size: .9rem; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.legal-note { margin-top: 36px; font-size: .78rem; color: #8a8f9b; line-height: 1.5; }

/* Language chooser (root) */
.chooser { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.chooser svg { width: 72px; height: 72px; margin: 0 auto 18px; }
