:root {
  --gold:    #FFC93C;
  --sunset:  #FF7A45;
  --wine:    #C72C48;
  --bg-0:    #1d0a0e;
  --bg-1:    #150a18;
  --bg-2:    #220a14;
  --gradient: linear-gradient(135deg, #FFC93C 0%, #FF7A45 50%, #C72C48 100%);
  --text:        rgba(255,255,255,0.96);
  --text-muted:  rgba(255,255,255,0.62);
  --text-dim:    rgba(255,255,255,0.36);
  --surface:    rgba(255,255,255,0.04);
  --surface-2:  rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.10);
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body {
  background:
    radial-gradient(1400px 900px at 18% 12%, rgba(255,201,60,0.16), transparent 65%),
    radial-gradient(1200px 800px at 82% 88%, rgba(199,44,72,0.20), transparent 65%),
    radial-gradient(900px 600px at 60% 50%, rgba(255,122,69,0.14), transparent 70%),
    linear-gradient(135deg, #1d0a0e 0%, #150a18 60%, #220a14 100%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

/* ============ Nav ============ */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 32px; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gradient);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 18px rgba(255,122,69,0.35);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 8px;
  border: 2px solid white; border-radius: 50%;
  border-top-color: transparent; transform: rotate(-45deg);
}
.nav nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.nav nav a:hover { color: var(--text); }

/* ============ Hero ============ */
.hero {
  max-width: 880px; margin: 0 auto; padding: 60px 32px 32px; text-align: center;
}
.hero h1 {
  font-size: clamp(46px, 7vw, 88px); letter-spacing: -2.5px; margin: 0 0 20px;
  font-weight: 800; line-height: 1;
}
.grad {
  background: var(--gradient);
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
.hero .lead {
  font-size: clamp(18px, 2.2vw, 22px); color: var(--text-muted); max-width: 660px;
  margin: 0 auto 28px; font-weight: 500; line-height: 1.45;
}
.hero .lead em { font-style: normal; color: var(--gold); font-weight: 700; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: -0.2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn.primary {
  background: var(--gradient); color: white;
  box-shadow: 0 12px 36px rgba(199,44,72,0.40);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(199,44,72,0.55); }
.btn.ghost {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.btn.ghost:hover { background: var(--surface-2); }
.btn.big { padding: 18px 36px; font-size: 18px; }
.release-meta { font-size: 13px; color: var(--text-dim); font-weight: 500; }

/* ============ Widgets preview ============ */
.widgets-preview {
  display: flex; gap: 20px; justify-content: center;
  margin: 60px auto; padding: 0 32px;
  max-width: 1200px; flex-wrap: wrap;
}
.widget {
  background: rgba(20, 14, 18, 0.78);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 24px 60px rgba(0,0,0,0.55),
    0 4px 12px rgba(0,0,0,0.35);
  padding: 18px;
  color: white;
  display: flex; flex-direction: column; overflow: hidden;
}
.widget.small { width: 220px; height: 220px; }
.widget.medium { width: 460px; height: 220px; }
.widget.large { width: 460px; height: 480px; }

.w-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; color: rgba(255,255,255,0.55); text-transform: uppercase; }
.w-emoji { font-size: 38px; margin: 8px 0 6px; }
.w-title { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }
.w-spacer { flex: 1; }
.w-count { display: flex; align-items: baseline; gap: 6px; }
.w-count .num { font-size: 38px; font-weight: 900; color: var(--gold); letter-spacing: -1.2px; }
.w-count .unit { font-size: 12px; font-weight: 800; color: rgba(255,255,255,0.55); }

.w-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.w-pill {
  font-size: 11px; font-weight: 800; padding: 2px 8px;
  background: rgba(255,255,255,0.10); border-radius: 999px;
  color: rgba(255,255,255,0.80);
}
.w-large-title { font-size: 16px; font-weight: 900; }
.w-large-date { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.55); }
.w-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 8px; }

.w-rows { display: flex; flex-direction: column; gap: 8px; }
.w-row {
  display: grid; grid-template-columns: 3px 22px 1fr auto;
  gap: 10px; align-items: center;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 8px 12px 8px 0;
}
.w-row .stripe { width: 3px; height: 30px; border-radius: 8px 0 0 8px; }
.w-row .emoji { font-size: 16px; }
.w-row .row-text .row-title { font-size: 13px; font-weight: 700; }
.w-row .row-text .row-date { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.55); margin-top: 2px; }
.w-row .row-count { font-size: 18px; font-weight: 900; font-family: var(--mono); display: flex; flex-direction: column; align-items: flex-end; }
.w-row .row-count small { font-size: 9px; font-weight: 800; color: rgba(255,255,255,0.55); }

/* ============ Features ============ */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; max-width: 1100px; margin: 60px auto;
  padding: 0 32px;
}
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}
.feature h3 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  background: var(--gradient);
  background-clip: text; -webkit-background-clip: text; color: transparent;
  margin: 0 0 8px;
}
.feature p {
  font-size: 15px; line-height: 1.5; color: var(--text-muted); font-weight: 500;
  margin: 0;
}

/* ============ Hero release warning ============ */
.release-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 640px;
  margin: 18px auto 12px;
  padding: 14px 18px;
  background: rgba(255, 122, 69, 0.10);
  border: 1px solid rgba(255, 122, 69, 0.40);
  border-radius: 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(199, 44, 72, 0.15);
}
.release-warning-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(255, 122, 69, 0.55));
}
.release-warning strong {
  color: var(--gold);
  font-weight: 800;
}
.release-warning a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
}
.release-warning a:hover { text-decoration: none; }

/* ============ Install section ============ */
.install {
  max-width: 880px;
  margin: 60px auto;
  padding: 0 32px;
  text-align: center;
  scroll-margin-top: 24px;
}
.install-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gradient);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(199, 44, 72, 0.40);
}
.install h2 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -1.6px;
  margin: 0 0 16px;
  font-weight: 800;
  line-height: 1.05;
}
.install-lead {
  margin: 0 auto 20px;
  max-width: 600px;
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}
.install-lead code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--gold);
}

.install-prereq {
  margin: 0 auto 22px;
  padding: 10px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.install-prereq strong { color: var(--text); font-weight: 700; }
.install-prereq a { color: var(--gold); font-weight: 700; text-decoration: none; }
.install-prereq a:hover { text-decoration: underline; }
.install-prereq code {
  background: rgba(0,0,0,0.35);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
}

.install-block {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: #0a040a;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 24px 60px rgba(0,0,0,0.55);
  text-align: left;
  overflow: hidden;
}
.install-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  background:
    linear-gradient(180deg, #1d0a0e 0%, #150a18 100%);
  border-bottom: 1px solid var(--border);
}
.install-block::after {
  content: "● ● ●";
  position: absolute;
  top: 7px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 4px;
}
.install-block pre {
  margin: 24px 0 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-all;
}
.install-block .prompt {
  color: var(--gold);
  font-weight: 800;
  margin-right: 8px;
  user-select: none;
}
.install-copy-btn {
  position: absolute;
  top: 32px;
  right: 14px;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.14s;
  z-index: 2;
}
.install-copy-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}
.install-copy-btn.is-ok {
  background: rgba(52, 199, 89, 0.20);
  border-color: rgba(52, 199, 89, 0.50);
  color: #5fe085;
}

.install-steps {
  max-width: 640px;
  margin: 22px auto 22px;
  padding-left: 26px;
  text-align: left;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.install-steps li {
  margin-bottom: 6px;
}
.install-steps strong { color: var(--text); font-weight: 700; }
.install-steps code {
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
}

.install-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ============ Footer ============ */
footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 32px; max-width: 1200px; margin: 0 auto;
  font-size: 13px; color: var(--text-dim); font-weight: 600;
  flex-wrap: wrap; gap: 12px;
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--text); }
