/* =============================================================
   Great Lakes Capital Connection — Shared Stylesheet
   Palette: Deep Navy (#0D1B2A) · Gold (#C9A84C) · Off-white (#F7F6F2)
   Fonts: Playfair Display (headlines) · Inter (body/UI)
   ============================================================= */

/* ── Google Fonts import ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ───────────────────────────────────── */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #112235;
  --navy-light:  #1A2F45;
  --gold:        #C9A84C;
  --gold-light:  #DFC27A;
  --gold-dim:    rgba(201,168,76,0.12);
  --offwhite:    #F7F6F2;
  --card-bg:     #EDEDEA;
  --text:        #1A1A1A;
  --text-muted:  #5C5C5C;
  --white:       #FFFFFF;
  --border:      #D8D6D1;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --max-w:       1140px;
  --section-py:  90px;
  --radius:      6px;
  --transition:  200ms ease;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography Scale ────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { font-size: 1.0625rem; }

/* ── Layout Helpers ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── ─────────────────────────────────────────────────────────── */
/* HEADER                                                         */
/* ── ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 18px 0;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.wordmark span { color: var(--gold); }

.header-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 7px 16px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.header-cta:hover { background: var(--gold); color: var(--navy); }

/* ── ─────────────────────────────────────────────────────────── */
/* HERO                                                           */
/* ── ─────────────────────────────────────────────────────────── */
.hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.09) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30 Q15 10 30 30 Q45 50 60 30' stroke='rgba(201,168,76,0.06)' stroke-width='1' fill='none'/%3E%3Cpath d='M0 50 Q15 30 30 50 Q45 70 60 50' stroke='rgba(201,168,76,0.04)' stroke-width='1' fill='none'/%3E%3Cpath d='M0 10 Q15 -10 30 10 Q45 30 60 10' stroke='rgba(201,168,76,0.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  padding: 110px 0 130px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero-sub {
  color: rgba(255,255,255,0.68);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto 16px;
  font-weight: 300;
}

.hero-sub-detail {
  color: rgba(255,255,255,0.40);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 44px;
  font-style: italic;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(201,168,76,0.38);
}
.btn-primary .arrow { transition: transform var(--transition); }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* ── ─────────────────────────────────────────────────────────── */
/* AUTHORITY BAR                                                   */
/* ── ─────────────────────────────────────────────────────────── */
.authority-bar {
  background: var(--navy-light);
  border-top: 1px solid rgba(201,168,76,0.10);
  border-bottom: 1px solid rgba(201,168,76,0.10);
  padding: 16px 0;
}

.authority-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.authority-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}

.authority-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── ─────────────────────────────────────────────────────────── */
/* ABOUT / VALUE PROP                                             */
/* ── ─────────────────────────────────────────────────────────── */
.about {
  background: var(--offwhite);
  padding: var(--section-py) 0;
  text-align: center;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.about h2 { max-width: 580px; margin: 0 auto 20px; color: var(--navy); }

.about-body {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-body p + p { margin-top: 16px; }

/* ── ─────────────────────────────────────────────────────────── */
/* THE LANDSCAPE (primary .com only)                             */
/* ── ─────────────────────────────────────────────────────────── */
.landscape {
  background: var(--white);
  padding: var(--section-py) 0;
}

.landscape-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.landscape-text h2 {
  color: var(--navy);
  margin-bottom: 24px;
}

.landscape-text p {
  color: var(--text-muted);
  font-size: 1.0rem;
  line-height: 1.82;
  margin-bottom: 16px;
}

.landscape-text p:last-child { margin-bottom: 0; }

.landscape-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
}

.stat-block {
  padding: 28px 28px;
  border-left: 3px solid var(--gold-dim);
  transition: border-color var(--transition);
}
.stat-block:hover { border-left-color: var(--gold); }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── ─────────────────────────────────────────────────────────── */
/* WHO THIS IS FOR — 3-column cards                               */
/* ── ─────────────────────────────────────────────────────────── */
.community {
  background: var(--offwhite);
  padding: var(--section-py) 0;
}

.community-header {
  text-align: center;
  margin-bottom: 56px;
}
.community-header h2 { color: var(--navy); margin-top: 12px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  border-top: 3px solid var(--gold);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(13,27,42,0.09);
  transform: translateY(-3px);
}

.card-icon { width: 44px; height: 44px; margin-bottom: 20px; color: var(--gold); }
.card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.12rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.72; }

/* ── ─────────────────────────────────────────────────────────── */
/* WHAT'S COMING (primary .com only)                             */
/* ── ─────────────────────────────────────────────────────────── */
.whats-coming {
  background: var(--navy);
  padding: var(--section-py) 0;
}

.whats-coming .section-label { color: rgba(201,168,76,0.7); }
.whats-coming h2 { color: var(--white); text-align: center; margin-bottom: 12px; margin-top: 12px; }
.coming-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.coming-item {
  padding: 32px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}
.coming-item:hover { background: rgba(201,168,76,0.06); }

.coming-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.coming-item h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}

.coming-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* ── ─────────────────────────────────────────────────────────── */
/* REGION CALL-OUT                                                */
/* ── ─────────────────────────────────────────────────────────── */
.region {
  background: var(--offwhite);
  border-top: 1px solid var(--border);
  padding: 72px 0;
  text-align: center;
}

.region h2 { color: var(--navy); margin-bottom: 16px; }
.region h2 span { color: var(--gold); }

.region-states {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.region-tagline { color: var(--text-muted); font-size: 0.95rem; font-style: italic; }

/* ── ─────────────────────────────────────────────────────────── */
/* LEAD CAPTURE FORM                                              */
/* ── ─────────────────────────────────────────────────────────── */
.join {
  background: var(--navy);
  padding: var(--section-py) 0 100px;
  text-align: center;
}

.join .section-label { color: rgba(201,168,76,0.7); }
.join-inner { max-width: 560px; margin: 0 auto; }
.join h2 { color: var(--white); margin-bottom: 14px; margin-top: 12px; }
.join-sub { color: rgba(255,255,255,0.55); margin-bottom: 40px; font-size: 1.02rem; }

/* Form */
#signup-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-field { display: flex; flex-direction: column; text-align: left; }

.form-field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 7px;
}

.form-field input,
.form-field select {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}
.form-field input::placeholder { color: #AEACAA; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-muted);
  pointer-events: none;
}
.select-wrap select { padding-right: 36px; cursor: pointer; }

.form-submit { margin-top: 8px; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(201,168,76,0.3);
}

.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  margin-top: 12px;
}

/* Success state */
#form-success {
  display: none;
  padding: 44px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
}
#form-success.visible { display: block; }
#form-success h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
#form-success p { color: rgba(255,255,255,0.55); }

/* ── ─────────────────────────────────────────────────────────── */
/* EXTRA SECTIONS (supporting domains)                           */
/* ── ─────────────────────────────────────────────────────────── */

/* .org: The Network section */
.network-section {
  background: var(--white);
  padding: var(--section-py) 0;
}

.network-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.network-text h2 { color: var(--navy); margin-bottom: 20px; }
.network-text p { color: var(--text-muted); font-size: 1.0rem; line-height: 1.8; margin-bottom: 14px; }
.network-text p:last-child { margin-bottom: 0; }

.network-pillars { display: flex; flex-direction: column; gap: 20px; }

.pillar {
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: var(--offwhite);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pillar h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.pillar p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* connect.com: How It Works */
.how-it-works {
  background: var(--white);
  padding: var(--section-py) 0;
}

.how-it-works .community-header { margin-bottom: 52px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 32px 40px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.step h3 { color: var(--navy); margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

/* capcon.org: The Gathering */
.gathering {
  background: var(--navy);
  padding: var(--section-py) 0;
}

.gathering-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.gathering-text h2 { color: var(--white); margin-bottom: 20px; }
.gathering-text p { color: rgba(255,255,255,0.60); font-size: 1.0rem; line-height: 1.8; margin-bottom: 14px; }

.gathering-details { display: flex; flex-direction: column; gap: 20px; }

.detail-block {
  padding: 24px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
}
.detail-block .detail-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.detail-block .detail-value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}
.detail-block .detail-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.40);
  margin-top: 4px;
}

/* ── ─────────────────────────────────────────────────────────── */
/* FOOTER                                                         */
/* ── ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  align-items: center;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.32);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-links .divider { color: rgba(255,255,255,0.15); font-size: 0.75rem; }

.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.22); }

/* ── ─────────────────────────────────────────────────────────── */
/* PRIVACY PAGE                                                   */
/* ── ─────────────────────────────────────────────────────────── */
.policy-page { background: var(--offwhite); min-height: 100vh; }
.policy-content { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.policy-content h1 { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.policy-content .effective { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 40px; }
.policy-content h2 {
  font-size: 1.1rem; color: var(--navy); margin: 32px 0 10px;
  font-family: var(--font-sans); font-weight: 600;
}
.policy-content p, .policy-content li {
  color: var(--text-muted); font-size: 0.97rem; line-height: 1.75;
}
.policy-content ul { padding-left: 20px; margin: 8px 0 0; }
.policy-content li { margin-bottom: 4px; }
.policy-content a { color: var(--navy); text-decoration: underline; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem;
  font-weight: 500; color: var(--navy); margin-bottom: 40px; opacity: 0.7;
  transition: opacity 200ms;
}
.back-link:hover { opacity: 1; }

/* ── ─────────────────────────────────────────────────────────── */
/* RESPONSIVE                                                     */
/* ── ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .landscape-inner,
  .network-inner,
  .gathering-inner { grid-template-columns: 1fr; gap: 40px; }

  .coming-grid { grid-template-columns: repeat(2, 1fr); }

  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .hero { padding: 80px 0 90px; }

  .wordmark { font-size: 0.95rem; }
  .header-cta { display: none; }

  .cards-grid,
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }

  .coming-grid { grid-template-columns: 1fr 1fr; }

  .authority-inner { gap: 6px 18px; }

  .footer-links { gap: 4px 12px; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 72px; }
  .btn-primary { width: 100%; justify-content: center; }
  .coming-grid { grid-template-columns: 1fr; }
}
