/* ============================================================
   Aconitum — Components (Hero · Status · Products · Features ·
   Pricing · Sidebar-Cards · Wraps · Menüs)
   Alle Werte via var(--xxx) — wechseln automatisch mit
   [data-theme="dark"] aus dem aktiven Skin.
   ============================================================ */

/* ===== SECTION ========================================== */
.aco-section { margin-bottom: 60px; }
.aco-section__head { text-align: center; margin-bottom: 36px; }
.aco-section__eyebrow {
    color: var(--color-accent);
    font-family: var(--aco-f-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.aco-section__title {
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.aco-section__sub { color: var(--color-text-muted); max-width: 56ch; margin: 0 auto; }


/* ===== HERO ============================================= */
.aco-hero {
    grid-area: hero;
    padding: 50px 0 30px;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 40px;
    align-items: center;
}
@media (max-width: 1280px) { .aco-hero { grid-template-columns: 1fr; } .aco-hero__visual { display: none; } }
.aco-hero__eyebrow {
    color: var(--color-accent);
    font-family: var(--aco-f-mono, 'JetBrains Mono', monospace);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.aco-hero__title {
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: clamp(2.5rem, 5.5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: var(--aco-grad-aurora, linear-gradient(135deg, #5b3df5, #00b8d4, #ff4d8d));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}
.aco-hero__lead {
    color: var(--color-text-soft, var(--color-text-muted));
    font-size: 1.1rem;
    max-width: 54ch;
    margin-bottom: 28px;
}
.aco-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.aco-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 24px;
    padding-top: 26px;
    border-top: 1px solid var(--color-border);
}
.aco-hero__stat-n {
    display: block;
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--color-text);
    line-height: 1;
}
.aco-hero__stat-l {
    display: block;
    font-family: var(--aco-f-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
}
.aco-hero__visual { display: flex; justify-content: center; }
.aco-hero__svg { width: 500px; max-width: 100%; height: auto; }
.aco-hero__ring--1 { animation: acoSpinSlow 30s linear infinite; transform-origin: 250px 250px; }
.aco-hero__ring--2 { animation: acoSpinRev  24s linear infinite; transform-origin: 250px 250px; }
.aco-hero__ring--3 { animation: acoSpinSlow 18s linear infinite; transform-origin: 250px 250px; }
.aco-hero__nodes   { animation: acoSpinRev  40s linear infinite; transform-origin: 250px 250px; }
.aco-hero__particles { animation: acoPulse 3s ease infinite; transform-origin: 250px 250px; }
@keyframes acoSpinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes acoSpinRev  { from { transform: rotate(360deg); } to { transform: rotate(0); } }
@keyframes acoPulse    { 0%,100% { opacity: 0.7; } 50% { opacity: 0.3; } }


/* ===== STATUS CARD (Sidebar) =========================== */
.aco-side-card {
    background: var(--aco-surface, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 16px;
}
.aco-side-card__title {
    font-family: var(--aco-f-mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.aco-status-card .aco-status-row {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: 0.85rem;
}
.aco-status-card .aco-status-row:last-child { border-bottom: 0; padding-bottom: 0; }
.aco-status-row__dot {
    width: 10px; height: 10px; border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}
.aco-status-row__dot--ok      { background: var(--color-success, #10b981); color: var(--color-success); animation: acoDotPulse 2.5s ease infinite; }
.aco-status-row__dot--warning { background: var(--color-warning, #f59e0b); color: var(--color-warning); }
.aco-status-row__dot--error   { background: var(--color-danger,  #ef4444); color: var(--color-danger); }
@keyframes acoDotPulse { 0%,100% { box-shadow: 0 0 8px currentColor; } 50% { box-shadow: 0 0 18px currentColor; } }
.aco-status-row__name   { color: var(--color-text); font-weight: 500; }
.aco-status-row__detail { color: var(--color-text-muted); font-family: var(--aco-f-mono, monospace); font-size: 0.75rem; }


/* ===== PRODUCT GRID ===================================== */
.aco-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.aco-product {
    background: var(--aco-surface, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 22px;
    color: var(--color-text);
    display: flex; flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.aco-product:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.aco-product::before {
    content: ''; position: absolute; inset: 0;
    background: var(--aco-grad-soft, linear-gradient(135deg, rgba(91,61,245,0.04), transparent));
    opacity: 0; transition: opacity 0.2s;
}
.aco-product:hover::before { opacity: 1; }
.aco-product > * { position: relative; z-index: 1; }
.aco-product__icon {
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 6px;
}
.aco-product__tag {
    align-self: flex-start;
    background: var(--aco-grad-soft, rgba(91,61,245,0.10));
    color: var(--color-accent);
    padding: 2px 10px;
    border-radius: 999px;
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.7rem;
    letter-spacing: 1px;
}
.aco-product__name { font-family: var(--aco-f-display, 'Space Grotesk', sans-serif); font-weight: 700; font-size: 1.15rem; color: var(--color-text); }
.aco-product__desc { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.55; flex: 1; }
.aco-product__price {
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.85rem;
    color: var(--color-text);
    border-top: 1px dashed var(--color-border);
    padding-top: 10px;
    margin-top: 6px;
}


/* ===== FEATURE BAND =================================== */
.aco-feature-band__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--aco-surface, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: 22px;
    padding: 30px;
}
@media (max-width: 880px) { .aco-feature-band__grid { grid-template-columns: 1fr; } }
.aco-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.aco-features__item { display: flex; align-items: flex-start; gap: 12px; color: var(--color-text); }
.aco-features__check {
    width: 22px; height: 22px;
    background: var(--aco-grad-aurora, linear-gradient(135deg, #5b3df5, #00b8d4));
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.aco-code-panel {
    background: var(--aco-code-bg, #0e1430);
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    box-shadow: var(--aco-shadow-lg, 0 20px 60px rgba(20,30,60,0.12));
    border: 1px solid var(--color-border);
}
.aco-code-panel__dots {
    background: rgba(255,255,255,0.04);
    padding: 10px 14px;
    display: flex; gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.aco-code-panel__dots span { width: 10px; height: 10px; border-radius: 50%; background: #ff5c5c; }
.aco-code-panel__dots span:nth-child(2) { background: #ffbd44; }
.aco-code-panel__dots span:nth-child(3) { background: #00ca56; }
.aco-code-panel__title {
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    padding: 6px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    letter-spacing: 1px;
}
.aco-code-panel__pre {
    padding: 14px 18px;
    font-family: var(--aco-f-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    color: #d4d7e5;
    line-height: 1.65;
    overflow-x: auto;
}
.aco-code-line { display: block; }
.aco-code-panel__pre .kw  { color: #b8a0ff; }
.aco-code-panel__pre .str { color: #ffbd44; }
.aco-code-panel__pre .com { color: #6a7390; font-style: italic; }
.aco-code-panel__pre .fn  { color: #00f0ff; }


/* ===== PRICING PLANS ==================================== */
.aco-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.aco-plan {
    background: var(--aco-surface, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: 22px;
    padding: 28px 22px;
    display: flex; flex-direction: column; gap: 14px;
    position: relative;
}
.aco-plan--featured {
    background: var(--aco-surface, var(--color-surface));
    background-clip: padding-box;
    border-color: transparent;
    box-shadow: var(--aco-shadow-glow, 0 0 60px rgba(91,61,245,0.30));
    position: relative;
}
.aco-plan--featured::before {
    content: ''; position: absolute; inset: -2px;
    border-radius: 24px;
    background: var(--aco-grad-aurora, linear-gradient(135deg, #5b3df5, #00b8d4, #ff4d8d));
    z-index: -1;
}
.aco-plan__badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--aco-grad-aurora, linear-gradient(135deg, #5b3df5, #00b8d4));
    color: #fff;
    padding: 4px 14px;
    border-radius: 999px;
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.aco-plan__name { font-family: var(--aco-f-display, 'Space Grotesk', sans-serif); font-weight: 700; font-size: 1.05rem; color: var(--color-text); letter-spacing: 1px; }
.aco-plan__price { display: flex; align-items: baseline; gap: 4px; }
.aco-plan__price-amount {
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--color-text);
}
.aco-plan__price-cycle { color: var(--color-text-muted); font-size: 0.85rem; }
.aco-plan__highlights { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.aco-plan__highlights li { display: flex; align-items: flex-start; gap: 8px; color: var(--color-text); font-size: 0.9rem; }
.aco-plan__check { color: var(--color-accent); font-weight: 700; }
.aco-plan__cta { margin-top: 8px; }


/* ===== SIDEBAR CARDS — ACTIVITY ======================= */
.aco-activity__list { display: flex; flex-direction: column; gap: 14px; }
.aco-activity__row {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    gap: 10px;
    align-items: center;
}
.aco-activity__av {
    width: 30px; height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}
.aco-activity__body { font-size: 0.85rem; color: var(--color-text); line-height: 1.4; }
.aco-activity__who  { font-weight: 600; }
.aco-activity__what { color: var(--color-text-muted); }
.aco-activity__when { color: var(--color-text-muted); font-family: var(--aco-f-mono, monospace); font-size: 0.7rem; }


/* ===== ONLINE LIST ===================================== */
.aco-online__list { display: flex; flex-direction: column; gap: 10px; }
.aco-online__row { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; }
.aco-online__av {
    width: 36px; height: 36px; border-radius: 50%; position: relative;
}
.aco-online__dot {
    position: absolute; bottom: -2px; right: -2px;
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid var(--aco-surface, var(--color-surface));
}
.aco-online__dot--online { background: var(--color-success, #10b981); }
.aco-online__dot--busy   { background: var(--color-danger,  #ef4444); }
.aco-online__dot--away   { background: var(--color-warning, #f59e0b); }
.aco-online__dot--off    { background: var(--color-text-muted); }
.aco-online__name { font-weight: 600; color: var(--color-text); font-size: 0.9rem; }
.aco-online__tag  { font-family: var(--aco-f-mono, monospace); font-size: 0.72rem; color: var(--color-text-muted); }


/* ===== TRENDING TAGS =================================== */
.aco-tags__cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.aco-tags__pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--aco-grad-soft, rgba(91,61,245,0.08));
    color: var(--color-accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.75rem;
    text-decoration: none;
}
.aco-tags__pill:hover { background: var(--color-accent); color: #fff; }
.aco-tags__count { opacity: 0.6; font-size: 0.7rem; }
.aco-tags__pill--beta { background: var(--color-warning, #f59e0b); color: #fff; }
.aco-tags__pill--new  { background: var(--color-success, #10b981); color: #fff; }


/* ===== NEWSLETTER ===================================== */
.aco-newsletter__lead { color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.5; margin-bottom: 12px; }
.aco-newsletter__form { display: flex; flex-direction: column; gap: 8px; }
.aco-newsletter__form input[type="email"] {
    background: var(--aco-bg-2, var(--color-bg-alt, var(--color-bg)));
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.9rem;
}
.aco-newsletter__form input[type="email"]:focus { outline: none; border-color: var(--color-accent); }


/* ===== MENU STYLES ===================================== */
.aco-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.aco-pills__pill {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--color-text);
    font-family: var(--aco-f-body, 'Manrope', sans-serif);
    font-size: 0.88rem;
    font-weight: 500;
}
.aco-pills__pill:hover { background: var(--aco-grad-soft, rgba(91,61,245,0.08)); color: var(--color-accent); }
.aco-pills__pill.is-active { background: var(--aco-grad-soft, rgba(91,61,245,0.12)); color: var(--color-accent); font-weight: 600; }

.aco-rail-group { margin-bottom: 16px; }
.aco-rail-group__title {
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding: 0 4px;
}
.aco-rail { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.aco-rail li > a, .aco-rail li > span {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--color-text);
    font-size: 0.92rem;
}
.aco-rail li > a:hover { background: var(--aco-grad-soft, rgba(91,61,245,0.08)); color: var(--color-accent); }
.aco-rail li > a.is-active { background: var(--aco-grad-soft, rgba(91,61,245,0.14)); color: var(--color-accent); font-weight: 600; }
.aco-rail__icon { width: 18px; text-align: center; }
.aco-rail__badge {
    margin-left: auto;
    background: var(--color-accent);
    color: #fff;
    padding: 1px 8px; border-radius: 999px;
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.65rem;
}

.aco-foot-col__title {
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 8px;
}
.aco-foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.aco-foot-col a { color: var(--color-text-muted); font-size: 0.85rem; }
.aco-foot-col a:hover { color: var(--color-accent); }

.aco-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.aco-cloud__tag {
    padding: 3px 10px;
    background: var(--aco-grad-soft, rgba(91,61,245,0.08));
    color: var(--color-accent);
    border-radius: 999px;
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.78rem;
}


/* ===== WIDGET WRAPS ==================================== */
.aco-wrap--aurora-card {
    position: relative;
    background: var(--aco-surface, var(--color-surface));
    border-radius: 18px;
    padding: 22px 24px;
    color: var(--color-text);
    isolation: isolate;
}
.aco-wrap--aurora-card::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: 19px;
    background: var(--aco-grad-aurora, linear-gradient(135deg, #5b3df5, #00b8d4, #ff4d8d));
    z-index: -1;
    opacity: 0.4;
}
.aco-wrap--glass {
    background: color-mix(in srgb, var(--aco-surface, var(--color-surface)) 80%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 22px 24px;
}
.aco-wrap--grid {
    position: relative;
    background: var(--aco-surface, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 22px 24px;
    overflow: hidden;
}
.aco-wrap--grid .aco-wrap__grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 40%, transparent 100%);
    opacity: 0.4;
    pointer-events: none;
}
.aco-wrap--grid .aco-wrap__inner { position: relative; z-index: 1; }


/* ===== BLOCK WRAPS ==================================== */
.aco-callout {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    margin: 14px 0;
}
.aco-callout--aurora {
    background: var(--aco-grad-soft, rgba(91,61,245,0.08));
    border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
}
.aco-callout--aurora .aco-callout__icon { font-size: 1.4rem; color: var(--color-accent); }
.aco-callout--code {
    background: var(--aco-code-bg, #0e1430);
    color: #d4d7e5;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
    font-family: var(--aco-f-mono, monospace);
}
.aco-callout--code .aco-callout__dots {
    background: rgba(255,255,255,0.04);
    padding: 10px 14px;
    display: flex; gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.aco-callout--code .aco-callout__dots span { width: 10px; height: 10px; border-radius: 50%; background: #ff5c5c; }
.aco-callout--code .aco-callout__dots span:nth-child(2) { background: #ffbd44; }
.aco-callout--code .aco-callout__dots span:nth-child(3) { background: #00ca56; }
.aco-callout--code .aco-callout__body--code { padding: 14px 18px; font-size: 0.85rem; }

.aco-pullquote--glow {
    position: relative;
    padding: 22px 26px 22px 56px;
    background: var(--aco-grad-soft, rgba(91,61,245,0.06));
    border-left: 4px solid var(--color-accent);
    border-radius: 0 18px 18px 0;
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-size: 1.2rem;
    color: var(--color-text);
    margin: 18px 0;
}
.aco-pullquote--glow .aco-pullquote__mark {
    position: absolute; top: 12px; left: 18px;
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-size: 3rem;
    color: var(--color-accent);
    line-height: 1;
    opacity: 0.4;
}


/* ===== PAGE WRAPS ===================================== */
.aco-page { max-width: 880px; margin: 0 auto; }
.aco-page--default .aco-page__title {
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--color-text);
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}
.aco-page--product .aco-page-product__head {
    padding: 24px 28px;
    background: var(--aco-grad-soft, rgba(91,61,245,0.08));
    border: 1px solid var(--color-border);
    border-radius: 18px;
    margin-bottom: 24px;
}
.aco-page-product__kicker { color: var(--color-accent); font-family: var(--aco-f-mono, monospace); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; }
.aco-page-product__title  { font-family: var(--aco-f-display, 'Space Grotesk', sans-serif); font-weight: 700; font-size: 2.2rem; margin-top: 8px; }

.aco-page--doc { padding: 0; }
.aco-page-doc__head { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--color-border); }
.aco-page-doc__breadcrumb { color: var(--color-text-muted); font-family: var(--aco-f-mono, monospace); font-size: 0.78rem; }
.aco-page-doc__title { font-family: var(--aco-f-display, 'Space Grotesk', sans-serif); font-weight: 700; font-size: 2rem; margin: 6px 0 8px; }
.aco-page-doc__updated { font-family: var(--aco-f-mono, monospace); font-size: 0.78rem; color: var(--color-text-muted); }

.aco-page--marketing .aco-page-marketing__head {
    padding: 50px 30px;
    text-align: center;
    background: var(--aco-grad-soft, rgba(91,61,245,0.10));
    border: 1px solid var(--color-border);
    border-radius: 22px;
    margin-bottom: 30px;
}
.aco-page-marketing__kicker {
    color: var(--color-accent);
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.aco-page-marketing__title {
    font-family: var(--aco-f-display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    background: var(--aco-grad-aurora, linear-gradient(135deg, #5b3df5, #00b8d4, #ff4d8d));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-top: 12px;
    letter-spacing: -0.02em;
}
.aco-page-marketing__lead { color: var(--color-text-muted); font-size: 1.05rem; max-width: 56ch; margin: 14px auto 0; }


/* ===== PAGE CONTENT TABLES ==============================
   Tables inside page content (editor output). All colours
   come from the theme variables, so both skins apply.
   Added 2026-12-01 for the product pages.
   ======================================================== */
.page-content .aco-table-wrap { overflow-x: auto; margin: 18px 0 28px; }
.page-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--aco-surface, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    font-size: 0.95rem;
}
.page-content th,
.page-content td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}
.page-content tr:last-child > th,
.page-content tr:last-child > td { border-bottom: 0; }
.page-content th { font-weight: 600; }
.page-content tr:first-child > th {
    background: var(--aco-grad-soft, var(--color-surface-alt));
    color: var(--color-accent);
    font-family: var(--aco-f-mono, monospace);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.page-content th p,
.page-content td p { margin: 0; color: inherit; line-height: 1.55; }

/* Lists in page content keep their markers (the theme reset removes them). */
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }


/* ===== HERO · compact (2026-12-01) ======================
   About 40 % less height than the original hero: smaller
   emblem, tighter type and spacing. Overrides the HERO block
   further up; delete this block to get the tall hero back.
   ======================================================== */
.aco-hero { padding: 26px 0 16px; grid-template-columns: 1fr 300px; gap: 32px; }
.aco-hero__eyebrow { font-size: 0.78rem; margin-bottom: 10px; }
.aco-hero__title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 12px; }
.aco-hero__lead { font-size: 1rem; max-width: 64ch; margin-bottom: 16px; }
.aco-hero__cta { margin-bottom: 20px; }
.aco-hero__cta .aco-btn { padding: 10px 20px; }
.aco-hero__stats { gap: 20px; padding-top: 16px; }
.aco-hero__stat-n { font-size: 1.3rem; }
.aco-hero__stat-l { margin-top: 4px; }
.aco-hero__svg { width: 300px; }


/* ===== BRAND · company logo (2026-12-01) ================
   The square carries the flower mark, the lettering replaces
   the text. Colours of the square come from the theme.
   ======================================================== */
.aco-brand__mark--logo {
    background: var(--aco-surface, var(--color-surface));
    border: 1px solid var(--color-border);
}
.aco-brand__mark--logo img { height: 30px; width: auto; display: block; }
.aco-brand__wordmark { height: 34px; width: auto; display: block; }


/* ===== PAGE CONTENT CODE BLOCKS (2026-12-01) ============
   Code samples in page content. Same dark panel as the theme's
   own code callout: the code panel keeps its dark scheme in
   both modes (--aco-code-bg).
   ======================================================== */
.page-content pre {
    background: var(--aco-code-bg, #0e1430);
    color: #d4d7e5;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 16px 18px;
    margin: 16px 0 26px;
    overflow-x: auto;
    font-family: var(--aco-f-mono, 'JetBrains Mono', monospace);
    font-size: 0.85rem;
    line-height: 1.6;
}
.page-content pre code { background: none; padding: 0; color: inherit; font: inherit; }

/* ===== PILLS MENU · drop-down + centred in the top bar (2026-12-01) =====
   Items with children (.aco-pills__item--has-sub) open a panel on hover, on keyboard focus and
   through the arrow button (.is-open, for touch). Colours come from the theme variables only. */
.aco-pills { align-items: center; }
.aco-pills__item { position: relative; display: flex; align-items: center; }
.aco-pills__item--has-sub > .aco-pills__pill { padding-right: 6px; }
.aco-pills__toggle {
    background: transparent; border: 0; cursor: pointer;
    color: var(--color-text); opacity: 0.6;
    font-size: 0.7rem; line-height: 1;
    padding: 10px 10px 10px 2px; margin-right: 2px;
    border-radius: 999px;
    transition: transform .15s ease, opacity .15s ease;
}
.aco-pills__item--has-sub:hover > .aco-pills__toggle,
.aco-pills__item--has-sub.is-open > .aco-pills__toggle { opacity: 1; color: var(--color-accent); transform: rotate(180deg); }
.aco-pills__sub {
    position: absolute; top: 100%; left: 0;
    min-width: 200px;
    display: none; flex-direction: column; gap: 2px;
    background: var(--aco-surface, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--aco-shadow-lg, 0 20px 60px rgba(20,30,60,0.12));
    padding: 6px;
    z-index: 60;
}
/* invisible bridge so the pointer can travel from the pill to the panel */
.aco-pills__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.aco-pills__item--has-sub:hover > .aco-pills__sub,
.aco-pills__item--has-sub:focus-within > .aco-pills__sub,
.aco-pills__item--has-sub.is-open > .aco-pills__sub { display: flex; margin-top: 8px; }
.aco-pills__sub-link {
    display: block; padding: 8px 14px;
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--aco-f-body, 'Manrope', sans-serif);
    font-size: 0.88rem; font-weight: 500;
    white-space: nowrap;
}
.aco-pills__sub-link:hover { background: var(--aco-grad-soft, rgba(91,61,245,0.08)); color: var(--color-accent); }
.aco-pills__sub-link.is-active { background: var(--aco-grad-soft, rgba(91,61,245,0.12)); color: var(--color-accent); font-weight: 600; }

/* A pills menu placed in the top beam sits in the middle of the bar: logo left, menu centred, HUD right. */
.aco-topnav__brand-slot:has(> .aco-pills) { display: grid; grid-template-columns: 1fr auto 1fr; }
.aco-topnav__brand-slot:has(> .aco-pills) > .aco-brand { justify-self: start; }
.aco-topnav__brand-slot:has(> .aco-pills) > .aco-pills { justify-content: center; flex-wrap: nowrap; }
.aco-topnav__brand-slot:has(> .aco-pills) > .aco-hud { justify-self: end; margin-left: 0; }
@media (max-width: 1080px) {
    /* too narrow for one row: logo and HUD on top, the menu centred in a row of its own below */
    .aco-topnav__brand-slot:has(> .aco-pills) { grid-template-columns: 1fr auto; row-gap: 10px; }
    .aco-topnav__brand-slot:has(> .aco-pills) > .aco-pills { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
    .aco-topnav__brand-slot:has(> .aco-pills) > .aco-hud { grid-row: 1; grid-column: 2; }
}

/* HUD: language and login buttons carry icon + label. .aco-hud__btn is a grid, which stacked the two
   (flag above "EN", arrow above "Login"). Lay them out in one row. (2026-12-01) */
.aco-hud__btn--lang, .aco-hud__btn--login { display: inline-flex; align-items: center; justify-content: center; }

/* Pills menu: label and arrow share ONE bubble (agath, 2026-12-01: the arrow beside the bubble looked off).
   The bubble is drawn by the wrapper; the link and the arrow button inside stay transparent. */
.aco-pills__item--has-sub { border-radius: 999px; transition: background .15s ease; }
.aco-pills__item--has-sub:hover,
.aco-pills__item--has-sub:focus-within,
.aco-pills__item--has-sub.is-open { background: var(--aco-grad-soft, rgba(91,61,245,0.08)); }
.aco-pills__item--has-sub:has(> .aco-pills__pill.is-active) { background: var(--aco-grad-soft, rgba(91,61,245,0.12)); }
.aco-pills__item--has-sub > .aco-pills__pill,
.aco-pills__item--has-sub > .aco-pills__pill:hover,
.aco-pills__item--has-sub > .aco-pills__pill.is-active { background: transparent; padding-right: 4px; }
.aco-pills__item--has-sub:hover > .aco-pills__pill,
.aco-pills__item--has-sub.is-open > .aco-pills__pill { color: var(--color-accent); }
.aco-pills__item--has-sub > .aco-pills__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    align-self: stretch;
    padding: 0 14px 0 2px; margin: 0;
    font-size: 0.72rem; line-height: 1;
    color: inherit; opacity: 0.55;
}
.aco-pills__item--has-sub:has(> .aco-pills__pill.is-active) > .aco-pills__toggle { color: var(--color-accent); opacity: 1; }
/* the arrow glyph sits 6px left of the button's centre (uneven padding): turn it around itself */
.aco-pills__item--has-sub > .aco-pills__toggle { transform-origin: calc(50% - 6px) 50%; }
/* no turning arrow after all: the glyph is not centred in its line box and jumped upwards when turned */
.aco-pills__item--has-sub:hover > .aco-pills__toggle,
.aco-pills__item--has-sub.is-open > .aco-pills__toggle { transform: none; }
