/* =========================================================
   REIGNANT — public website
   Light canvas, original Reignant palette (black + gold).
   One stylesheet for every page.
========================================================= */

:root {
    /* Original Reignant colour codes */
    --black: #050505;
    --black-2: #090909;
    --black-3: #0d0d0d;
    --card-dark: #111111;
    --card-dark-2: #151515;

    --gold: #f5c542;
    --gold-light: #ffe477;
    --gold-dark: #d39d16;

    --white: #ffffff;
    --soft: #f4f4f4;          /* original --text, used here as the soft canvas */
    --muted-light: #a6a6a6;   /* original --muted, text on dark surfaces */
    --muted: #727272;         /* original --muted-2, body text on white */

    --gold-border: rgba(245, 197, 66, .35);

    /* Derived for the light layout */
    --ink: var(--black);
    --ink-soft: #2a2a2a;
    --line: rgba(5, 5, 5, .08);
    --line-strong: rgba(5, 5, 5, .14);
    --gold-tint: rgba(245, 197, 66, .14);
    --gold-tint-2: rgba(245, 197, 66, .26);
    --canvas-2: #fafafa;

    --shadow-sm: 0 1px 2px rgba(5, 5, 5, .04), 0 2px 8px rgba(5, 5, 5, .04);
    --shadow: 0 1px 2px rgba(5, 5, 5, .04), 0 12px 32px -12px rgba(5, 5, 5, .14);
    --shadow-lg: 0 30px 70px -24px rgba(5, 5, 5, .35);

    --container: 1200px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --pill: 999px;

    --ease: cubic-bezier(.2, .7, .2, 1);
    --transition: .25s var(--ease);
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }

:focus-visible {
    outline: 2px solid var(--gold-dark);
    outline-offset: 3px;
    border-radius: 6px;
}

.ic {
    width: 1em;
    height: 1em;
    flex: none;
    display: inline-block;
    vertical-align: -0.125em;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.03em; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { color: var(--muted); }

/* Accent words: original gold, drawn as a marker so it stays readable on white */
h1 span:not(.pill),
h2 span:not(.pill) {
    color: var(--ink);
    background: linear-gradient(transparent 64%, var(--gold-tint-2) 64%, var(--gold-tint-2) 92%, transparent 92%);
    padding: 0 .06em;
}

/* ---------- Buttons ---------- */

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: var(--pill);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn .ic { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }

.btn-large { min-height: 54px; padding: 0 28px; font-size: 16px; }

.btn-gold {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
    box-shadow: 0 8px 24px -10px rgba(211, 157, 22, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-gold:hover { box-shadow: 0 12px 30px -10px rgba(211, 157, 22, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }

.btn-outline,
.btn-price {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover,
.btn-price:hover { border-color: rgba(5, 5, 5, .3); }

.btn-dark {
    color: var(--white);
    background: var(--black);
    box-shadow: 0 10px 24px -12px rgba(5, 5, 5, .6);
}
.btn-dark:hover { background: var(--card-dark-2); }

.btn-ghost-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .04);
}
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .45); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}
.text-link .ic { transition: transform var(--transition); }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- Eyebrow pill (reference: "Power Features") ---------- */

.pill,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: var(--pill);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--ink);
    margin-bottom: 20px;
}

.pill::before,
.section-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-tint-2);
}

.pill-dark {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    color: var(--white);
    box-shadow: none;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(5, 5, 5, .35);
}

.nav-container {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: var(--gold);
    font-weight: 800;
    font-size: 16px;
    box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .35);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--pill);
    font-size: 14.5px;
    font-weight: 600;
    color: #3a3a3a;
    transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--ink); background: var(--soft); }

.nav-link .ic { width: 15px; height: 15px; transition: transform var(--transition); }
.nav-link .badge-new {
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--pill);
    background: var(--gold);
    color: var(--black);
}

.nav-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -8px;
    width: 300px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    inset: -12px 0 auto 0;
    height: 12px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav-dropdown:hover .nav-link .ic,
.nav-dropdown.open .nav-link .ic { transform: rotate(180deg); }

.dropdown-menu a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background var(--transition);
}

.dropdown-menu a:hover { background: var(--soft); }

.dd-icon {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--gold-tint);
    color: var(--ink);
}
.dd-icon .ic { width: 17px; height: 17px; }

.dropdown-menu strong { display: block; font-size: 14px; font-weight: 700; }
.dropdown-menu small { display: block; font-size: 12.5px; color: var(--muted); }

.dropdown-menu .dropdown-all {
    margin-top: 4px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    font-size: 13.5px;
    font-weight: 700;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--white);
    transition: background var(--transition);
}
.icon-button:hover { background: var(--soft); }
.icon-button .ic { width: 18px; height: 18px; }

.btn-login { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav-trial { min-height: 40px; padding: 0 18px; font-size: 14px; }

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    place-items: center;
}
.mobile-toggle .ic { width: 20px; height: 20px; }
.mobile-toggle .ic-close { display: none; }
.menu-open .mobile-toggle .ic-open { display: none; }
.menu-open .mobile-toggle .ic-close { display: block; }

.mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--white);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.mobile-menu .container { padding: 16px 0 28px; display: grid; gap: 4px; }

.mobile-menu a.m-link,
.mobile-menu button.m-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px;
    font-weight: 700;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.mobile-menu .m-actions { display: grid; gap: 10px; margin-top: 16px; }
.mobile-menu .m-actions .btn { width: 100%; }

.menu-open .mobile-menu { display: block; }

/* =========================================================
   SEARCH OVERLAY
========================================================= */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 12vh 16px 16px;
    background: rgba(5, 5, 5, .45);
    backdrop-filter: blur(6px);
}
.search-overlay.open { display: flex; }

.search-panel {
    width: min(640px, 100%);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}

.search-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}
.search-input-row > .ic { width: 20px; height: 20px; color: var(--muted); }
.search-input-row input {
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 17px;
    background: transparent;
    min-width: 0;
}

.search-results { max-height: 52vh; overflow-y: auto; padding: 8px; }
.search-result {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
}
.search-result.selected,
.search-result:hover { background: var(--soft); }
.search-result small {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 2px;
}
.search-result strong { display: block; font-size: 15px; }
.search-result span { display: block; font-size: 13.5px; color: var(--muted); }
.search-result mark { background: var(--gold-tint-2); color: inherit; border-radius: 3px; }
.search-empty { padding: 28px; text-align: center; color: var(--muted); }

.search-foot {
    display: flex;
    gap: 18px;
    padding: 10px 18px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
    background: var(--canvas-2);
}

/* =========================================================
   STAGE — the dark, gold-lit panel behind product visuals
   (plays the role of the reference's sky panel)
========================================================= */

.stage {
    position: relative;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(120% 80% at 85% 0%, rgba(245, 197, 66, .35), transparent 55%),
        radial-gradient(90% 70% at 0% 100%, rgba(211, 157, 22, .22), transparent 60%),
        linear-gradient(160deg, var(--card-dark-2), var(--black));
    overflow: hidden;
    isolation: isolate;
}

.stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(80% 70% at 60% 30%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000, transparent 75%);
    z-index: -1;
}

.stage::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -140px;
    top: -160px;
    border-radius: 50%;
    border: 1px solid rgba(245, 197, 66, .28);
    z-index: -1;
}

/* =========================================================
   HOME — HERO
========================================================= */

.hero {
    position: relative;
    padding: 40px 0 72px;
    background:
        radial-gradient(60% 50% at 10% 0%, var(--gold-tint), transparent 70%),
        var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: center;
}

.announce {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    border-radius: var(--pill);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 26px;
    transition: border-color var(--transition);
}
.announce:hover { border-color: var(--gold-border); }

.announce b {
    padding: 3px 10px;
    border-radius: var(--pill);
    background: var(--black);
    color: var(--gold);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .04em;
}
.announce .ic { width: 15px; height: 15px; }

.hero h1 { margin-bottom: 22px; }

.hero-description {
    font-size: 17.5px;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}
.hero-benefits div { display: inline-flex; align-items: center; gap: 8px; }
.tick-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold-tint-2);
    color: var(--black);
}
.tick-dot .ic { width: 12px; height: 12px; stroke-width: 3; }

.trusted { margin-top: 48px; }
.trusted p {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 14px;
}
.logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;
    align-items: center;
}
.logo-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: #4a4a4a;
    opacity: .85;
}
.logo-row .ic { width: 18px; height: 18px; }

/* Hero product composition */

.hero-stage {
    min-height: 560px;
    padding: 40px 0 0 40px;
}

.app-window {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .6);
    overflow: hidden;
    color: var(--ink);
    font-size: 13px;
}

.hero-stage .app-back {
    position: absolute;
    left: 40px;
    top: 72px;
    width: 46%;
    height: 420px;
    opacity: .55;
    transform: scale(.94);
    transform-origin: left top;
}

.hero-stage .app-front {
    position: relative;
    margin-left: 14%;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: 500px;
    border-radius: 18px 0 0 0;
}

.app-rail {
    background: var(--canvas-2);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
}
.app-rail .brand-mark { width: 30px; height: 30px; font-size: 14px; margin-bottom: 8px; }
.app-rail i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #8a8a8a;
}
.app-rail i.on { background: var(--gold-tint-2); color: var(--black); }
.app-rail .ic { width: 16px; height: 16px; }

.app-body { padding: 20px 22px; min-width: 0; }

.app-greet strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.app-greet small { color: var(--muted); font-size: 12px; }

.app-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.app-metric {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
}
.app-metric small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.app-metric strong { display: block; font-size: 22px; letter-spacing: -0.03em; margin: 2px 0; }
.app-metric em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--pill);
    background: var(--gold-tint-2);
}
.app-metric em.bad { background: rgba(5, 5, 5, .07); }

.app-chart {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
}
.app-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 12px;
}
.app-chart-head small { color: var(--muted); font-weight: 600; font-size: 11.5px; }

.bars {
    position: relative;
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 9px;
    padding-top: 18px;
}
.bars i {
    flex: 1;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, #ececec, #e2e2e2);
    position: relative;
}
.bars i b {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
}
.bars i.peak b { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); }
.bars .tip {
    position: absolute;
    top: -6px;
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 7px;
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.bar-labels {
    display: flex;
    gap: 9px;
    margin-top: 6px;
}
.bar-labels span { flex: 1; text-align: center; color: var(--muted); font-size: 10.5px; font-weight: 600; }

.app-table { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.app-row {
    display: grid;
    grid-template-columns: .5fr 1.6fr 1fr 1fr;
    gap: 8px;
    padding: 9px 14px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    align-items: center;
}
.app-row:first-child { border-top: 0; background: var(--canvas-2); color: var(--muted); font-weight: 700; font-size: 11px; }
.app-row b { font-weight: 700; }
.status {
    justify-self: start;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--pill);
    background: var(--gold-tint-2);
}

.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    font-size: 12.5px;
    color: var(--ink);
}
.float-card strong { display: block; font-size: 13px; }
.float-card small { color: var(--muted); font-size: 11.5px; }
.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-tint-2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--gold-tint-2); }
    50% { box-shadow: 0 0 0 8px rgba(245, 197, 66, .08); }
}

.hero-stage .fc-sync { left: 18px; bottom: 34px; }
.hero-stage .fc-sale { right: 22px; top: 22px; }

/* =========================================================
   SECTIONS
========================================================= */

.section { padding: 104px 0; }
.section.soft,
.soft { background: var(--soft); }
.section.tight { padding: 72px 0; }

.section-intro {
    max-width: 720px;
    margin-bottom: 56px;
}
.section-intro.center,
.center-heading {
    margin-inline: auto;
    text-align: center;
}
.section-intro.center p,
.center-heading p { margin-inline: auto; }
.section-intro h2 + p,
.center-heading h2 + p { margin-top: 18px; font-size: 17px; max-width: 600px; }

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}
.section-heading-row .section-intro { margin-bottom: 0; }

/* ---------- Home: why grid (reference: small icon cards) ---------- */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.why-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-card h3 { font-size: 16.5px; margin: 16px 0 6px; }
.why-card p { font-size: 14.5px; }

.icon-tile,
.card-icon,
.benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: var(--gold);
    box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .3);
}
.icon-tile .ic,
.card-icon .ic,
.benefit-icon .ic { width: 20px; height: 20px; }

/* ---------- Home: bento feature cards (reference: feature cards) ---------- */

.bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.bento-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.bento-visual {
    position: relative;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--soft);
    display: grid;
    place-items: center;
    padding: 22px;
}
.bento-visual.dark { background: none; }
.bento-visual.dark > .stage { position: absolute; inset: 0; border-radius: 16px; }

.bento-body { padding: 22px 14px 14px; }
.bento-body h3 { font-size: 20px; margin-bottom: 8px; }
.bento-body p { font-size: 15px; }
.bento-body ul { margin-top: 14px; display: grid; gap: 7px; }
.bento-body li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}
.bento-body li .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--gold-dark); stroke-width: 2.6; }
.bento-body .text-link { margin-top: 18px; font-size: 14.5px; }

.mini {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 14px;
    font-size: 12.5px;
}
.mini-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 13px;
}
.mini-head small { font-weight: 600; color: var(--muted); font-size: 11.5px; }
.mini-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
}
.mini-row span { color: var(--ink-soft); }
.mini-row b { font-weight: 800; }
.mini-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--black);
    color: var(--white);
    font-weight: 800;
}
.mini-total small { color: var(--muted-light); font-weight: 600; }
.chip {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--pill);
    background: var(--gold-tint-2);
    color: var(--black);
}
.chip.grey { background: rgba(5, 5, 5, .07); }
.chip.dark { background: var(--black); color: var(--gold); }

.mini-split { display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: center; }
.donut {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--gold) 0 46%, var(--black) 46% 72%, #d9d9d9 72% 100%);
    display: grid;
    place-items: center;
}
.donut div {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-items: center;
    text-align: center;
    line-height: 1.15;
}
.donut strong { font-size: 15px; }
.donut small { font-size: 10px; color: var(--muted); display: block; }
.legend { display: grid; gap: 8px; }
.legend span { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); }
.legend i { width: 9px; height: 9px; border-radius: 3px; background: #d9d9d9; }
.legend i.g { background: var(--gold); }
.legend i.k { background: var(--black); }

.mini-bars { height: 70px; display: flex; align-items: flex-end; gap: 6px; margin-top: 12px; }
.mini-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: #e6e6e6; }
.mini-bars i.hi { background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); }

.sync-mini {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 340px;
    color: var(--white);
}
.sync-mini .badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px;
    font-weight: 700;
}
.sync-mini .badge .ic { width: 14px; height: 14px; color: var(--gold); }
.sync-mini h4 { color: var(--white); font-size: 22px; margin: 14px 0 4px; }
.sync-mini p { color: var(--muted-light); font-size: 13px; }
.progress {
    height: 8px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, .1);
    margin: 16px 0 8px;
    overflow: hidden;
}
.progress span {
    display: block;
    height: 100%;
    width: 68%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}
.sync-mini small { color: var(--muted-light); font-size: 12px; font-weight: 600; }
.sync-mini .amount {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: var(--muted-light);
}
.sync-mini .amount strong { color: var(--gold); font-size: 18px; }

/* ---------- Industries ---------- */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.industry-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.industry-image {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(140deg, var(--card-dark-2), var(--black));
}
.industry-image img { width: 100%; height: 100%; object-fit: cover; }
.industry-image > span {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 4px 11px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, .92);
    font-size: 12px;
    font-weight: 800;
}

.industry-content { padding: 18px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.industry-content .industry-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: var(--gold);
    margin-top: -38px;
    position: relative;
    border: 3px solid var(--white);
    box-sizing: content-box;
}
.industry-content .industry-icon .ic { width: 18px; height: 18px; }
.industry-content h3 { font-size: 19px; margin: 12px 0 6px; }
.industry-content p { font-size: 14.5px; }
.industry-content ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.industry-content li {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--pill);
    background: var(--soft);
    color: var(--ink-soft);
}
.industry-content > a {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    font-size: 14px;
}
.industry-content > a .ic { transition: transform var(--transition); }
.industry-card:hover .industry-content > a .ic { transform: translateX(3px); }

.industry-more {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--radius-lg);
    padding: 28px;
    color: var(--white);
}
.industry-more h3 { color: var(--white); font-size: 24px; margin: 14px 0 10px; }
.industry-more p { color: var(--muted-light); font-size: 15px; }
.industry-more .btn { align-self: flex-start; margin-top: 24px; }

/* ---------- Split layouts ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.split.reverse > :first-child { order: 2; }

.split-copy h2 { margin-bottom: 18px; }
.split-copy > p { font-size: 17px; margin-bottom: 26px; }

.point-list { display: grid; gap: 12px; margin-bottom: 30px; }
.point-list div,
.point-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 600;
    color: var(--ink-soft);
}

.offline-stage {
    min-height: 440px;
    display: grid;
    place-items: center;
    padding: 40px;
}
.offline-stage .sync-mini {
    max-width: 380px;
    padding: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
}

/* =========================================================
   DESKTOP APP DOWNLOAD
========================================================= */

.download-block {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
    padding: 64px;
    color: var(--white);
}
.download-block h2 { color: var(--white); margin-bottom: 18px; }
.download-block h2 span { color: var(--gold); background: none; padding: 0; }
.download-block > div > p { color: var(--muted-light); font-size: 17px; margin-bottom: 28px; max-width: 520px; }

.os-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.os-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 0 22px 0 16px;
    border-radius: 16px;
    font-weight: 700;
    text-align: left;
    line-height: 1.2;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.os-btn:hover { transform: translateY(-2px); }
.os-btn small { display: block; font-size: 11.5px; font-weight: 600; opacity: .7; }
.os-btn strong { display: block; font-size: 15.5px; }
.os-btn svg { width: 26px; height: 26px; flex: none; }

.os-btn.primary {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
    box-shadow: 0 12px 30px -12px rgba(245, 197, 66, .7);
}
.os-btn.secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
}
.os-btn.secondary:hover { border-color: rgba(255, 255, 255, .4); }
.os-btn.light {
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 22px;
    font-size: 13.5px;
    color: var(--muted-light);
}
.download-meta span { display: inline-flex; align-items: center; gap: 8px; }
.download-meta .ic { width: 15px; height: 15px; color: var(--gold); }
.download-meta a { color: var(--white); border-bottom: 1px solid var(--gold); }

.download-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
}
.download-feats div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
}
.download-feats .ic { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.download-feats strong { display: block; font-size: 14px; color: var(--white); }
.download-feats small { display: block; font-size: 12.5px; color: var(--muted-light); line-height: 1.45; }

/* Desktop window mock */
.desk {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
    color: var(--ink);
    font-size: 12.5px;
}
.desk-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 12px;
    background: #ececec;
    border-bottom: 1px solid var(--line);
}
.desk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfcf; }
.desk-bar span { margin-left: 10px; font-size: 11.5px; font-weight: 700; color: #5a5a5a; }
.desk-bar em {
    margin-left: auto;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: var(--pill);
    background: var(--black);
    color: var(--gold);
}
.desk-bar em .ic { width: 12px; height: 12px; }

.desk-body { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 300px; }
.desk-products { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; background: var(--canvas-2); }
.desk-search {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 10px;
    border-radius: 9px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 11.5px;
}
.desk-search .ic { width: 13px; height: 13px; }
.desk-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
}
.desk-item i {
    display: grid;
    place-items: center;
    height: 38px;
    border-radius: 7px;
    background: var(--soft);
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.desk-item i .ic { width: 16px; height: 16px; }
.desk-item strong { display: block; font-size: 11px; line-height: 1.25; }
.desk-item small { color: var(--muted); font-size: 10.5px; }
.desk-cart { padding: 14px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.desk-cart .mini-row { font-size: 11.5px; }
.desk-cart .mini-total { margin-top: auto; }
.desk-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.desk-pay span {
    text-align: center;
    padding: 6px 0;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 10.5px;
    font-weight: 800;
}
.desk-pay span.on { background: var(--gold-tint-2); border-color: var(--gold-border); }

.desk-stand {
    width: 34%;
    height: 22px;
    margin: 0 auto;
    background: linear-gradient(180deg, #2a2a2a, #111);
    clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}
.desk-base {
    width: 46%;
    height: 6px;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    background: #1d1d1d;
}

/* Compact download band used on inner pages */
.download-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 36px;
    border-radius: var(--radius-lg);
    color: var(--white);
}
.download-band .db-text { display: flex; align-items: center; gap: 18px; }
.download-band .icon-tile { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.download-band .icon-tile .ic { width: 24px; height: 24px; }
.download-band h3 { color: var(--white); font-size: 21px; margin-bottom: 4px; }
.download-band p { color: var(--muted-light); font-size: 14.5px; }
.download-band .os-buttons { flex: none; }
.download-band .os-btn { min-height: 52px; }

/* Download page — platform cards */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.platform-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.platform-card.featured {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 3px var(--gold-tint), var(--shadow);
}
.platform-card .os-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: var(--gold);
    margin-bottom: 18px;
}
.platform-card .os-mark svg { width: 24px; height: 24px; }
.platform-card h3 { font-size: 19px; margin-bottom: 4px; }
.platform-card .kind { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.platform-card ul { display: grid; gap: 8px; margin-bottom: 22px; }
.platform-card li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.platform-card li .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--gold-dark); stroke-width: 2.6; }
.platform-card .btn { margin-top: auto; width: 100%; }
.platform-card .detected {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--pill);
    background: var(--gold);
    color: var(--black);
    margin-bottom: 12px;
    display: none;
}
.platform-card.is-detected .detected { display: inline-block; }

/* Download toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 400;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    max-width: min(520px, calc(100% - 32px));
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold-border);
    transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   PRICING
========================================================= */

.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: var(--pill);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    margin-top: 28px;
}
.billing-option {
    min-height: 38px;
    padding: 0 18px;
    border-radius: var(--pill);
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}
.billing-option.active { background: var(--black); color: var(--white); }
.billing-toggle > span {
    margin: 0 8px 0 4px;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--pill);
    background: var(--gold-tint-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
}
.pricing-card.recommended {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 3px var(--gold-tint), var(--shadow);
}
.recommended-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--pill);
    background: var(--black);
    color: var(--gold);
}
.pricing-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--soft);
    margin-bottom: 16px;
}
.recommended .pricing-icon { background: var(--black); color: var(--gold); }
.pricing-icon .ic { width: 19px; height: 19px; }
.pricing-card h3 { font-size: 18px; }
.pricing-card > p { font-size: 13.5px; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 18px; }
.price strong { font-size: 34px; letter-spacing: -0.04em; font-weight: 700; }
.price span { color: var(--muted); font-size: 14px; font-weight: 600; }
.pricing-card > .btn { width: 100%; }
.pricing-card ul { margin: 22px 0 18px; display: grid; gap: 10px; }
.pricing-card li,
.check-list li {
    position: relative;
    padding-left: 28px;
    font-size: 14.5px;
    color: var(--ink-soft);
    font-weight: 500;
}
.pricing-card li::before,
.check-list li:not(:has(.tick))::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pricing-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 800;
}
.pricing-note { margin-top: 22px; font-size: 13.5px; text-align: center; }

/* =========================================================
   FINAL CTA
========================================================= */

.final-cta { padding: 0 0 104px; }

.cta-card {
    text-align: center;
    padding: 84px 32px;
    color: var(--white);
}
.cta-card h2 { color: var(--white); margin: 0 auto 18px; max-width: 760px; }
.cta-card h2 span { color: var(--gold); background: none; padding: 0; }
.cta-card p { color: var(--muted-light); font-size: 17px; max-width: 560px; margin: 0 auto 32px; }
.cta-card .hero-buttons { justify-content: center; }
.cta-card .btn-outline {
    color: var(--white);
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: none;
}
.cta-card .btn-outline:hover { border-color: rgba(255, 255, 255, .45); }

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--black);
    color: var(--muted-light);
    padding: 80px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(5, 1fr);
    gap: 32px;
}
.footer .brand { color: var(--white); }
.footer-brand p { color: var(--muted-light); font-size: 14.5px; margin: 18px 0 22px; max-width: 300px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--white);
    transition: border-color var(--transition), color var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-socials .ic { width: 16px; height: 16px; }
.footer-column h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: 0; }
.footer-column a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 5px 0;
    transition: color var(--transition);
}
.footer-column a:hover { color: var(--gold); }
.footer-column a .ic { width: 14px; height: 14px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
}
.footer-bottom p { color: var(--muted-light); }

/* =========================================================
   INNER PAGES
========================================================= */

.page-hero {
    padding: 36px 0 88px;
    background:
        radial-gradient(55% 60% at 100% 0%, var(--gold-tint), transparent 70%),
        radial-gradient(40% 50% at 0% 10%, rgba(5, 5, 5, .03), transparent 70%),
        var(--white);
    border-bottom: 1px solid var(--line);
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 30px;
    padding: 6px 14px;
    border-radius: var(--pill);
    border: 1px solid var(--line);
    background: var(--white);
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb > span:last-child { color: var(--ink); }

.page-hero h1 { margin-bottom: 20px; font-size: clamp(36px, 4.8vw, 58px); }
.page-lead { font-size: 18px; max-width: 640px; margin-bottom: 30px; }

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.page-hero-grid > .stage { padding: 36px; }
.page-hero-grid .card-icon { margin-bottom: 22px; }

.page-hero-center { text-align: center; max-width: 820px; margin: 0 auto; }
.page-hero-center .page-lead { margin-inline: auto; }
.page-hero-center .hero-buttons,
.page-hero-center .filter-pills { justify-content: center; }
.page-hero-center .breadcrumb { margin-inline: auto; }

.page-hero .check-list { margin-bottom: 28px; }
.check-list.two-columns { grid-template-columns: 1fr 1fr; }

/* ---------- Split blocks (inner) ---------- */

.split-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
.split-block.reverse > .split-text { order: 2; }
.split-text h2,
.split-text h3 { margin-bottom: 16px; }
.split-text h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; }
.split-text > p { font-size: 16.5px; margin-bottom: 24px; }
.split-text > .btn { margin-top: 6px; }
.split-visual.stage { padding: 36px; }

.photo-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(140deg, var(--card-dark-2), var(--black));
    box-shadow: var(--shadow);
    border: 8px solid var(--white);
    outline: 1px solid var(--line);
}
.photo-frame.ratio-wide { aspect-ratio: 4 / 3; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Check list ---------- */

.check-list { display: grid; gap: 12px; margin-bottom: 26px; }
.check-list li:has(.tick) { padding-left: 0; display: flex; gap: 12px; align-items: flex-start; }
.tick {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 2px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold-tint-2);
    color: var(--black);
}
.tick .ic { width: 12px; height: 12px; stroke-width: 3.2; }

/* ---------- Card grids ---------- */

.card-grid { display: grid; gap: 16px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.info-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.soft .info-card,
.soft .why-card { box-shadow: var(--shadow-sm); }
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-border); }
.info-card .card-icon { margin-bottom: 18px; }
.info-card h3 { font-size: 18px; margin-bottom: 8px; }
.info-card p { font-size: 15px; }
.info-card .check-list { margin: 18px 0 0; }
.info-card .best-for { margin-top: 18px; font-size: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.info-card .best-for strong { color: var(--ink); }
.card-link {
    margin-top: auto;
    padding-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}
.card-link .ic { transition: transform var(--transition); }
a.info-card:hover .card-link .ic { transform: translateX(3px); }

/* numbered info cards (no icon) get a gold rule */
.info-card:not(:has(.card-icon)):not(:has(.check-list)) { border-top: 3px solid var(--gold); }

/* ---------- Steps ---------- */

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: step;
}
.step-item {
    position: relative;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.step-number {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--black);
    color: var(--gold);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 18px;
}
.step-item h4 { font-size: 17px; margin-bottom: 8px; }
.step-item p { font-size: 14.5px; }

/* ---------- FAQ ---------- */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: var(--gold-border); box-shadow: var(--shadow-sm); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
}
.faq-toggle {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    transition: transform var(--transition), background var(--transition);
}
.faq-toggle .ic { width: 16px; height: 16px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--gold); }
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s var(--ease);
}
.faq-answer > p { overflow: hidden; padding: 0 22px; font-size: 15px; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 20px; }

/* ---------- Product mock panel (inner pages) ---------- */

.mock-panel {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7);
    color: var(--ink);
}
.mock-panel-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: var(--canvas-2);
    border-bottom: 1px solid var(--line);
}
.mock-panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d6d6; }
.mock-panel-bar span {
    margin-left: 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    padding: 3px 10px;
    border-radius: var(--pill);
    background: var(--white);
    border: 1px solid var(--line);
}
.mock-panel-body { padding: 18px; }
.mock-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mock-stat small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.mock-stat strong { display: block; font-size: 17px; letter-spacing: -0.03em; }
.mock-bars {
    height: 110px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    margin: 16px 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.mock-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: #e6e6e6; }
.mock-bars i.hi { background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); }
.mock-list { display: grid; }
.mock-list-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 2px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.mock-list-row:first-child { border-top: 0; }
.mock-list-row span { color: var(--ink-soft); }
.mock-list-row b { font-weight: 800; }

/* ---------- Filters / search ---------- */

.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: var(--pill);
    border: 1px solid var(--line-strong);
    background: var(--white);
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-soft);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-pill:hover { border-color: rgba(5, 5, 5, .3); }
.filter-pill.active { background: var(--black); border-color: var(--black); color: var(--white); }

.page-search { position: relative; max-width: 560px; margin: 0 auto 18px; }
.page-search .ic {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--muted);
}
.page-search input {
    width: 100%;
    height: 54px;
    padding: 0 20px 0 48px;
    border-radius: var(--pill);
    border: 1px solid var(--line-strong);
    background: var(--white);
    font-size: 16px;
    outline: none;
    box-shadow: var(--shadow-sm);
}
.page-search input:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 4px var(--gold-tint); }
[data-filter-root] > .filter-pills { justify-content: center; }

.empty-state { display: none; text-align: center; padding: 40px 0 0; }
.empty-state.show { display: block; }
.empty-state a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--gold); }

/* ---------- Articles ---------- */

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-media {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(140deg, var(--card-dark-2), var(--black));
}
.article-media img,
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 18px 12px 12px; }
.article-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--pill);
    background: var(--gold-tint-2);
    margin-bottom: 12px;
}
.article-body h3 { font-size: 18px; margin-bottom: 8px; }
.article-body p { font-size: 14.5px; }
.article-meta { display: flex; gap: 14px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.article-meta span + span::before { content: "·"; margin-right: 14px; }

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 14px 14px 14px 44px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.featured-article h2 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 14px; }
.featured-media { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--black); }

/* ---------- Forms ---------- */

.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.form-card > h3 { font-size: 22px; margin-bottom: 4px; }
.form-card > p { font-size: 14.5px; margin-bottom: 22px; }
.form-field { display: grid; gap: 7px; margin-bottom: 16px; }
.form-field > span { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: var(--canvas-2);
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-field textarea { min-height: 120px; padding: 12px 16px; resize: vertical; }
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold-dark);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--gold-tint);
}
.form-card > .btn { width: 100%; margin-top: 6px; }
.form-message {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-border);
    font-size: 14px;
    color: var(--ink-soft);
}
.form-message.show { display: block; }
.form-note { font-size: 14px; margin-top: 16px; }
.form-note a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--gold); }

.auth-wrap { max-width: 480px; margin: 0 auto; text-align: center; }
.auth-wrap .form-card { text-align: left; }
.auth-wrap .page-lead { margin-inline: auto; }

.contact-method {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.contact-method h4 { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 6px; letter-spacing: 0; }
.contact-method strong { display: block; font-size: 16px; }
.contact-method small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.split-text h3.sub { font-size: 22px; font-weight: 600; margin: 40px 0 16px; letter-spacing: -0.02em; }

/* ---------- Comparison table ---------- */

.table-scroll {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.compare th,
.compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child,
.compare td:first-child { text-align: left; }
.compare thead th { position: sticky; top: 0; background: var(--canvas-2); font-size: 14px; font-weight: 800; }
.compare thead th:nth-child(3) { background: var(--gold-tint); }
.compare td:nth-child(3) { background: rgba(245, 197, 66, .05); }
.compare .group-row td {
    background: var(--soft);
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.cell-yes {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold-tint-2);
}
.cell-yes .ic { width: 13px; height: 13px; stroke-width: 3.2; }
.cell-no { color: #b5b5b5; }
.table-scroll + .hero-buttons { justify-content: center; }
.table-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---------- Prose (legal) ---------- */

.prose { max-width: 760px; margin: 0 auto; }
.prose .updated {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--pill);
    background: var(--soft);
    margin-bottom: 28px;
}
.prose h2 { font-size: 24px; font-weight: 600; margin: 36px 0 10px; letter-spacing: -0.02em; }
.prose p { font-size: 16.5px; line-height: 1.75; }
.prose .placeholder {
    margin-top: 36px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-border);
    font-size: 14.5px;
}

/* ---------- Features page: category bento ---------- */

.cat-nav {
    position: sticky;
    top: 72px;
    z-index: 40;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.cat-nav .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: none;
}
.cat-nav .filter-pills::-webkit-scrollbar { display: none; }
.cat-nav .filter-pill { flex: none; gap: 8px; }
.cat-nav .filter-pill .ic { width: 15px; height: 15px; }

.cat-block { scroll-margin-top: 150px; }
.cat-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}
.cat-head h2 { margin-top: 2px; }
.cat-head p { max-width: 420px; font-size: 16.5px; }

.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.feature-cards .bento-visual { height: 220px; }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
    .desktop-nav .nav-link { padding: 0 9px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .download-block { padding: 48px; }
}

@media (max-width: 1040px) {
    .desktop-nav,
    .nav-actions .btn-login,
    .nav-actions .nav-trial { display: none; }
    .mobile-toggle { display: grid; }
    .nav-actions { margin-left: auto; }

    .hero-grid,
    .page-hero-grid,
    .split,
    .split-block,
    .download-block,
    .featured-article { grid-template-columns: 1fr; }

    .split.reverse > :first-child,
    .split-block.reverse > .split-text { order: 0; }

    .hero-stage { min-height: 500px; }
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid.cols-3,
    .card-grid.cols-4,
    .why-grid,
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-article { padding: 14px; }
    .featured-article .featured-body { padding: 18px 16px 10px; order: 2; }
    .download-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .container { width: calc(100% - 32px); }
    .section { padding: 72px 0; }
    .final-cta { padding-bottom: 72px; }
    .hero { padding-top: 24px; }
    .hero-description, .page-lead { font-size: 16.5px; }
    .hero-buttons .btn { flex: 1 1 100%; }

    .hero-stage { min-height: 0; padding: 22px 0 22px 18px; }
    .hero-stage .app-back { display: none; }
    .hero-stage .app-front { margin-left: 0; min-height: 0; grid-template-columns: 1fr; }
    .app-rail { display: none; }
    .app-body { padding: 16px; }
    .app-row { grid-template-columns: .5fr 1.6fr 1fr; }
    .app-row > :last-child { display: none; }
    .hero-stage .fc-sale { display: none; }
    .hero-stage .fc-sync { position: relative; left: auto; bottom: auto; margin: 14px 18px 0 0; }

    .bento,
    .feature-cards,
    .why-grid,
    .industry-grid,
    .card-grid.cols-2,
    .card-grid.cols-3,
    .card-grid.cols-4,
    .step-grid,
    .pricing-grid,
    .platform-grid,
    .download-feats,
    .check-list.two-columns { grid-template-columns: 1fr; }

    .bento-visual,
    .feature-cards .bento-visual { height: auto; min-height: 220px; }
    .mini-split { grid-template-columns: 1fr; justify-items: center; }

    .section-heading-row,
    .cat-head { flex-direction: column; align-items: flex-start; }

    .download-block { padding: 32px 22px; }
    .desk-body { grid-template-columns: 1fr; }
    .desk-cart { border-left: 0; border-top: 1px solid var(--line); }
    .os-buttons .os-btn { flex: 1 1 100%; }
    .download-band { padding: 24px 20px; }
    .download-band .db-text { flex-direction: column; align-items: flex-start; }

    .cta-card { padding: 56px 22px; }
    .page-hero { padding-bottom: 64px; }
    .page-hero-grid > .stage,
    .split-visual.stage { padding: 18px; }
    .offline-stage { padding: 22px; min-height: 0; }
    .mock-stat-row { grid-template-columns: 1fr 1fr; }
    .form-card { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .billing-toggle { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Password eye: the same eye button as inside the app (static/js/pw-eye.js
   wraps the box in a span.rg-pw-eye). Only stop the label styling from
   reaching that wrapper, so the button looks exactly as it does in the app. */
.form-field > .rg-pw-eye { font-size: inherit; font-weight: inherit; color: inherit; }
