/* Gas Alert — shared site styles (Cloudflare Pages) */
:root {
  --bg: #080b16;
  --bg-2: #0b1120;
  --surface: #131a2b;
  --surface-hi: #1b2438;
  --hairline: rgba(255,255,255,.08);
  --brand: #2e7dff;
  --cyan: #22d3ee;
  --text: #f2f5fa;
  --text-2: #9aa7bd;
  --text-3: #64708a;
  --up: #f43f5e;
  --down: #34d399;
  --warn: #f59e0b;
  --radius: 18px;
  --maxw: 1080px;
  --grad: linear-gradient(135deg, #2e7dff 0%, #22d3ee 100%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "SF Pro Display", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Backdrop glow */
.bg-glow {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(46,125,255,.20), transparent 70%),
    radial-gradient(700px 400px at 90% 10%, rgba(34,211,238,.10), transparent 70%),
    linear-gradient(180deg, #0b1120, #060810);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(8,11,22,.72);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.2px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .b-alert { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff !important; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 12px; border: 0; cursor: pointer;
  box-shadow: 0 6px 20px rgba(46,125,255,.35); transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .95; text-decoration: none; }
.btn.ghost { background: var(--surface); color: var(--text) !important; box-shadow: none; border: 1px solid var(--hairline); }

/* Hero */
.hero { text-align: center; padding: 84px 0 56px; }
.hero .app-icon { width: 116px; height: 116px; margin: 0 auto 22px; border-radius: 26px; box-shadow: 0 20px 60px rgba(46,125,255,.35); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -1px; font-weight: 850; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(16px, 2.4vw, 20px); color: var(--text-2); max-width: 640px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.chip { font-size: 12px; font-weight: 700; color: var(--text-2); background: var(--surface); border: 1px solid var(--hairline); padding: 7px 13px; border-radius: 999px; }

/* Sections */
section { padding: 56px 0; }
.section-title { text-align: center; margin: 0 0 8px; font-size: clamp(26px,4vw,36px); font-weight: 800; letter-spacing: -.5px; }
.section-sub { text-align: center; color: var(--text-2); max-width: 560px; margin: 0 auto 40px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 24px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(46,125,255,.4); }
.card .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(46,125,255,.14); color: var(--cyan); margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 750; }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* Tier demo row */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 620px; margin: 0 auto; }
.tier { text-align: center; padding: 16px 8px; border-radius: 14px; border: 1px solid; }
.tier .lbl { font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.tier .val { font-size: 24px; font-weight: 850; margin: 4px 0 2px; }
.tier .u { font-size: 11px; color: var(--text-3); }
.t-slow { border-color: rgba(52,211,153,.3); background: rgba(52,211,153,.08); } .t-slow .lbl { color: var(--down); }
.t-std  { border-color: rgba(59,130,246,.3); background: rgba(59,130,246,.08); } .t-std .lbl { color: #3b82f6; }
.t-fast { border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.08); } .t-fast .lbl { color: var(--warn); }
.t-rapid{ border-color: rgba(244,63,94,.3);  background: rgba(244,63,94,.08); }  .t-rapid .lbl { color: var(--up); }

/* CTA band */
.cta-band { text-align: center; background: var(--surface); border: 1px solid var(--hairline); border-radius: 28px; padding: 48px 24px; }
.cta-band h2 { font-size: clamp(24px,4vw,34px); margin: 0 0 10px; font-weight: 820; }
.cta-band p { color: var(--text-2); margin: 0 0 22px; }

/* Ad slot */
.ad-slot { margin: 40px auto; max-width: 970px; min-height: 90px; display: grid; place-items: center;
  background: var(--surface); border: 1px dashed var(--hairline); border-radius: 14px; color: var(--text-3); font-size: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 40px 0; margin-top: 40px; color: var(--text-3); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-weight: 600; }

/* Legal documents */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 0 24px; }
.legal h1 { font-size: clamp(30px,5vw,44px); margin: 0 0 6px; letter-spacing: -.5px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin: 0 0 34px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; font-weight: 780; border-top: 1px solid var(--hairline); padding-top: 26px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; font-weight: 720; color: var(--text); }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; }
.legal ul { padding-left: 22px; } .legal li { margin: 6px 0; }
.legal a { font-weight: 600; }
.legal .toc { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 18px 22px; margin-bottom: 30px; }
.legal .toc ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 6px; }
.legal .toc a { color: var(--text-2); font-size: 14px; }
.note { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); border-radius: 12px; padding: 14px 18px; color: var(--text-2); font-size: 14px; }

@media (max-width: 640px) {
  .nav-links .hide-sm { display: none; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 0 40px; }
  section { padding: 40px 0; }
}
