/* ============================================================
   Autarx site.css — per-site sections only.
   Shared frame (nav, hero, cards, footer, tokens) lives in
   family.css from site-kit; do not duplicate it here.
   guide.html still uses the legacy styles.css; this file only
   serves the kit homepage.
   ============================================================ */

/* ---------- Status pill (hero) ---------- */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin: 0 0 18px;
    border-radius: 999px;
    border: 1px solid var(--kit-border-strong);
    font-family: var(--kit-font-mono);
    font-size: 12px;
    color: var(--kit-text-2);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex: none;
}

/* ---------- Terminal window (real commands and output) ---------- */
.hero-visual {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}
.code-window {
    width: min(760px, 100%);
    background: #1E1A16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--kit-radius-l);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    overflow: hidden;
}
.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.window-controls { display: inline-flex; gap: 7px; }
.traffic-light { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.traffic-light.close { background: #FF5F57; }
.traffic-light.minimize { background: #FEBC2E; }
.traffic-light.maximize { background: #28C840; }
.window-title {
    font-family: var(--kit-font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}
.code-body {
    padding: 22px 24px;
    white-space: pre-wrap;
    font-family: var(--kit-font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: #D8D2C8;
    overflow-x: auto;
}
.code-body .prompt { color: var(--kit-accent); font-weight: 700; }
.code-body .cmd { color: #FFFFFF; font-weight: 600; }
.code-body .flag { color: #F5A97F; }
.code-body .str { color: #A6D189; }
.code-body .dim { color: rgba(255, 255, 255, 0.45); }

/* ---------- Workflow illustration (concept, not a screenshot) ---------- */
.vs-wrap {
    width: min(var(--kit-content-width), 100% - 48px);
    margin-inline: auto;
}
.vs-intro { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.vs-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--kit-accent-strong);
    margin-bottom: 14px;
}
html[data-theme="dark"] .vs-label { color: var(--kit-accent); }
.vs-intro h2 {
    font-family: var(--kit-font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.vs-lead {
    margin-top: 14px;
    font-size: 16.5px;
    color: var(--kit-text-2);
    max-width: 62ch;
    margin-inline: auto;
}
.vs-frame {
    background: var(--kit-bg-elevated);
    border: 1px solid var(--kit-border);
    border-radius: var(--kit-radius-l);
    padding: 34px;
    box-shadow: var(--kit-shadow);
}
.vs-art {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 26px;
}
.vs-mini-board {
    background: var(--kit-surface);
    border: 1px solid var(--kit-border);
    border-radius: var(--kit-radius-m);
    padding: 15px;
}
.vs-mini-title {
    font-size: 0.76rem;
    letter-spacing: 0.11em;
    font-weight: 700;
    color: var(--kit-accent-strong);
    margin-bottom: 12px;
}
html[data-theme="dark"] .vs-mini-title { color: var(--kit-accent); }
.vs-mini-task {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 3px;
    border-top: 1px solid var(--kit-border);
    font-size: 0.9rem;
}
.vs-ring {
    flex: none;
    height: 15px;
    width: 15px;
    border: 2px solid var(--kit-accent-strong);
    border-radius: 50%;
}
html[data-theme="dark"] .vs-ring { border-color: var(--kit-accent); }
.vs-stage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.vs-step {
    position: relative;
    text-align: center;
    padding: 18px 12px 14px;
    border: 1px dashed var(--kit-border);
    border-radius: var(--kit-radius-m);
    min-height: 132px;
}
.vs-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -19px;
    top: 42%;
    color: var(--kit-text-3);
    font-size: 1.1rem;
}
.vs-glyph {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: var(--kit-accent-soft);
    color: var(--kit-accent-strong);
    font-size: 1.5rem;
}
html[data-theme="dark"] .vs-glyph { color: var(--kit-accent); }
.vs-step b { display: block; font-size: 15px; margin-bottom: 4px; }
.vs-step small { color: var(--kit-text-2); font-size: 13px; line-height: 1.5; }
.vs-caption {
    margin-top: 22px;
    text-align: center;
    font-size: 12.5px;
    color: var(--kit-text-3);
}
@media (max-width: 700px) {
    .vs-frame { padding: 20px; }
    .vs-art { grid-template-columns: 1fr; }
    .vs-stage { grid-template-columns: 1fr; }
    .vs-step:not(:last-child)::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -26px;
        transform: translateX(-50%) rotate(90deg);
    }
}

/* ---------- Platform contract table ---------- */
.support-table {
    width: 100%;
    border-collapse: collapse;
}
.support-table th,
.support-table td {
    text-align: left;
    padding: 13px 14px;
    border-bottom: 1px solid var(--kit-border);
    vertical-align: top;
    font-size: 15px;
}
.support-table th {
    color: var(--kit-text-2);
    font-weight: 600;
    white-space: nowrap;
    width: 110px;
}
.support-table td { color: var(--kit-text); }
@media (max-width: 700px) {
    .support-table th, .support-table td { padding: 10px 8px; font-size: 14px; }
}

/* ---------- Synthetic-delivery note box ---------- */
.app-window {
    max-width: 74ch;
    margin-inline: auto;
    padding: 22px 26px;
    background: var(--kit-surface);
    border: 1px solid var(--kit-border);
    border-radius: var(--kit-radius-m);
}
.app-window p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--kit-text-2);
}

/* ---------- Download platform cards ---------- */
.platform-card { text-align: left; }
.platform-icon { font-size: 26px; line-height: 1; margin-bottom: 12px; }
.platform-name { font-size: 16px; font-weight: 650; margin-bottom: 4px; }
.platform-format {
    font-family: var(--kit-font-mono);
    font-size: 12.5px;
    color: var(--kit-text-3);
}

/* ---------- Honest-limits callout ---------- */
.callout {
    padding: 16px 20px;
    border: 1px dashed var(--kit-border-strong);
    border-radius: var(--kit-radius-m);
    background: var(--kit-surface);
    color: var(--kit-text-2);
    font-size: 14.5px;
    line-height: 1.65;
}

/* ---------- Start-section extras ---------- */
.start-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.start-links a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--kit-accent-strong);
}
html[data-theme="dark"] .start-links a { color: var(--kit-accent); }
.start-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.start-limits a { color: var(--kit-accent-strong); }
html[data-theme="dark"] .start-limits a { color: var(--kit-accent); }

/* ---------- Language-specific links (hrefs differ per language) ---------- */
html:lang(zh-CN) .lang-en { display: none !important; }
html:lang(en) .lang-zh { display: none !important; }

/* ---------- Icon visibility per theme ---------- */
html[data-theme="light"] .kit-icon-moon { display: none; }
html[data-theme="dark"] .kit-icon-sun { display: none; }
