/* Anonari — Design system
   Palette sombre structurée, typographie sans-serif rigoureuse
   Signature : le badge "anonymisé" vert olive discret sur fond noir profond
*/

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
    --bg-base:      #030604;
    --bg-surface:   #07100b;
    --bg-raised:    #0b1811;
    --bg-border:    #183322;

    --text-primary: #f4fff7;
    --text-muted:   #82958b;
    --text-dim:     #43584b;

    --green-vivid:  #7cff9b;
    --green-soft:   #4ade80;
    --green-muted:  #0d2615;

    --red-soft:     #ff5d5d;
    --yellow-soft:  #f7c948;

    --acid:         #b6ff5c;
    --terminal:     #4ade80;
    --scanline:     rgba(124, 255, 155, 0.055);

    --radius-sm:    4px;
    --radius-md:    8px;
    --radius-lg:    14px;

    --shadow-green: 0 0 42px rgba(124, 255, 155, 0.20);
    --shadow-hard:  0 18px 70px rgba(0, 0, 0, 0.44);

    --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    background:
        linear-gradient(var(--scanline) 1px, transparent 1px),
        radial-gradient(circle at 50% -12%, rgba(124, 255, 155, 0.16), transparent 28rem),
        radial-gradient(circle at 15% 20%, rgba(74, 222, 128, 0.10), transparent 20rem),
        linear-gradient(180deg, var(--bg-base) 0%, #010302 100%);
    background-size: 100% 6px, auto, auto, auto;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--green-vivid); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.35rem;
    border-bottom: 1px solid rgba(124, 255, 155, 0.13);
    position: sticky;
    top: 0;
    background: rgba(3, 6, 4, 0.88);
    backdrop-filter: blur(14px);
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    text-transform: none;
}
.nav-logo:hover { text-decoration: none; color: var(--text-primary); }
.btn:hover { opacity: 0.88; text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--acid), var(--green-soft));
    color: #010302;
    border-color: rgba(182, 255, 92, 0.72);
    font-weight: 900;
    box-shadow: 0 0 0 1px rgba(124, 255, 155, 0.18), 0 14px 38px rgba(74, 222, 128, 0.23);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #d2ff85, #66ff98);
    border-color: var(--acid);
    box-shadow: 0 0 0 1px rgba(124, 255, 155, 0.30), 0 18px 48px rgba(74, 222, 128, 0.34);
}

.btn-secondary {
    background: rgba(7, 16, 11, 0.78);
    color: var(--text-primary);
    border: 1px solid rgba(124, 255, 155, 0.16);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(124, 255, 155, 0.15);
}
.btn-secondary:hover,
.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(124, 255, 155, 0.06);
    border-color: rgba(124, 255, 155, 0.35);
    box-shadow: 0 0 24px rgba(124, 255, 155, 0.10);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
}
.btn-full { width: 100%; justify-content: center; }

.container {    max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 520px; margin: 0 auto; padding: 0 1.5rem; }


/* ── Formulaires ─────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.form-input {
    background: rgba(3, 6, 4, 0.72);
    border: 1px solid rgba(124, 255, 155, 0.16);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    padding: 0.7rem 0.9rem;
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: var(--font-sans);
}
.form-input:focus {
    outline: none;
    border-color: var(--green-soft);
    box-shadow: 0 0 0 3px rgba(124, 255, 155, 0.09), 0 0 28px rgba(124, 255, 155, 0.10);
}
.form-input::placeholder { color: var(--text-dim); }
.form-hint { font-size: 0.8rem; color: var(--text-dim); }
.form-error { font-size: 0.82rem; color: var(--red-soft); }

/* ── Alertes ─────────────────────────────────────────────────────────────── */
.alert {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: 1px solid;
}
.alert-error   { background: rgba(224,82,82,0.08); border-color: rgba(224,82,82,0.25); color: #f08080; }
.alert-success { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.2); color: var(--green-vivid); }
.alert-info    { background: rgba(255,255,255,0.04); border-color: var(--bg-border); color: var(--text-muted); }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
    background:
        linear-gradient(var(--scanline) 1px, transparent 1px),
        linear-gradient(180deg, rgba(11, 24, 17, 0.96), rgba(5, 9, 7, 0.94));
    background-size: 100% 7px, auto;
    border: 1px solid rgba(124, 255, 155, 0.14);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-hard);
}
.card-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.card-desc  { font-size: 0.85rem; color: var(--text-muted); }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 500;
}
.badge-green  {
    background: rgba(124, 255, 155, 0.11);
    color: var(--green-vivid);
    border: 1px solid rgba(124, 255, 155, 0.28);
    box-shadow: 0 0 30px rgba(124, 255, 155, 0.14);
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-brand { font-weight: 700; font-size: 0.9rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: var(--text-dim); }
.footer-links a:hover { color: var(--text-muted); text-decoration: none; }
.footer-tagline { font-size: 0.78rem; color: var(--text-dim); }

/* ── Landing ─────────────────────────────────────────────────────────────── */
.hero {
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 255, 155, 0.11);
    color: var(--green-vivid);
    border: 1px solid rgba(124, 255, 155, 0.34);
    border-radius: 99px;
    padding: 0.25rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-green);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.hero h1 {
    font-size: clamp(2.45rem, 5.8vw, 4.35rem);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: -0.06em;
    margin-bottom: 1.3rem;
    text-wrap: balance;
    text-shadow: 0 0 34px rgba(244, 255, 247, 0.10);
}
.hero h1 em {
    font-style: normal;
    color: var(--green-vivid);
    text-shadow: 0 0 36px rgba(124, 255, 155, 0.22);
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.reassurance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}
.reassurance-item {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}
.reassurance-icon { font-size: 1.4rem; margin-bottom: 0.75rem; }
.reassurance-title { font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
.reassurance-text  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-section { padding: 4rem 1.5rem; }
.pricing-section h2 { text-align: center; font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-section .sub { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 3rem; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    border-color: rgba(124, 255, 155, 0.42);
    box-shadow: 0 0 0 1px rgba(124, 255, 155, 0.20), 0 24px 80px rgba(74, 222, 128, 0.12);
}
.pricing-plan  { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc  { font-size: 0.83rem; color: var(--text-muted); margin: 0.5rem 0 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; flex: 1; }
.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--bg-border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--green-vivid); font-size: 0.8rem; flex-shrink: 0; }

/* ── Auth pages ──────────────────────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.auth-box {
    width: 100%;
    max-width: 420px;
}
.auth-logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: block;
}
.auth-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.3rem; }
.auth-sub   { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 2rem; }

/* ── Dashboard ───────────────────────────────────────────────────────────── */
.dashboard-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
}
.sidebar {
    background: var(--bg-surface);
    border-right: 1px solid var(--bg-border);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.sidebar-logo {
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--text-primary);
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: background 0.1s, color 0.1s;
}
.sidebar-link:hover { background: var(--bg-raised); color: var(--text-primary); text-decoration: none; }
.sidebar-link.active { background: var(--bg-raised); color: var(--text-primary); }
.sidebar-link .icon { width: 16px; text-align: center; }

.dashboard-main { padding: 2rem 2.5rem; }
.page-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.25rem; }
.page-sub   { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 2rem; }

/* ── Instance card ───────────────────────────────────────────────────────── */
.instance-card {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.instance-label { font-weight: 600; font-size: 0.95rem; }
.instance-url   { font-size: 0.8rem; color: var(--text-dim); font-family: var(--font-mono); }

/* ── API key row ─────────────────────────────────────────────────────────── */
.apikey-row {
    background: var(--bg-raised);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.apikey-label  { font-size: 0.88rem; font-weight: 500; }
.apikey-prefix { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }
.apikey-quota  { font-size: 0.78rem; color: var(--text-dim); }

/* ── Progress bar ────────────────────────────────────────────────────────── */
.progress-bar { background: var(--bg-border); border-radius: 99px; height: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--green-vivid); border-radius: 99px; transition: width 0.3s; }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--bg-border); margin: 2rem 0; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .dashboard-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .dashboard-main { padding: 1.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero { padding: 4rem 1rem 3rem; }
    .hero h1 { font-size: 2rem; }
    .nav { padding: 1rem; }
}

/* ── Ajustement header compact ─────────────────────────────────────────────
   Objectif : bandeau haut plus bas, plus simple, moins "effet IA".
   À placer après le thème principal si utilisé comme patch.
*/
.nav {
    min-height: 54px;
    padding: 0.45rem 1rem;
    border-bottom: 1px solid rgba(124, 255, 155, 0.10);
    background: rgba(3, 6, 4, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.nav-logo {
    gap: 0.48rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.nav-logo-mark {
    width: 24px;
    height: 24px;
    filter: none;
}

.nav-links {
    gap: 1rem;
}

.nav-links a {
    font-size: 0.84rem;
}

.nav .btn,
.nav .btn-lg {
    padding: 0.42rem 0.9rem;
    min-height: 34px;
    border-radius: 6px;
    font-size: 0.84rem;
    box-shadow: none;
}

.nav .btn-primary:hover {
    box-shadow: none;
}

.nav-logo-text {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--text-primary);
}

/* Option encore plus minimaliste :
   ajoute class="nav nav-compact-simple" sur le header/nav.
*/
.nav.nav-compact-simple {
    min-height: 48px;
    padding: 0.35rem 0.9rem;
}

.nav.nav-compact-simple .nav-logo-mark {
    width: 22px;
    height: 22px;
}

.nav.nav-compact-simple .btn {
    padding: 0.36rem 0.78rem;
    min-height: 30px;
}

/* ── Btn base (manquant dans ce fichier) ──────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    text-decoration: none;
}

/* ── Stack ────────────────────────────────────────────────────────────────── */
.stack         { display: flex; flex-direction: column; }
.stack-sm      { gap: 0.75rem; }
.stack-md      { gap: 1.25rem; }
.stack-lg      { gap: 2rem; }

/* ── Nav links (display flex manquant) ───────────────────────────────────── */
.nav-links {
    display: flex;
    align-items: center;
}

/* ── Nav ERP center ──────────────────────────────────────────────────────── */
.nav-center {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-link {
    font-size: 0.84rem;
    color: var(--text-muted);
    transition: color 0.15s;
    text-decoration: none;
}
.nav-link:hover  { color: var(--text-primary); text-decoration: none; }
.nav-link.active { color: var(--green-vivid); }
@media (max-width: 768px) {
    .nav-center { display: none; }
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb {
    font-size: 0.78rem;
    color: var(--text-dim);
    padding: 0.6rem 1.5rem;
    border-bottom: 1px solid var(--bg-border);
    max-width: 100%;
}
.breadcrumb a  { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text-muted); text-decoration: none; }
.breadcrumb-sep { margin: 0 0.4rem; opacity: 0.5; }

/* ── Section label ───────────────────────────────────────────────────────── */
.section-label {
    font-size: 0.76rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 0.75rem;
}

/* ── ERP selector ────────────────────────────────────────────────────────── */
.erp-selector {
    text-align: center;
    padding: 3rem 1.5rem 4rem;
}
.erp-selector-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}
.erp-cards {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}
.erp-card {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    width: 220px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.erp-card:hover {
    border-color: rgba(124, 255, 155, 0.35);
    box-shadow: 0 0 28px rgba(124, 255, 155, 0.09);
    text-decoration: none;
}
.erp-card-icon  { font-size: 1.8rem; margin-bottom: 0.6rem; }
.erp-card-name  { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; }
.erp-card-badge { font-size: 0.74rem; color: var(--text-dim); margin-bottom: 1.25rem; line-height: 1.4; }
.erp-other      { margin-top: 1.75rem; font-size: 0.83rem; color: var(--text-dim); }
.erp-other a    { color: var(--text-muted); }

/* ── How-steps ───────────────────────────────────────────────────────────── */
.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.how-step { text-align: center; }
.how-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-muted);
    border: 1px solid rgba(124, 255, 155, 0.22);
    color: var(--green-vivid);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}
.how-step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.how-step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Module do/don't block ───────────────────────────────────────────────── */
.module-block {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    max-width: 760px;
    margin: 0 auto;
}
.module-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.module-block-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}
.module-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 600px) { .module-cols { grid-template-columns: 1fr; } }
.module-col-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}
.module-col-title.has   { color: var(--green-vivid); }
.module-col-title.hasnt { color: var(--red-soft); }
.module-list {
    list-style: none;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 2;
}
.module-list.has   li::before { content: '✓ '; color: var(--green-vivid); }
.module-list.hasnt li::before { content: '✗ '; color: var(--red-soft); }
.module-ctas {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}
.module-pub-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
}

/* ── Version badges ──────────────────────────────────────────────────────── */
.version-block {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.version-block-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.version-block-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.version-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.version-badge {
    background: var(--bg-raised);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    padding: 0.22rem 0.65rem;
    font-size: 0.74rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ── Billing toggle ──────────────────────────────────────────────────────── */
.billing-toggle {
    display: inline-flex;
    gap: 0;
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: 3px;
    margin-bottom: 2.5rem;
}
.billing-tab {
    padding: 0.45rem 1.15rem;
    border-radius: calc(var(--radius-md) - 2px);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-dim);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
}
.billing-tab.active {
    background: var(--bg-raised);
    color: var(--text-primary);
}
.pricing-annual-note {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: -1.75rem;
    margin-bottom: 2rem;
}

/* ── Footer grid ─────────────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--bg-border);
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 1.5rem;
}
.footer-col-title {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.85rem;
}
.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dim);
    padding: 0.18rem 0;
    text-decoration: none;
}
.footer-col a:hover  { color: var(--text-muted); }
.footer-bottom {
    border-top: 1px solid var(--bg-border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 960px;
    margin: 0 auto;
    font-size: 0.77rem;
    color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-muted); text-decoration: none; }

/* ── Partner callout ─────────────────────────────────────────────────────── */
.partner-callout {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.partner-callout-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.partner-callout-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* ── Pricing partner link ────────────────────────────────────────────────── */
.pricing-partner-hint {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}
.pricing-partner-hint a { color: var(--text-muted); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--bg-border);
    padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
    font-size: 0.93rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.faq-a {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Pricing table (page /pricing) ──────────────────────────────────────── */
.pricing-table-wrap { overflow-x: auto; margin-bottom: 3rem; }
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.pricing-table th {
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--bg-border);
}
.pricing-table th.plan-col {
    color: var(--text-primary);
    font-size: 1rem;
    text-align: center;
}
.pricing-table th.featured-col {
    color: var(--green-vivid);
}
.pricing-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(124, 255, 155, 0.05);
    color: var(--text-muted);
    vertical-align: middle;
}
.pricing-table td:not(:first-child) { text-align: center; }
.pricing-table td.feature-label {
    font-size: 0.82rem;
    color: var(--text-dim);
}
.pricing-table .price-row td:not(:first-child) {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.pricing-table .price-row .featured-col {
    color: var(--green-vivid);
}
.pricing-table td.check-yes  { color: var(--green-vivid); }
.pricing-table td.check-no   { color: var(--text-dim); opacity: 0.5; }
.pricing-table-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.pricing-erp-note {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 3rem;
}
.pricing-final-cta {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--bg-border);
    border-bottom: 1px solid var(--bg-border);
}
.pricing-final-cta h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-final-cta-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
