/* NetClamp marketing — minimal, dark-first, system fonts. */

:root {
  --bg:        #0b1120;
  --bg-soft:   #0f172a;
  --bg-card:   #111827;
  --line:      #1f2937;
  --fg:        #e5e7eb;
  --fg-muted:  #94a3b8;
  --accent:    #22d3ee;
  --accent-h:  #67e8f9;
  --primary:   #06b6d4;
  --primary-h: #0891b2;
  --radius:    10px;
  --maxw:      1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}
.brand:hover { color: var(--fg); }
.links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.links a { color: var(--fg-muted); }
.links a:hover { color: var(--fg); }
.links .cta {
  background: var(--primary);
  color: #fff;
  padding: 7px 14px;
  border-radius: 6px;
}
.links .cta:hover { background: var(--primary-h); }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  background: radial-gradient(1200px 600px at 50% -20%, rgba(34, 211, 238, 0.10), transparent 60%);
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.07;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.accent { color: var(--accent); }
.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--fg-muted);
  max-width: 720px;
  margin: 0 auto 32px;
}
.lede.small { font-size: 16px; margin-bottom: 22px; }
.cta-row {
  display: inline-flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  transition: background 120ms ease, border-color 120ms ease;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
}
.btn.primary:hover { background: var(--primary-h); color: #fff; }
.btn.ghost {
  border-color: var(--line);
  color: var(--fg);
}
.btn.ghost:hover { background: var(--bg-card); color: var(--fg); }
.btn.big {
  padding: 16px 30px;
  font-size: 17px;
}
[data-pending] {
  background: var(--bg-card);
  color: var(--fg-muted);
  cursor: not-allowed;
  border: 1px dashed var(--line);
}
[data-pending]:hover {
  background: var(--bg-card);
  color: var(--fg-muted);
}
.hint {
  color: var(--fg-muted);
  font-size: 14px;
  margin-top: 8px;
}

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

/* Features */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--fg);
}
.card p {
  margin: 0;
  color: var(--fg-muted);
}

/* How it works */
.how ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.how ol li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 64px;
  position: relative;
  color: var(--fg-muted);
}
.how ol li strong { color: var(--fg); }
.how ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #0f172a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent);
}

/* Pricing */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.tier {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.tier.highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2);
}
.tier h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.tier .price {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 14px;
}
.tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--fg-muted);
}
.tier ul li {
  padding: 6px 0 6px 20px;
  position: relative;
}
.tier ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Download */
.download { text-align: center; }
.download .btn { margin: 8px 0; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--fg-muted);
  font-size: 14px;
}
footer .wrap { text-align: center; }
footer a { color: var(--fg-muted); }
footer a:hover { color: var(--fg); }
footer .copy { margin-top: 6px; font-size: 13px; opacity: 0.7; }

/* ---------------------------------------------------------------------------
 * Pre-release banner + tags
 * --------------------------------------------------------------------------- */
.banner {
  background: #422006;
  border-bottom: 1px solid #92400e;
  color: #fde68a;
  font-size: 14px;
  padding: 10px 0;
}
.banner .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.banner-icon {
  font-size: 18px;
  color: #fbbf24;
  flex-shrink: 0;
}
.banner-text { flex: 1; }
.banner-text strong { color: #fef3c7; }
.banner-text a {
  color: #fde68a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.banner-text a:hover { color: #fef3c7; }
.banner-close {
  background: transparent;
  border: 1px solid #92400e;
  color: #fde68a;
  font-size: 18px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.banner-close:hover {
  background: rgba(251, 191, 36, 0.15);
  color: #fef3c7;
}

.brand-pill {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.lede.sub {
  margin-top: 8px;
  margin-bottom: 28px;
  font-size: 16px;
  color: var(--fg-muted);
}
.lede.sub strong { color: #fbbf24; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(251, 191, 36, 0.10);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
  animation: pulse 1.6s ease-in-out infinite;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(251, 191, 36, 0.10);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.status-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* ---------------------------------------------------------------------------
 * Email signup form
 * --------------------------------------------------------------------------- */
.signup {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px auto 8px;
  max-width: 520px;
}
.signup input[type="email"] {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fg);
  font-size: 16px;
  font-family: inherit;
}
.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.25);
}
.signup-feedback {
  font-size: 14px;
  min-height: 20px;
  margin: 4px 0 8px;
  color: var(--fg-muted);
}
.signup-feedback.ok       { color: #34d399; }
.signup-feedback.err      { color: #f87171; }
.signup-feedback.pending  { color: var(--fg-muted); font-style: italic; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------------------------------------------------------------------------
 * Status page
 * --------------------------------------------------------------------------- */
.hero.compact {
  padding: 60px 0 28px;
}
.hero.compact h1 {
  font-size: clamp(28px, 4vw, 40px);
}
.status-section {
  padding: 36px 0;
}
.status-section h2 {
  margin-bottom: 18px;
}
.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.status-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px 14px 48px;
  position: relative;
  color: var(--fg-muted);
}
.status-list li strong { color: var(--fg); }
.status-list li::before {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 16px;
  font-weight: 700;
}
.status-list.done li::before     { content: "✓"; color: #34d399; }
.status-list.pending li::before  { content: "○"; color: #fbbf24; }
.status-list code {
  font-size: 13px;
}
