@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/rajdhani-400.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/rajdhani-500.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/rajdhani-600.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/rajdhani-700.woff2") format("woff2"); }

/*
 * CyberForge one-page site
 *
 * Palette (see cp2077-style-research.md):
 *   --cf-yellow  #F3E600  — CDPR-confirmed Pantone 3945C, used sparingly ("punctuation, not pervasive")
 *   --cf-cyan    #03D8F3  — community-consensus accent
 *   --cf-black   #000000  — near-black background
 *   --cf-ink     #0D0D0D  — slightly lifted surface
 *
 * Typography: Rajdhani (SIL OFL 1.1) self-hosted, mirroring CP2077's
 * documented in-game UI typeface.
 *
 * NB: no glitch effects. Research recommends "one glitch per view, two and
 * you're a MySpace page." We opt for restraint — the HUD-bracket motif
 * and yellow-on-black palette carry the aesthetic.
 */

:root {
  --cf-yellow: #F3E600;
  --cf-yellow-soft: #FFE94A;
  --cf-cyan: #03D8F3;
  --cf-black: #000000;
  --cf-ink: #0D0D0D;
  --cf-surface: #14140F;
  --cf-line: #1F1F1F;
  --cf-text: #EDEDED;
  --cf-text-dim: #A6A6A6;
  --cf-text-muted: #A6A6A6;
  --cf-max: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cf-black);
  color: var(--cf-text);
  font-family: "Rajdhani", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* --- accessibility --- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--cf-yellow);
  color: var(--cf-black);
  padding: 8px 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

a:focus-visible {
  outline: 2px solid var(--cf-yellow);
  outline-offset: 3px;
}

/* --- header --- */

.site-header {
  border-bottom: 1px solid var(--cf-line);
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}
.brand { display: block; flex: 0 1 276px; min-width: 0; }
.brand-logo {
  height: auto;
  width: min(276px, 100%);
  display: block;
}
.site-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-header nav a {
  color: var(--cf-text-dim);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  transition: color 0.15s ease;
}
.site-header nav a:hover {
  color: var(--cf-yellow);
}

/* --- hero --- */

.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--cf-line);
}
.hero::before {
  /* subtle centred radial glow — restrained (~10% coverage principle) */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(243, 230, 0, 0.06), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-brackets {
  position: absolute;
  inset: 24px;
  pointer-events: none;
}
.hero-brackets .bracket {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 2px solid var(--cf-cyan);
  opacity: 0.5;
}
.hero-brackets .bracket-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-brackets .bracket-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-brackets .bracket-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-brackets .bracket-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-icon {
  display: block;
  margin: 0 auto 32px;
  border-radius: 44px; /* approximates Apple's continuous corner curve for preview */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--cf-line);
}
.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 12px;
  text-transform: uppercase;
  color: #ffffff;
}
.hero-tagline {
  font-size: clamp(16px, 2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--cf-cyan);
  margin: 0 0 32px;
  font-weight: 500;
}
.hero-description {
  font-size: 20px;
  color: var(--cf-text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn {
  --btn-fg: var(--cf-black);
  --btn-bg: var(--cf-yellow);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  transition: transform 0.12s ease, filter 0.12s ease;
  border: 2px solid var(--btn-bg);
  min-width: 220px;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn:active { transform: translateY(0); }
.btn-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.7;
  margin-top: 4px;
  text-transform: uppercase;
}
.btn-ghost {
  --btn-fg: var(--cf-text);
  --btn-bg: transparent;
  border-color: var(--cf-line);
}
.btn-ghost:hover {
  border-color: var(--cf-cyan);
  color: var(--cf-cyan);
}
.hero-status {
  color: var(--cf-text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-status .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cf-yellow);
  box-shadow: 0 0 12px rgba(243, 230, 0, 0.6);
}

/* --- sections --- */

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--cf-line);
}
.section-alt {
  background: var(--cf-ink);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 48px;
  position: relative;
  padding-left: 20px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--cf-yellow);
}

/* --- feature grid --- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.feature {
  background: var(--cf-surface);
  border: 1px solid var(--cf-line);
  padding: 28px 24px;
  border-radius: 4px;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature:hover {
  border-color: var(--cf-cyan);
  transform: translateY(-2px);
}
.feature h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--cf-yellow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.feature p {
  margin: 0;
  color: var(--cf-text-dim);
  line-height: 1.55;
}
.feature code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--cf-black);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--cf-cyan);
}

/* --- install steps --- */

.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.step {
  border: 1px solid var(--cf-line);
  padding: 28px 24px;
  border-radius: 4px;
  background: var(--cf-black);
}
.step-num {
  display: inline-block;
  font-size: 13px;
  color: var(--cf-yellow);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.step p {
  margin: 0;
  color: var(--cf-text-dim);
}
.step a {
  color: var(--cf-cyan);
}
.requirements {
  color: var(--cf-text-dim);
  font-size: 15px;
  border-left: 3px solid var(--cf-cyan);
  padding: 12px 16px;
  background: var(--cf-black);
  margin: 0;
}
.requirements strong {
  color: var(--cf-text);
}

/* --- footer --- */

.site-footer {
  padding: 64px 0 48px;
  background: var(--cf-black);
}
.disclaimer-card {
  border: 1px solid var(--cf-yellow);
  padding: 28px 28px 20px;
  border-radius: 4px;
  background: rgba(243, 230, 0, 0.03);
  margin-bottom: 40px;
  position: relative;
}
.disclaimer-card::before {
  content: "!";
  position: absolute;
  top: -14px;
  left: 24px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cf-yellow);
  color: var(--cf-black);
  font-weight: 700;
  font-size: 18px;
  border-radius: 4px;
}
.disclaimer-title {
  margin: 0 0 12px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cf-yellow);
}
.disclaimer-card p {
  margin: 0 0 12px;
  color: var(--cf-text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.disclaimer-card p:last-child {
  margin-bottom: 0;
}
.disclaimer-card strong {
  color: var(--cf-text);
}
.disclaimer-card a {
  color: var(--cf-cyan);
}

.footer-meta {
  color: var(--cf-text-muted);
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.06em;
}
.footer-meta a {
  color: var(--cf-text-dim);
  text-decoration: none;
  transition: color 0.12s ease;
}
.footer-meta a:hover {
  color: var(--cf-yellow);
}
.footer-meta .copyright {
  margin-top: 12px;
  color: var(--cf-text-muted);
}

/* --- responsive --- */

@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .hero-icon { width: 160px; height: 160px; border-radius: 32px; }
  .brand { flex-basis: auto; }
  .brand-logo { width: 184px; max-width: 100%; }
  .header-inner { min-height: 96px; padding-top: 12px; padding-bottom: 12px; gap: 8px; flex-direction: column; justify-content: center; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 12px; }
  .hero-brackets { inset: 12px; }
  .hero-brackets .bracket { width: 24px; height: 24px; }
  .btn { width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .feature, .site-header nav a { transition: none; }
  .btn:hover { transform: none; }
  .feature:hover { transform: none; }
}

/* Development status and readable navigation at narrow widths. */
section[id] { scroll-margin-top: 116px; }
#main:focus { outline: none; }
.eyebrow { color: var(--cf-yellow); text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: .12em; margin: 0 0 20px; }
.section-intro { max-width: 760px; color: var(--cf-text-dim); margin: -24px 0 32px; font-size: 19px; }
.status-date { color: var(--cf-text-dim); font-size: 15px; margin: 24px 0 0; }
.privacy-copy p { max-width: 800px; color: var(--cf-text-dim); }
.privacy-copy a { color: var(--cf-cyan); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-status { max-width: 600px; line-height: 1.6; letter-spacing: .06em; }
.hero-status .dot { flex: 0 0 8px; }
@media (max-width: 640px) {
  section[id] { scroll-margin-top: 144px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: clamp(36px, 10vw, 64px); overflow-wrap: anywhere; }
  .hero-tagline { letter-spacing: .12em; }
  .hero-description { font-size: 19px; }
  .site-header nav { gap: 24px; }
  .hero-brackets { inset: 0 12px; }
  .btn { min-width: 0; padding: 16px 20px; }
  .disclaimer-card { padding: 24px 20px; }
  .section-title { margin-bottom: 40px; }
}
