:root {
  --bg: #06080d;
  --bg2: #0a1018;
  --panel: rgba(10, 16, 26, 0.78);
  --line: rgba(212, 160, 23, 0.28);
  --gold: #e0b13a;
  --gold2: #f4d27a;
  --ink: #f3f6fb;
  --muted: #9aa8bd;
  --danger: #ff6b6b;
  --ok: #3dd68c;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; }
body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(224, 177, 58, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(40, 90, 140, 0.2), transparent 50%),
    var(--bg);
}

img { max-width: 100%; display: block; }

.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 22px 80px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}
.brand b {
  font-family: Cinzel, serif;
  letter-spacing: 0.08em;
  font-size: 15px;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  margin-left: auto;
  flex: 0 0 auto;
}
.tabs a,
.tabs button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.tabs a:hover,
.tabs button:hover { color: var(--ink); }
.tabs a.active,
.tabs button.active {
  color: #1a1406;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  border-color: #9a7410;
}
.tag-cloud {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}
.tag-cloud h2 {
  font-family: Cinzel, serif;
  font-size: 18px;
  margin: 0 0 12px;
}
.tag-cloud ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  color: var(--gold2);
}
.tag-cloud li {
  display: inline;
}
.tag-cloud li:not(:last-child)::after {
  content: ", ";
  color: var(--muted);
}
.tag-cloud a,
.tag-cloud span {
  display: inline;
  border: 0;
  padding: 0;
  color: var(--gold2);
  font-size: 14px;
  letter-spacing: 0;
  text-decoration: none;
}

.hero {
  margin-top: 28px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  min-height: 520px;
  box-shadow: var(--shadow);
}
.hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(180deg, transparent 18%, rgba(6, 8, 13, 0.9) 78%);
}
.hero.setup-hero { min-height: 380px; }
.hero.setup-hero img { height: 380px; }
.hero.setup-hero .hero-copy {
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.94) 0%, rgba(6, 8, 13, 0.72) 48%, rgba(6, 8, 13, 0.28) 100%),
    linear-gradient(180deg, transparent 40%, rgba(6, 8, 13, 0.55) 100%);
}
.hero.setup-hero h1 { max-width: 22ch; }
.kicker {
  color: var(--gold2);
  letter-spacing: 0.28em;
  font-size: 12px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h1 {
  font-family: Cinzel, serif;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.95;
  margin: 0 0 14px;
  max-width: 22ch;
}
.lede {
  max-width: 52ch;
  color: #d5deea;
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.trial-line {
  margin: 0 0 18px;
  color: var(--gold2);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.trial-card { margin-top: 18px; }
.trial-card .btn { margin-top: 8px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #9a7410;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #1a1406;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  cursor: pointer;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  margin-top: 18px;
}
.grid.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-width: 0;
}
.card .pad { padding: 22px 24px 26px; }
.card h2 {
  font-family: Cinzel, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 0 8px;
  line-height: 1.15;
}
.card p { color: var(--muted); line-height: 1.55; margin: 0 0 12px; }
.shot {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.pills i {
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--gold2);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.viral {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.desk-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}
.desk-roles div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
}
.desk-roles h3 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold2);
}
.desk-roles p { margin: 0; font-size: 14px; }
.after-download h2 { margin-bottom: 6px; }
.after-download > p {
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.55;
}
.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ticker span {
  border: 1px solid var(--line);
  color: var(--gold2);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel { display: none; }
.panel.show { display: block; }

.steps {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}
.num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #1a1406;
  font-weight: 800;
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); }

.download-box {
  text-align: center;
  padding: 36px 24px 48px;
}
.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  text-align: left;
  padding: 36px;
  background:
    radial-gradient(500px 240px at 80% 20%, rgba(224, 177, 58, 0.18), transparent 60%);
}
.download-hero img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.download-box h2,
.download-hero h2 {
  font-family: Cinzel, serif;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 10px;
}
.note {
  color: var(--muted);
  max-width: 56ch;
  margin: 12px 0 22px;
  line-height: 1.5;
}
.download-box .note { margin-left: auto; margin-right: auto; }
.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.disclaimer {
  margin-top: 28px;
  color: #7d8aa0;
  font-size: 12px;
  line-height: 1.55;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .grid, .grid.even, .viral, .download-hero, .desk-roles { grid-template-columns: 1fr; }
  .hero img, .hero { min-height: 420px; height: auto; }
  .hero img { height: 420px; }
  .hero.setup-hero, .hero.setup-hero img { min-height: 340px; height: 340px; }
  h1 { max-width: none; }
  .topbar { position: static; }
  .tabs { width: 100%; justify-content: flex-end; }
  .tabs a, .tabs button { padding: 10px 10px; }
  .download-hero { text-align: center; }
  .download-hero .note { margin-left: auto; margin-right: auto; }
  .download-hero img { max-width: 240px; margin: 0 auto; }
}
