
:root {
  --bg: #101419;
  --surface: #1c232c;
  --elevated: #252e39;
  --gold: #d4af65;
  --text: #f5f1e8;
  --muted: #a9b0ba;
  --border: #36404d;
  --success: #65dfb5;
  --warning: #f5b971;
  --danger: #f27474;

  --max-width: 1240px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--text);
}

button, input, textarea, select {
  font: inherit;
}

img, svg {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

h1, h2, h3, h4 {
  margin: 0 0 20px;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -2.5px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1px;
}

h3 {
  font-size: 23px;
}

p {
  margin: 0 0 20px;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.gold {
  color: var(--gold);
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 760px;
}

.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 20, 25, .96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}

.brand svg {
  width: 46px;
  height: 46px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.15;
}

.brand-company {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 5px;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 26px;
}

.navigation > a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.navigation > a:hover,
.navigation > a.active {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 13px;
  cursor: pointer;
}

/* BUTTONS */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 23px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bg);
  background: var(--gold);
  transition: background .2s, transform .2s;
}

.button:hover {
  background: #e5c583;
  color: var(--bg);
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.button.small {
  padding: 9px 17px;
  font-size: 13px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.center .button-group {
  justify-content: center;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 80px;
  background:
    radial-gradient(
      ellipse at 75% 35%,
      rgba(212,175,101,.075),
      transparent 55%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 55px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

/* SECTIONS */

.section {
  padding: 90px 0;
}

.section-alt {
  background: #151b22;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 45px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  padding: 85px 0 65px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(212,175,101,.07),
      transparent 65%
    );
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
}

/* CARDS */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .2s, transform .2s;
}

.card:hover {
  border-color: rgba(212,175,101,.6);
}

a.card {
  display: block;
  color: var(--text);
}

a.card:hover {
  transform: translateY(-3px);
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card h3 {
  margin-bottom: 13px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 46px;
  height: 46px;
  color: var(--gold);
  margin-bottom: 22px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.engine-name {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.engine-meaning {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 20px;
}

/* METRICS */

.metrics-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 0;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  color: var(--gold);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
}

/* CONTENT */

.content {
  max-width: 820px;
  margin: 0 auto;
}

.content p,
.content li {
  color: var(--muted);
}

.content h2 {
  margin-top: 45px;
  font-size: 30px;
}

.content h3 {
  margin-top: 30px;
}

.content li {
  margin-bottom: 10px;
}

.content a {
  text-decoration: underline;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 14px;
  color: var(--muted);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* CTA */

.cta-panel {
  padding: 65px 40px;
  text-align: center;
  border: 1px solid rgba(212,175,101,.4);
  border-radius: 18px;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(212,175,101,.1),
      transparent 70%
    ),
    var(--surface);
}

.cta-panel p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

/* FOOTER */

.site-footer {
  padding: 65px 0 25px;
  border-top: 1px solid var(--border);
  background: #0c1015;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 35px;
}

.footer-brand p {
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 22px;
}

.footer-column h4 {
  font-size: 14px;
  margin-bottom: 18px;
}

.footer-column a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 45px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

/* FEATURE AND SOLUTION PAGES */

.feature-overview {
  align-items: center;
  gap: 55px;
}

.feature-symbol {
  min-height: 340px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(212,175,101,.09),
      transparent 70%
    ),
    var(--surface);
}

.feature-symbol > svg {
  width: 110px;
  height: 110px;
  color: var(--gold);
  margin-bottom: 30px;
  stroke-width: .9;
}

.feature-symbol h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-symbol p {
  margin-bottom: 0;
}

.feature-symbol .eyebrow {
  margin-bottom: 12px;
}

.step-number {
  display: block;
  color: var(--gold);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 25px;
}

/* PRODUCT DEMONSTRATIONS */

.product-demo {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}

.product-demo-header {
  min-height: 52px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.product-demo-header > span:last-child {
  margin-left: auto;
}

.demo-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-window-controls span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.demo-window-controls span:first-child {
  background: var(--danger);
}

.demo-window-controls span:nth-child(2) {
  background: var(--gold);
}

.demo-window-controls span:last-child {
  background: var(--success);
}

.product-demo-body {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(212,175,101,.06),
      transparent 65%
    );
}

.product-demo-body p {
  color: var(--muted);
  font-size: 14px;
}

.demo-placeholder-icon {
  width: 80px;
  height: 80px;
  color: var(--gold);
  margin-bottom: 25px;
}

@media (max-width: 850px) {

  .feature-overview {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-symbol {
    min-height: 280px;
  }

}

@media (max-width: 550px) {

  .product-demo-header {
    padding: 12px;
    gap: 10px;
    font-size: 10px;
  }

  .product-demo-body {
    min-height: 260px;
    padding: 25px;
  }

  .feature-symbol {
    padding: 25px;
  }

}

/* ACCESSIBILITY */

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: var(--gold);
  color: var(--bg);
  z-index: 1000;
}

.skip-link:focus {
  top: 10px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .navigation {
    gap: 16px;
  }

  .hero-grid {
    gap: 30px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 0;
  }

  .navigation {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .navigation.open {
    display: flex;
  }

  .navigation > a {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 75px 0 45px;
  }

  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 60px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-strip .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-name {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .brand svg {
    width: 38px;
    height: 38px;
  }

  .brand-company {
    font-size: 7px;
  }

  .header-actions .button {
    display: none;
  }

  .card {
    padding: 23px;
  }

  .cta-panel {
    padding: 40px 22px;
  }

  .button-group .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.product-figure { margin: 0; min-width: 0; }
.product-visual { display: block; width: 100%; height: auto; margin-inline: auto; }
.product-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
}
@media (max-width: 800px) {
  .product-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .product-figure { overflow-x: auto; }
  .product-figure .product-visual { min-width: 520px; }
}

