/* =====================================================================
   public.css: the corporate website shell.
   Light only. Ink header with a utility bar, gold underline on the
   active page, measured content column, four column footer.
   ===================================================================== */

.public-body { background: #FFFFFF; }
.public-body main { min-height: 50vh; }

/* ---------------- Utility bar ---------------- */
.util-bar { background: var(--ink); color: #A39C8C; font-size: .78rem; border-bottom: 1px solid #2a2a2a; }
.util-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.util-bar a { color: #D9D4C7; font-weight: 600; }
.util-bar a:hover { color: var(--primary); }
.util-contact { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.util-contact span { white-space: nowrap; }
.util-session { display: flex; align-items: center; gap: .5rem; }
.util-session .sell-live { margin: 0; }
@media (max-width: 767.98px) { .util-contact span + span { display: none; } .util-session { display: none; } }

/* ---------------- Main header ---------------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #FFFFFF; border-bottom: 1px solid var(--border); }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(20, 20, 20, .08); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.site-brand { display: inline-flex; align-items: center; }
.site-brand .brand-logo img { height: 46px; }
.site-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.site-nav > a {
    display: inline-flex; align-items: center;
    padding: 0 .9rem; height: 76px;
    color: var(--text-2); font-weight: 600; font-size: .9rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}
.site-nav > a:hover { color: var(--text); }
.site-nav > a.active { color: var(--text); border-bottom-color: var(--primary); }
.site-actions { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }
.site-actions .btn { white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); background: transparent; border-radius: var(--radius); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 991.98px) {
    .site-header .container { min-height: 64px; flex-wrap: wrap; }
    .site-brand .brand-logo img { height: 38px; }
    .nav-toggle { display: inline-flex; }
    .site-nav, .site-actions { display: none; width: 100%; margin: 0; }
    .site-header.is-open .site-nav { display: flex; flex-direction: column; align-items: stretch; border-top: 1px solid var(--border); padding: .5rem 0; }
    .site-header.is-open .site-nav > a { height: 48px; padding: 0 .25rem; border-bottom: 1px solid var(--border); border-left: 3px solid transparent; padding-left: .75rem; }
    .site-header.is-open .site-nav > a.active { border-left-color: var(--primary); border-bottom-color: var(--border); }
    .site-header.is-open .site-actions { display: flex; padding: .75rem 0 1rem; }
    .site-header.is-open .site-actions .btn { flex: 1; }
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    background: var(--ink);
    color: #F4F1EA;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: center; min-height: 560px; padding: 4.5rem 0; }
.hero-kicker { color: var(--primary); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.hero-kicker::before { content: ""; width: 36px; height: 2px; background: var(--primary); }
.hero h1 { color: #F4F1EA; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 1.25rem; }
.hero h1 .accent { color: var(--primary); display: block; }
.hero-sub { color: #D9D4C7; font-size: 1.1rem; max-width: 560px; margin-bottom: 2rem; line-height: 1.6; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-actions .btn-outline-light { border-color: #5A544A; color: #F4F1EA; }
.hero-actions .btn-outline-light:hover { border-color: #F4F1EA; background: #F4F1EA; color: var(--ink); }
.hero-panel { position: relative; border: 1px solid #35312B; border-radius: var(--radius-lg); background: #1B1A17; padding: 1.5rem; }
.hero-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #A39C8C; }
.hero-panel-head .sell-live { margin: 0; }
.hero-rows { display: grid; gap: .5rem; }
.hero-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; border-radius: var(--radius); background: #141414; border: 1px solid #2a2a2a; }
.hero-row strong { font-weight: 700; color: #F4F1EA; }
.hero-row em { font-style: normal; color: #A39C8C; font-size: .8rem; display: block; }
.hero-row b { color: var(--primary); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-panel-foot { margin-top: 1rem; font-size: .78rem; color: #A39C8C; }
.hero-panel-foot a { color: var(--primary); }
.hero-chevrons { position: absolute; right: -40px; bottom: -40px; width: 320px; height: 320px; opacity: .08; pointer-events: none; }
@media (max-width: 991.98px) {
    .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 3rem 0; gap: 2rem; }
    .hero-chevrons { display: none; }
}

/* ---------------- Market strip ---------------- */
.market-strip { background: #1B1A17; border-top: 1px solid #35312B; border-bottom: 1px solid #35312B; }
.market-strip .crypto-widget { border: 0; border-radius: 0; background: transparent; padding: .5rem 0 .25rem; }

/* ---------------- What we do: three columns ---------------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pillar { padding: 2rem 1.75rem; border-right: 1px solid var(--border); }
.pillar:last-child { border-right: 0; }
.pillar-num { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--red-strong); margin-bottom: 1rem; }
.pillar h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .6rem; }
.pillar p { color: var(--muted); font-size: .92rem; margin: 0; }
.pillar a { display: inline-block; margin-top: 1rem; font-weight: 700; font-size: .88rem; }
@media (max-width: 991.98px) {
    .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pillar { border-bottom: 1px solid var(--border); }
    .pillar:nth-child(2n) { border-right: 0; }
    .pillar:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 575.98px) {
    .pillars { grid-template-columns: 1fr; }
    .pillar { border-right: 0; border-bottom: 1px solid var(--border); }
    .pillar:last-child { border-bottom: 0; }
}

/* ---------------- Stats bar ---------------- */
.stats-bar { background: var(--ink); color: #F4F1EA; border-top: 4px solid var(--primary); }
.stats-bar .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-bar .stat { padding: 2rem 1.5rem; border-right: 1px solid #2a2a2a; }
.stats-bar .stat:last-child { border-right: 0; }
.stats-bar .stat-value { color: var(--primary); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.stats-bar .stat-label { color: #A39C8C; }
@media (max-width: 767.98px) {
    .stats-bar .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-bar .stat:nth-child(2) { border-right: 0; }
    .stats-bar .stat { border-bottom: 1px solid #2a2a2a; padding: 1.4rem 1rem; }
}

/* ---------------- Packages as a comparison table ---------------- */
.compare { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); vertical-align: top; font-size: .92rem; }
.compare th:last-child, .compare td:last-child { border-right: 0; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--ink); color: #F4F1EA; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.compare thead th.is-featured { background: var(--primary); color: var(--ink); }
.compare tbody th { background: var(--surface-2); color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; width: 220px; }
.compare td { font-weight: 500; font-variant-numeric: tabular-nums; }
.compare td.roi { font-size: 1.6rem; font-weight: 800; color: var(--gold-text); letter-spacing: -.02em; }
.compare td .btn { width: 100%; }
.compare-scroll { overflow-x: auto; }
@media (max-width: 767.98px) {
    .compare tbody th { width: 140px; font-size: .64rem; }
    .compare th, .compare td { padding: .75rem .8rem; font-size: .84rem; }
    .compare td.roi { font-size: 1.25rem; }
}

/* ---------------- Steps row ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.step { position: relative; padding-top: 1.25rem; border-top: 3px solid var(--primary); }
.step-n { font-size: 2rem; font-weight: 800; color: var(--gold-text); letter-spacing: -.03em; line-height: 1; margin-bottom: .75rem; }
.step h5 { font-size: 1rem; font-weight: 800; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------------- Barrels strip on the home page ---------------- */
.barrel-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.barrel-card { display: block; color: inherit; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.barrel-card:hover { border-color: var(--border-strong); color: inherit; }
.barrel-card .cat-img { aspect-ratio: 4 / 3; }
.barrel-card .cat-body { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.barrel-card .cat-body .cat-price { color: var(--gold-text); }

/* ---------------- About preview, split with dark panel ---------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.split-panel { background: var(--ink); border-radius: var(--radius-lg); padding: 2.5rem; color: #F4F1EA; position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.split-panel .brand-logo img { height: 90px; }
.split-panel::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 10px; background: var(--primary); }
.split-panel p { color: #A39C8C; margin: 1.25rem 0 0; font-size: .9rem; max-width: 380px; }
.story-pattern { position: absolute; right: 30px; top: 20px; opacity: .14; width: 180px; height: 180px; }
@media (max-width: 991.98px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------------- FAQ list on the home page ---------------- */
.faq-list .accordion-item { border-left: 0; border-right: 0; border-radius: 0 !important; }
.faq-list .accordion-item:first-child { border-top: 0; }
.faq-list .accordion-button { background: transparent; padding-left: 0; padding-right: 0; font-size: 1rem; }
.faq-list .accordion-button:not(.collapsed) { background: transparent; color: var(--gold-text); }
.faq-list .accordion-body { padding-left: 0; padding-right: 0; color: var(--text-2); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #A39C8C; padding: 4rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .brand-logo img { height: 44px; }
.footer-brand p { margin: 1rem 0 0; font-size: .9rem; max-width: 320px; color: #A39C8C; }
.footer-col h6 { color: #F4F1EA; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: #D9D4C7; padding: .3rem 0; font-size: .92rem; }
.footer-col a:hover { color: var(--primary); }
.footer-col span { display: block; padding: .3rem 0; font-size: .92rem; color: #D9D4C7; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }
.footer-bottom a { color: #A39C8C; }
.footer-bottom a:hover { color: var(--primary); }
.footer-note { font-size: .78rem; color: #6B6554; margin-top: 1rem; }
@media (max-width: 991.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------------- Inner page defaults on the public site ---------------- */
.public-body .page-body .card { background: #fff; }
.public-body .plan-card, .public-body .opp-card, .public-body .cat-card { background: #fff; }
.public-body .section-alt { background: var(--bg); }
.public-body .accordion { --bs-accordion-bg: #fff; }

/* Blog and knowledge lists */
.post-list .card { height: 100%; }
.post-meta { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
