/* OpsDeck site: same palette as the app */
:root {
  --bg: #0f1117;
  --panel: #151925;
  --panel-2: #1b2031;
  --border: #262c40;
  --text: #d6deeb;
  --muted: #8a94a8;
  --accent: #7fdbca;
  --accent-ink: #0b1a17;
  --warn: #e6c07b;
  --radius: 12px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd { font: 0.88em "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
code { background: var(--panel-2); padding: 2px 6px; border-radius: 5px; word-break: break-word; }
kbd { display: inline-block; padding: 1px 7px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; background: var(--panel); white-space: nowrap; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(15, 17, 23, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: 14.5px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.lang { border: 1px solid var(--border); border-radius: 8px; padding: 3px 10px; color: var(--text) !important; }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 600; border: 1px solid var(--border); color: var(--text); background: var(--panel); }
.btn:hover { text-decoration: none; border-color: #3b4461; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: #98e6d8; }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .badge { display: inline-block; font-size: 13px; color: var(--accent); border: 1px solid #2c5f57; background: #12201f; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 58px); margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 760px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.hero .platforms { font-size: 14px; color: var(--muted); }
.shot { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); cursor: zoom-in; background: var(--panel); }
.hero .shot { margin-top: 40px; }

/* sections */
section { padding: 64px 0; border-top: 1px solid var(--border); }
.section-lead { color: var(--muted); font-size: 17px; max-width: 760px; margin-bottom: 30px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.step-n { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 12px; }

/* feature blocks */
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; padding: 44px 0; }
.feature + .feature { border-top: 1px dashed var(--border); }
.feature.flip { grid-template-columns: 1.35fr 1fr; }
.feature.flip .text { order: 2; }
@media (max-width: 960px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 20px; } .feature.flip .text { order: 0; } }
.feature .text h3 { font-size: 24px; }
.feature ul { padding-left: 20px; margin: 0 0 14px; }
.feature li { margin-bottom: 6px; }
.where { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 8px 8px 0; font-size: 14.5px; }
.where b { color: var(--accent); }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); margin-left: 8px; vertical-align: middle; font-weight: 500; }
.tag.on { color: var(--accent); border-color: #2c5f57; }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }

/* faq */
details { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 10px; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 14.5px; }
footer .cols { display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--text); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(5, 6, 10, .92); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox[hidden] { display: none; }
@media (max-width: 520px) {
  .top .wrap { gap: 12px; }
  .nav { gap: 12px; font-size: 14px; }
  .nav .hide-xs { display: none; }
}
