:root {
  --ink: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --ok: #059669;
  --warn: #d97706;
  --bad: #dc2626;
  --radius: 10px;
  --max: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e5e7eb;
    --muted: #9ca3af;
    --accent: #60a5fa;
    --accent-hover: #93bbfd;
    --bg: #0b0f17;
    --bg-soft: #111827;
    --line: #1f2937;
    --line-strong: #374151;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2rem); font-weight: 600; margin-top: 2em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .12s, border-color .12s, color .12s, transform .06s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); }
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .row { padding: 14px 20px; justify-content: space-between; }
.logo { font-weight: 700; letter-spacing: -0.02em; font-size: 1.1rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
nav.primary { display: flex; gap: 20px; }
nav.primary a { color: var(--ink); font-size: .95rem; font-weight: 500; }
nav.primary a:hover { color: var(--accent); }
nav.primary a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 640px) {
  nav.primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 16px 20px; }
  nav.primary.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}
main { min-height: calc(100vh - 220px); padding-bottom: 60px; }
.hero { padding: 60px 0 40px; }
.hero h1 { max-width: 20ch; margin-bottom: .3em; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.section { padding: 40px 0; }
.card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-apps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.app-card { display: flex; flex-direction: column; }
.app-card .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.4rem;
  margin-bottom: 12px;
}
.app-card h3 { margin-bottom: 4px; }
.app-card .desc { color: var(--muted); font-size: .95rem; flex: 1; margin-bottom: 14px; }
.app-card .badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.badge-store {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--bg); padding: 6px 10px; border-radius: 6px;
  font-size: .78rem; font-weight: 500; text-decoration: none;
}
.badge-store:hover { opacity: .85; text-decoration: none; color: var(--bg); }
.empty-state {
  text-align: center; padding: 50px 20px; background: var(--bg-soft);
  border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted);
}
table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; }
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: 10px; background: var(--bg); }
details summary {
  padding: 14px 16px; cursor: pointer; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
details[open] summary::after { content: "−"; }
details > div { padding: 0 16px 14px; color: var(--muted); }
form.contact { display: grid; gap: 12px; max-width: 520px; }
form.contact label { font-size: .9rem; font-weight: 500; }
form.contact input, form.contact textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 1rem;
}
form.contact textarea { min-height: 120px; resize: vertical; }
.carousel { position: relative; }
.carousel .slides { display: flex; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); min-height: 300px; align-items: center; justify-content: center; }
.carousel .slide { flex: 0 0 100%; text-align: center; padding: 40px; color: var(--muted); }
.carousel .slide.active { display: block; }
.carousel .slide:not(.active) { display: none; }
.carousel .controls { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.carousel .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); border: 0; cursor: pointer; padding: 0; }
.carousel .dot.active { background: var(--accent); }
footer.site { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 30px 0; margin-top: 60px; font-size: .9rem; color: var(--muted); }
footer.site .row { justify-content: space-between; align-items: flex-start; }
footer.site nav { display: flex; gap: 14px; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); }
footer.site nav a:hover { color: var(--accent); }
@media (max-width: 640px) {
  footer.site .row { flex-direction: column; align-items: flex-start; }
}
.consent-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 14px 18px; border-radius: var(--radius);
  display: none; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  font-size: .9rem; max-width: 720px; margin: 0 auto;
}
.consent-banner.show { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.consent-banner p { margin: 0; flex: 1 1 260px; }
.consent-banner a { color: #93bbfd; text-decoration: underline; }
.consent-banner .btns { display: flex; gap: 8px; }
.consent-banner button {
  padding: 8px 14px; border-radius: 6px; font-weight: 600; cursor: pointer; border: 0;
  font-family: inherit; font-size: .9rem;
}
.consent-banner .accept { background: var(--accent); color: #fff; }
.consent-banner .decline { background: transparent; color: var(--bg); border: 1px solid #4b5563; }
.skip-link { position: absolute; top: -40px; left: 10px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 4px; z-index: 50; }
.skip-link:focus { top: 10px; }
