@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

:root {
  --canvas: #000000;
  --surface-soft: #0d0d0d;
  --surface-card: #1a1a1a;
  --surface-elevated: #262626;
  --carbon-gray: #2b2b2b;
  --hairline: #3c3c3c;
  --hairline-strong: #262626;
  --on-dark: #ffffff;
  --body-color: #bbbbbb;
  --body-strong: #e6e6e6;
  --muted: #7e7e7e;
  --m-blue-light: #0066b1;
  --m-blue-dark: #1c69d4;
  --m-red: #e22718;
  --warning: #f4b400;
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-xxl: 64px;
  --spacing-section: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--body-color);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--on-dark);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 { font-size: clamp(48px, 7vw, 80px); line-height: 1.0; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
h3 { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; }
h4 { font-size: 32px; line-height: 1.15; }
h5 { font-size: 24px; line-height: 1.3; }
h6 { font-size: 20px; line-height: 1.4; font-weight: 400; text-transform: none; }

p { font-weight: 300; color: var(--body-color); line-height: 1.5; margin-bottom: var(--spacing-md); }
p:last-child { margin-bottom: 0; }
p.lead { font-size: 18px; color: var(--body-strong); font-weight: 400; }

a { color: var(--on-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--body-strong); }

.label-uppercase {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.text-muted-custom { color: var(--muted); font-size: 14px; font-weight: 300; }
.text-body-strong { color: var(--body-strong); }
.text-on-dark { color: var(--on-dark); }

/* ── M STRIPE DIVIDER ── */
.m-stripe {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--m-blue-light) 0%, var(--m-blue-dark) 50%, var(--m-red) 100%);
  border: none;
}

/* ── NAVIGATION ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--canvas);
  height: 64px;
  border-bottom: 1px solid var(--hairline);
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

.brand-stripe-vert {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 4px;
}

.brand-stripe-vert span {
  display: block;
  height: 8px;
  width: 4px;
}

.brand-stripe-vert span:nth-child(1) { background: var(--m-blue-light); }
.brand-stripe-vert span:nth-child(2) { background: var(--m-blue-dark); }
.brand-stripe-vert span:nth-child(3) { background: var(--m-red); }

.brand-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-dark);
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  list-style: none;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--body-color);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--on-dark); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--on-dark);
  transition: transform .3s, opacity .3s;
}

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 999;
  flex-direction: column;
  padding: var(--spacing-xxl) var(--spacing-lg);
}

.nav-mobile-overlay.open { display: flex; }

.nav-mobile-overlay .m-stripe { margin-bottom: var(--spacing-xxl); }

.nav-mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.nav-mobile-menu a {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--on-dark);
  text-decoration: none;
}

.nav-mobile-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: none;
  border: 1px solid var(--hairline);
  color: var(--on-dark);
  cursor: pointer;
  font-size: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── BREADCRUMB ── */
.breadcrumb-bar {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--hairline);
  padding: var(--spacing-sm) 0;
}

.breadcrumb-bar .container { max-width: 1440px; margin: 0 auto; padding: 0 var(--spacing-lg); }

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb-list li { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; }
.breadcrumb-list a { color: var(--muted); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--body-color); }
.breadcrumb-list .sep { color: var(--hairline); }
.breadcrumb-list li:last-child { color: var(--body-color); }

/* ── HERO BAND ── */
.hero-band {
  position: relative;
  background: var(--canvas);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-xxl) 0;
}

.hero-band .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
  filter: grayscale(60%);
}

.hero-band .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.hero-band h1 { margin-bottom: var(--spacing-md); }
.hero-band .hero-sub { font-size: 18px; color: var(--body-strong); font-weight: 400; max-width: 600px; }

/* ── SECTIONS ── */
.section { padding: var(--spacing-section) 0; }
.section-sm { padding: var(--spacing-xxl) 0; }
.section-dark { background: var(--surface-soft); }
.section-card { background: var(--surface-card); }

.container-site {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(3, 1fr);
}

.card-site {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  padding: var(--spacing-xl);
  text-decoration: none;
  transition: border-color .2s;
  display: block;
}

.card-site:hover { border-color: var(--body-color); }

.card-site .card-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-sm);
}

.card-site h5 {
  color: var(--on-dark);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  font-size: 18px;
}

.card-site p { font-size: 14px; color: var(--body-color); margin: 0; font-weight: 300; }

/* ── SPEC CELLS ── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.spec-cell {
  background: var(--surface-soft);
  padding: var(--spacing-xl);
}

.spec-cell .spec-value {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--on-dark);
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: var(--spacing-xs);
}

.spec-cell .spec-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── COMPARISON TABLES ── */
.compare-table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th {
  background: var(--surface-card);
  color: var(--on-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}

.compare-table th:first-child { background: var(--surface-elevated); min-width: 180px; }

.compare-table td {
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid var(--hairline);
  color: var(--body-color);
  font-weight: 300;
  vertical-align: top;
}

.compare-table td:first-child {
  background: var(--surface-soft);
  color: var(--body-strong);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-table tr:hover td { background: var(--surface-card); }
.compare-table tr:hover td:first-child { background: var(--surface-elevated); }

.compare-table .tag-yes {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid var(--m-blue-light);
  color: var(--m-blue-light);
}

.compare-table .tag-no {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid var(--hairline);
  color: var(--muted);
}

.compare-table .tag-partial {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid var(--warning);
  color: var(--warning);
}

/* ── DETAILS / COLLAPSIBLE ── */
details.collapsible {
  border: 1px solid var(--hairline);
  margin-bottom: var(--spacing-sm);
}

details.collapsible summary {
  padding: var(--spacing-md) var(--spacing-lg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--body-strong);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

details.collapsible summary::-webkit-details-marker { display: none; }

details.collapsible summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
}

details.collapsible[open] summary::after { content: '−'; }

details.collapsible .collapsible-body {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  font-weight: 300;
  color: var(--body-color);
  line-height: 1.6;
}

/* ── TOC ── */
.toc-block {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--m-blue-dark);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.toc-block .toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-md);
}

.toc-list { list-style: none; display: flex; flex-direction: column; gap: var(--spacing-xs); }

.toc-list a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.toc-list a::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 1px;
  background: var(--hairline);
}

.toc-list a:hover { color: var(--on-dark); }

/* ── RELATED CONTENT ── */
.related-block {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  padding: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.related-block .related-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-lg);
}

.related-links { display: flex; flex-direction: column; gap: var(--spacing-sm); }

.related-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--hairline);
}

.related-links a::after { content: '→'; color: var(--muted); margin-left: auto; }
.related-links a:last-child { border-bottom: none; }
.related-links a:hover { color: var(--on-dark); }

/* ── BUTTONS ── */
.btn-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--spacing-xl);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
  border: 1px solid var(--on-dark);
  background: var(--canvas);
  color: var(--on-dark);
  white-space: nowrap;
}

.btn-site:hover { background: var(--on-dark); color: var(--canvas); }

.btn-site-outline {
  background: transparent;
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.btn-site-outline:hover { background: var(--on-dark); color: var(--canvas); }

/* ── FORM ── */
.form-site .form-group { margin-bottom: var(--spacing-lg); }

.form-site label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-xs);
}

.form-site input,
.form-site textarea,
.form-site select {
  width: 100%;
  height: 48px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 0;
  color: var(--on-dark);
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  padding: 0 var(--spacing-md);
  transition: border-color .2s;
  outline: none;
  -webkit-appearance: none;
}

.form-site textarea {
  height: 140px;
  resize: vertical;
  padding: var(--spacing-md);
}

.form-site input:focus,
.form-site textarea:focus,
.form-site select:focus { border-color: var(--on-dark); }

.form-site input::placeholder,
.form-site textarea::placeholder { color: var(--muted); }

.form-msg {
  display: none;
  padding: var(--spacing-lg);
  border: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--body-strong);
  background: var(--surface-card);
  margin-top: var(--spacing-lg);
}

/* ── DISCLAIMER BLOCK ── */
.disclaimer-block {
  background: var(--surface-soft);
  border-left: 2px solid var(--hairline);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin: var(--spacing-xl) 0;
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 360px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: var(--spacing-lg);
  z-index: 2000;
  display: none;
}

#cookie-banner p { font-size: 13px; color: var(--body-color); margin-bottom: var(--spacing-md); }

#cookie-banner .cookie-btns { display: flex; flex-direction: column; gap: var(--spacing-sm); }

.btn-cookie-accept {
  height: 40px;
  background: var(--canvas);
  border: 1px solid var(--on-dark);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-cookie-accept:hover { background: var(--on-dark); color: var(--canvas); }

.btn-cookie-decline {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  text-align: center;
}

.btn-cookie-decline:hover { color: var(--body-color); }

/* ── FOOTER ── */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-xxl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xxl);
}

.footer-brand .brand-text { font-size: 16px; margin-bottom: var(--spacing-md); }

.footer-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body-strong);
  margin-bottom: var(--spacing-md);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--spacing-sm); }

.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--body-color); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-legal {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
}

/* ── PAGE LAYOUT ── */
.page-layout { display: grid; grid-template-columns: 1fr 280px; gap: var(--spacing-xl); align-items: start; }

.page-content {}

.page-sidebar { position: sticky; top: 80px; }

/* ── CONTENT STYLES ── */
.content-body h2 {
  font-size: 28px;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--hairline);
}

.content-body h3 {
  font-size: 20px;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  text-transform: none;
}

.content-body p { margin-bottom: var(--spacing-md); }

.content-body ul, .content-body ol {
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  color: var(--body-color);
  font-weight: 300;
}

.content-body li { margin-bottom: var(--spacing-xs); }

/* ── UTILITIES ── */
.hairline-divider { width: 100%; height: 1px; background: var(--hairline); margin: var(--spacing-xl) 0; }
.mt-section { margin-top: var(--spacing-section); }
.mb-section { margin-bottom: var(--spacing-section); }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); }
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-band { min-height: 300px; padding: var(--spacing-xl) 0; }
  #cookie-banner { width: calc(100% - var(--spacing-lg) * 2); left: var(--spacing-lg); right: var(--spacing-lg); }
  .section { padding: var(--spacing-xxl) 0; }
}
