/**
 * @file www/02 Production/site.css
 * @description Shared marketing chrome and comparison-page styles for getscriptus.com
 * @created 2026-09-04
 * @lastModified 2026-09-04
 */

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

:root {
  --bg: #0a0a08;
  --bg-2: #111110;
  --bg-3: #1a1a17;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: #8a6f2e;
  --white: #f0ede6;
  --white-dim: #9c9890;
  --white-muted: #4a4844;
  --accent: #c9a84c;
  --border: rgba(201, 168, 76, 0.15);
  --border-subtle: rgba(240, 237, 230, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 8, 0.85);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.nav-cta {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: background 0.3s;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.page {
  padding: 8.5rem 4rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.crumb {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 2rem;
}

.crumb a {
  color: var(--white-dim);
  text-decoration: none;
}

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

.eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

h1.wide {
  max-width: 24ch;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--gold);
}

.lede {
  font-size: 1.1rem;
  color: var(--white-dim);
  max-width: 62ch;
  margin-top: 1.5rem;
  line-height: 1.8;
}

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  margin: 3.5rem 0 1rem;
}

h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
}

.page p,
.page li {
  color: var(--white-dim);
  line-height: 1.85;
}

.page p + p {
  margin-top: 1rem;
}

.page code {
  font-family: "DM Mono", monospace;
  font-size: 0.85em;
  color: var(--gold-light);
}

.verified {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 1.25rem;
}

.verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin: 2.5rem 0 0;
}

.verdict article {
  background: var(--bg-2);
  padding: 1.75rem 1.8rem;
}

.verdict-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 900px) {
  .verdict-3 {
    grid-template-columns: 1fr;
  }
}

.verdict h3 {
  margin-top: 0;
  color: var(--white);
}

.compare-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  font-size: 0.92rem;
}

.compare-table th {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-2);
}

.compare-table td:first-child {
  color: var(--white);
  width: 22%;
}

.hub-heading {
  margin-top: 2.75rem;
  margin-bottom: 0;
}

.hub-grid,
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 1100px) {
  .hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hub-card,
.related-card {
  display: block;
  text-decoration: none;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 1.75rem 1.8rem;
  transition: border-color 0.3s;
}

.hub-card:hover,
.related-card:hover {
  border-color: var(--gold-dim);
}

.hub-card h2,
.related-card h3 {
  margin: 0 0 0.6rem;
  color: var(--white);
}

.hub-card p,
.related-card p {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-list {
  margin-top: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  margin: 1.4rem 0 0.5rem;
}

.actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.btn-primary {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 1rem 2.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
}

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

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 4rem;
  text-align: center;
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.footer-logo span {
  color: var(--gold-dim);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  list-style: none;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
  text-decoration: none;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--white-muted);
}

.compare-strip {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem;
  background: var(--bg-2);
}

.compare-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.compare-strip h2 {
  margin-top: 0;
}

@media (max-width: 768px) {
  nav,
  .page,
  footer,
  .compare-strip {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .nav-links {
    display: none;
  }

  .verdict,
  .hub-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}
