/*
 * © 2026 Goldmine Global LLC. All rights reserved.
 * AutoEdge™ — Proprietary and Confidential.
 */

:root {
  --background: #05070e;
  --foreground: #dfe1e1;
  --primary: #22d3ee;
  --primary-foreground: #030303;
  --card: #131d2e;
  --panel: #0b1120;
  --muted: #182338;
  --muted-foreground: #839b94;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(34, 211, 238, 0.2);
  --radius: 1rem;
  --font-body: "Exo 2", sans-serif;
  --font-display: "Orbitron", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.06) 0, transparent 50%),
    linear-gradient(to bottom, transparent, var(--background)),
    var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }
main { overflow: hidden; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.025em;
}
h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 500; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--foreground);
  color: var(--background);
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 50;
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-right: max(0.75rem, env(safe-area-inset-right));
  padding-bottom: 1rem;
  padding-left: max(0.75rem, env(safe-area-inset-left));
}
.hero, .section, .trial-section {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
.hero {
  min-height: 770px;
  position: relative;
  padding-top: 0;
  padding-bottom: 6rem;
  border-bottom: 1px solid var(--border-subtle);
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -235px;
  width: 540px;
  height: 540px;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(34, 211, 238, 0.025), 0 0 0 108px rgba(34, 211, 238, 0.018);
  pointer-events: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.brand-logo { width: 2.5rem; height: 2.5rem; object-fit: contain; flex: 0 0 auto; }
.brand-copy, .footer-brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-name { display: inline-flex; align-items: baseline; gap: 0.25rem; }
.brand-wordmark { width: auto; height: 1.5rem; object-fit: contain; }
.trademark { color: #fff; font-size: 0.75rem; font-weight: 500; }
.brand small, .footer-brand small {
  margin-top: 0.1rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.15;
}
.nav-link {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(34, 211, 238, 0.5);
  padding-bottom: 0.25rem;
  transition: color 160ms ease;
}
.nav-link:hover { color: var(--primary); }

.hero-grid, .section, .trial-section, .decision-section {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 5.5rem;
  align-items: end;
  margin-top: 7rem;
  position: relative;
  z-index: 1;
}
.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}
h1 {
  max-width: 48rem;
  margin-bottom: 1.75rem;
  color: #fff;
  font-size: clamp(2.375rem, 6vw, 4.5rem);
  line-height: 1.25;
}
.intro {
  max-width: 42rem;
  color: var(--muted-foreground);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
}
.hero-rule { width: 5.75rem; height: 3px; margin: 2.2rem 0 1.2rem; background: var(--primary); }
.quiet { color: var(--muted-foreground); font-size: 0.9375rem; }

.principles, .trial-fact {
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  background: rgba(19, 29, 46, 0.8);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
  backdrop-filter: blur(12px);
}
.principle {
  display: grid;
  grid-template-columns: 2.625rem 1fr;
  gap: 0.8125rem;
  padding: 1.7rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}
.principle:last-child { border-bottom: 0; }
.principle span, .card-number { color: var(--primary); font-family: var(--font-mono); font-size: 0.75rem; }
.principle p { color: var(--foreground); font-size: 1.0625rem; line-height: 1.45; }

.section { padding-top: 7.4rem; padding-bottom: 7.4rem; }
.section-heading { max-width: 48rem; }
h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 3.05rem); line-height: 1.3; }
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.9rem;
}
.card {
  min-height: 18.5rem;
  padding: 1.875rem 1.55rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: rgba(19, 29, 46, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.card h3 { margin: 3.6rem 0 1rem; color: #fff; font-size: 1.1rem; line-height: 1.45; }
.card p { color: var(--muted-foreground); font-size: 0.9375rem; line-height: 1.6; }

.trial-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.4rem;
  align-items: stretch;
  max-width: none;
  padding-top: 6rem;
  padding-bottom: 6rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(110deg, #080c16, #0b1120 60%, #080c16);
}
.trial-section > *:first-child { justify-self: end; width: min(100%, 37.8rem); }
.trial-section > *:last-child { justify-self: start; width: min(100%, 37.8rem); }
.trial-copy { align-self: center; }
.trial-copy > p:last-child { max-width: 35rem; margin-top: 1.625rem; color: var(--foreground); font-size: 1.1875rem; line-height: 1.6; }
.trial-fact { padding: 1.875rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.fact-label { color: var(--primary); font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; margin-bottom: 1.4rem; }
.trial-fact strong { color: #fff; font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.9rem); letter-spacing: 0.025em; line-height: 1.4; }
.trial-fact strong + strong { color: var(--primary); }
.trial-fact p { margin-top: 1.25rem; color: var(--muted-foreground); font-size: 0.9375rem; line-height: 1.55; }

.decision-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr); gap: 5.6rem; align-items: end; }
.decision-copy { padding: 2rem 0; border-top: 1px solid var(--border-subtle); }
.decision-copy > p { color: var(--foreground); font-size: 1.125rem; line-height: 1.65; }
.links { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.1rem; }
.links a { color: var(--primary); font-size: 0.875rem; font-weight: 700; border-bottom: 1px solid rgba(34, 211, 238, 0.48); padding-bottom: 0.25rem; }

.site-footer {
  position: relative;
  z-index: 10;
  padding-right: max(1.5rem, env(safe-area-inset-right));
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-top: 2rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}
.footer-inner { width: 100%; max-width: 72rem; margin: 0 auto; }
.footer-brand { display: flex; width: max-content; max-width: 100%; margin: 0 auto; }
.footer-logo-wrap { position: relative; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; }
.footer-logo-glow { position: absolute; inset: 0; border-radius: 50%; background: rgba(34, 211, 238, 0.2); filter: blur(12px); }
.footer-logo { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.footer-wordmark { width: auto; height: 1.5rem; object-fit: contain; }
.footer-copy { margin-top: 1.5rem; text-align: center; }
.site-footer p { max-width: 48rem; margin: 0 auto; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; }
.site-footer .availability { margin-top: 0.5rem; font-size: 0.75rem; }

@media (min-width: 640px) {
  .site-header { padding-top: max(1.5rem, env(safe-area-inset-top)); padding-bottom: 1.5rem; }
  .hero, .section, .trial-section { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); }
  .brand-logo { width: 3rem; height: 3rem; }
  .brand-wordmark, .footer-wordmark { height: 1.75rem; }
  .trademark { font-size: 0.875rem; }
  .footer-logo-wrap { width: 3rem; height: 3rem; }
}
@media (min-width: 768px) {
  .brand-wordmark, .footer-wordmark { height: 2rem; }
}
@media (min-width: 1024px) {
  .hero, .section, .trial-section { padding-left: max(2rem, env(safe-area-inset-left)); padding-right: max(2rem, env(safe-area-inset-right)); }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 4.2rem; }
  .hero-grid, .trial-section, .decision-section { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero-grid { margin-top: 6rem; }
  .trial-section > *:first-child, .trial-section > *:last-child { justify-self: center; width: 100%; max-width: 48rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 4.9rem; padding-bottom: 4.9rem; }
  .decision-section { gap: 2.25rem; }
}
@media (max-width: 560px) {
  .nav { align-items: flex-start; }
  .nav-link { max-width: 7.5rem; text-align: right; font-size: 0.75rem; }
  .brand small { font-size: 0.6875rem; }
  .hero-grid { margin-top: 4.9rem; }
  h1 { font-size: 2.45rem; line-height: 1.3; }
  .intro { font-size: 1.125rem; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .trial-section { padding-top: 4.4rem; padding-bottom: 4.4rem; }
  .trial-fact { padding: 1.75rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
