:root {
  color-scheme: dark;
  --canvas: #151c23;
  --rail: #121921;
  --surface: #1c252e;
  --raised: #25313b;
  --line: #3a4857;
  --text: #f3f5f7;
  --muted: #bac5d0;
  --accent: #3f658e;
  --accent-hover: #5079a6;
  --focus: #a9d0fa;
  --sidebar: clamp(205px, 18.3vw, 272px);
}
* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; color: var(--text); font: 16px/1.55 "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; z-index: 3; top: 12px; left: 12px; transform: translateY(-180%); padding: 8px 14px; border-radius: 6px; background: var(--text); color: var(--canvas); }
.skip-link:focus { transform: none; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 32px 18px; border-right: 1px solid #2d3a46; background: var(--rail); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 14px; margin: 0 10px 36px; width: fit-content; line-height: 1.15; text-decoration: none; }
.brand img { width: clamp(47px, 5vw, 72px); }
.brand span { display: grid; gap: 4px; white-space: nowrap; }
.brand strong { font-size: 32px; }
nav { display: grid; gap: 7px; }
nav a { display: flex; align-items: center; min-height: 50px; padding: 10px 20px; border-radius: 9px; text-decoration: none; font-size: 18px; }
nav a:hover { background: var(--raised); }
body:not(:has(#how:target, #profiles:target)) nav a[href="#top"],
body:has(#how:target) nav a[href="#how"],
body:has(#profiles:target) nav a[href="#profiles"] { background: var(--accent); }
.page { max-width: 1580px; margin-left: var(--sidebar); padding: 38px clamp(24px, 2.3vw, 42px) 0; }
.hero { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); align-items: stretch; padding: 24px 30px 22px; border: 1px solid #536779; border-radius: 14px; background: #19232c; }
.hero-logo { display: grid; place-items: center; padding: 0 26px 0 0; border-right: 1px solid #4c5d6e; }
.hero-logo img { width: min(100%, 272px); }
.hero-copy { padding-left: clamp(24px, 3.2vw, 49px); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(31px, 3.5vw, 56px); letter-spacing: -.025em; }
h2 { font-size: clamp(27px, 2.7vw, 42px); letter-spacing: -.015em; }
h3 { font-size: 21px; }
.lead { max-width: 650px; margin: 10px 0 19px; color: var(--muted); font-size: clamp(17px, 1.7vw, 25px); line-height: 1.4; }
.download { display: inline-flex; align-items: center; justify-content: center; min-height: 61px; padding: 11px clamp(18px, 3vw, 44px); border: 1px solid #6487ab; border-radius: 9px; background: var(--accent); text-align: center; text-decoration: none; font-size: clamp(17px, 1.65vw, 25px); font-weight: 650; }
.download:hover { background: var(--accent-hover); }
.release { margin-top: 10px; color: var(--muted); font-size: 14px; }
.showcase { display: grid; grid-template-columns: 60% minmax(0, 1fr); align-items: center; gap: clamp(24px, 2.6vw, 40px); margin: 34px 0 27px; }
.screenshot { padding: clamp(8px, 1.3vw, 20px); border-radius: 14px; border: 1px solid #536779; background: var(--surface); }
figcaption { margin-top: 8px; color: var(--muted); font-size: 16px; }
.showcase p { margin-top: 14px; font-size: clamp(17px, 1.55vw, 23px); line-height: 1.45; }
.showcase .muted { color: var(--muted); font-size: 16px; }
.section { padding: 30px 0; border-top: 1px solid #536779; }
.section h2 { margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.card p, .section p { margin-top: 12px; color: var(--muted); }
.profiles ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.profiles li { padding: 6px 12px; border: 1px solid #536779; border-radius: 6px; }
.profiles li span { color: var(--muted); }
details { padding: 15px 0; border-top: 1px solid var(--line); }
summary { width: fit-content; padding: 4px; cursor: pointer; font-weight: 600; }
details p, details code { display: block; margin-top: 9px; color: var(--muted); }
code { overflow-wrap: anywhere; }
footer { padding: 18px 0 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 1050px) {
  .desktop-break { display: none; }
  .hero { padding: 22px; }
  .hero-logo { padding-right: 16px; }
  .hero-copy { padding-left: 20px; }
}
@media (max-width: 820px) {
  .sidebar { position: static; width: auto; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .brand { margin: 0 0 10px; }
  .brand img { width: 42px; }
  .brand strong { font-size: 23px; }
  nav { display: flex; flex-wrap: wrap; gap: 5px; }
  nav a { min-height: 44px; padding: 8px 11px; font-size: 15px; }
  .page { margin: 0; padding: 20px 16px 0; }
}
@media (max-width: 580px) {
  .hero { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .hero-logo { justify-content: start; padding: 0; border: 0; }
  .hero-logo img { width: 100px; }
  .hero-copy { padding: 0; }
  .download { width: 100%; }
  .showcase, .cards { grid-template-columns: 1fr; gap: 16px; }
  .showcase { margin-top: 22px; }
  .showcase > div { grid-row: 1; }
  .section { padding-block: 22px; }
  .card { padding: 17px; }
}


.release-info h2 { margin-bottom: 12px; }
.release-info p { max-width: 75ch; }
@media (min-width: 1150px) { .download { min-width: 380px; } }


.app-figure { grid-column: 1 / -1; }
.widget-figure { width: min(100%, 628px); }
.native-preview { display: block; border-radius: 6px; }
.native-preview img { width: 100%; border-radius: inherit; }

.capture-notice { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #775f39; border-left: 4px solid #e8b76a; border-radius: 8px; background: #2a251e; color: #f1e0c3; }
.showcase .capture-notice { margin-top: 0; font-size: clamp(15px, 1.25vw, 18px); }
