/*
 * The plain pages around Elpoir Web: Download, How to link a device, Help
 * Center and Features. Written as HTML rather than drawn by Flutter so a
 * search engine can read them — they are what Google offers as the links
 * under "Elpoir Web", the way it does under "WhatsApp Web".
 */
:root {
  --ink: #1f2937;
  --muted: #6b7280;
  --ground: #f3f5fa;
  --card: #ffffff;
  --line: #e5e7eb;
  --gold: #c9a24b;
  --blue: #2563eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f4f6;
    --muted: #9ca3af;
    --ground: #0b0b0f;
    --card: #15151b;
    --line: #2a2a33;
    --blue: #60a5fa;
  }
}
/* The app's own tagline face, so the lockup reads the same here as in the
   QR page (WebBrandLockup) and in Elpoir Pro. */
@font-face {
  font-family: "Jost"; font-weight: 400; font-display: swap;
  src: url("/brand/Jost-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Jost"; font-weight: 500; font-display: swap;
  src: url("/brand/Jost-Medium.ttf") format("truetype");
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--ink); }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
a { color: var(--blue); }
.top {
  background: #000; color: #fff; padding: 18px 16px 110px;
}
.top-inner {
  max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap;
  align-items: center; gap: 12px 24px; justify-content: space-between;
}
/* The lockup: lotus, gold ELPOIR wordmark with WEB beside it, and the
   tagline under — the same pieces, sizes and gold as WebBrandLockup. */
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand .lotus {
  width: 60px; height: 60px; border-radius: 12px; display: block;
  border: 1px solid rgba(231, 185, 74, .45);
}
.brand .words { display: flex; flex-direction: column; gap: 4px; }
.brand .name { display: flex; align-items: center; gap: 10px; }
.brand .wordmark { width: 160px; height: auto; display: block; }
.brand .web {
  font-family: "Jost", system-ui, sans-serif; font-weight: 500; color: #fff;
  font-size: 15px; letter-spacing: 3px;
}
.brand .tagline {
  font-family: "Jost", system-ui, sans-serif; color: #e7b94a;
  font-size: 14px; letter-spacing: .5px;
}
@media (max-width: 600px) {
  .brand { gap: 12px; }
  .brand .lotus { width: 48px; height: 48px; }
  .brand .wordmark { width: 128px; }
  .brand .web { font-size: 13px; }
  .brand .tagline { font-size: 12.5px; }
}
.top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.top nav a { color: #e5e7eb; text-decoration: none; font-size: 14px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--gold); }
main {
  max-width: 1000px; margin: -80px auto 32px; background: var(--card);
  border-radius: 10px; padding: clamp(20px, 5vw, 48px);
  box-shadow: 0 0 14px rgba(0,0,0,.12);
}
@media (max-width: 1032px) { main { margin-left: 16px; margin-right: 16px; } }
h1 { font-weight: 400; font-size: clamp(26px, 4vw, 34px); margin: 0 0 8px; line-height: 1.25; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 28px; }
h2 { font-size: 19px; margin: 32px 0 8px; }
ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 10px; font-size: 16px; }
.cta {
  display: inline-block; background: #000; color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; margin: 6px 10px 6px 0;
}
@media (prefers-color-scheme: dark) { .cta { background: var(--gold); color: #000; } }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.tile h3 { margin: 0 0 4px; font-size: 16px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }
footer {
  max-width: 1000px; margin: 0 auto 40px; padding: 0 16px; color: var(--muted);
  font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 20px;
}
footer a { color: var(--muted); }
