/* ────────────────────────────────────────────────────────────────────────────
   Elevenplus FC — shared stylesheet
   Design direction: editorial + refined. Navy + gold + warm cream.
   Fortress Display for headings (Fraunces); monospace accents (JetBrains Mono);
   humanist body (Work Sans). Conservative motion, generous whitespace.
   ──────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette — matches the app */
  --navy:       #0D1B2A;
  --navy-2:     #1A2E42;
  --navy-3:     #243B52;
  --gold:       #C9963A;
  --gold-2:     #E8B455;
  --sage:       #4A7C6F;
  --cream:      #F7F3EC;
  --cream-2:    #EDE8DF;
  --text:       #F7F3EC;
  --text-dim:   rgba(247, 243, 236, 0.72);
  --text-muted: rgba(247, 243, 236, 0.48);
  --rule:       rgba(201, 150, 58, 0.24);

  /* Type */
  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans:  'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Rhythm */
  --measure: 66ch;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Atmospheric background — subtle radial gradients, noise would be nice
   but we keep the file small for Netlify. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(201, 150, 58, 0.06), transparent 60%),
    radial-gradient(ellipse 600px 800px at 90% 80%, rgba(74, 124, 111, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Layout container */
.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.prose-container {
  width: min(720px, 100% - 3rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ──── Header ────────────────────────────────────────────────────────────── */

.site-header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 48;
}

.brand-mark em {
  color: var(--gold);
  font-style: italic;
  font-variation-settings: 'opsz' 48;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

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

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

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

/* ──── Hero (home page) ──────────────────────────────────────────────────── */

.hero {
  padding: 5rem 0 6rem;
  position: relative;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  font-variation-settings: 'opsz' 144;
  max-width: 16ch;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-2);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.hero-lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(201, 150, 58, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

/* ──── Feature rows (home) ───────────────────────────────────────────────── */

.section {
  padding: 5rem 0;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  max-width: 22ch;
  font-variation-settings: 'opsz' 72;
}

.section-title em {
  font-style: italic;
  color: var(--gold-2);
}

.section-lede {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 58ch;
  margin-bottom: 3rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature {
  padding: 2rem 1.75rem;
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.feature:hover {
  border-color: rgba(201, 150, 58, 0.48);
  transform: translateY(-2px);
}

.feature-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.005em;
  font-variation-settings: 'opsz' 48;
}

.feature-body {
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ──── Stats bar ─────────────────────────────────────────────────────────── */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 2rem 0;
}

.stat {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--rule);
}

.stat:last-child { border-right: none; }

.stat-value {
  font-family: var(--serif);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--gold-2);
  font-variation-settings: 'opsz' 72;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ──── Prose pages (privacy / terms / support) ───────────────────────────── */

.page-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4rem;
}

.page-header .eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variation-settings: 'opsz' 144;
  margin-bottom: 1rem;
}

.page-header h1 em {
  font-style: italic;
  color: var(--gold-2);
}

.page-header .sub {
  color: var(--text-dim);
  font-size: 1rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.prose {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-dim);
  padding-bottom: 5rem;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
  margin: 3.5rem 0 1rem;
  letter-spacing: -0.005em;
  font-variation-settings: 'opsz' 48;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.005em;
}

.prose p {
  margin-bottom: 1.2rem;
}

.prose ul, .prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.prose li::marker {
  color: var(--gold);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--gold-2);
  text-decoration: underline;
  text-decoration-color: rgba(232, 180, 85, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.prose a:hover {
  text-decoration-color: var(--gold-2);
}

.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--navy-2);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  border: 1px solid var(--rule);
  color: var(--gold-2);
}

.prose blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text);
  font-style: italic;
}

.callout {
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 4px 4px 0;
}

.callout-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.callout p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.toc {
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.toc-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.toc ol {
  list-style: none;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}

.toc li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  padding: 0;
  break-inside: avoid;
}

.toc a {
  color: var(--text-dim);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

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

.toc-num {
  font-family: var(--mono);
  color: var(--gold);
  font-size: 0.78rem;
}

@media (max-width: 600px) {
  .toc ol { columns: 1; }
}

/* ──── FAQ specific ──────────────────────────────────────────────────────── */

.faq-item {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0;
}

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

.faq-item summary {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  letter-spacing: -0.005em;
  font-variation-settings: 'opsz' 48;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s, color 0.2s;
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--gold-2);
}

.faq-item[open] summary {
  color: var(--gold-2);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-dim);
  padding-top: 0.25rem;
  line-height: 1.65;
}

.faq-answer p {
  margin-bottom: 0.85rem;
}

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

/* ──── Support page ──────────────────────────────────────────────────────── */

.contact-card {
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2.5rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-card-content h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.contact-card-content p {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.95rem;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
}

.email-pill:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ──── CTA banner ────────────────────────────────────────────────────────── */

.cta-banner {
  background:
    linear-gradient(135deg, rgba(201, 150, 58, 0.1), rgba(74, 124, 111, 0.05)),
    var(--navy-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  margin: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 150, 58, 0.12), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.01em;
  position: relative;
}

.cta-banner h2 em {
  font-style: italic;
  color: var(--gold-2);
}

.cta-banner p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-size: 1rem;
  position: relative;
}

/* ──── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 6rem;
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 36ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 700px) {
  .site-header .container { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav { flex-wrap: wrap; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-card { padding: 1.75rem; }
}

/* ──── Fade-in on load ───────────────────────────────────────────────────── */

.animate-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}

.animate-in:nth-child(2) { animation-delay: 0.08s; }
.animate-in:nth-child(3) { animation-delay: 0.16s; }
.animate-in:nth-child(4) { animation-delay: 0.24s; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ──── Pricing & launch offer ────────────────────────────────────────────── */

.feature-price {
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.price-strike {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(247,243,236,0.4);
  font-variation-settings: 'opsz' 36;
}

.price-now {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold-2);
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 72;
}

.price-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 150, 58, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 150, 58, 0.3);
}

.price-strike-inline {
  text-decoration: line-through;
  text-decoration-color: rgba(247,243,236,0.4);
  color: var(--text-muted);
  font-weight: 400;
}

/* Launch CTA banner — like the regular CTA but with a launch pill on top */
.cta-banner-launch {
  border-color: rgba(201, 150, 58, 0.4);
}

.launch-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
