@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #181818;
  --canvas-elevated: #303030;
  --canvas-light: #ffffff;
  --surface-soft-light: #f7f7f7;
  --surface-strong-light: #ebebeb;
  --primary: #da291c;
  --primary-active: #b01e0a;
  --hairline: #303030;
  --hairline-on-light: #d2d2d2;
  --ink: #ffffff;
  --body-color: #969696;
  --body-on-light: #181818;
  --muted: #666666;
  --on-primary: #ffffff;
  --sp-xxxs: 4px; --sp-xxs: 8px; --sp-xs: 16px; --sp-sm: 24px;
  --sp-md: 32px; --sp-lg: 48px; --sp-xl: 64px; --sp-xxl: 96px; --sp-super: 128px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--canvas);
  color: var(--body-color);
  font-size: 14px;
  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: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-xs);
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: var(--sp-md);
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--body-color);
  letter-spacing: 0.65px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--sp-xxs);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* HERO */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--canvas);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, #181818 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--sp-xxl) var(--sp-xs);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-sm);
}

.hero-title {
  font-size: 80px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.6px;
  color: var(--ink);
  max-width: 900px;
  margin-bottom: var(--sp-md);
}

.hero-desc {
  font-size: 16px;
  color: var(--body-color);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 48px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--primary-active); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  line-height: 1;
  margin-left: var(--sp-xs);
  transition: background 0.15s, color 0.15s;
}

.btn-outline:hover { background: var(--ink); color: var(--canvas); }

/* SECTION LABELS */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.36px;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}

.section-body {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: var(--sp-lg);
}

/* DARK SECTION */
.section-dark {
  padding: var(--sp-xxl) 0;
  background: var(--canvas);
}

/* LIGHT SECTION */
.section-light {
  padding: var(--sp-xxl) 0;
  background: var(--surface-soft-light);
}

.section-light .section-title { color: var(--body-on-light); }
.section-light .section-label { color: var(--primary); }
.section-light p, .section-light .section-body { color: #444; }

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

.feature-card {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card-body {
  padding: var(--sp-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-xxs);
}

.feature-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: var(--sp-xxs);
}

.feature-card-text {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-sm);
}

.feature-card-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xxxs);
}

.feature-card-link::after { content: '→'; }

/* LIGHT CARD */
.light-card {
  background: var(--canvas-light);
  border: 1px solid var(--hairline-on-light);
  border-radius: 0;
  padding: var(--sp-md);
}

.light-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--body-on-light);
  margin-bottom: var(--sp-xxs);
}

.light-card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ACCENT BAND */
.accent-band {
  background: var(--primary);
  padding: var(--sp-xxl) 0;
}

.accent-band .section-title { color: var(--on-primary); }
.accent-band .section-body { color: rgba(255,255,255,0.85); }
.accent-band .section-label { color: rgba(255,255,255,0.7); }

/* ARTICLE HERO */
.article-hero {
  padding: var(--sp-xxl) 0 var(--sp-lg);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.article-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.5px;
}

.article-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: var(--ink);
  max-width: 860px;
  margin-bottom: var(--sp-sm);
}

.article-lead {
  font-size: 16px;
  color: var(--body-color);
  max-width: 640px;
  line-height: 1.7;
}

/* ARTICLE BODY */
.article-body {
  padding: var(--sp-xxl) 0;
  background: var(--canvas);
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.195px;
  margin: var(--sp-xl) 0 var(--sp-sm);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: var(--sp-md) 0 var(--sp-xs);
}

.article-content p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}

.article-content ul, .article-content ol {
  padding-left: var(--sp-md);
  margin-bottom: var(--sp-sm);
}

.article-content li {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.8;
  margin-bottom: var(--sp-xxs);
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin: var(--sp-lg) 0;
}

.article-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: calc(-1 * var(--sp-md));
  margin-bottom: var(--sp-lg);
}

/* FORM */
.contact-form {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  padding: var(--sp-xl);
  max-width: 600px;
  margin: 0 auto;
}

.form-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.195px;
}

.form-group {
  margin-bottom: var(--sp-sm);
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--body-color);
  margin-bottom: var(--sp-xxs);
}

.form-input {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 14px 16px;
  height: 48px;
  font-size: 14px;
  font-family: inherit;
}

.form-input:focus {
  outline: 2px solid var(--primary);
  outline-offset: -1px;
}

/* SPECS GRID */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin: var(--sp-lg) 0;
}

.spec-cell {
  background: var(--canvas);
  padding: var(--sp-md);
  text-align: center;
}

.spec-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -1.6px;
  line-height: 1;
  margin-bottom: var(--sp-xxs);
}

.spec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* BADGE */
.badge {
  display: inline-block;
  background: var(--canvas-elevated);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 4px 12px;
  margin-bottom: var(--sp-sm);
}

/* DIVIDER */
.hairline { height: 1px; background: var(--hairline); margin: var(--sp-lg) 0; }
.hairline-light { height: 1px; background: var(--hairline-on-light); margin: var(--sp-md) 0; }

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--sp-xl) 0 var(--sp-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}

.footer-brand span { color: var(--primary); }

.footer-desc {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.footer-links a {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.4;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: var(--sp-md);
}

.footer-legal a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--ink); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--canvas-elevated);
  border-top: 1px solid var(--hairline);
  padding: var(--sp-md) var(--sp-xs);
  display: none;
}

.cookie-banner.active { display: block; }

.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
  flex: 1;
  min-width: 260px;
}

.cookie-text a { color: var(--primary); text-decoration: underline; }

.cookie-actions { display: flex; gap: var(--sp-xs); align-items: center; flex-shrink: 0; }

.cookie-reject {
  font-size: 13px;
  font-weight: 600;
  color: var(--body-color);
  background: none;
  border: 1px solid var(--hairline);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 0;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}

.cookie-reject:hover { color: var(--ink); border-color: var(--ink); }

/* PAGE HEADER (for static pages) */
.page-header {
  padding: var(--sp-xxl) 0 var(--sp-xl);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.page-header-title {
  font-size: 56px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -1.12px;
  line-height: 1.1;
  margin-bottom: var(--sp-xs);
}

.page-content {
  padding: var(--sp-xxl) 0;
  background: var(--canvas);
}

.page-content-inner {
  max-width: 800px;
}

.page-content h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.195px;
  margin: var(--sp-xl) 0 var(--sp-sm);
}

.page-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: var(--sp-md) 0 var(--sp-xs);
}

.page-content p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}

.page-content ul, .page-content ol {
  padding-left: var(--sp-md);
  margin-bottom: var(--sp-sm);
}

.page-content li {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.8;
  margin-bottom: var(--sp-xxs);
}

.page-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ABOUT */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: center;
  margin-bottom: var(--sp-xxl);
}

.about-block img { width: 100%; height: 380px; object-fit: cover; }

/* CONTACT INFO */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xxl);
}

.contact-item {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  padding: var(--sp-md);
}

.contact-item-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-xxs);
}

.contact-item-value {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}

/* DISCLAIMER */
.disclaimer {
  background: var(--canvas-elevated);
  border-left: 3px solid var(--primary);
  padding: var(--sp-md);
  margin: var(--sp-lg) 0;
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-title { font-size: 56px; letter-spacing: -1.12px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .about-block { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 32px; letter-spacing: -0.5px; }
  .hero { min-height: 420px; }
  .section-title { font-size: 26px; }
  .article-title { font-size: 32px; letter-spacing: -0.5px; }
  .page-header-title { font-size: 32px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: var(--sp-md) var(--sp-xs);
    gap: var(--sp-md);
  }
  .nav-hamburger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: var(--sp-md); }
  .btn-outline { margin-left: 0; margin-top: var(--sp-xs); }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .article-img { height: 240px; }
}
