@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0f0f0f;
  --pure-black: #000000;
  --white: #ffffff;
  --cyan: #00ffff;
  --cobalt: #0007cd;
  --signal-blue: #0089ff;
  --ocean-blue: #0096ff;
  --charcoal: #2c2c2c;
  --ghost: rgba(255,255,255,0.6);
  --whisper: rgba(255,255,255,0.5);
  --phantom: rgba(255,255,255,0.2);
  --mist-12: rgba(255,255,255,0.12);
  --mist-10: rgba(255,255,255,0.10);
  --mist-08: rgba(255,255,255,0.08);
  --mist-06: rgba(255,255,255,0.06);
  --mist-04: rgba(255,255,255,0.04);
  --font-sans: 'abcDiatype', 'ui-sans-serif', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'ui-monospace', 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--mist-06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  color: var(--ghost);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--white);
  color: #171717;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.88; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 2px;
  padding: 4px 12px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 18px;
  color: var(--ghost);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--white);
  color: #171717;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.88; }

.btn-cyan {
  background: rgba(0,255,255,0.12);
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  padding: 10px 28px;
  border-radius: 4px;
  border: 1px solid var(--ocean-blue);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cyan:hover { background: rgba(0,255,255,0.18); }

section { padding: 80px 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--whisper);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--ghost);
  max-width: 560px;
  line-height: 1.6;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--pure-black);
  border: 1px solid var(--mist-10);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.card:hover { border-color: var(--mist-12); }

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body { padding: 24px; }

.card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--cyan);
  margin-bottom: 10px;
}

.card-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.card-excerpt {
  font-size: 14px;
  color: var(--ghost);
  line-height: 1.63;
  margin-bottom: 20px;
}

.card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--signal-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.card-link:hover { gap: 10px; }

.card-link::after { content: '→'; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--mist-08);
  border: 1px solid var(--mist-08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 48px;
}

.stat-item {
  background: var(--black);
  padding: 32px 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 13px;
  color: var(--ghost);
  margin-top: 8px;
}

.contact-section {
  background: var(--pure-black);
  border: 1px solid var(--mist-08);
  border-radius: 4px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 15px;
  color: var(--ghost);
  line-height: 1.63;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-detail span {
  font-size: 14px;
  color: var(--ghost);
  font-family: var(--font-mono);
}

.contact-detail span strong {
  color: var(--white);
  font-weight: 400;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--whisper);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--mist-10);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--phantom);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--signal-blue);
}

.form-submit {
  width: 100%;
  background: var(--white);
  color: #171717;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.form-submit:hover { opacity: 0.88; }

.form-success {
  display: none;
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
  color: var(--cyan);
  font-size: 14px;
  margin-top: 12px;
}

footer {
  border-top: 1px solid var(--mist-06);
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .nav-logo { margin-bottom: 12px; }

.footer-brand p {
  font-size: 14px;
  color: var(--ghost);
  line-height: 1.63;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--white);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--ghost);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--mist-04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.article-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--mist-08);
}

.article-breadcrumb {
  font-size: 13px;
  color: var(--ghost);
  margin-bottom: 20px;
}

.article-breadcrumb a { color: var(--signal-blue); }
.article-breadcrumb a:hover { text-decoration: underline; }

.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.article-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ghost);
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--cyan);
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.2);
  padding: 3px 10px;
  border-radius: 2px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article-body .lead {
  font-size: 18px;
  color: var(--ghost);
  line-height: 1.6;
  margin-bottom: 40px;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  margin: 28px 0 12px;
}

.article-body p {
  font-size: 16px;
  color: var(--ghost);
  line-height: 1.7;
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  margin: 16px 0 24px 20px;
}

.article-body li {
  font-size: 16px;
  color: var(--ghost);
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--white);
  font-weight: 500;
}

.article-img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--mist-10);
  margin: 32px 0;
}

.article-img-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: -24px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.info-box {
  background: rgba(0,137,255,0.08);
  border: 1px solid rgba(0,137,255,0.2);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 28px 0;
}

.info-box p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--mist-08);
}

.article-nav a {
  background: var(--pure-black);
  border: 1px solid var(--mist-10);
  border-radius: 4px;
  padding: 20px;
  display: block;
  transition: border-color 0.2s;
}

.article-nav a:hover { border-color: var(--mist-12); }

.article-nav .nav-dir {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--ghost);
  margin-bottom: 6px;
}

.article-nav .nav-title {
  font-size: 15px;
  color: var(--white);
}

.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--mist-08);
}

.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--ghost);
}

.page-content {
  max-width: 720px;
  padding: 56px 24px 80px;
}

.page-content h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  margin: 36px 0 12px;
}

.page-content p {
  font-size: 15px;
  color: var(--ghost);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content ul {
  margin: 12px 0 20px 20px;
}

.page-content li {
  font-size: 15px;
  color: var(--ghost);
  line-height: 1.7;
  margin-bottom: 6px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #111111;
  border-top: 1px solid var(--mist-10);
  padding: 20px 24px;
  display: none;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 14px;
  color: var(--ghost);
  flex: 1;
  min-width: 240px;
}

.cookie-text a {
  color: var(--signal-blue);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-accept {
  background: var(--white);
  color: #171717;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-accept:hover { opacity: 0.88; }

.btn-reject {
  background: transparent;
  color: var(--ghost);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: border-color 0.2s;
}

.btn-reject:hover { border-color: rgba(255,255,255,0.3); }

@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--mist-08);
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }

  .hero { padding: 60px 24px 48px; }
  .hero h1 { line-height: 0.95; }
  .articles-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-section { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .article-nav { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
