/* SC Free Fly (scfreefly.com) — Mission Telemetry Visual Identity */
:root {
  --bg: #050a0e;
  --surface: #0b141b;
  --surface-2: #101e28;
  --line: rgba(148, 184, 198, 0.18);
  --line-bright: rgba(16, 185, 129, 0.42);
  --text: #eef6f9;
  --muted: #8faab8;
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --cyan: #22d3ee;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.14), transparent 55%), var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.sf-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 10, 14, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.sf-header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.sf-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}

.sf-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}

.sf-nav a { color: var(--muted); }
.sf-nav a:hover, .sf-nav a.is-active { color: var(--text); text-decoration: none; }
.sf-nav a.is-active { color: var(--emerald); }

.sf-main {
  max-width: 1020px;
  margin: 0 auto;
  padding: 30px 20px 64px;
}

.sf-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--line-bright);
  background: var(--emerald-soft);
  margin-bottom: 22px;
}

.sf-status-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.sf-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  display: inline-block;
}

.sf-countdown {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: #a7f3d0;
}

.sf-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
}

.sf-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sf-hero-lead {
  margin: 0 0 22px;
  color: #c7dae4;
  font-size: 16px;
  max-width: 740px;
}

.sf-code-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.sf-code-tag {
  font-family: var(--mono);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--emerald);
  background: var(--bg);
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  padding: 10px 18px;
  user-select: all;
}

.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease;
}

.sf-btn:hover { transform: translateY(-1px); text-decoration: none; }

.sf-btn-emerald {
  background: #059669;
  color: #ffffff;
  border-color: #10b981;
}

.sf-btn-emerald:hover { background: #047857; }

.sf-btn-cyan {
  background: #0891b2;
  color: #ffffff;
  border-color: #22d3ee;
}

.sf-btn-cyan:hover { background: #0e7490; }

.sf-copy-hint {
  width: 100%;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.sf-copy-hint.is-ok { color: #6ee7b7; font-weight: 600; }

.sf-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.sf-metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.sf-metric-lbl {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sf-metric-val {
  display: block;
  font-size: 21px;
  font-weight: 800;
  margin: 4px 0 2px;
}

.sf-metric-sub { font-size: 13px; color: var(--muted); }

.sf-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 22px;
}

.sf-card h2 { margin: 0 0 8px; font-size: 22px; }
.sf-card-sub { margin: 0 0 18px; font-size: 15px; color: var(--muted); }

.sf-table-wrap { width: 100%; overflow-x: auto; }

.sf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sf-table th, .sf-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.sf-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.sf-table tbody tr:last-child td { border-bottom: none; }

.sf-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  color: #67e8f9;
  white-space: nowrap;
}

.sf-pill.is-live {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.sf-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sf-step {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.sf-step-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
}

.sf-step h3 { margin: 4px 0 6px; font-size: 16px; }
.sf-step p { margin: 0; font-size: 14px; color: var(--muted); }

.sf-faq {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.sf-faq:first-child { border-top: none; padding-top: 0; }

.sf-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.sf-faq summary::after { content: "+"; color: var(--emerald); font-size: 18px; }
.sf-faq[open] summary::after { content: "−"; }
.sf-faq p { margin: 8px 0 2px; font-size: 14px; color: var(--muted); }

.sf-footer {
  max-width: 1020px;
  margin: 0 auto;
  padding: 20px 20px 44px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sf-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 740px) {
  .sf-metrics, .sf-grid-2 { grid-template-columns: 1fr; }
  .sf-hero, .sf-card { padding: 18px; }
  .sf-code-tag, .sf-btn { width: 100%; text-align: center; }
}
