@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --gold:#c8940f; --gold-light:#e8b84b; --ink:#f4efe6; --ink-soft:#d8cfbe;
  --bg:#141210; --bg-soft:#1a1714; --card:#1d1a15; --line:#2c2820; --muted:#a89a80;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
:root[data-theme="light"]{
  --gold:#c8940f; --gold-light:#e8b84b; --ink:#17140f; --ink-soft:#3a352c;
  --bg:#fdfbf7; --bg-soft:#f5eee1; --card:#ffffff; --line:#eee3cf; --muted:#79705f;
}
:root[data-theme="dark"]{
  --gold:#c8940f; --gold-light:#e8b84b; --ink:#f4efe6; --ink-soft:#d8cfbe;
  --bg:#141210; --bg-soft:#1a1714; --card:#1d1a15; --line:#2c2820; --muted:#a89a80;
}
*{box-sizing:border-box}
html{scroll-padding-top:env(safe-area-inset-top,0px);}
html,body{height:100%;}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1080px; margin:0 auto; padding:0 24px;}

header.site{
  position:sticky; top:0; z-index:50;
  top:env(safe-area-inset-top,0px);
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  padding:12px 0;
}
.navrow{display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px;}
.brand{display:flex; align-items:center; text-decoration:none;}
.brand img, #navlogo, .site-logo{
  height:52px;
  width:auto;
  object-fit:contain;
  display:block;
  transition:all 0.25s ease;
}
:root[data-theme="dark"] .brand img,
[data-theme="dark"] .brand img,
:root:not([data-theme="light"]) .brand img,
:root[data-theme="dark"] #navlogo,
[data-theme="dark"] #navlogo,
:root:not([data-theme="light"]) #navlogo {
  background:#ffffff;
  padding:6px 14px;
  border-radius:10px;
  box-shadow:0 4px 14px rgba(0,0,0,0.4);
}
:root[data-theme="light"] .brand img,
[data-theme="light"] .brand img,
:root[data-theme="light"] #navlogo,
[data-theme="light"] #navlogo {
  background:transparent;
  padding:2px 4px;
  border-radius:6px;
}
@media (max-width:640px){
  .brand img, #navlogo, .site-logo{ height:44px; }
  :root[data-theme="dark"] .brand img,
  [data-theme="dark"] .brand img,
  :root:not([data-theme="light"]) .brand img,
  :root[data-theme="dark"] #navlogo,
  [data-theme="dark"] #navlogo,
  :root:not([data-theme="light"]) #navlogo {
    padding:4px 10px;
    border-radius:8px;
  }
}
nav.pages{display:flex; gap:4px; justify-content:center; overflow-x:auto;}
@media (max-width:640px){ .navrow{grid-template-columns:auto 1fr;} nav.pages{justify-content:flex-start;} }
nav.pages a{
  padding:8px 14px; border-radius:999px; font-size:.88rem; font-weight:600;
  color:var(--muted); white-space:nowrap;
}
nav.pages a.active{ background:var(--ink); color:var(--bg); }

.hero{padding:64px 0 40px; text-align:center;}
.hero h1{font-size:2.4rem; margin:0 0 10px; letter-spacing:-.02em;}
.gold{background:linear-gradient(100deg,var(--gold),var(--gold-light)); -webkit-background-clip:text; background-clip:text; color:transparent;}
.tagline{color:var(--muted); font-size:1.05rem; margin:0 0 28px;}
.pbsg{display:flex; justify-content:center; gap:10px; flex-wrap:wrap; font-weight:600; margin-bottom:34px;}
.pbsg span.dot{color:var(--gold);}
.cta-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.btn{
  display:inline-block; padding:13px 26px; border-radius:10px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; cursor:pointer;
}
.btn.primary{background:linear-gradient(100deg,var(--gold),var(--gold-light)); color:#1a1500;}
.btn.ghost{border-color:var(--line); color:var(--ink);}

section{padding:48px 0;}
.section-title{font-size:1.6rem; margin:0 0 6px;}
.section-sub{color:var(--muted); margin:0 0 30px; max-width:640px;}

.center-page{text-align:center;}
.center-page .section-sub{margin-left:auto; margin-right:auto;}
.center-page .quote{
  text-align:center; border-left:none; border-top:4px solid var(--gold);
  border-radius:12px; margin-left:auto; margin-right:auto; max-width:640px;
}

.grid{display:grid; gap:18px;}
.grid.cols-4{grid-template-columns:repeat(4,1fr);}
.grid.cols-3{grid-template-columns:repeat(3,1fr);}
.grid.cols-2{grid-template-columns:repeat(2,1fr);}
@media (max-width:820px){ .grid.cols-4,.grid.cols-3,.grid.cols-2{grid-template-columns:1fr;} .hero h1{font-size:1.9rem;} }

.card{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:22px;}
.card h3{margin:0 0 8px; font-size:1.05rem;}
.card p{margin:0; color:var(--muted); font-size:.92rem; line-height:1.5;}
.step-num{
  width:34px; height:34px; border-radius:50%; background:var(--ink); color:var(--bg);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem; margin-bottom:12px;
}

.flow{display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:center; margin:24px 0 8px;}
.flow .chip{background:var(--card); border:1px solid var(--line); padding:9px 16px; border-radius:999px; font-weight:600; font-size:.85rem;}
.flow .arrow{color:var(--gold); font-weight:700;}

.quote{
  border-left:4px solid var(--gold); padding:14px 20px; margin:28px 0; font-style:italic;
  color:var(--ink-soft); background:var(--card); border-radius:0 12px 12px 0;
}

table{width:100%; border-collapse:collapse; font-size:.9rem;}
thead th{text-align:left; color:var(--muted); font-weight:600; padding:8px 10px; border-bottom:1px solid var(--line);}
tbody td{padding:10px; border-bottom:1px solid var(--line); vertical-align:middle;}
.pill{padding:4px 10px; border-radius:999px; font-size:.78rem; font-weight:600;}
.pill.prep{background:#fbe8b8; color:#6b4c00;}
.pill.ready{background:#d6f0d6; color:#1f5c1f;}

.tier-row{display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 26px;}
.tier{border:1px solid var(--line); border-radius:12px; padding:10px 16px; font-weight:700; font-size:.9rem; background:var(--card);}
.tier.active{border-color:var(--gold); color:var(--gold);}

form.demo{display:grid; gap:14px; max-width:460px;}
form.demo label{font-size:.85rem; font-weight:600; color:var(--ink-soft); display:block; margin-bottom:5px;}
form.demo input, form.demo select{
  width:100%; padding:11px 12px; border-radius:9px; border:1px solid var(--line);
  background:var(--card); color:var(--ink); font-size:.92rem; font-family:inherit;
}
.note{font-size:.82rem; color:var(--muted); margin-top:6px;}
.toast{
  display:none; margin-top:16px; padding:12px 14px; border-radius:10px;
  background:#d6f0d6; color:#1f5c1f; font-size:.88rem; font-weight:600;
}

.pool-card{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:24px; max-width:420px;}
.pool-card h4{margin:0 0 14px; color:var(--gold); letter-spacing:.03em;}
.pool-card dl{margin:0; display:grid; grid-template-columns:1fr auto; gap:8px 10px; font-size:.92rem;}
.pool-card dt{color:var(--muted);}
.pool-card dd{margin:0; font-weight:600; text-align:right;}

.compliance{
  margin-top:36px; padding:18px 20px; border:1px dashed var(--line); border-radius:12px;
  font-size:.85rem; color:var(--muted); line-height:1.6;
}

.brandbar{display:flex; align-items:center; gap:10px; margin:22px 0;}
.brandbar .big{font-weight:700; font-size:1.4rem;}
.brandbar .sep{color:var(--line);}
.brandbar .small{font-size:.82rem; color:var(--muted);}

footer.site{border-top:1px solid var(--line); padding:28px 0; margin-top:20px;}
.footrow{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; font-size:.82rem; color:var(--muted);}
.footrow b{color:var(--ink);}

::-webkit-scrollbar{height:6px;}
::-webkit-scrollbar-thumb{background:var(--line); border-radius:6px;}
