/* Shared styles for Over Their Lives content pages (/about, /how-it-works, /faq).
   Dark theme matching the homepage. No JS required. */

:root {
  --midnight:    #0B0F1A;
  --deep-night:  #1C2A42;
  --navy:        #3D5A80;
  --plum:        #7B2869;
  --coral:       #E07A5F;
  --gold:        #E3A94F;
  --gold-soft:   #f0c884;
  --cream:       #F6EFE2;
  --cream-dim:   rgba(246, 239, 226, 0.74);
  --cream-faint: rgba(246, 239, 226, 0.52);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(61,90,128,0.22) 0%, rgba(61,90,128,0) 55%),
    linear-gradient(180deg, var(--midnight) 0%, #0d1322 100%);
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Nav ---------- */
.site-nav {
  border-bottom: 1px solid rgba(246,239,226,0.10);
  background: rgba(11,15,26,0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-nav .nav-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }
.nav-brand {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--cream);
}
.nav-links { margin-left: auto; display: flex; gap: 22px; }
.nav-links a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.96rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a[aria-current="page"] {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- Page body ---------- */
main { padding: 56px 0 24px; }

.page-head { margin-bottom: 14px; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--cream);
}
.lead {
  font-size: 1.16rem;
  color: var(--cream);
  margin: 14px 0 0;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.18;
  color: var(--cream);
  margin: 44px 0 12px;
  scroll-margin-top: 80px;
}
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--cream);
  margin: 26px 0 8px;
  scroll-margin-top: 80px;
}

p { margin: 0 0 16px; color: var(--cream-dim); }
.lead, h1, h2, h3 { text-wrap: balance; }
strong { font-weight: 500; color: var(--cream); }

ul { margin: 0 0 16px; padding-left: 1.25em; color: var(--cream-dim); }
li { margin: 7px 0; }

hr.rule { border: none; border-top: 1px solid rgba(246,239,226,0.12); margin: 40px 0; }

.step-num {
  font-family: var(--serif);
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Body / Soul / Spirit cards ---------- */
.dims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 8px;
}
.card {
  position: relative;
  padding: 24px 22px;
  background: rgba(28,42,66,0.42);
  border: 1px solid rgba(246,239,226,0.10);
  border-radius: 14px;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px; background: var(--accent);
}
.card h3 { margin: 4px 0 8px; color: var(--accent); font-size: 1.5rem; }
.card p { margin: 0; font-size: 0.98rem; }
.card--body   { --accent: #E07A5F; }
.card--soul   { --accent: #B24B99; }
.card--spirit { --accent: #6E90C4; }

/* ---------- Screenshot slots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 8px;
}
.shot {
  aspect-ratio: 9 / 18;
  border: 2px dashed rgba(246,239,226,0.26);
  border-radius: 24px;
  background: rgba(28,42,66,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream-faint);
  font-size: 0.85rem;
  padding: 16px;
  overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; }

/* ---------- FAQ ---------- */
.faq h2 {
  font-size: clamp(1.3rem, 3.2vw, 1.6rem);
  margin: 32px 0 6px;
}
.faq p { margin-bottom: 0; }
.faq .qa { padding-bottom: 20px; border-bottom: 1px solid rgba(246,239,226,0.09); }
.faq .qa:last-child { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(246,239,226,0.10);
  margin-top: 56px;
  padding: 40px 0 48px;
  text-align: center;
}
.site-footer .footer-mark {
  width: 60px; height: 60px; border-radius: 13px;
  margin-bottom: 16px; box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.site-footer .socials {
  display: flex; justify-content: center; gap: 16px; margin: 0 0 20px;
}
.site-footer .socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(246,239,226,0.2); color: var(--cream);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.site-footer .socials a:hover { border-color: var(--gold); background: rgba(227,169,79,0.12); transform: translateY(-2px); }
.site-footer .socials svg { width: 19px; height: 19px; fill: currentColor; }
.foot-company { font-size: 0.9rem; color: var(--cream-dim); line-height: 1.7; margin: 0 0 4px; }
.foot-company strong { color: var(--cream); font-weight: 500; }
.foot-address { color: var(--cream-faint); }
.foot-links { margin-top: 6px; }
.foot-links a { color: var(--gold); }
.foot-dot { color: var(--cream-faint); margin: 0 8px; }
.foot-copy { font-size: 0.82rem; color: var(--cream-faint); letter-spacing: 0.04em; margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
  .dims { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .nav-brand { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.9rem; }
  .shots { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
}
