/* ===== Base ===== */
:root{
  --bg: #070707;
  --panel: rgba(12,12,12,.80);
  --line: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --red: #b31217;
  --red2: #d11e25;
  --gold: rgba(255,220,170,.92);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body.public-body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Container */
.container{
  width: min(1100px, calc(100% - 36px));
  margin-inline: auto;
}

/* ===== Nav ===== */
.public-nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.public-nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: var(--text);
}

.brand-mark{
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,60,60,.22));
}

.brand-text{ line-height:1.05; }
.brand-title{
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 16px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.brand-accent{ color: #e54b4f; }
.brand-sub{
  font-size: 12px;
  letter-spacing: .20em;
  opacity: .85;
}

.nav-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.nav-actions .btn{ white-space: nowrap; }

.nav-link{
  color: rgba(255,255,255,.72);
  text-decoration:none;
  font-weight: 650;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.nav-link:hover{
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration:none;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.04);
  transition: transform .06s ease, background .12s ease, border .12s ease;
  font-weight: 700;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.btn-primary{
  background: linear-gradient(180deg, var(--red2), var(--red));
  border: 1px solid rgba(255,90,90,.30);
  color: white;
}
.btn-primary:hover{
  background: linear-gradient(180deg, #e5262e, #b31217);
}

.btn-secondary{
  background: rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.14);
}

.btn-ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
}

.btn-lg{
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 16px;
}

/* ===== Hero ===== */
.hero-banner{
  position: relative;
  height: clamp(460px, 62vh, 760px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      to right,
      rgba(0,0,0,.35) 0%,
      rgba(0,0,0,.20) 42%,
      rgba(0,0,0,.0) 70%,
      rgba(0,0,0,0) 100%
    ),
    radial-gradient(circle at 26% 50%, rgba(0,0,0,.10) 0%, rgba(0,0,0,.25) 65%, rgba(0,0,0,.50) 100%);
}

.hero-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display:flex;
  align-items:center;
}

.hero-text{
  max-width: 580px;
  padding: 36px 0 28px;
}

.hero-eyebrow{
  font-size: 12px;
  letter-spacing: .28em;
  color: rgba(255,255,255,.80);
  margin-bottom: 12px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Headline vibe like the poster (classic serif) */
.hero-title{
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.02;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 14px 46px rgba(0,0,0,.60);
}

.hero-subtitle{
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  margin: 0 0 22px;
  text-shadow: 0 8px 24px rgba(0,0,0,.55);
}

.hero-actions{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}

.hero-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  letter-spacing: .02em;
}

/* ===== Body ===== */
.landing-body{
  padding: 22px 0 26px;
}

.cards-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}

/* Flipped version: image left / text right */
.cards-grid.cards-grid-flip{
  grid-template-columns: .9fr 1.1fr;
}

.card{
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 34px rgba(0,0,0,.30);
}

.card h2{
  margin: 0 0 10px;
  font-size: 22px;
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}

.card p{
  margin: 0 0 10px;
  color: rgba(255,255,255,.86);
  line-height: 1.55;
}

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

.card-media{
  padding: 0;
  overflow:hidden;
}

.card-media img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  min-height: 320px;
}

.steps{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.86);
  line-height: 1.6;
}

.cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.microcopy{
  margin-top: 10px;
  color: rgba(255,255,255,.75);
}

/* ===== Footer ===== */
.public-footer{
  padding: 18px 0 26px;
}

.footer-line{
  height: 1px;
  background: var(--line);
  margin: 0 0 14px;
}

.footer-copy{
  color: rgba(255,255,255,.65);
  font-size: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  /* On mobile, keep the How-It-Works text between stacked images */
  .cards-grid-flip .card{ order: 1; }
  .cards-grid-flip .card-media{ order: 2; }
  .cards-grid.cards-grid-flip{ display:flex; flex-direction: column; }

  .hero-banner{
    height: clamp(420px, 68vh, 560px);
  }
  .hero-img{
    object-position: 62% center;
  }
  .hero-text{
    max-width: 100%;
  }
  .cards-grid,
  .cards-grid.cards-grid-flip{
    grid-template-columns: 1fr;
  }
}


/* Footer links */
.footer-links{ margin-top: 10px; text-align: center; }
.footer-admin{ color: rgba(255,255,255,.72); text-decoration:none; font-weight:650; border:1px solid rgba(255,255,255,.10); padding:8px 12px; border-radius:10px; background: rgba(255,255,255,.03); display:inline-block; }
.footer-admin:hover{ color: rgba(255,255,255,.92); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); }


/* Landing: pill row near How It Works */
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 0 0 14px 0;
}

/* Simple bullet list styling inside landing cards */
.bullets{
  margin: 10px 0 14px 18px;
}
.bullets li{
  margin: 6px 0;
}




.split-section .text {
  flex: 1;
}

.split-section .image {
  flex: 1;
  display: flex;
}

.split-section .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Hero secondary links */
.hero-secondary-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-secondary-links a {
  font-size: 0.9rem;
  opacity: 0.85;
}


/* Make hero pills clickable without looking like links */
.hero-pills a.pill{
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}


/* Anchor jump offset for sticky header */
h2[id]{
  scroll-margin-top: 96px;
}


/* Tighten landing spacing on mobile */
@media (max-width: 768px){
  .landing-body .cards-grid{
    margin-top: 12px !important;
    gap: 12px;
  }
  .landing-body .card{
    padding: 18px;
  }
  .landing-body .card.card-media img{
    max-height: 320px;
    object-fit: cover;
  }
}


.section-links{
  margin-top: 14px;
}

.section-links a{
  color: rgba(255,255,255,.86);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .92;
  font-size: 14px;
}

.section-links a:hover{ opacity: 1; }

.back-to-top{
  margin-top: 18px;
  text-align: center;
}

.back-to-top a{
  color: rgba(255,255,255,.80);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  opacity: .9;
}

.back-to-top a:hover{ opacity: 1; }

/* Subtle scroll cue */
.scroll-cue{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  opacity: .85;
}

.scroll-cue-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint{
  0%{ transform: translateY(0); opacity:.35; }
  40%{ transform: translateY(8px); opacity:.85; }
  100%{ transform: translateY(0); opacity:.35; }
}


.section-links .sep{
  margin: 0 8px;
  opacity: .55;
}
