/* GNOSTIC STRATAGEM — Website v0 */

:root {
  --bg: #1a1a1a;
  --panel: #202020;
  --text: #f2f2f2;
  --muted: #b8b8b8;
  --border: #333333;
  --accent: #c5a059;
  --maxw: 800px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0.02em;
  font-size: 16px;
}

.navlinks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text);
  opacity: 0.9;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

main {
  flex: 1;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 42px 18px 54px;
}

h1,
h2,
h3 {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(54px, 9vw, 96px);
  color: var(--accent);
  text-align: center;
}

/* Legal page: smaller h1, gold h2 */
.page-legal h1 {
  font-size: clamp(24px, 4vw, 32px);
  text-align: left;
}

.page-legal h2,
.page-legal h3 {
  color: var(--accent);
}

.page-legal .meta {
  font-size: 16px;
}

.subtitle {
  margin-top: 40px;
  margin-bottom: 96px;
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.lede {
  font-size: 22px;
  max-width: none;
  margin: 144px 0 120px;
  color: var(--text);
  text-align: center;
}

.block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px;
}

.gold-center {
  text-align: center;
  color: var(--accent);
  font-size: 28px;
  font-weight: 500;
  margin: 72px 0;
}

.center-text {
  text-align: center;
  margin-top: 72px;
  line-height: 1.7;
}

/* Inline gold line inside the closing paragraph */
.center-text .gold-center {
  display: block;
  margin-top: 72px; /* extra space above, roughly three text lines */
  margin-bottom: 0;
  font-size: 24px; /* slightly smaller than the main gold line */
}

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

.center-text {
  text-align: center;
  margin-top: 72px;
  margin-bottom: 160px; /* extra space after 'your own design' */
  line-height: 1.7;
}

.stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.product-card {
  display: grid;
  gap: 10px;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
  background: rgba(255, 255, 255, 0.02);
}

ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

li {
  margin: 8px 0;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text);
  opacity: 0.9;
}

.footer a:hover,
.footer a:focus-visible {
  opacity: 1;
}


/* High-Status Visual Reset: Home Hero */
body.home-hero {
  background: linear-gradient(to bottom, rgba(15, 17, 21, 0.45) 0%, rgba(15, 17, 21, 1) 90%), 
              url('./assets/hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #0f1115;
}

/* Product Thumbnail: Aligned to text container width (High-Status) */
.product-hero img {
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Canonical Purchase Button: Gold on Black */
.purchase-btn {
  display: inline-block;
  background: var(--accent);
  color: #000 !important;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.purchase-btn:hover {
  background: #e5c07b;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

