/**
 * The 100 Club manuals — matches live site + Studio chrome (2026)
 * Marketing: cyan + gold · Studio silver-glass · charcoal stage
 * Updated 2026-08-11
 */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@600;700;800&display=swap");

:root {
  --lg-void: #05080f;
  --lg-stage-1: #0a0e14;
  --lg-stage-2: #0c121c;
  --lg-stage-3: #05080f;
  --sky: #38bdf8;
  --sky-bright: #7dd3fc;
  --sky-deep: #0ea5e9;
  --cyan: #22d3ee;
  --cyan-bright: #67e8f9;
  --lg-accent: #22d3ee;
  --lg-accent-2: #67e8f9;
  --lg-accent-deep: #06b6d4;
  --chrome: #e2e8f0;
  --silver: #94a3b8;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --paper: #05080f;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(148, 163, 184, 0.18);
  --glow: rgba(34, 211, 238, 0.22);
  --gold: #e8c547;
  --gold-bright: #f5d76e;
  --coral: #fb7185;
  --ok: #34d399;
  --radius: 16px;
  --h4-blur: 12px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
  --max: 48rem;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  margin: 0;
  font-family: var(--font);
  min-height: 100dvh;
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  background-color: var(--lg-void);
  background-image:
    radial-gradient(ellipse 80% 55% at 20% 0%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 10%, rgba(56, 189, 248, 0.1), transparent 52%),
    radial-gradient(ellipse 50% 40% at 70% 100%, rgba(232, 197, 71, 0.06), transparent 50%),
    linear-gradient(165deg, var(--lg-stage-1) 0%, var(--lg-stage-2) 45%, var(--lg-stage-3) 100%);
  background-attachment: fixed;
}

.manual-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  margin: 0.55rem 0.65rem 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(12, 18, 28, 0.88);
  border: 1px solid rgba(34, 211, 238, 0.28);
  backdrop-filter: blur(var(--h4-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--h4-blur)) saturate(150%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(34, 211, 238, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.manual-toolbar strong {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-family: var(--display);
}
.manual-toolbar .actions,
.manual-toolbar.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.btn,
a.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #041016 !important;
  background: linear-gradient(135deg, #a5f3fc 0%, #22d3ee 48%, #06b6d4 100%);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(34, 211, 238, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  min-height: 40px;
  height: auto;
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
  box-sizing: border-box;
}
.btn--ghost {
  background: rgba(10, 18, 32, 0.92) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(186, 230, 253, 0.4) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 14px rgba(0, 0, 0, 0.22);
}
.btn--gold {
  background: linear-gradient(165deg, #f5d76e 0%, #e8c547 50%, #c9a227 100%) !important;
  color: #0b1220 !important;
  border-color: rgba(245, 215, 110, 0.7) !important;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(232, 197, 71, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn:hover { filter: brightness(1.05); }

.card,
.panel,
article.manual-card {
  position: relative;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(20, 32, 52, 0.75), rgba(8, 12, 22, 0.9));
  backdrop-filter: blur(var(--h4-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--h4-blur)) saturate(140%);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 1.1rem 1.2rem;
}
a { color: var(--cyan-bright); }
a:hover { color: #fff; }

.tag,
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan-bright);
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.15rem 3.5rem;
}

.cover {
  text-align: center;
  padding: 2.25rem 1.15rem 1.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(165deg, rgba(18, 28, 44, 0.9), rgba(8, 12, 20, 0.95));
  backdrop-filter: blur(var(--h4-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--h4-blur)) saturate(150%);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(34, 211, 238, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: visible;
}
.cover::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cover > * { position: relative; z-index: 1; }
.cover-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 0 4px rgba(103, 232, 249, 0.55))
    drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}
.cover-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin: 0 0 0.65rem;
}
.cover h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: #fff;
}
.lead {
  margin: 0 auto;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.02rem;
}
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1.1rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.1);
  color: var(--chrome);
}
.pill--hot {
  border-color: rgba(232, 197, 71, 0.5);
  background: linear-gradient(165deg, rgba(245, 215, 110, 0.18), rgba(201, 162, 39, 0.1));
  color: var(--gold-bright);
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.65rem;
  color: #fff;
  border-bottom: 1px solid rgba(34, 211, 238, 0.18);
  padding-bottom: 0.35rem;
}
h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.25rem 0 0.45rem;
  color: var(--cyan-bright);
}
p, li { color: var(--text); }
.muted { color: var(--muted); }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }
code {
  font-size: 0.88em;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--cyan-bright);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.85rem 0 1.25rem;
  font-size: 0.92rem;
}
th, td {
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
th {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-bright);
  font-weight: 700;
}
tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

.callout {
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  margin: 1rem 0;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(14, 22, 38, 0.75);
}
.callout--ok {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(6, 40, 28, 0.45);
}
.callout--warn {
  border-color: rgba(232, 197, 71, 0.4);
  background: rgba(40, 32, 8, 0.45);
}
.callout strong { color: #fff; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.75rem 0.75rem 0.75rem 3rem;
  margin: 0.5rem 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.65rem;
  top: 0.7rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #041016;
  background: linear-gradient(135deg, #67e8f9, #22d3ee);
}

footer.manual-foot,
.manual-foot {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media print {
  body {
    background: #fff !important;
    color: #111 !important;
  }
  .manual-toolbar { display: none !important; }
  .cover, .card, .callout {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    border-color: #ccc !important;
  }
  a { color: #0a58ca !important; }
  h2, h3, .cover h1 { color: #0b1220 !important; }
}
