/*
 * Site-wide bespoke CSS for The DM's ARK.
 *
 * Originally extracted from the inline <style> block of dmsark-homepage.html
 * (the design source of truth). The :root design-token block is intentionally
 * NOT here -- it lives in style.css so its CSS variables are globally
 * available to any template, block, or page.
 *
 * Currently enqueued sitewide (see functions.php). The file contains:
 *   1) WP/Astra overrides scoped to body.dmsark (every front-end page).
 *   2) Universal element resets, also scoped to body.dmsark.
 *   3) Bespoke nav + footer styling (those partials are on every page).
 *   4) Homepage-section styling (.hero, .features, .pricing, etc.) -- this
 *      is dead weight on non-homepage pages but matches no selectors there.
 *
 * If perf becomes a concern, split (4) into a separate homepage.css and
 * keep this file as site.css.
 */

/* ──────────────────────────────────────────────────────────────────────────
   ASTRA / WP OVERRIDES (sitewide)
   These exist because Astra's parent stylesheet and the inline customizer
   CSS emitted by wp_head() set body{background:#fff} and constrain content
   width, both of which conflict with the bespoke full-bleed dark design.
   We scope to body.dmsark (added by the dmsark_body_class filter) so
   wp-admin is untouched, and we use !important sparingly to win against
   Astra's inline style block which loads after wp_enqueue_scripts.
   ────────────────────────────────────────────────────────────────────────── */

html,
body.dmsark {
    background: var(--bg) !important;
    color: rgba(253, 247, 237, 0.87) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.dmsark #page,
body.dmsark .hfeed.site,
body.dmsark .ast-container,
body.dmsark .site-content,
body.dmsark .ast-container-fluid {
    background: transparent !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Astra's container-style body classes (.ast-separate-container,
   .ast-plain-container, etc.) live ON THE BODY ELEMENT, not on a child
   wrapper. WP/Astra picks one per page based on layout settings. The
   "separate" variant paints body{background:#f5f5f5} and each article
   .ast-article-post{background:#fff}; that's the source of the gray
   page + white cards on the blog index. We neutralize them via
   same-element selectors (NO SPACE between .dmsark and .ast-*). */
body.dmsark.ast-separate-container,
body.dmsark.ast-plain-container,
body.dmsark.ast-page-builder-template,
body.dmsark.ast-box-layout,
body.dmsark.ast-padded-layout {
    background: var(--bg) !important;
    background-color: var(--bg) !important;
}

/* Strip card backgrounds + box-shadows from descendant containers
   regardless of which body-level layout class Astra chose. The card UI
   doesn't match the bespoke dark aesthetic, so we render our own cards
   via .blog-item / .changelog-entry / .roadmap-item rules. */
body.dmsark .ast-article-post,
body.dmsark .ast-article-single,
body.dmsark .ast-article-inner,
body.dmsark .entry-content,
body.dmsark .entry-header,
body.dmsark .post-thumb-img-content,
body.dmsark .ast-blog-featured-section,
body.dmsark .ast-single-post-featured-section,
body.dmsark .ast-archive-description,
body.dmsark .ast-author-box,
body.dmsark .no-results,
body.dmsark .error-404 {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
}

/* Push the sticky nav below the WP admin bar when logged-in users view the homepage. */
body.admin-bar #nav {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar #nav {
        top: 46px;
    }
}
@media screen and (max-width: 600px) {
    body.admin-bar #nav {
        top: 46px;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   HOMEPAGE-SCOPED RESET
   The bespoke design assumes a universal reset (* { margin: 0; padding: 0 })
   plus list-style: none. The biggest concrete conflict with WordPress / Astra
   is that <ul> and <ol> get `padding-left: 40px; list-style: disc;` and
   `margin-block: 1em;` back from element-level selectors that beat our
   universal * reset. We re-undo those with !important, scoped to the
   homepage so the rest of the site is unaffected. For <p> and <h1>-<h6>
   we intentionally do NOT reset margins: Astra's defaults there are mild
   and the design's class-based heading/paragraph rules (.hero-h1, .plan-name,
   .testimonial-quote, etc.) naturally win on source order at equal spec.
   ────────────────────────────────────────────────────────────────────────── */

body.dmsark ul,
body.dmsark ol {
    margin-block: 0 !important;
    margin-inline: 0 !important;
    padding-inline-start: 0 !important;
    list-style: none !important;
}
body.dmsark li {
    margin: 0 !important;
}
body.dmsark a {
    text-decoration: none !important;
}
/* Button base reset.
   Wrapped in :where() so it contributes ZERO specificity. The intent is to
   strip the browser's default button chrome (gray bg, beveled border) only
   for buttons that don't otherwise have their own class-based styling.
   With :where(), any class like .hp-share, .hp-iconbtn, .btn-primary, etc.
   wins automatically without needing !important or extra prefixes. */
:where(body.dmsark button) {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
}

/* Re-restore the few INTENTIONAL margins on classed lists that the !important
   reset above just nuked. Add to this block as we discover more. */
body.dmsark .plan-features {
    margin-bottom: 28px !important;
}

/* Lock button text colors across all interactive states. The bespoke design
   only swaps backgrounds on :hover, never the text color. Astra (or its
   inline customizer CSS) emits a:hover { color: #fff } rules that win on
   source order against our button classes, turning gold-text-on-gold-bg
   buttons unreadable on hover. We lock every button class explicitly.
   ---
   Gold buttons (gold-400 bg, gold-900 text):
       .btn-primary    nav CTA "Start Free Month"
       .btn-hero       hero CTA "Start your free month"
       .plan-cta-gold  pricing card featured CTA
   Ghost buttons (transparent bg, light translucent text):
       .btn-ghost      nav "Log In"
       .btn-hero-ghost hero secondary "Watch demo"
       .plan-cta-ghost pricing card non-featured CTAs
*/
body.dmsark .btn-primary,
body.dmsark .btn-primary:link,
body.dmsark .btn-primary:visited,
body.dmsark .btn-primary:hover,
body.dmsark .btn-primary:focus,
body.dmsark .btn-primary:active,
body.dmsark .btn-hero,
body.dmsark .btn-hero:link,
body.dmsark .btn-hero:visited,
body.dmsark .btn-hero:hover,
body.dmsark .btn-hero:focus,
body.dmsark .btn-hero:active,
body.dmsark .plan-cta-gold,
body.dmsark .plan-cta-gold:link,
body.dmsark .plan-cta-gold:visited,
body.dmsark .plan-cta-gold:hover,
body.dmsark .plan-cta-gold:focus,
body.dmsark .plan-cta-gold:active {
    color: var(--gold-900) !important;
}

body.dmsark .btn-ghost,
body.dmsark .btn-ghost:link,
body.dmsark .btn-ghost:visited {
    color: rgba(253, 247, 237, 0.55) !important;
}
body.dmsark .btn-ghost:hover,
body.dmsark .btn-ghost:focus {
    color: var(--gold-300) !important;
}

body.dmsark .btn-hero-ghost,
body.dmsark .btn-hero-ghost:link,
body.dmsark .btn-hero-ghost:visited {
    color: rgba(253, 247, 237, 0.65) !important;
}
body.dmsark .btn-hero-ghost:hover,
body.dmsark .btn-hero-ghost:focus {
    color: rgba(253, 247, 237, 0.9) !important;
}

body.dmsark .btn-hero-discord,
body.dmsark .btn-hero-discord:link,
body.dmsark .btn-hero-discord:visited,
body.dmsark .btn-hero-discord:hover,
body.dmsark .btn-hero-discord:focus,
body.dmsark .btn-hero-discord:active {
    color: #fff !important;
}

body.dmsark .btn-hero-discord {
    background: #5865f2;
}

body.dmsark .btn-hero-discord:hover,
body.dmsark .btn-hero-discord:focus {
    background: #4752c4;
}

body.dmsark .plan-cta-ghost,
body.dmsark .plan-cta-ghost:link,
body.dmsark .plan-cta-ghost:visited {
    color: rgba(253, 247, 237, 0.6) !important;
}
body.dmsark .plan-cta-ghost:hover,
body.dmsark .plan-cta-ghost:focus {
    color: rgba(253, 247, 237, 0.85) !important;
}

/* Astra injects a scroll-to-top button into the footer site-wide; the bespoke
   design doesn't include one. Hide everywhere on the front-end. */
body.dmsark #ast-scroll-top {
    display: none !important;
}

/* ─── RESET ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: rgba(253, 247, 237, 0.87);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-800);
    border-radius: 4px;
}

/* ─── UTILITY ────────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-400);
    background: rgba(232, 168, 48, 0.08);
    border: 0.5px solid rgba(232, 168, 48, 0.2);
    padding: 4px 12px;
    border-radius: 999px;
}
.tag::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-400);
    flex-shrink: 0;
}

/* ─── NAV ─────────────────────────────────────────────────
   These rules were originally written for the homepage's single <nav>
   using the bare `nav` selector, which made them paint EVERY <nav> on
   any page (e.g. single.php's back-link nav, pagination navs in home.php).
   Scoped to #nav (the bespoke top nav from partials/site-nav.php) so they
   only ever target the one element they were designed for.
   ──────────────────────────────────────────────────────────── */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    border-bottom: 0.5px solid var(--border-light);
    transition:
        background 0.3s,
        border-color 0.3s,
        backdrop-filter 0.3s;
}
#nav.scrolled {
    background: rgba(8, 6, 4, 0.85);
    backdrop-filter: blur(16px);
    border-color: var(--border);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gold-200);
}
.nav-logo svg {
    width: 28px;
    height: 28px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.nav-links a {
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(253, 247, 237, 0.55);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition:
        color 0.2s,
        background 0.2s;
}
.nav-links a:hover {
    color: rgba(253, 247, 237, 0.9);
    background: rgba(253, 247, 237, 0.04);
}
.nav-panel {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border-radius: var(--radius-sm);
    border: 0.5px solid var(--border-light);
    background: rgba(253, 247, 237, 0.03);
    color: rgba(253, 247, 237, 0.85);
    flex-shrink: 0;
}
.nav-toggle:hover {
    border-color: var(--border);
    background: rgba(253, 247, 237, 0.06);
}
.nav-toggle:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
}
.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}
#nav.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
#nav.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
#nav.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}
.btn-ghost {
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(253, 247, 237, 0.55);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 0.5px solid var(--border);
    transition:
        color 0.2s,
        border-color 0.2s;
}
.btn-ghost:hover {
    color: var(--gold-300);
    border-color: var(--border);
}
.btn-primary {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gold-900);
    background: var(--gold-400);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    border: none;
    transition:
        background 0.2s,
        transform 0.15s;
    letter-spacing: 0.01em;
}
.btn-primary:hover {
    background: var(--gold-300);
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: translateY(0);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-hero-top) 0 var(--space-section);
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(
            ellipse 80% 60% at 50% -10%,
            rgba(232, 168, 48, 0.07) 0%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 40% 40% at 80% 80%,
            rgba(232, 168, 48, 0.04) 0%,
            transparent 60%
        );
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(232, 168, 48, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 168, 48, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(
        ellipse 90% 70% at 50% 40%,
        black 30%,
        transparent 80%
    );
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-tag {
    margin-bottom: 24px;
}
.hero-h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--gold-50);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}
.hero-h1 em {
    font-style: normal;
    color: var(--gold-400);
}
.hero-sub {
    font-size: 17px;
    font-weight: 300;
    color: rgba(253, 247, 237, 0.6);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 36px;
}
.hero-sub-em {
    font-style: normal;
    color: rgba(253, 247, 237, 0.45);
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.hero-reassure {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
    font-size: 12.5px;
    color: rgba(253, 247, 237, 0.42);
    margin-bottom: 32px;
}
.hero-reassure span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.hero-reassure svg {
    width: 12px;
    height: 12px;
    color: var(--gold-400);
    flex-shrink: 0;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gold-900);
    background: var(--gold-400);
    padding: 13px 28px;
    border-radius: var(--radius-md);
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
    box-shadow: 0 0 0 0 rgba(232, 168, 48, 0);
}
.btn-hero:hover {
    background: var(--gold-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 168, 48, 0.2);
}
.btn-hero svg {
    width: 16px;
    height: 16px;
}
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(253, 247, 237, 0.65);
    padding: 13px 22px;
    border-radius: var(--radius-md);
    border: 0.5px solid var(--border);
    transition:
        color 0.2s,
        border-color 0.2s;
}
.btn-hero-ghost:hover {
    color: rgba(253, 247, 237, 0.9);
    border-color: rgba(232, 168, 48, 0.35);
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-trust-avatars {
    display: flex;
    align-items: center;
}
.hero-trust-avatars .av {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--bg);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--gold-300);
    margin-left: -8px;
    overflow: hidden;
}
.hero-trust-avatars .av:first-child {
    margin-left: 0;
}
.hero-trust-text {
    font-size: 13px;
    color: rgba(253, 247, 237, 0.45);
    margin-bottom: 0;
}
.hero-trust-text strong {
    color: rgba(253, 247, 237, 0.7);
    font-weight: 500;
}

/* ─── HERO RIGHT: APP PREVIEW ───────────────────────────── */
.hero-right {
    position: relative;
}
.app-preview {
    position: relative;
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: visible;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(232, 168, 48, 0.05);
}
.app-preview-bar {
    padding: 12px 16px;
    background: var(--bg-3);
    border-bottom: 0.5px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.app-preview-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.app-preview-bar .dot-r {
    background: #ff5f57;
}
.app-preview-bar .dot-y {
    background: #febc2e;
}
.app-preview-bar .dot-g {
    background: #28c840;
}
.app-preview-bar .url {
    flex: 1;
    margin: 0 12px;
    background: var(--bg-2);
    border: 0.5px solid var(--border-light);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: rgba(253, 247, 237, 0.3);
    text-align: center;
}
/* Hero app frame: static recreation of session Highlights + Annotations (marketing only) */
.app-preview-body {
    padding: 0;
    background: #09090b;
    color: #fafafa;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    border-radius: var(--radius-xl);
}
.hp-app {
    padding: 12px 14px 14px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}
.hp-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.hp-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
    font-size: 11px;
    line-height: 1.3;
    color: #71717a;
    margin-bottom: 6px;
}
.hp-crumb-lnk {
    color: #71717a;
}
.hp-crumb-ic {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #52525b;
    display: block;
}
.hp-crumb-current {
    color: #fafafa;
    font-weight: 500;
}
.hp-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
    color: #fafafa;
}
.hp-example-label {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.3;
    color: #a1a1aa;
}
.hp-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.hp-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(180deg, #248aff 0%, #006fee 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 4px 12px rgba(0, 111, 238, 0.35);
    cursor: pointer;
    font: inherit;
    text-align: center;
}
.hp-share svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.95;
}
.hp-iconbtn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
    background: #18181b;
    border: 1px solid #3f3f46;
    padding: 0;
    transition:
        background 0.15s,
        color 0.15s;
}
.hp-iconbtn:hover {
    background: #27272a;
    color: #e4e4e7;
}
/* Explicit SVG sizing inside .hp-iconbtn guarantees the three-dots icon
   renders at the intended 18×18 even if the inline width/height attributes
   are ever ignored by a future stylesheet rule. */
.hp-iconbtn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: currentColor;
    display: block;
}
.hp-menu-wrap {
    position: relative;
    flex-shrink: 0;
}
.hp-menu-wrap.is-open .hp-iconbtn {
    background: #27272a;
    color: #fafafa;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.hp-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 228px;
    z-index: 80;
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    display: none;
}
.hp-menu-wrap.is-open .hp-dropdown {
    display: block;
}
.hp-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #ececec;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.25;
}
.hp-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.hp-dropdown-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.92;
}
.hp-dropdown-item--danger {
    color: #f87171;
}
.hp-dropdown-item--danger:hover {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
}
/* Share Session modal: match app (HeroUI / NextUI-style, demo only) */
.hp-share-overlay {
    position: absolute;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    box-sizing: border-box;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.hp-share-overlay[hidden] {
    display: none !important;
}
.hp-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(3px);
}
.hp-share-modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 32rem;
    max-height: min(calc(100% - 16px), 560px);
    overflow: hidden;
    outline: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 12px 40px rgba(0, 0, 0, 0.45);
    color: #ececec;
}
.hp-share-x {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    width: auto;
    height: auto;
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #71717a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font: inherit;
}
.hp-share-x:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #a1a1aa;
}
.hp-share-x:focus-visible {
    outline: 2px solid #006fee;
    outline-offset: 2px;
}
.hp-share-head {
    flex: 0 0 auto;
    padding: 16px 48px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hp-share-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #fafafa;
}
.hp-share-sub {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #a1a1aa;
    line-height: 1.45;
}
.hp-share-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hp-share-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hp-share-info {
    padding: 16px;
    border-radius: 12px;
    background: #e4e4e7;
}
.hp-share-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #18181b;
}
.hp-share-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hp-share-what-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fafafa;
    margin-bottom: 12px;
}
.hp-share-fieldset {
    border: none;
    margin: 0;
    padding: 0;
}
.hp-share-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.hp-share-row span {
    font-size: 14px;
    color: #fafafa;
    font-weight: 400;
}
.hp-switch {
    width: 40px;
    height: 24px;
    border-radius: 999px;
    border: none;
    padding: 0 4px;
    box-sizing: border-box;
    background: #3f3f46;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
    font: inherit;
}
.hp-switch--on {
    background: #006fee;
}
.hp-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}
.hp-switch--on::after {
    transform: translateX(16px);
}
.hp-switch:focus-visible {
    outline: 2px solid #006fee;
    outline-offset: 2px;
}
.hp-share-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hp-share-section-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.hp-share-section-h label {
    font-size: 14px;
    font-weight: 500;
    color: #fafafa;
}
.hp-share-panel[hidden] {
    display: none !important;
}
.hp-share-input-shell {
    width: 100%;
    border-radius: 10px;
    background: #27272a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
    transition: background 0.15s;
}
.hp-share-input-shell:hover {
    background: #3f3f46;
}
.hp-share-input-shell:focus-within {
    background: #27272a;
    box-shadow:
        0 0 0 2px #006fee,
        0 1px 2px rgba(0, 0, 0, 0.2);
}
.hp-share-input-shell input {
    width: 100%;
    border: none;
    background: transparent;
    color: #fafafa;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.25;
    min-height: 38px;
    outline: none;
}
.hp-share-input-shell input::-webkit-calendar-picker-indicator {
    filter: invert(0.85);
    cursor: pointer;
}
.hp-pin-hint {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #a1a1aa;
}
.hp-pin-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-pin-label {
    font-size: 14px;
    font-weight: 500;
    color: #fafafa;
    text-align: center;
    width: 100%;
}
.hp-pin-otp {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: stretch;
}
.hp-pin-cell {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #27272a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    box-sizing: border-box;
    transition: background 0.15s;
}
.hp-pin-cell:hover {
    background: #3f3f46;
}
.hp-pin-cell:focus-within {
    background: #27272a;
    box-shadow:
        0 0 0 2px #006fee,
        0 1px 2px rgba(0, 0, 0, 0.2);
}
.hp-pin-cell input {
    width: 100%;
    border: none;
    background: transparent;
    color: #fafafa;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    line-height: 1;
    padding: 0;
    outline: none;
}
.hp-pin-cell input::-ms-reveal {
    display: none;
}
.hp-pin-foot {
    margin: 0;
    font-size: 12px;
    color: #a1a1aa;
    text-align: center;
}
.hp-share-foot {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px;
    border-top: 1px solid #27272a;
}
.hp-share-btn {
    min-height: 40px;
    min-width: 80px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    border: none;
}
.hp-share-btn--ghost {
    background: transparent;
    color: #ececec;
}
.hp-share-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}
.hp-share-btn--primary {
    background: #006fee;
    color: #fff;
}
.hp-share-btn--primary:hover:not(:disabled) {
    filter: brightness(1.06);
}
.hp-share-btn--primary:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}
.hp-share-view[hidden] {
    display: none !important;
}
.hp-share-success-banner {
    padding: 16px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}
.hp-share-success-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.hp-share-success-ic {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #059669;
}
.hp-share-success-title {
    font-size: 14px;
    font-weight: 500;
    color: #047857;
}
.hp-share-success-banner > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #059669;
}
.hp-share-link-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-share-link-block > label {
    font-size: 14px;
    font-weight: 500;
    color: #fafafa;
}
.hp-share-link-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.hp-share-link-row .hp-share-input-shell {
    flex: 1;
    min-width: 0;
}
.hp-share-link-row .hp-share-input-shell input {
    cursor: text;
}
.hp-share-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid #3f3f46;
    background: transparent;
    color: #ececec;
    transition:
        opacity 0.15s,
        background 0.15s,
        border-color 0.15s;
}
.hp-share-copy-btn:hover {
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.06);
    border-color: #52525b;
}
.hp-share-copy-btn:focus-visible {
    outline: 2px solid #006fee;
    outline-offset: 2px;
}
.hp-share-copy-btn svg {
    width: 14px;
    height: 14px;
    opacity: 0.95;
}
.hp-share-foot-row[hidden] {
    display: none !important;
}
.hp-share-foot-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.hp-share-btn--danger {
    background: #f31260;
    color: #fff;
}
.hp-share-btn--danger:hover {
    filter: brightness(1.06);
}
.hp-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: #27272a;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25);
}
.hp-tab {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #a1a1aa;
    padding: 7px 8px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    user-select: none;
    white-space: nowrap;
}
.hp-tab.is-active {
    color: #fafafa;
    background: #18181b;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hp-panel {
    display: none;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}
.hp-panel.hp-panel--active {
    display: flex;
}
.hp-doc.hp-doc--prose .hp-prose-p {
    font-size: 12px;
    line-height: 1.65;
    color: #d4d4d8;
    margin: 0 0 10px;
}
.hp-doc.hp-doc--prose .hp-prose-p:last-child {
    margin-bottom: 0;
}
.hp-doc.hp-doc--placeholder p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #71717a;
}
.hp-split {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    flex: 1;
    min-height: 0;
}
.hp-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hp-side {
    width: 38%;
    min-width: 188px;
    max-width: 270px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 2px;
}
.hp-side::-webkit-scrollbar {
    width: 4px;
}
.hp-side::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}
.hp-panel-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.hp-panel-hdr h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fafafa;
    letter-spacing: -0.02em;
}
.hp-panel-tools {
    display: flex;
    gap: 2px;
}
.hp-tool {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: none;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #a1a1aa;
    transition:
        background 0.15s,
        color 0.15s;
}
.hp-tool:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fafafa;
}
.hp-tool svg {
    width: 15px;
    height: 15px;
    display: block;
}
.hp-doc {
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 14px;
    padding: 12px 14px 14px;
    max-height: 380px;
    overflow-y: auto;
    color: #d4d4d8;
    font-size: 12px;
    line-height: 1.55;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}
.hp-doc h4 {
    font-size: 13px;
    font-weight: 700;
    color: #f4f4f5;
    margin: 14px 0 8px;
}
.hp-doc h4:first-child {
    margin-top: 0;
}
.hp-doc ul {
    margin: 0 0 4px 0;
    padding-left: 1.15rem;
}
.hp-doc li {
    margin-bottom: 5px;
}
.hp-ann-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #fafafa;
    letter-spacing: -0.02em;
}
.hp-acard {
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}
.hp-acard-h {
    padding: 10px 12px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fafafa;
}
.hp-ann-list {
    margin: 0 10px 10px;
    border: 1px solid #3f3f46;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
}
details.hp-ann-item {
    border-bottom: 1px solid #3f3f46;
}
details.hp-ann-item:last-child {
    border-bottom: none;
}
summary.hp-ann-sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 500;
    color: #ececec;
    transition: background 0.12s;
}
summary.hp-ann-sum::-webkit-details-marker {
    display: none;
}
summary.hp-ann-sum::marker {
    content: "";
}
.hp-ann-sum:hover {
    background: rgba(255, 255, 255, 0.04);
}
details.hp-ann-item[open] summary.hp-ann-sum {
    background: rgba(255, 255, 255, 0.05);
}
.hp-ann-name {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.hp-ann-sum svg.hp-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #71717a;
    transition: transform 0.2s ease;
}
details.hp-ann-item[open] summary.hp-ann-sum svg.hp-chevron {
    transform: rotate(90deg);
}
.hp-ann-body {
    padding: 8px 12px 12px;
    font-size: 11px;
    line-height: 1.55;
    color: #a3a3a3;
}
details.hp-ann-item[open] .hp-ann-body {
    background: rgba(0, 0, 0, 0.22);
}
.hp-chevron path {
    stroke: currentColor;
}
/* floating glow dot */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.15;
}
.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gold-400);
    top: -60px;
    right: -60px;
}
.hero-orb-2 {
    width: 200px;
    height: 200px;
    background: var(--gold-600);
    bottom: -40px;
    left: 20px;
    opacity: 0.08;
}

/* ─── SOCIAL PROOF STRIP ─────────────────────────────────── */
.strip {
    border-top: 0.5px solid var(--border-light);
    border-bottom: 0.5px solid var(--border-light);
    padding: 20px 0;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.strip--hero {
    position: relative;
    z-index: 3;
    margin-top: -68px;
    background: rgba(12, 10, 8, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.strip.is-dragging {
    cursor: grabbing;
    touch-action: none;
}
.strip-track {
    display: flex;
    gap: 48px;
    align-items: center;
    width: max-content;
    will-change: transform;
}
.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(253, 247, 237, 0.4);
    white-space: nowrap;
}
.strip-item .stars {
    color: var(--gold-500);
    font-size: 11px;
    letter-spacing: 1px;
}
.strip-item .name {
    font-weight: 500;
    color: rgba(253, 247, 237, 0.6);
}

/* ─── SECTION COMMON ─────────────────────────────────────── */
section {
    padding: var(--space-section) 0;
}
.section-header {
    text-align: center;
    margin-bottom: var(--space-section-header);
}
.section-header .tag {
    margin-bottom: 16px;
}
.section-h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gold-50);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}
.section-h2 em {
    font-style: normal;
    color: var(--gold-400);
}
.section-lead {
    font-size: 16px;
    font-weight: 300;
    color: rgba(253, 247, 237, 0.5);
    max-width: 520px;
    margin: 0 auto;
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.how {
    background: var(--bg-2);
}
.how-path-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}
.how-path-toggle {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 0.5px solid var(--border-light);
    gap: 2px;
}
.how-path-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(253, 247, 237, 0.45);
    background: rgba(232, 168, 48, 0);
    padding: 10px 22px;
    border-radius: 999px;
    transform: scale(1);
    box-shadow:
        inset 0 0 0 0 transparent,
        0 0 0 0 transparent;
    transition:
        background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}
.how-path-btn:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
}
.how-path-btn.is-active:focus-visible {
    outline-color: var(--gold-300);
    outline-offset: 3px;
}
.how-path-btn:hover {
    color: rgba(253, 247, 237, 0.75);
}
.how-path-btn.is-active {
    background: rgba(232, 168, 48, 0.26);
    color: #fdf7ed;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(232, 168, 48, 0.35);
    transform: scale(1.02);
}
.how-path-btn.is-active:hover {
    background: rgba(232, 168, 48, 0.32);
    color: #fff;
}
.how-lead-stage {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    isolation: isolate;
}
.how-lead-stage .how-lead {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    max-width: 100%;
    width: 100%;
    justify-self: center;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translateY(6px);
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.how-lead-stage .how-lead.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: translateY(0);
}
.how-steps-panels {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    isolation: isolate;
}
.how-steps-panel {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translateY(10px);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.how-steps-panel.how-steps-panel--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .how-path-btn,
    .how-lead-stage .how-lead,
    .how-steps-panel {
        transition-duration: 0.18s !important;
        transition-timing-function: ease !important;
    }
    .how-lead-stage .how-lead:not(.is-active),
    .how-steps-panel:not(.how-steps-panel--active) {
        transform: none;
    }
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 960px;
    margin: 0 auto;
}
.step-card {
    padding: 40px 32px;
    background: var(--bg-card);
    position: relative;
    transition: background 0.25s;
}
.step-card:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.step-card:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.step-card::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 20%;
    bottom: 20%;
    width: 0.5px;
    background: var(--border);
}
.step-card:last-child::after {
    display: none;
}
.step-card:hover {
    background: #201b12;
}
.step-num {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold-700);
    margin-bottom: 20px;
}
.step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(232, 168, 48, 0.08);
    border: 0.5px solid rgba(232, 168, 48, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}
.step-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--gold-100);
    margin-bottom: 10px;
    line-height: 1.3;
}
.step-desc {
    font-size: 14px;
    color: rgba(253, 247, 237, 0.45);
    line-height: 1.7;
}
.step-arrow {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 0.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--gold-600);
    font-size: 13px;
}
.step-card:last-child .step-arrow {
    display: none;
}

/* ─── FEATURES ───────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}
.feature-card {
    padding: 36px 32px;
    background: var(--bg-card);
    border: 0.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition:
        border-color 0.25s,
        background 0.25s;
    position: relative;
}
.feature-card:hover {
    border-color: var(--border);
    background: #1e1912;
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(232, 168, 48, 0.07);
    border: 0.5px solid rgba(232, 168, 48, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}
.feature-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-100);
    margin-bottom: 10px;
}
.feature-desc {
    font-size: 14px;
    color: rgba(253, 247, 237, 0.45);
    line-height: 1.7;
}
.feature-card.wide {
    display: flex;
    gap: 40px;
    align-items: center;
}
.feature-card.wide .feature-icon {
    width: 54px;
    height: 54px;
    font-size: 24px;
    flex-shrink: 0;
}

/* Desktop layout: 2-2-1.
   Two columns of feature cards; the .wide card (the 5th) spans both
   columns so it sits centered on its own row. Below 901px we fall back
   to the single-column default defined above (which mobile expects). */
@media (min-width: 901px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        max-width: 920px;
    }
    .feature-card.wide {
        grid-column: 1 / -1;
    }
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials {
    background: var(--bg-2);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1060px;
    margin: 0 auto;
}
.testi-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition:
        border-color 0.2s,
        transform 0.2s;
}
.testi-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
}
.testi-stars {
    color: var(--gold-400);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.testi-quote {
    font-size: 14px;
    font-weight: 300;
    color: rgba(253, 247, 237, 0.65);
    line-height: 1.72;
    margin-bottom: 20px;
    font-style: italic;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.testi-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-3);
    border: 0.5px solid var(--border);
    flex-shrink: 0;
    overflow: hidden;
}
.testi-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.testi-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(253, 247, 237, 0.8);
}
.testi-handle {
    font-size: 12px;
    color: rgba(253, 247, 237, 0.35);
}

/* ─── STATS ──────────────────────────────────────────────── */
.stats {
    padding: var(--space-section) 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 960px;
    margin: 0 auto;
    border: 0.5px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.stat-item {
    padding: 40px 32px;
    border-right: 0.5px solid var(--border);
    text-align: center;
    position: relative;
}
.stat-item:last-child {
    border-right: none;
}
.stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-300);
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 13px;
    color: rgba(253, 247, 237, 0.4);
}

/* ─── PRICING ────────────────────────────────────────────── */
.pricing {
    background: var(--bg-2);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}
.pricing-card:hover {
    border-color: var(--border);
}
.pricing-card.featured {
    border-color: rgba(232, 168, 48, 0.35);
    background: linear-gradient(
        160deg,
        rgba(232, 168, 48, 0.06) 0%,
        var(--bg-card) 60%
    );
    position: relative;
}
.pricing-card.featured::before {
    content: "Most popular";
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-400);
    color: var(--gold-900);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: 999px;
}
.plan-tier {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 8px;
}
.pricing-card.featured .plan-tier {
    color: var(--gold-400);
}
.plan-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-100);
    margin-bottom: 4px;
}
.plan-price {
    font-size: 36px;
    font-weight: 300;
    color: var(--gold-200);
    line-height: 1;
    margin: 16px 0 6px;
}
.plan-price sup {
    font-size: 18px;
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
}
.plan-price sub {
    font-size: 14px;
    color: rgba(253, 247, 237, 0.4);
}
.plan-desc {
    font-size: 13px;
    color: rgba(253, 247, 237, 0.4);
    margin-bottom: 24px;
}
.plan-divider {
    height: 0.5px;
    background: var(--border-light);
    margin: 20px 0;
}
.plan-features {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: rgba(253, 247, 237, 0.6);
}
.plan-features li::before {
    content: "✓";
    color: var(--gold-500);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.plan-cta {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}
.plan-cta-ghost {
    background: transparent;
    border: 0.5px solid var(--border);
    color: rgba(253, 247, 237, 0.6);
}
.plan-cta-ghost:hover {
    border-color: var(--border-light);
    color: rgba(253, 247, 237, 0.85);
    background: rgba(253, 247, 237, 0.03);
}
.plan-cta-gold {
    background: var(--gold-400);
    color: var(--gold-900);
    border: none;
}
.plan-cta-gold:hover {
    background: var(--gold-300);
}
.pricing-footnote {
    text-align: center;
    margin-top: 28px;
    font-size: 13px;
    color: rgba(253, 247, 237, 0.3);
}
.pricing-footnote a {
    color: var(--gold-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq {
    background: var(--bg-2);
}
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--bg-card);
    border: 0.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.faq-item[open] {
    border-color: var(--border);
    background: #1e1912;
}
.faq-q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--gold-100);
    line-height: 1.4;
}
.faq-q::-webkit-details-marker {
    display: none;
}
.faq-q:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: -2px;
}
.faq-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--gold-400);
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}
.faq-a {
    padding: 0 24px 22px;
    font-size: 14px;
    color: rgba(253, 247, 237, 0.55);
    line-height: 1.7;
}
.faq-a a {
    color: var(--gold-400);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── DISCORD CTA ────────────────────────────────────────── */
.discord-section {
    padding: var(--space-section) 0;
    text-align: center;
}
.discord-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}
.discord-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-400),
        transparent
    );
}
.discord-icon {
    font-size: 44px;
    margin-bottom: 20px;
}
.discord-h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--gold-50);
    margin-bottom: 14px;
    line-height: 1.2;
}
.discord-sub {
    font-size: 15px;
    color: rgba(253, 247, 237, 0.45);
    margin-bottom: 32px;
}
.discord-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
    background: var(--bg-2);
    border-top: 0.5px solid var(--border-light);
    padding: 60px 24px 36px;
}
.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .nav-logo {
    margin-bottom: 14px;
}
.footer-brand-desc {
    font-size: 13.5px;
    color: rgba(253, 247, 237, 0.35);
    line-height: 1.7;
    max-width: 260px;
}
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--bg-3);
    border: 0.5px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(253, 247, 237, 0.4);
    transition:
        color 0.2s,
        border-color 0.2s;
}
.footer-social:hover {
    color: var(--gold-400);
    border-color: var(--border);
}
.footer-col-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(253, 247, 237, 0.3);
    margin-bottom: 16px;
}
.footer-col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col-links a {
    font-size: 13.5px;
    color: rgba(253, 247, 237, 0.45);
    transition: color 0.2s;
}
.footer-col-links a:hover {
    color: rgba(253, 247, 237, 0.85);
}
.footer-bottom {
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 0.5px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(253, 247, 237, 0.25);
}

/* ─── MOBILE STICKY CTA ──────────────────────────────────── */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 6, 4, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 0.5px solid var(--border);
    opacity: 0;
    transform: translateY(110%);
    pointer-events: none;
    visibility: hidden;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        visibility 0s linear 0.32s;
}
.sticky-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        visibility 0s;
}
.sticky-cta-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}
.sticky-cta-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: rgba(253, 247, 237, 0.55);
    line-height: 1.35;
}
.sticky-cta-text strong {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-50);
}
.sticky-cta-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.sticky-cta .btn-primary,
.sticky-cta .sticky-cta-chat {
    font-size: 13.5px;
    padding: 10px 16px;
    white-space: nowrap;
    flex-shrink: 0;
}
.sticky-cta .sticky-cta-chat {
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    color: var(--gold-50);
}

/* Hide Intercom’s floating launcher on mobile. Chat lives in the sticky CTA.
   Only target the launcher itself; never parent wrappers (they also hold the messenger). */
@media (max-width: 900px) {
    .intercom-lightweight-app-launcher,
    .intercom-lightweight-app-gradient,
    iframe.intercom-launcher-frame,
    iframe[name="intercom-launcher-frame"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-up {
    animation: fade-up 0.7s ease both;
}
.fade-up-1 {
    animation-delay: 0.1s;
}
.fade-up-2 {
    animation-delay: 0.22s;
}
.fade-up-3 {
    animation-delay: 0.34s;
}
.fade-up-4 {
    animation-delay: 0.46s;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    #nav {
        height: 60px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    .nav-logo {
        font-size: 15px;
        min-width: 0;
    }
    .nav-logo svg {
        width: 26px;
        height: 26px;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-panel {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 99;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        padding: 16px 20px 24px;
        padding-bottom: max(24px, env(safe-area-inset-bottom));
        background: rgba(8, 6, 4, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 0.5px solid var(--border);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    }
    nav.is-open .nav-panel {
        display: flex;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }
    .nav-links a {
        padding: 12px 14px;
        font-size: 15px;
    }
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .nav-actions .btn-ghost,
    .nav-actions .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 16px;
    }
    .hero {
        min-height: auto;
        padding: var(--space-hero-top-md) 0 var(--space-section-md);
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-left {
        order: 1;
    }
    .hero-right {
        order: 2;
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }
    .hero-h1 {
        font-size: clamp(32px, 8vw, 44px);
    }
    .hero-sub {
        font-size: 16px;
        max-width: none;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .btn-hero,
    .btn-hero-ghost {
        width: 100%;
        justify-content: center;
    }
    .hero-trust {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .hero-trust-text {
        font-size: 12px;
        line-height: 1.5;
    }
    .app-preview {
        box-shadow:
            0 24px 48px rgba(0, 0, 0, 0.45),
            0 0 40px rgba(232, 168, 48, 0.04);
    }
    .hp-app {
        min-height: 0;
        padding: 10px 12px 12px;
    }
    .hp-title {
        font-size: 18px;
    }
    .hp-top {
        flex-wrap: wrap;
    }
    .hp-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .hp-split {
        flex-direction: column;
    }
    .hp-side {
        width: 100%;
        max-width: none;
        max-height: 280px;
        overflow-y: auto;
        flex-direction: column;
    }
    .hp-acard {
        flex: none;
        min-width: 0;
    }
    .hp-doc {
        max-height: 240px;
    }
    section,
    .stats,
    .discord-section {
        padding: var(--space-section-md) 0;
    }
    .section-header {
        margin-bottom: var(--space-section-header-md);
    }
    .section-h2 {
        font-size: clamp(26px, 6vw, 34px);
    }
    .section-lead {
        font-size: 15px;
    }
    .how-path-toggle {
        width: 100%;
        max-width: 360px;
    }
    .how-path-btn {
        flex: 1;
        padding: 10px 14px;
        font-size: 12px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .step-card:first-child {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .step-card:last-child {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .step-card::after {
        top: auto;
        bottom: -1px;
        left: 10%;
        right: 10%;
        width: auto;
        height: 0.5px;
    }
    .step-arrow {
        display: none;
    }
    .feature-card {
        padding: 28px 22px;
    }
    .feature-card.wide {
        flex-direction: column;
        gap: 16px;
    }
    .strip {
        padding: 16px 0;
    }
    .strip--hero {
        margin-top: 0;
    }
    .strip-item {
        font-size: 12px;
        gap: 8px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testi-card {
        padding: 22px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-item {
        padding: 28px 20px;
    }
    .stat-num {
        font-size: 30px;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .stat-item:nth-child(3) {
        border-right: 0.5px solid var(--border);
    }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 0.5px solid var(--border);
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.featured {
        margin-top: 16px;
    }
    .discord-card {
        padding: 40px 24px;
    }
    .discord-h2 {
        font-size: 26px;
    }
    .discord-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .discord-actions .btn-hero,
    .discord-actions .btn-hero-ghost {
        width: 100%;
        justify-content: center;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }
    body.sticky-cta-active {
        padding-bottom: 84px;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    #nav {
        height: 56px;
    }
    .nav-panel {
        top: 56px;
        max-height: calc(100dvh - 56px);
        padding-left: 16px;
        padding-right: 16px;
    }
    .nav-logo {
        font-size: 14px;
        gap: 8px;
    }
    .hero {
        padding: var(--space-hero-top-sm) 0 var(--space-section-sm);
    }
    .hero-inner {
        gap: 28px;
    }
    .hero-h1 {
        font-size: 30px;
        margin-bottom: 16px;
    }
    .hero-sub {
        font-size: 15px;
        margin-bottom: 28px;
    }
    .hero-tag {
        margin-bottom: 16px;
    }
    .hero-orb-1 {
        width: 180px;
        height: 180px;
        right: -40px;
    }
    .hero-orb-2 {
        width: 120px;
        height: 120px;
    }
    .app-preview-bar .url {
        font-size: 10px;
    }
    .hp-share {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }
    .hp-share span {
        display: none;
    }
    .hp-title {
        font-size: 16px;
    }
    section,
    .stats,
    .discord-section {
        padding: var(--space-section-sm) 0;
    }
    .section-header {
        margin-bottom: var(--space-section-header-sm);
    }
    .section-h2 {
        font-size: 26px;
    }
    .how-path-btn {
        font-size: 11px;
        padding: 9px 10px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none !important;
        border-top: 0.5px solid var(--border);
        padding: 24px 20px;
    }
    .stat-item:first-child {
        border-top: none;
    }
    .stat-num {
        font-size: 28px;
    }
    .pricing-grid {
        max-width: none;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-brand-desc {
        max-width: none;
    }
    .footer-bottom {
        font-size: 11px;
        line-height: 1.6;
    }
    .discord-card {
        padding: 32px 18px;
    }
    .discord-h2 {
        font-size: 22px;
    }
    .discord-sub {
        font-size: 14px;
    }
}
