:root {
  --accent: #00F0FF;
  --bg: #0a0a12;
  --text: #E4E1F0;
  --muted: rgba(255,255,255,0.6);
  --label: rgba(255,255,255,0.45);
  --maxw: 760px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(0,240,255,0.05) 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, "SF Pro Display", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* HEADER */
header.site {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 40px; max-width: 1200px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img {
  width: 32px; height: 32px; border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 10px rgba(0,0,0,0.5);
}
.brand span { font-size: 15px; font-weight: 600; letter-spacing: -0.2px; }

.lang-pill {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px; padding: 3px;
  backdrop-filter: blur(12px);
}
.lang-pill a {
  color: rgba(255,255,255,0.55);
  font-weight: 600; font-size: 12px; letter-spacing: 0.5px;
  padding: 7px 12px; border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.lang-pill a.active { background: rgba(255,255,255,0.12); color: #fff; }
.lang-pill a:hover { color: #fff; text-decoration: none; }

/* ARTICLE */
article.use-case {
  max-width: var(--maxw); margin: 0 auto; padding: 24px 24px 96px;
}
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--accent); text-transform: uppercase;
  padding: 6px 14px; border: 1px solid rgba(0,240,255,0.25);
  background: rgba(0,240,255,0.06); border-radius: 999px;
  margin-bottom: 28px;
}
article.use-case h1 {
  font-size: 48px; line-height: 1.08; font-weight: 700; letter-spacing: -1.5px;
  color: #fff; margin: 0 0 18px; text-wrap: balance;
}
.lede {
  font-size: 20px; line-height: 1.55; color: var(--muted);
  margin: 0 0 40px; text-wrap: pretty;
}
article.use-case h2 {
  font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.7px;
  color: #fff; margin: 56px 0 16px; text-wrap: balance;
}
article.use-case h3 {
  font-size: 20px; font-weight: 600; color: #fff;
  margin: 32px 0 10px; letter-spacing: -0.2px;
}
article.use-case p {
  font-size: 17px; line-height: 1.7; color: var(--muted);
  margin: 0 0 18px;
}
article.use-case ul, article.use-case ol {
  font-size: 17px; line-height: 1.7; color: var(--muted);
  padding-left: 24px; margin: 0 0 18px;
}
article.use-case li { margin-bottom: 8px; }
article.use-case strong { color: #fff; font-weight: 600; }
article.use-case code {
  font-family: "SF Mono", Menlo, monospace; font-size: 0.9em;
  background: rgba(255,255,255,0.06); padding: 2px 7px; border-radius: 5px;
  color: var(--accent);
}

.callout {
  background: rgba(0,240,255,0.04);
  border: 1px solid rgba(0,240,255,0.18);
  border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 20px 24px;
  margin: 28px 0;
}
.callout h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--accent); text-transform: uppercase;
  margin: 0 0 8px;
}
.callout p:last-child { margin-bottom: 0; }
.callout p { font-size: 16px; }

.steps-list {
  counter-reset: step; padding: 0; list-style: none;
}
.steps-list li {
  counter-increment: step; position: relative;
  padding: 0 0 0 56px; margin-bottom: 24px;
  font-size: 17px; line-height: 1.7; color: var(--muted);
}
.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent);
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.25);
  width: 38px; height: 28px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.steps-list li strong { color: #fff; display: block; margin-bottom: 4px; }

.faq { margin-top: 40px; }
.faq details {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0;
}
.faq details:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq summary {
  cursor: pointer; font-size: 17px; font-weight: 600; color: #fff;
  list-style: none; position: relative; padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 22px; color: var(--accent); font-weight: 300;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  font-size: 16px; line-height: 1.65; color: var(--muted);
  margin-top: 12px;
}

.cta-row {
  display: flex; justify-content: center; margin: 56px 0 24px;
}
.appstore-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; color: #000;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 20px 60px -20px rgba(0,240,255,0.33);
  transition: transform 0.2s ease;
  text-decoration: none;
}
.appstore-badge:hover { transform: translateY(-1px); text-decoration: none; }
.appstore-badge .label { text-align: left; line-height: 1.05; }
.appstore-badge .label .small {
  font-size: 11px; font-weight: 500; opacity: 0.65;
  letter-spacing: 0.4px; text-transform: uppercase;
}
.appstore-badge .label .big { font-size: 19px; font-weight: 600; margin-top: 2px; }

.related {
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.related h3 {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--label); text-transform: uppercase;
  margin: 0 0 16px;
}
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 10px; }
.related a {
  font-size: 16px; color: #fff; font-weight: 500;
}
.related a:hover { color: var(--accent); }

.diagram {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 24px;
  margin: 28px 0;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 14px; color: var(--muted);
  overflow-x: auto; white-space: pre;
}

footer.site {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 40px; max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; font-size: 13px; color: var(--label);
}
footer.site a { color: rgba(255,255,255,0.55); }
footer.site a:hover { color: #fff; }
footer.site .nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 640px) {
  header.site { padding: 18px 20px; }
  article.use-case { padding-left: 20px; padding-right: 20px; }
  article.use-case h1 { font-size: 34px; letter-spacing: -1px; }
  article.use-case h2 { font-size: 24px; }
  .lede { font-size: 17px; }
  article.use-case p, article.use-case ul, article.use-case ol { font-size: 16px; }
  .steps-list li { padding-left: 48px; }
  .diagram { font-size: 12px; padding: 16px; }
}
