/* ═══════════════════════════════════════════
   AEFUSIO — Product brand layer (aegyrix-suite brand-guidelines.md)
   Only accent tokens are overridden here. Surface/text/structure
   come from the shared theme in style.css — never override those.
   Scoped to [data-brand='aefusio'] so the same stylesheet stays
   multi-brand-safe when embedded next to other products.
   =══════════════════════════════════════════ */

[data-brand='aefusio'] {
    --accent:         #a56bff;
    --accent-hover:   #b581ff;
    --accent-active:  #8b4fe0;
    --accent-fg:      #0a0a10;
    --accent-subtle:  rgb(165 107 255 / 13%);
    --accent-2:       #00d4ff;

    /* Legacy aliases (remove once call sites migrate to suite tokens) */
    --accent-dim:     var(--accent-subtle);
    --accent-glow:    rgb(165 107 255 / 33%);
    --accent-2-glow:  rgb(0 212 255 / 23%);
}

/* ── Hero glyph: swap geometric SVG for product icon ── */
.hero__glyph--aefusio {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 40px var(--accent-glow));
    animation: float-y 6s ease-in-out infinite;
}
.hero__glyph--aefusio img {
    width: 220px;
    height: auto;
    border-radius: 28px;
}
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ── Hero CTA row ── */
.hero__cta {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

/* ── Generic section label (reused across sections) ── */
.section-label {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.5rem;
}

/* ── About stats grid ── */
.about__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about__copy .about__title {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 1.25rem;
    letter-spacing: -0.01em;
}
.about__text {
    color: #c0c0d0;
    line-height: 1.7;
    margin: 0 0 1rem;
    font-size: 1rem;
}
.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.stat {
    background: var(--bg-card);
    border: 1px solid var(--accent-dim);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    transition: border-color 0.25s, transform 0.25s;
}
.stat:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.stat__value {
    font-family: var(--mono);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat__label {
    font-size: 0.85rem;
    color: #a0a0b0;
    letter-spacing: 0.02em;
}

/* ── Features grid ── */
.features {
    padding: 7rem 2rem 5rem;
    position: relative;
    z-index: 2;
}
.features__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.feature {
    background: var(--bg-card);
    border: 1px solid var(--accent-dim);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: border-color 0.25s, transform 0.25s;
}
.feature:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.feature__icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    filter: grayscale(0.2);
}
.feature__name {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: #e8e8f0;
}
.feature__text {
    font-size: 0.95rem;
    color: #b0b0c0;
    line-height: 1.6;
    margin: 0;
}
.feature__text code {
    font-family: var(--mono);
    background: rgb(165, 107, 255, 0.12);
    color: var(--accent);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ── Sources grid ── */
.sources {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}
.sources__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.sources__lede {
    color: #a0a0b0;
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0.75rem 0 2.5rem;
}
.sources__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}
.source {
    background: var(--bg-card);
    border: 1px solid var(--accent-dim);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: border-color 0.2s, transform 0.2s;
}
.source:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.source__name {
    font-weight: 600;
    color: #e8e8f0;
    font-size: 0.98rem;
}
.source__host {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #8080a0;
    letter-spacing: 0.04em;
}
.source--fallback {
    background: linear-gradient(135deg, #1a1530 0%, #0f0f1a 100%);
    border-style: dashed;
}

/* ── Download grid ── */
.download {
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}
.download__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.download__lede {
    color: #a0a0b0;
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0.75rem 0 2.5rem;
}
.download__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.download__card {
    background: var(--bg-card);
    border: 1px solid var(--accent-dim);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: border-color 0.25s, transform 0.25s;
}
.download__card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.download__card--web {
    background: linear-gradient(135deg, #1a1530 0%, #0f0f1a 100%);
    border-color: var(--accent);
}
.download__platform {
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}
.download__note {
    font-size: 0.92rem;
    color: #b0b0c0;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.download__btn {
    font-family: var(--mono);
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.download__btn--soon {
    background: rgb(255, 255, 255, 0.04);
    color: #70708a;
    border: 1px dashed rgb(255, 255, 255, 0.1);
    cursor: not-allowed;
}
.download__btn--primary {
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
}
.download__btn--primary:hover {
    background: #c89aff;
}
.download__legal {
    color: #70708a;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 2.5rem;
    font-family: var(--mono);
}
.download__legal code {
    background: rgb(165, 107, 255, 0.12);
    color: var(--accent);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ── Docs · FAQ · Feedback (aefusio.com) ─────────────────── */
.docs, .faq, .feedback {
    padding: 6rem 2rem 5rem;
    position: relative;
    z-index: 2;
}
.docs__inner, .faq__inner, .feedback__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.docs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0 2rem;
}
.docs__step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 14px);
    padding: 1.75rem 1.5rem;
}
.docs__step h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.docs__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: var(--accent-subtle, rgba(107,131,255,0.14));
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
    font-weight: 700;
}
.docs__step p {
    color: var(--text-subtle, #a0a0b0);
    line-height: 1.65;
    font-size: 0.96rem;
    margin: 0 0 0.75rem;
}
.docs__step p:last-child { margin-bottom: 0; }
.docs__step code {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    background: rgba(255,255,255,0.05);
    padding: 0.08em 0.38em;
    border-radius: 4px;
    font-size: 0.88em;
}

.docs__detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 14px);
    padding: 0.25rem 1.5rem;
    margin-top: 1rem;
}
.docs__detail summary {
    cursor: pointer;
    padding: 1rem 0;
    font-weight: 600;
    letter-spacing: -0.01em;
    list-style: none;
}
.docs__detail summary::-webkit-details-marker { display: none; }
.docs__detail summary::before {
    content: '+';
    display: inline-block;
    width: 1.4rem;
    color: var(--accent);
    font-weight: 700;
}
.docs__detail[open] summary::before { content: '−'; }
.docs__detail > *:not(summary) { padding-bottom: 1.25rem; }
.docs__detail pre {
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    overflow-x: auto;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.88rem;
    line-height: 1.55;
    color: #d0d0dc;
}
.docs__format-table p {
    color: var(--text-subtle, #a0a0b0);
    line-height: 1.65;
    font-size: 0.96rem;
    margin: 0 0 0.55rem;
}
.docs__format-table code {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    background: rgba(255,255,255,0.05);
    padding: 0.08em 0.38em;
    border-radius: 4px;
    font-size: 0.88em;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2.5rem;
}
.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 14px);
    padding: 0 1.5rem;
    transition: border-color 0.2s ease;
}
.faq__item:hover { border-color: rgba(107,131,255,0.35); }
.faq__item summary {
    cursor: pointer;
    padding: 1.1rem 0;
    font-weight: 600;
    letter-spacing: -0.01em;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
    content: '+';
    color: var(--accent);
    font-weight: 700;
    width: 1rem;
}
.faq__item[open] summary::before { content: '−'; }
.faq__item p,
.faq__item pre {
    color: var(--text-subtle, #a0a0b0);
    line-height: 1.65;
    font-size: 0.96rem;
    margin: 0 0 0.75rem;
}
.faq__item > *:last-child { margin-bottom: 1.25rem; }
.faq__item code {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    background: rgba(255,255,255,0.05);
    padding: 0.08em 0.38em;
    border-radius: 4px;
    font-size: 0.88em;
}
.faq__item pre {
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    overflow-x: auto;
    font-size: 0.88rem;
}
.faq__item a { color: var(--accent); text-decoration: none; }
.faq__item a:hover { text-decoration: underline; }

.feedback__lede {
    color: var(--text-subtle, #a0a0b0);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0.75rem 0 2.5rem;
    line-height: 1.6;
}
.feedback__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.feedback__card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 14px);
    padding: 1.5rem 1.25rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.feedback__card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.feedback__label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--accent);
    margin: 0 0 0.5rem;
    font-weight: 600;
}
.feedback__value {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.95rem;
    word-break: break-word;
    margin: 0 0 0.6rem;
}
.feedback__note {
    font-size: 0.85rem;
    color: var(--text-subtle, #a0a0b0);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 900px) {
    .docs__grid { grid-template-columns: 1fr; }
    .feedback__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .feedback__grid { grid-template-columns: 1fr; }
}

/* ── Contact section (shared with aegyrix.com) ── */
.contact {
    padding: 6rem 2rem 7rem;
    position: relative;
    z-index: 2;
}
.contact__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.contact__lede {
    color: #a0a0b0;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0.75rem 0 2.5rem;
    line-height: 1.6;
}
.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.contact__card {
    background: var(--bg-card);
    border: 1px solid var(--accent-dim);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    transition: border-color 0.25s, transform 0.25s;
}
.contact__card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.contact__label {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.75rem;
}
.contact__value {
    display: block;
    font-family: var(--sans);
    font-size: 1.05rem;
    color: #e8e8f0;
    text-decoration: none;
    line-height: 1.55;
    font-style: normal;
}
a.contact__value:hover { color: var(--accent); }
.contact__value--addr {
    font-size: 0.95rem;
    color: #c0c0d0;
}
.contact__legal {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: #70708a;
    text-align: center;
    margin-top: 2rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .features__grid,
    .sources__grid,
    .download__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
@media (max-width: 640px) {
    .features__grid,
    .sources__grid,
    .download__grid,
    .contact__grid,
    .about__stats {
        grid-template-columns: 1fr;
    }
    .hero__glyph--aefusio img { width: 160px; }
    .features, .sources, .download, .contact { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ═══ Screenshot gallery ═══ */
.shots { padding: 7rem 2rem 6rem; max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }
.shots__inner { max-width: 1200px; margin: 0 auto; }
.shots__lede {
    color: var(--text-muted, #a0a0b0);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0.75rem 0 2.75rem;
    line-height: 1.6;
}
.shots__hero {
    position: relative;
    margin: 0 0 1.5rem;
    padding: 18px;
    border-radius: 16px;
    background:
        radial-gradient(1200px 500px at 50% -10%, rgba(165,107,255,0.22), transparent 60%),
        linear-gradient(180deg, rgba(165,107,255,0.10), rgba(0,212,255,0.06));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 40px 100px -32px rgba(165,107,255,0.35),
        0 24px 60px -24px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
}
.shots__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, transparent 40%, rgba(165,107,255,0.08) 70%, transparent 100%);
    pointer-events: none;
    mix-blend-mode: screen;
}
.shots__hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 30px 70px -30px rgba(0,0,0,0.85);
    position: relative;
    z-index: 1;
}
.shots__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.35rem 0.7rem;
    background: rgba(10,10,16,0.75);
    border: 1px solid rgba(165,107,255,0.35);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}
.shots__caption {
    color: var(--text-muted, #9aa4b2);
    font-size: 0.88rem;
    text-align: center;
    margin: 0;
}
.shots__caption kbd {
    display: inline-block;
    font: 500 0.72rem/1 var(--mono);
    padding: 2px 6px;
    margin: 0 1px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-bottom-width: 2px;
    color: #e8e8f0;
    vertical-align: baseline;
}

/* ═══ Gallery tabs ═══ */
.shots__gallery { margin: 0 0 1.5rem; }
.shots__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.4rem;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}
.shots__tab {
    flex: 1 1 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted, #9aa4b2);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: color 150ms, background 150ms, border-color 150ms;
    white-space: nowrap;
}
.shots__tab:hover { color: #dfe1eb; background: rgba(255,255,255,0.03); }
.shots__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shots__tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(165,107,255,0.22), rgba(0,212,255,0.14));
    border-color: rgba(165,107,255,0.55);
    box-shadow: 0 8px 20px -14px rgba(165,107,255,0.7);
}
.shots__tab-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--accent);
    opacity: 0.9;
}
.shots__tab:hover .shots__tab-num { opacity: 1; }

.shots__panel { display: block; }
.shots__panel[hidden] { display: none; }
.shots__panel img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 30px 70px -30px rgba(0,0,0,0.85);
}
.shots__panel figcaption {
    margin: 0.85rem 0 0;
    padding: 0 0.25rem;
    color: var(--text-muted, #9aa4b2);
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: center;
}

/* ═══ Contact section (two-column: heading + form) ═══ */
.contact__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    align-items: start;
    margin-top: 1rem;
}
.contact__heading { max-width: 420px; }
.contact__heading .section-title { margin-bottom: 0.5rem; }
.contact__lede { margin: 0.75rem 0 1.75rem; }

.contact__channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin: 0;
    padding: 1.25rem 1.25rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}
.contact__channels > div { display: flex; align-items: baseline; gap: 0.9rem; }
.contact__channels dt {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    flex: 0 0 70px;
    margin: 0;
}
.contact__channels dd { margin: 0; font-size: 0.95rem; }
.contact__channels a { color: #dfe1eb; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 150ms; }
.contact__channels a:hover { border-bottom-color: var(--accent); color: #fff; }

/* ═══ Contact form card ═══ */
.contact__form {
    display: grid;
    gap: 1.1rem;
    padding: 2rem 1.75rem;
    background:
        linear-gradient(180deg, rgba(165,107,255,0.05), rgba(255,255,255,0.01)),
        var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow:
        0 28px 60px -28px rgba(165,107,255,0.25),
        0 16px 40px -20px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.04);
    text-align: left;
}
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact__field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact__field-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted, #a0a0b0);
}
.contact__field input,
.contact__field select,
.contact__field textarea {
    font: inherit;
    color: #e8e8f0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
    min-width: 0;
}
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: #60607a; }
.contact__field input:hover,
.contact__field select:hover,
.contact__field textarea:hover { border-color: rgba(255,255,255,0.18); }
.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(165,107,255,0.04);
    box-shadow: 0 0 0 3px rgba(165,107,255,0.15);
}
.contact__field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5 6 6.5 11 1.5' stroke='%23a0a0b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.25rem;
}
.contact__field select option { background: #12121a; color: #e8e8f0; }
.contact__field textarea { resize: vertical; min-height: 140px; line-height: 1.5; font-family: var(--sans); }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__actions { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 1rem; margin-top: 0.25rem; }
.contact__submit { padding: 0.85rem 1.5rem; font-size: 0.75rem; }
.contact__submit svg { transition: transform 180ms var(--ease, ease); }
.contact__submit:hover svg { transform: translateX(3px); }
.contact__status { margin: 0.25rem 0 0; font-size: 0.9rem; min-height: 1.25em; font-family: var(--mono); }
.contact__status.ok  { color: #7ee787; }
.contact__status.err { color: #ff7b72; }
.contact__form[aria-busy="true"] button { opacity: 0.6; pointer-events: none; }

@media (max-width: 960px) {
    .contact__layout { grid-template-columns: 1fr; gap: 2.25rem; }
    .contact__heading { max-width: 640px; }
}
@media (max-width: 640px) {
    .shots { padding: 4.5rem 1.25rem 3.5rem; }
    .shots__hero { padding: 10px; }
    .shots__badge { top: 14px; left: 14px; font-size: 0.62rem; }
    .shots__tabs { padding: 0.3rem; gap: 0.25rem; }
    .shots__tab { flex: 1 1 44%; font-size: 0.75rem; padding: 0.55rem 0.4rem; }
    .shots__tab-num { display: none; }
    .shots__panel figcaption { font-size: 0.82rem; }
    .contact__form { padding: 1.5rem 1.25rem; }
    .contact__row { grid-template-columns: 1fr; }
    .contact__channels { padding: 1rem; }
    .contact__channels > div { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
    .contact__channels dt { flex: none; }
}

/* ════════════════════════════════════════════════════════════
   v0.1.8 mobile polish — marketing site
   ════════════════════════════════════════════════════════════ */

/* Tap targets — WCAG 2.5.5 (44x44). */
.btn,
.btn--primary,
.btn--secondary,
.nav__link,
.nav__cta,
.feature__cta,
.download-card__btn,
a.btn-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* iOS form-zoom prevention. */
input,
textarea,
select { font-size: 16px; }

@media (max-width: 720px) {
    .hero { padding: 5rem 1rem 3rem; }
    .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero__lede { font-size: 1rem; }
    .hero__ctas { flex-wrap: wrap; gap: 0.75rem; }
    .hero__ctas .btn { flex: 1 1 100%; }
    .features__grid,
    .download__grid,
    .stats__grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .feature,
    .download-card { padding: 1.5rem 1.25rem; }
    .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .footer__inner { flex-direction: column; gap: 1.5rem; text-align: center; }
    img,
    video,
    .screenshot { max-width: 100%; height: auto; }
    pre,
    code { word-break: break-word; white-space: pre-wrap; }
    table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
    .hero__title { font-size: clamp(1.75rem, 9vw, 2.4rem); }
    .nav__inner { padding: 0.75rem 1rem; }
    .release-notes__content { padding: 1rem; }
}

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

/* ════════════════════════════════════════════════════════════
   Capabilities matrix (#capabilities) — mirror of aefusio.app
   ════════════════════════════════════════════════════════════ */
.caps {
    padding: 5rem 2rem 5rem;
    position: relative;
    z-index: 2;
}
.caps__inner {
    max-width: 1080px;
    margin: 0 auto;
}
.caps__lede,
.caps__footer {
    color: var(--text-subtle, #a0a0b0);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 760px;
}
.caps__lede { margin: 0.5rem 0 2rem; }
.caps__footer { margin-top: 1.75rem; font-size: 0.85rem; }
.caps__lede a,
.caps__footer a { color: var(--accent); text-decoration: none; }
.caps__lede a:hover,
.caps__footer a:hover { text-decoration: underline; }
.caps__version {
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #8080a0;
    text-transform: uppercase;
    margin: 0 0 1rem;
}
.caps__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: 0 0 2rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 0.82rem;
}
.caps__legend > div { display: flex; gap: 0.45rem; align-items: center; }
.caps__legend dt { font-weight: 700; }
.caps__legend dd { margin: 0; color: var(--text-subtle, #a0a0b0); }
.caps__group { margin: 2rem 0 0; }
.caps__group h3 {
    font-size: 1.1rem;
    margin: 0 0 0.4rem;
    color: var(--accent);
    letter-spacing: -0.01em;
}
.caps__note {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    color: var(--text-subtle, #a0a0b0);
}
.caps__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
}
.caps__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    min-width: 560px;
}
.caps__table thead th {
    text-align: left;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    color: #c0c0d0;
    font-family: var(--mono, monospace);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.caps__table tbody th[scope="row"] {
    text-align: left;
    padding: 0.6rem 0.9rem;
    color: #d0d0e0;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.caps__table td {
    padding: 0.6rem 0.9rem;
    color: #b8b8cc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}
.caps__table tbody tr:last-child th,
.caps__table tbody tr:last-child td { border-bottom: none; }
.caps__table tbody tr:hover { background: rgba(107, 131, 255, 0.04); }

@media (max-width: 720px) {
    .caps { padding: 3rem 1rem 4rem; }
    .caps__legend { font-size: 0.78rem; padding: 0.7rem; }
    .caps__group h3 { font-size: 1rem; }
    .caps__table { font-size: 0.82rem; }
    .caps__table thead th,
    .caps__table tbody th,
    .caps__table td { padding: 0.55rem 0.7rem; }
}
