:root {
  --bg-canvas: #0c0c0e;
  --bg-surface: #18181d;
  --bg-surface-alt: #121215;
  --bg-glass: rgba(24, 24, 29, 0.85);
  --text-primary: #f8f7f4;
  --text-muted: #aba9a4;
  --accent-primary: #d4a84b;
  --accent-hover: #e5bd63;
  --accent-gradient: linear-gradient(180deg, #f5d382 0%, #d4a84b 50%, #ba8d34 100%);
  --border-subtle: rgba(212, 168, 75, 0.28);
  --border-dim: rgba(255, 255, 255, 0.08);
  --border-gloss: rgba(255, 255, 255, 0.15);
  --gloss-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --gloss-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, Consolas, "Liberation Mono", Menlo, monospace;
}

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

body {
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 168, 75, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #0e0e11 0%, #070709 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 1rem;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  -webkit-text-size-adjust: 100%;
}

.site-frame {
  max-width: 1320px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: linear-gradient(180deg, #111115 0%, #0c0c0e 100%);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Skip link placed properly inside the frame */
.skip-link {
  position: absolute;
  top: 14px;
  left: 18px;
  background: var(--accent-gradient);
  color: #0c0c0e;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid #ffe39b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  z-index: 1200;
  transform: translateY(-200%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: linear-gradient(180deg, rgba(28, 28, 34, 0.92) 0%, rgba(18, 18, 22, 0.95) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--accent-primary);
  text-shadow: 0 0 12px rgba(212, 168, 75, 0.45);
}

.nav-toggle {
  display: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  font-size: 1.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: var(--accent-hover);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s ease;
}

.site-nav a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-nav a.active {
  color: #0c0c0e;
  background: var(--accent-gradient);
  border-color: #ffe39b;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(212, 168, 75, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Main */
main {
  flex: 1 0 auto;
  padding: clamp(1.2rem, 3vw, 2.5rem);
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-primary);
  max-width: 72ch;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.mono-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* Hero Section */
.hero-band {
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.4rem;
}

/* Glossy Button Controls */
.btn-gold {
  display: inline-block;
  background: var(--accent-gradient);
  color: #0c0c0e;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  border: 1px solid #ffe39b;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(212, 168, 75, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.7), inset 0 -1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.btn-gold:hover {
  background: linear-gradient(180deg, #fae09c 0%, #e2b75a 50%, #ca9b3c 100%);
  box-shadow: 0 6px 24px rgba(212, 168, 75, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
  text-align: center;
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(212, 168, 75, 0.16) 0%, rgba(212, 168, 75, 0.04) 100%);
  box-shadow: 0 4px 16px rgba(212, 168, 75, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }

.bento-tile {
  background: linear-gradient(180deg, #1b1b22 0%, #141418 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.bento-tile:hover {
  border-color: rgba(212, 168, 75, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.tile-media {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 1rem;
  background-color: #101013;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-content {
  flex: 1 1 auto;
}

.tile-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--border-dim);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tile-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
}

.tile-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Section Container */
.content-section {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 2.25rem;
}

.content-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.section-head {
  margin-bottom: 1.25rem;
}

/* Side-by-Side Comparison Blocks */
.compare-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.compare-card {
  background: linear-gradient(180deg, #1b1b22 0%, #141418 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.spec-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  font-size: 0.9rem;
}

.spec-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--border-dim);
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.spec-list li span:first-child {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-primary);
  text-transform: uppercase;
}

/* Data Table Wrapper */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin: 1.5rem 0;
  background: linear-gradient(180deg, #18181d 0%, #121215 100%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 600px;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-dim);
}

.data-table th {
  background: linear-gradient(180deg, #24242c 0%, #1a1a20 100%);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Disclosures */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, #1b1b22 0%, #141418 100%);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: rgba(212, 168, 75, 0.35);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent-primary);
  margin-left: 0.75rem;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-dim);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact & Message Drafter */
.drafter-panel {
  background: linear-gradient(180deg, #1b1b22 0%, #141418 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 1.6rem;
  max-width: 720px;
  margin-top: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: #0f0f13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.drafter-output {
  margin-top: 1.5rem;
  padding: 1.1rem;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: pre-wrap;
  color: var(--text-primary);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.drafter-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.feedback-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-primary);
  margin-top: 0.5rem;
  min-height: 1.2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, #131317 0%, #0a0a0d 100%);
  color: var(--text-muted);
  font-size: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  padding: 0;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--accent-primary);
}

.footer-meta {
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-meta p {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}

.footer-meta a {
  color: var(--accent-primary);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

/* Focus Indicator */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .col-8 { grid-column: span 12; }
  .col-7 { grid-column: span 12; }
  .col-5 { grid-column: span 12; }
  .col-4 { grid-column: span 6; }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }
  .header-top {
    width: 100%;
  }
  .nav-toggle {
    display: inline-block;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: linear-gradient(180deg, #1b1b22 0%, #141418 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    padding: 0.55rem 0.85rem;
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .col-12, .col-8, .col-7, .col-6, .col-5, .col-4 {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0.35rem;
  }
  .brand {
    font-size: 0.95rem;
  }
  .btn-gold, .btn-outline {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}