/* ============================================================
   KellStar Agency — styles.css
   Premium navy + gold, Fraunces display / Inter body
   ============================================================ */

:root {
  --navy-950: #060c18;
  --navy-900: #0a1428;
  --navy-800: #101e3c;
  --navy-700: #182a52;
  --gold: #c9a227;
  --gold-bright: #e3bc45;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --ink: #101828;
  --slate: #475467;
  --slate-light: #98a2b3;
  --line: #e4e7ec;
  --bg-light: #ffffff;
  --bg-muted: #f5f6f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(6, 12, 24, 0.10);
  --shadow-lg: 0 20px 60px rgba(6, 12, 24, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { width: min(920px, 92%); }
.center { text-align: center; }
.hidden { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.22rem; margin-bottom: 0.4em; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-lede {
  font-size: 1.13rem;
  color: var(--slate);
  max-width: 46em;
  margin: 0 auto 1.5rem;
}

.gold { color: var(--gold-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.92rem; }
.btn-block { display: block; width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-950);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { box-shadow: 0 10px 28px rgba(201, 162, 39, 0.5); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 12, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: 0.01em; }
.brand-name em { font-style: normal; color: var(--gold-bright); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links .btn { color: var(--navy-950); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(201, 162, 39, 0.14), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(24, 42, 82, 0.8), transparent 60%),
    var(--navy-950);
  color: var(--white);
  padding: 6rem 0 6.5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.hero .lede {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 1.4rem 0 2.2rem;
  max-width: 34em;
}
.hero .lede strong { color: var(--gold-bright); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36em;
}

/* Pipeline visual card */
.pipeline-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.pipeline-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.3rem;
}
.pipe-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pipe-step div { flex: 1; }
.pipe-step strong { display: block; font-size: 0.98rem; }
.pipe-step small { color: rgba(255, 255, 255, 0.5); font-size: 0.8rem; }
.pipe-step.you {
  background: var(--gold-soft);
  border-color: rgba(201, 162, 39, 0.4);
}
.pipe-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3fbf7f;
  box-shadow: 0 0 10px rgba(63, 191, 127, 0.6);
  flex-shrink: 0;
}
.pipe-dot.gold-dot { background: var(--gold-bright); box-shadow: 0 0 10px rgba(227, 188, 69, 0.7); }
.pipe-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.pipe-tag.us { background: rgba(63, 191, 127, 0.15); color: #4fd694; }
.pipe-tag.owner { background: rgba(227, 188, 69, 0.18); color: var(--gold-bright); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-light { background: var(--bg-light); }
.section-muted { background: var(--bg-muted); }
.section-dark {
  background:
    radial-gradient(900px 400px at 50% -20%, rgba(24, 42, 82, 0.9), transparent 70%),
    var(--navy-950);
  color: var(--white);
}
.section-dark .section-lede { color: rgba(255, 255, 255, 0.72); }

/* ---------- Pain cards ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.pain-card {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.pain-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.pain-card p { color: var(--slate); font-size: 0.97rem; }

.callout {
  margin-top: 3rem;
  background: var(--navy-950);
  color: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.7rem 2rem;
  font-size: 1.08rem;
}
.callout strong { color: var(--gold-bright); }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-top: 3rem;
}
.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}
.step-card p { color: rgba(255, 255, 255, 0.68); font-size: 0.95rem; }
.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.9rem;
  letter-spacing: 0.05em;
}
.step-card-gold {
  background: var(--gold-soft);
  border-color: rgba(201, 162, 39, 0.45);
}

/* ---------- Example ---------- */
.example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.example-copy p { color: var(--slate); margin-bottom: 1.1rem; font-size: 1.03rem; }
.example-copy p strong { color: var(--ink); }

.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.usecase {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.usecase h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.example-copy .usecase p { color: var(--slate); font-size: 0.88rem; margin-bottom: 0; }

.example-panel {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.example-panel h3 { margin-bottom: 1.4rem; font-size: 1.1rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.compare-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.compare-col.before h4 { color: #e57373; }
.compare-col.after h4 { color: #4fd694; }
.compare-col ul { list-style: none; }
.compare-col li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.45rem 0 0.45rem 1.3rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.compare-col li:last-child { border-bottom: 0; }
.compare-col.before li::before { content: "\2715"; position: absolute; left: 0; color: #e57373; font-size: 0.75rem; top: 0.6rem; }
.compare-col.after li::before { content: "\2713"; position: absolute; left: 0; color: #4fd694; font-size: 0.8rem; top: 0.55rem; }

/* ---------- Fit grid ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.fit-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 0.97rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(6, 12, 24, 0.04);
}
.fit-note { margin-top: 2rem; color: var(--slate); }
.fit-note a { color: var(--gold); font-weight: 600; }

/* ---------- Included grid ---------- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 3rem;
}
.included-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
}
.included-card p { color: rgba(255, 255, 255, 0.68); font-size: 0.93rem; }
.check {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}

/* ---------- Partner ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.partner-card {
  border-top: 3px solid var(--gold);
  background: var(--bg-muted);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.8rem 1.6rem;
}
.partner-card p { color: var(--slate); font-size: 0.97rem; }

/* ---------- Offer ---------- */
.offer-card {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 162, 39, 0.3);
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 80% -20%, rgba(201, 162, 39, 0.15), transparent 60%);
  pointer-events: none;
}
.offer-head h3 { font-size: 1.7rem; }
.offer-sub { color: rgba(255, 255, 255, 0.7); margin-top: 0.4rem; }
.offer-list { list-style: none; margin: 1.8rem 0; }
.offer-list li {
  padding: 0.7rem 0 0.7rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}
.offer-list li:last-child { border-bottom: 0; }
.offer-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold-bright);
  font-weight: 700;
}
.offer-price { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.price-note { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; }
.offer-terms {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}
.offer-terms span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}
.offer-terms strong { color: var(--gold-bright); }
.offer-fine {
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.5rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 1.5rem 1.3rem; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 50% 120%, rgba(201, 162, 39, 0.18), transparent 60%),
    var(--navy-950);
  color: var(--white);
  padding: 5.5rem 0;
}
.cta-band .section-lede { color: rgba(255, 255, 255, 0.75); margin-bottom: 2.2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem;
}
.footer-inner { display: grid; gap: 1.8rem; }
.footer-brand { display: flex; gap: 0.9rem; align-items: flex-start; }
.footer-brand strong { color: var(--white); }
.footer-brand p { font-size: 0.88rem; margin-top: 0.2rem; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy { font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); }
.footer-slim { padding: 1.6rem 0; }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-body { background: var(--bg-muted); }
.checkout-main { padding: 4.5rem 0 5rem; }
.checkout-header { margin-bottom: 3rem; }
.checkout-header h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.5rem; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: start;
}

.order-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.order-summary h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.order-tagline { color: var(--slate); margin-bottom: 1.6rem; }
.order-includes { list-style: none; margin-bottom: 2rem; }
.order-includes li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line);
}
.order-includes li:last-child { border-bottom: 0; }
.order-includes .check { width: 24px; height: 24px; margin-bottom: 0; font-size: 0.8rem; background: rgba(201, 162, 39, 0.15); color: var(--gold); }

.order-timeline {
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  margin-bottom: 1.6rem;
}
.order-timeline h3 { font-size: 1.05rem; margin-bottom: 0.8rem; }
.order-timeline ol { padding-left: 1.2rem; }
.order-timeline li { font-size: 0.94rem; color: var(--slate); margin-bottom: 0.5rem; }
.order-timeline li strong { color: var(--ink); }

.order-reassure {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.2rem;
  color: var(--slate);
  font-size: 0.97rem;
}
.order-reassure strong { color: var(--ink); }

/* Payment card */
.payment-card {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 162, 39, 0.25);
  position: sticky;
  top: 90px;
}
.payment-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  font-size: 1.02rem;
}
.payment-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.payment-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  margin: 0.2rem 0 1.6rem;
}

.pay-breakdown {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.6rem;
  font-size: 0.9rem;
}
.pay-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.75);
}
.pay-breakdown .bd-total {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.plan-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.7rem;
}
.plan-options {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}
.plan-option {
  font-family: var(--font-body);
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 0.15rem;
  align-items: center;
  text-align: left;
  position: relative;
  transition: all 0.15s;
}
.plan-option:hover { border-color: rgba(227, 188, 69, 0.5); }
.plan-option.active { background: var(--gold-soft); border-color: var(--gold); }
.plan-name { font-weight: 600; font-size: 0.98rem; }
.plan-price { font-weight: 700; font-size: 1.02rem; color: var(--gold-bright); justify-self: end; }
.plan-permo { grid-column: 1 / -1; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.plan-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.16rem 0.6rem;
}
.plan-badge.best {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-950);
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.pay-method {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.15s;
}
.pay-method:hover { border-color: rgba(227, 188, 69, 0.5); }
.pay-method.active {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.pay-method.disabled,
.pay-method:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pay-method.disabled:hover { border-color: rgba(255, 255, 255, 0.18); }
.pay-icon { margin-right: 0.3rem; }
.method-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(63, 191, 127, 0.18);
  color: #4fd694;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.pay-breakdown .bd-discount { color: #4fd694; font-weight: 600; }

.pay-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.4rem;
}
.pay-badges {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.pay-note {
  margin-top: 1.2rem;
  background: rgba(227, 188, 69, 0.1);
  border: 1px solid rgba(227, 188, 69, 0.35);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--gold-bright);
}
.payment-help {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
.payment-help a { color: var(--gold-bright); }

.checkout-footer-note {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--slate-light);
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}
.back-link { font-weight: 500; }

/* ============================================================
   CRYPTO PAY PAGE (direct on-chain)
   ============================================================ */
.crypto-card { position: static; margin: 0 auto; max-width: 640px; }

.cp-plan-switch { display: flex; gap: 0.6rem; margin: 1.2rem 0 1.8rem; flex-wrap: wrap; }
.cp-chip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.15s;
}
.cp-chip:hover { border-color: rgba(227, 188, 69, 0.5); }
.cp-chip.active { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-bright); }

.cp-networks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.cp-net {
  font-family: var(--font-body);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}
.cp-net:hover { border-color: rgba(227, 188, 69, 0.5); }
.cp-net.active { background: var(--gold-soft); border-color: var(--gold); }
.cp-net-asset { font-weight: 700; font-size: 0.98rem; color: var(--white); }
.cp-net.active .cp-net-asset { color: var(--gold-bright); }
.cp-net-chain { font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.cp-net-badge {
  position: absolute;
  top: -9px;
  right: 8px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-950);
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
}

.cp-warning {
  background: rgba(227, 188, 69, 0.1);
  border: 1px solid rgba(227, 188, 69, 0.4);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
}

.cp-pay-grid {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1.8rem;
}
.cp-qr-box {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.cp-qr { width: 148px; height: 148px; }

.cp-send-amount { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.7rem; }
.cp-send-amount strong { color: var(--gold-bright); }
.cp-address-row { display: flex; gap: 0.5rem; align-items: stretch; margin-bottom: 0.9rem; }
.cp-address {
  flex: 1;
  font-family: "Consolas", "Menlo", monospace;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  word-break: break-all;
  color: var(--white);
  line-height: 1.4;
}
.cp-copy { flex-shrink: 0; align-self: center; background: rgba(255,255,255,0.06); color: var(--white); border-color: rgba(255,255,255,0.25); }
.cp-copy:hover { border-color: var(--gold); color: var(--gold-bright); }

.cp-tips { list-style: none; }
.cp-tips li {
  position: relative;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0 0.25rem 1.2rem;
}
.cp-tips li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }
.cp-tips strong { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 640px) {
  .cp-networks { grid-template-columns: repeat(2, 1fr); }
  .cp-pay-grid { grid-template-columns: 1fr; }
  .cp-qr-box { width: 168px; margin: 0 auto; }
}

/* ============================================================
   CLIENT PORTAL
   ============================================================ */
.portal-body { background: var(--bg-muted); }
.portal-nav-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Gate */
.portal-gate {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 4rem 4%;
}
.gate-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 3rem 2.6rem;
  width: min(440px, 100%);
}
.gate-card h1 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.gate-sub { color: var(--slate); font-size: 0.95rem; margin-bottom: 1.8rem; }
.gate-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.gate-input:focus { outline: none; border-color: var(--gold); }
.gate-error {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
  padding: 0.8rem 1rem;
}
.gate-demo {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--slate-light);
  text-align: center;
}
.gate-demo code {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-weight: 600;
  color: var(--ink);
}

/* Success page */
.success-card { width: min(560px, 100%); }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #3fbf7f;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.4rem;
  box-shadow: 0 8px 24px rgba(63, 191, 127, 0.35);
}
.success-steps {
  text-align: left;
  margin: 1.6rem 0 1.8rem;
  padding-left: 1.3rem;
}
.success-steps li {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 0.7rem;
}
.success-steps li strong { color: var(--ink); }

/* App layout */
.portal-app { padding: 3rem 0 4rem; }
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}
.portal-header h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.portal-header .eyebrow { margin-bottom: 0.4rem; }
.portal-updated { color: var(--slate); font-size: 0.9rem; margin-top: 0.4rem; }
.totals-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
}
.totals-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.totals-label { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); line-height: 1.35; }

/* Status banner */
.status-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
  border: 1px solid;
}
.status-banner h2 { font-size: 1.18rem; margin-bottom: 0.25rem; font-family: var(--font-body); font-weight: 700; }
.status-banner p { font-size: 0.95rem; }
.status-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.status-green { background: #edfaf3; border-color: #b5e5cd; color: #085d3a; }
.status-green .status-icon { background: #3fbf7f; color: #fff; }
.status-amber { background: #fffaeb; border-color: #fedf89; color: #7a4d0b; }
.status-amber .status-icon { background: #e3a008; color: #fff; }
.status-red { background: #fef3f2; border-color: #fecdca; color: #912018; }
.status-red .status-icon { background: #e05252; color: #fff; }
.status-paused { background: #f2f4f7; border-color: #d0d5dd; color: #344054; }
.status-paused .status-icon { background: #667085; color: #fff; }

/* Sections & panels */
.portal-section { margin-bottom: 1.6rem; }
.portal-section-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-bottom: 1rem;
}
.section-hint { color: var(--slate-light); font-weight: 500; text-transform: none; letter-spacing: 0; }
.portal-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: 0 2px 10px rgba(6, 12, 24, 0.05);
}
.portal-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 0;
}
.portal-cols .portal-section { margin-bottom: 1.6rem; }

/* KPI cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 2px 10px rgba(6, 12, 24, 0.05);
}
.kpi-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}
.kpi-label { font-size: 0.82rem; color: var(--slate); font-weight: 600; }
.kpi-delta { font-size: 0.78rem; font-weight: 600; margin-top: 0.3rem; }
.kpi-delta.up { color: #067647; }
.kpi-delta.down { color: #b42318; }
.kpi-delta.flat { color: var(--slate-light); }

/* Chart */
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-legend {
  display: flex;
  gap: 1.6rem;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--slate);
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 0.4rem;
}
.dot-navy { background: #182a52; }
.dot-gold { background: var(--gold); }

/* Funnel */
.funnel-row {
  display: grid;
  grid-template-columns: 130px 1fr 44px;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0;
}
.funnel-stage { font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.funnel-bar {
  height: 14px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
}
.funnel-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-700), var(--navy-800));
}
.funnel-row:last-child .funnel-fill { background: linear-gradient(90deg, var(--gold-bright), var(--gold)); }
.funnel-count { font-weight: 700; font-size: 0.92rem; text-align: right; }

/* Table */
.table-wrap { overflow-x: auto; }
.portal-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.portal-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate-light);
  padding: 0.5rem 0.8rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.portal-table td {
  padding: 0.85rem 0.8rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.portal-table tr:last-child td { border-bottom: 0; }
.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}
.chip-gold { background: rgba(201, 162, 39, 0.14); color: #8a6d14; }
.chip-blue { background: #eff4ff; color: #1d4ed8; }
.chip-green { background: #edfaf3; color: #067647; }
.queue-empty { color: var(--slate); font-size: 0.95rem; }

/* Activity & upcoming */
.activity-list, .upcoming-list { list-style: none; }
.activity-list li {
  display: flex;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.activity-list li:last-child { border-bottom: 0; }
.activity-date {
  flex-shrink: 0;
  width: 52px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold);
  padding-top: 0.1rem;
}
.activity-list p { color: var(--slate); }
.upcoming-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  font-size: 0.94rem;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
}
.upcoming-list li:last-child { border-bottom: 0; }
.upcoming-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Account + reach out */
.account-list { list-style: none; }
.account-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.account-list li:last-child { border-bottom: 0; }
.account-list span { color: var(--slate); }
.reach-out { border-left: 3px solid var(--gold); }
.reach-intro { font-size: 0.94rem; color: var(--slate); margin-bottom: 0.8rem; }
.reach-list { list-style: none; margin-bottom: 1rem; }
.reach-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  font-size: 0.92rem;
  color: var(--slate);
}
.reach-list li::before { content: "•"; position: absolute; left: 0.3rem; color: var(--gold); font-weight: 700; }
.reach-contact { font-size: 0.94rem; font-weight: 600; }
.reach-contact a { color: var(--gold); }

/* ============================================================
   OWNER PORTAL
   ============================================================ */
.changes-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: #fffaeb;
  border: 1px solid #fedf89;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 1.6rem;
  font-size: 0.9rem;
  color: #7a4d0b;
  flex-wrap: wrap;
}
.changes-banner code {
  background: rgba(122, 77, 11, 0.08);
  border-radius: 5px;
  padding: 0.05rem 0.35rem;
}

.owner-summary { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.sum-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.3rem;
  min-width: 120px;
  box-shadow: 0 2px 10px rgba(6, 12, 24, 0.05);
}
.sum-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
}
.sum-label { font-size: 0.76rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.05em; }
.sum-green .sum-num { color: #067647; }
.sum-baseline .sum-num { color: #1d4ed8; }
.sum-amber .sum-num { color: #b54708; }
.sum-red .sum-num { color: #b42318; }

.filter-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.filter-chip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--slate);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--gold); color: var(--ink); }
.filter-chip.active { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }

.client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.client-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  box-shadow: 0 2px 10px rgba(6, 12, 24, 0.05);
}
.client-card.is-suspended { opacity: 0.72; }
.client-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.client-card h3 { font-size: 1.2rem; margin-bottom: 0.15rem; }
.client-plan { font-size: 0.85rem; color: var(--slate); }

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-green { background: #edfaf3; color: #067647; }
.badge-baseline { background: #eff4ff; color: #1d4ed8; }
.badge-amber { background: #fffaeb; color: #b54708; }
.badge-red { background: #fef3f2; color: #b42318; }
.badge-suspended { background: #f2f4f7; color: #475467; }

.card-reason {
  font-size: 0.86rem;
  border-radius: 9px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1rem;
}
.reason-red { background: #fef3f2; color: #912018; }
.reason-amber { background: #fffaeb; color: #7a4d0b; }
.reason-baseline { background: #eff4ff; color: #1e40af; }
.reason-suspended { background: #f2f4f7; color: #475467; }

.client-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.cs-num { display: block; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.cs-label { font-size: 0.7rem; font-weight: 600; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.04em; }

.client-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.extend-group { display: inline-flex; align-items: center; gap: 0.35rem; }
.extend-label { font-size: 0.78rem; font-weight: 600; color: var(--slate-light); margin-left: 0.3rem; }
.btn-mini {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s;
}
.btn-mini:hover { border-color: var(--gold); }
.btn-mini-danger { color: #b42318; border-color: #fecdca; }
.btn-mini-danger:hover { background: #fef3f2; border-color: #b42318; }
.btn-mini-go { color: #067647; border-color: #b5e5cd; }
.btn-mini-go:hover { background: #edfaf3; border-color: #067647; }
.client-code { margin-top: 0.9rem; font-size: 0.78rem; color: var(--slate-light); }
.client-code code {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.08rem 0.4rem;
  color: var(--slate);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-950);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-width: min(560px, 90vw);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding: 4.5rem 0 5rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .example-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pain-grid, .partner-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .payment-card { position: static; }
  .portal-cols { grid-template-columns: 1fr; gap: 0; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: 1fr; }
  .client-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.9rem 0; width: 100%; }
  .nav-links .btn { margin: 0.6rem 0 1rem; width: auto; }
  .nav-toggle { display: block; }
  .steps-grid, .included-grid, .fit-grid { grid-template-columns: 1fr; }
  .compare, .usecase-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 1.8rem; }
  .section { padding: 3.8rem 0; }
  .hero-ctas .btn { width: 100%; }
  .kpi-grid { grid-template-columns: 1fr; }
  .funnel-row { grid-template-columns: 100px 1fr 40px; }
  .portal-header { align-items: flex-start; }
}
