/* Numzles — shared site styles */
:root {
  --bg:      #0f1117;
  --panel:   #171a23;
  --panel-2: #1f2330;
  --line:    #2a2f3d;
  --ink:     #e6e8ee;
  --mute:    #8a93a6;
  --accent:  #6aa6ff;
  --orange:  #ff9119;
  --green:   #2ecc71;
  --pill:    #2a3142;
}

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

html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 60px;
  background: var(--panel); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
nav .brand .brand-icon { width: 30px; height: 30px; border-radius: 7px; display: block; }
nav .links { display: flex; gap: 24px; font-size: 14px; }
nav .links a { color: var(--mute); }
nav .links a:hover { color: var(--ink); text-decoration: none; }

/* ── Hero ── */
.hero {
  text-align: center; padding: 80px 32px 64px;
  background: linear-gradient(180deg, #181b25 0%, var(--bg) 100%);
}
.hero .icon-wrap {
  width: 100px; height: 100px; border-radius: 22px;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.hero .hero-icon { width: 100px; height: 100px; border-radius: 22px; display: block; }
.hero h1 { margin: 0 0 12px; font-size: clamp(32px,5vw,52px); font-weight: 800; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { margin: 0 auto 32px; max-width: 520px; color: var(--mute); font-size: 18px; }
.hero .buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: opacity .15s;
}
.btn:hover { opacity: .85; text-decoration: none; }
.btn-primary { background: var(--accent); color: #000; }
.btn-ghost   { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }

/* ── Features ── */
.section { max-width: 1060px; margin: 0 auto; padding: 64px 32px; }
.section-title { text-align: center; margin: 0 0 40px; }
.section-title h2 { font-size: 28px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-title p  { margin: 0; color: var(--mute); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 20px;
}
.feature .icon { font-size: 28px; margin-bottom: 10px; }
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p  { margin: 0; color: var(--mute); font-size: 14px; }

.difficulties { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 20px 0 0; }
.diff-pill {
  padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line);
}
.diff-pill.easy   { background: rgba(46,204,113,.15);  color: #6be39a; }
.diff-pill.medium { background: rgba(245,166,35,.15);  color: #ffc36b; }
.diff-pill.hard   { background: rgba(232,69,69,.15);   color: #ff8a8a; }
.diff-pill.extreme{ background: rgba(182,31,31,.20);   color: #ff5555; border-color: rgba(232,69,69,.3); }

/* ── Footer ── */
footer {
  text-align: center; padding: 32px;
  border-top: 1px solid var(--line); color: var(--mute); font-size: 13px;
}
footer a { color: var(--mute); }
footer .links { display: flex; gap: 20px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }

/* ── Prose (privacy/support pages) ── */
.prose-wrap { max-width: 740px; margin: 0 auto; padding: 52px 32px 80px; }
.prose-wrap h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.01em; }
.prose-wrap .updated { color: var(--mute); font-size: 13px; margin-bottom: 40px; }
.prose-wrap h2 { font-size: 18px; font-weight: 700; margin: 36px 0 10px; color: var(--ink); }
.prose-wrap p  { margin: 0 0 16px; color: #c5cad8; }
.prose-wrap ul { margin: 0 0 16px; padding-left: 22px; color: #c5cad8; }
.prose-wrap li { margin-bottom: 6px; }
.prose-wrap a  { color: var(--accent); }
.prose-wrap .callout {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 10px; padding: 16px 18px; margin: 0 0 24px;
  color: #c5cad8; font-size: 15px;
}

/* ── Colours ── */
:root {
  --c-orange: #ff9119;
  --c-yellow: #fccb0a;
  --c-red:    #f53c3e;
  --c-green:  #23bd5c;
  --c-teal:   #0bb8b4;
  --c-blue:   #2e74f0;
  --c-purple: #8f2de6;
  --c-pink:   #f5429f;
  --c-indigo: #4714b7;
}
