/* ============================================================
   CASH 4 KINGS — design tokens
   Black + gold + elegant emerald. Regal, restrained, no filler.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;900&family=Jost:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root{
  --black:        #06070a;
  --panel:         #0b1210;
  --panel-2:       #0e1512;
  --line:          rgba(212,175,55,0.18);
  --line-emerald:  rgba(47,168,117,0.28);

  --gold:          #d4af37;
  --gold-bright:   #f4d06f;
  --gold-dim:      #8a7431;
  --gold-foil:     linear-gradient(115deg,#8a6e2f 0%,#f4d06f 28%,#d4af37 45%,#fff3c4 52%,#d4af37 58%,#8a6e2f 100%);

  --emerald:       #0f6b4c;
  --emerald-bright:#2fa875;
  --emerald-deep:  #0a3d2c;

  --ivory:         #ece6d6;
  --ivory-dim:     #a89f8a;

  --serif: 'Cinzel', serif;
  --sans:  'Jost', sans-serif;
  --mono:  'Space Mono', monospace;

  --maxw: 1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
main, footer{ position:relative; z-index:2; }
body{
  margin:0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(15,107,76,0.14), transparent 60%),
    radial-gradient(ellipse 700px 400px at 90% 10%, rgba(212,175,55,0.06), transparent 60%),
    var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
::selection{background: var(--emerald); color:#fff;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

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

/* -------------------- ambient emerald smoke (fixed, whole site) -------------------- */
.fog{
  position:fixed; top:0; height:100vh; width:38vw; max-width:520px;
  z-index:1; pointer-events:none; overflow:hidden;
}
.fog span{
  position:absolute; border-radius:50%; filter:blur(55px);
  background: radial-gradient(circle, rgba(47,168,117,0.55), rgba(47,168,117,0.15) 60%, transparent 78%);
}
.fog-left{ left:0; }
.fog-right{ right:0; }
.fog span.b1{ width:340px; height:340px; top:6%; }
.fog span.b2{ width:260px; height:260px; top:42%; opacity:0.85; }
.fog span.b3{ width:300px; height:300px; top:74%; opacity:0.7; }
@keyframes drift-a{
  0%,100%{ transform:translate(0,0) scale(1); opacity:0.7; }
  33%{ transform:translate(70px,-90px) scale(1.2); opacity:1; }
  66%{ transform:translate(-40px,50px) scale(0.9); opacity:0.85; }
}
@keyframes drift-b{
  0%,100%{ transform:translate(0,0) scale(1); opacity:0.6; }
  33%{ transform:translate(-60px,80px) scale(1.15); opacity:0.95; }
  66%{ transform:translate(50px,-60px) scale(0.92); opacity:0.8; }
}
.fog-left span.b1{ left:-120px; animation: drift-a 14s ease-in-out infinite; }
.fog-left span.b2{ left:-60px; animation: drift-b 18s ease-in-out infinite 1.5s; }
.fog-left span.b3{ left:-100px; animation: drift-a 16s ease-in-out infinite 3s; }
.fog-right span.b1{ right:-120px; animation: drift-b 15s ease-in-out infinite 0.5s; }
.fog-right span.b2{ right:-50px; animation: drift-a 19s ease-in-out infinite 2s; }
.fog-right span.b3{ right:-110px; animation: drift-b 17s ease-in-out infinite 4s; }
@media (max-width:700px){
  .fog{ width:56vw; }
  .fog span{ filter:blur(40px); }
}

h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight:600;
  letter-spacing:0.02em;
  margin:0 0 0.5em;
  color: var(--gold-bright);
}
.eyebrow{
  font-family: var(--mono);
  font-size:12px;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color: var(--emerald-bright);
}
p{color:var(--ivory-dim); font-weight:300;}
.gold-text{
  background: var(--gold-foil);
  background-size:220% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.shimmer{ animation: shimmer 2.4s ease-in-out 0.2s 1; }
@keyframes shimmer{
  0%{background-position:0% 0;}
  60%{background-position:100% 0;}
  100%{background-position:100% 0;}
}

/* -------------------- crest divider (signature element) -------------------- */
.crest-divider{
  display:flex; align-items:center; justify-content:center; gap:14px;
  margin: 0 auto; width:100%; max-width:420px;
}
.crest-divider .rule{ flex:1; height:1px; background:linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.crest-divider .gem{
  width:9px; height:9px; background:var(--emerald-bright);
  transform:rotate(45deg);
  box-shadow: 0 0 10px rgba(47,168,117,0.7), 0 0 2px var(--gold-bright) inset;
  border: 1px solid var(--gold);
}

/* 1. Center the Section Text & Header */
.section-head {
  text-align: center;         /* Centers h2, eyebrow, and p text */
  margin-left: auto;          /* Centers the container horizontally */
  margin-right: auto;
  max-width: 800px;           /* Keeps text block readable and nicely centered */
}

/* 2. Center the Crest Divider (Rule - Gem - Rule Layout) */
.crest-divider {
  display: flex;              /* Flexbox arranges rule - gem - rule in a line */
  align-items: center;        /* Vertically aligns lines with the gem */
  justify-content: center;   /* Horizontally centers the whole element */
  margin: 30px auto;          /* Top/Bottom spacing + horizontal auto-centering */
  width: 100%;
  max-width: 400px;           /* Adjust total width of the divider line */
}

/* 3. Style the Rules (Lines) and Gem */
.crest-divider .rule {
  flex-grow: 1;               /* Makes left and right lines stretch equally */
  height: 1px;
  background-color: #d1d5db;  /* Border/line color (adjust as needed) */
}

.crest-divider .gem {
  width: 12px;
  height: 12px;
  background-color: #c5a059;  /* Gold/Accent color for the gem */
  transform: rotate(45deg);   /* Rotates square into a diamond/gem shape */
  margin: 0 15px;             /* Spacing around the gem */
  flex-shrink: 0;
}


/* -------------------- nav -------------------- */
header.site-nav{
  position:sticky; top:0; z-index:50;
  background: rgba(6,7,10,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 28px; max-width:var(--maxw); margin:0 auto;
}
.brand{display:flex; align-items:center; gap:12px;}
.brand img{height:44px; width:auto;}
.brand span{
  font-family:var(--serif); font-weight:700; letter-spacing:0.12em;
  font-size:17px; color:var(--gold-bright);
}
nav.links{display:flex; gap:32px; align-items:center;}
nav.links a{
  font-family:var(--mono); font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--ivory-dim); position:relative; padding:6px 0;
  transition:color .25s ease;
}
nav.links a:hover, nav.links a.active{ color:var(--gold-bright); }
nav.links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:1px; background:var(--emerald-bright);
}
.nav-cta{
  font-family:var(--mono); font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
  padding:11px 22px; border:1px solid var(--gold);
  background:linear-gradient(180deg, rgba(212,175,55,0.14), rgba(212,175,55,0.02));
  color:var(--gold-bright); transition: all .25s ease;
}
.nav-cta:hover{ background:var(--emerald-deep); border-color:var(--emerald-bright); color:#fff; }
.nav-toggle{display:none;}

@media (max-width:860px){
  nav.links{
    position:fixed; inset:64px 0 0 0; background:var(--black);
    flex-direction:column; justify-content:flex-start; padding:40px 28px; gap:26px;
    transform:translateX(100%); transition:transform .3s ease; border-top:1px solid var(--line);
  }
  nav.links.open{transform:translateX(0);}
  .nav-toggle{
    display:block; background:none; border:1px solid var(--line); color:var(--gold-bright);
    font-family:var(--mono); font-size:11px; letter-spacing:.14em; padding:9px 14px;
  }
}

/* -------------------- buttons -------------------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:13px; letter-spacing:0.12em; text-transform:uppercase;
  padding:16px 34px; border:1px solid var(--gold); cursor:pointer;
  background:linear-gradient(180deg, rgba(212,175,55,0.14), rgba(212,175,55,0.02));
  color:var(--gold-bright); transition:all .28s ease;
}
.btn:hover{ background:var(--emerald-deep); border-color:var(--emerald-bright); color:#fff; transform:translateY(-1px); }
.btn-solid{
  background: var(--emerald); border:1px solid var(--emerald-bright); color:#f4fff9;
}
.btn-solid:hover{ background:var(--emerald-bright); color:#06110c; }
.btn-ghost{ background:transparent; border:1px solid var(--line-emerald); color:var(--ivory-dim); }
.btn-ghost:hover{ color:var(--gold-bright); border-color:var(--gold); }

/* -------------------- hero -------------------- */
.hero{
  padding:96px 0 80px; text-align:center;
  position:relative; overflow:hidden; isolation:isolate;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background-image:url('hero-bg.png');
  background-size:cover; background-position:center 42%;
  opacity:0.55;
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
  z-index:0; pointer-events:none;
}
.hero::after{
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 65% 55% at 50% 18%, transparent 0%, rgba(6,7,10,0.35) 55%, var(--black) 100%);
  z-index:0; pointer-events:none;
}
.hero .wrap{ position:relative; z-index:1; }
.hero .crest{
  width:150px; margin:0 auto 28px; opacity:0.96;
  animation: crest-float 6.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.55));
}
@keyframes crest-float{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-14px) rotate(0.6deg); }
}
.hero h1{ font-size:clamp(34px,5.4vw,64px); line-height:1.08; margin-bottom:20px;}
.hero .lede{ max-width:600px; margin:0 auto 36px; font-size:17px; }
.hero .cta-row{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; margin-bottom:56px;}

.stat-row{
  display:grid; grid-template-columns:repeat(5,1fr); gap:1px;
  border:1px solid var(--line); background:var(--line);
  max-width:1040px; margin:0 auto;
}
.stat{ background:var(--panel); padding:26px 14px; text-align:center; }
.stat .num{ font-family:var(--mono); color:var(--gold-bright); font-size:24px; }
.stat .lbl{ font-family:var(--mono); font-size:9.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ivory-dim); margin-top:6px;}
@media(max-width:900px){ .stat-row{grid-template-columns:repeat(3,1fr);} }
@media(max-width:560px){ .stat-row{grid-template-columns:repeat(2,1fr);} }

/* -------------------- sections -------------------- */
section{ padding:88px 0; }
.section-head{ text-align:center; max-width:800px; margin:0 auto 56px; }
.section-head h2{ font-size:clamp(26px,3.6vw,40px); margin-top:14px; }

/* card row — "the court" */
.court{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
@media(max-width:900px){ .court{grid-template-columns:1fr;} }
.card{
  position:relative; padding:38px 30px; background:var(--panel);
  border:1px solid var(--line);
}
.card::before{
  content:''; position:absolute; top:10px; left:10px; right:10px; bottom:10px;
  border:1px solid transparent; pointer-events:none;
  transition:border-color .3s ease;
}
.card:hover::before{ border-color: var(--line-emerald); }
.card .rank{ font-family:var(--mono); color:var(--emerald-bright); font-size:12px; letter-spacing:.2em; }
.card h3{ font-size:21px; margin:14px 0 12px;}
.card p{ font-size:14.5px; margin:0 0 18px;}
.card a.more{ font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); border-bottom:1px solid var(--gold-dim); padding-bottom:2px;}
.card a.more:hover{ color:var(--gold-bright); border-color:var(--gold-bright); }

/* filled variant — emerald-lit card, used sparingly to punctuate a grid */
.card-fill{
  background: linear-gradient(160deg, rgba(15,107,76,0.38), rgba(9,18,15,0.92));
  border-color: var(--emerald-bright);
}
.card-fill h3{ color:#fdfdf8; }
.card-fill p{ color:rgba(236,230,214,0.85); }
.card-fill a.more{ color:#eafff5; border-color:rgba(234,255,245,0.4); }
.card-fill a.more:hover{ color:#fff; border-color:#fff; }

/* two-column card grid, for larger card sets */
.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media(max-width:800px){ .grid2{grid-template-columns:1fr;} }

/* -------------------- comparison table -------------------- */
.compare{ border:1px solid var(--line); max-width:900px; margin:0 auto; }
.compare-row{ display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid var(--line); }
.compare-row:last-child{ border-bottom:none; }
.compare-cell{
  padding:18px 30px; font-size:14.5px; color:var(--ivory-dim);
  display:flex; align-items:center; gap:12px;
}
.compare-cell.us{ background:rgba(15,107,76,0.08); border-right:1px solid var(--line-emerald); color:var(--ivory); }
.compare-row.head .compare-cell{ font-family:var(--serif); font-size:21px; padding:22px 30px; color:var(--gold-bright); }
.compare-row.head .us{ background:rgba(15,107,76,0.16); }
.mark-yes{ color:var(--emerald-bright); font-family:var(--mono); flex:none; }
.mark-no{ color:var(--gold-dim); font-family:var(--mono); flex:none; }
@media(max-width:640px){
  .compare-cell{ padding:14px 16px; font-size:13px; gap:8px; }
  .compare-row.head .compare-cell{ font-size:16px; padding:16px; }
}

.faq{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); padding:22px 0; }
.faq-item:first-child{ border-top:1px solid var(--line); }
.faq-item summary{
  cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:20px;
  font-family:var(--serif); font-size:18px; color:var(--ivory); font-weight:600;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:'+'; font-family:var(--mono); font-size:20px; color:var(--gold); flex:none;
  transition: transform .25s ease;
}
.faq-item[open] summary::after{ content:'–'; color:var(--emerald-bright); }
.faq-item p{ margin:14px 0 0; font-size:14.5px; max-width:680px; }

.cta-banner{
  text-align:center; padding:64px 40px; border:1px solid var(--line-emerald);
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(15,107,76,0.18), transparent 70%), var(--panel-2);
}
.cta-banner h2{ font-size:clamp(26px,3.6vw,38px); margin-bottom:14px; }
.cta-banner p{ max-width:520px; margin:0 auto 30px; }
.steps-grid{ display:grid; grid-template-columns:1fr 1fr; gap:52px 64px; max-width:920px; margin:0 auto; }
.step-big .num{ font-family:var(--serif); font-size:52px; color:var(--gold-dim); line-height:1; margin-bottom:16px; }
.step-big .rule-short{ width:38px; height:1px; background:var(--gold-dim); margin-bottom:20px; }
.step-big h3{ font-size:19px; color:var(--ivory); margin-bottom:10px; }
.step-big p{ font-size:14.5px; margin:0; }
@media(max-width:700px){ .steps-grid{grid-template-columns:1fr; gap:38px;} }

/* process / steps (real sequence, numbering earned) */
.steps{ counter-reset:step; display:grid; gap:0; max-width:760px; margin:0 auto;}
.step{
  display:grid; grid-template-columns:64px 1fr; gap:22px; padding:28px 0;
  border-bottom:1px solid var(--line);
}
.step:last-child{border-bottom:none;}
.step .n{
  counter-increment:step; font-family:var(--serif); font-size:28px; color:var(--gold);
  display:flex; align-items:flex-start; justify-content:center;
}
.step .n::before{ content: counter(step, decimal-leading-zero); }
.step h3{ font-size:18px; margin:0 0 8px; color:var(--ivory);}
.step p{ margin:0; font-size:14.5px;}

/* testimonial / endorsement */
.endorsements{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media(max-width:800px){ .endorsements{grid-template-columns:1fr;} }
.endorsement{
  padding:32px; border:1px solid var(--line-emerald); background:var(--panel-2);
  position:relative;
}
.endorsement .mark{ font-family:var(--serif); font-size:44px; color:var(--emerald-bright); line-height:0.4; display:block; margin-bottom:14px;}
.endorsement p.quote{ color:var(--ivory); font-size:15.5px; font-style:italic; margin-bottom:18px;}
.endorsement .who{ font-family:var(--mono); font-size:11.5px; letter-spacing:.08em; color:var(--gold); text-transform:uppercase;}

/* form panel */
.panel{
  background:var(--panel); border:1px solid var(--line); padding:44px;
}
.field{ margin-bottom:20px; }
.field label{
  display:block; font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ivory-dim); margin-bottom:8px;
}
.field input, .field select, .field textarea{
  width:100%; background:var(--black); border:1px solid var(--line); color:var(--ivory);
  padding:13px 14px; font-family:var(--sans); font-size:14.5px;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--emerald-bright);
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media(max-width:600px){ .field-row{grid-template-columns:1fr;} }

.disclosure{
  display:flex; gap:14px; align-items:flex-start;
  padding:18px 20px; border:1px solid var(--line-emerald); background:rgba(15,107,76,0.08);
  font-size:13px; color:var(--ivory-dim); margin-bottom:30px;
}
.disclosure .gem-ico{ flex:none; width:9px; height:9px; margin-top:5px; background:var(--emerald-bright); transform:rotate(45deg); border:1px solid var(--gold);}
.disclosure a{ color:var(--gold); border-bottom:1px solid var(--gold-dim); }
.disclosure a:hover{ color:var(--gold-bright); }

/* footer */
footer{ border-top:1px solid var(--line); padding:56px 0 36px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:44px;}
@media(max-width:760px){ .footer-grid{grid-template-columns:1fr !important;} }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px;}
.footer-brand img{ height:38px; }
.footer-brand span{ font-family:var(--serif); color:var(--gold-bright); font-size:16px; letter-spacing:.1em;}
.footer-grid h4{ font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:16px;}
.footer-grid ul{ list-style:none; padding:0; margin:0; display:grid; gap:10px;}
.footer-grid a{ color:var(--ivory-dim); font-size:14px; transition:color .2s ease;}
.footer-grid a:hover{ color:var(--gold-bright); }
.footer-base{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
  padding-top:26px; border-top:1px solid var(--line);
  font-family:var(--mono); font-size:11px; letter-spacing:.06em; color:var(--ivory-dim);
}

/* page hero (inner pages) */
.page-hero{ padding:64px 0 48px; text-align:center; }
.page-hero .eyebrow{ display:block; margin-bottom:16px; }
.page-hero h1{ font-size:clamp(30px,4.6vw,50px); }

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
