/* NEWRUBEE Official Portal — base stylesheet
   Premium, minimal, fast. No frameworks, no web fonts, no JS dependency. */

:root {
  --bg: #0b0d12;
  --bg-raised: #12151c;
  --bg-card: #161a22;
  --border: #262b36;
  --text: #eef0f4;
  --text-dim: #a8afbd;
  --text-faint: #6b7282;
  --accent: #e0325f;
  --accent-hover: #ef4d77;
  --accent-text: #ffffff;
  --gold: #d4af37;
  --focus: #7cc4ff;
  --radius: 10px;
  --max-width: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-raised: #f6f7f9;
    --bg-card: #ffffff;
    --border: #e3e5ea;
    --text: #14171f;
    --text-dim: #4b5262;
    --text-faint: #767e8f;
    --accent: #c81e4c;
    --accent-hover: #a8173e;
    --accent-text: #ffffff;
    --gold: #8a6d10;
    --focus: #0b6bcb;
  }
}

* { box-sizing: border-box; }

html { color-scheme: dark light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.6em; }
h3 { font-size: 1.15rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; color: var(--text-dim); }
.lede { font-size: 1.15rem; color: var(--text); }

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

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 13, 18, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  z-index: 50;
}
@media (prefers-color-scheme: light) {
  .site-header { background: rgba(255, 255, 255, 0.92); }
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* NEWRUBEE wordmark: "Newru" + "bee", one word, "bee" in gold */
.wordmark { color: inherit; }
.wordmark .brand-gold { color: var(--gold); }
.brand-mark:hover { color: var(--text); text-decoration: none; }
.brand-mark .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); background: var(--bg-raised); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-raised); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.badge .dot2 { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg-raised); color: var(--text); border-color: var(--border); }

/* Sections */
.section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: none; }
.section-narrow { max-width: 760px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.status-official { color: #1fae6a; background: rgba(31, 174, 106, 0.14); border: 1px solid rgba(31, 174, 106, 0.35); }
.status-soon { color: #e6a13a; background: rgba(230, 161, 58, 0.14); border: 1px solid rgba(230, 161, 58, 0.35); }
.status-placeholder { color: var(--text-faint); background: var(--bg-raised); border: 1px solid var(--border); }

table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table-wrap { overflow-x: auto; }

.notice {
  border: 1px solid var(--border);
  background: var(--bg-raised);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 20px 0;
}
.notice p:last-child { margin-bottom: 0; }

ul.plain, ol.plain { padding-left: 1.2em; color: var(--text-dim); }
ul.plain li, ol.plain li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  padding: 40px 0 60px;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.footer-links a { color: var(--text-dim); font-weight: 600; }
.footer-note { max-width: 720px; }
.footer-note p { color: var(--text-faint); font-size: 0.86rem; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 36px; }
  .section { padding: 40px 0; }
  .nav-links a { padding: 8px 10px; font-size: 0.9rem; }
}
