/* Aircon app site. External stylesheet only: the site's CSP disallows inline styles. */
:root {
    --bg: #fbf8f5;
    --surface: #fff;
    --text: #1d1d1f;
    --muted: #5f5e5a;
    --border: rgb(0 0 0 / 10%);
    --accent: #b4532a;   /* warm text, 5:1 on white */
    --cool: #185fa5;     /* cool text, 6.5:1 on white */
    --grad: linear-gradient(135deg, #e8693a 0%, #e0607a 35%, #7a72d6 70%, #2f8be0 100%);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111214;
        --surface: #1c1c1e;
        --text: #f2f2f2;
        --muted: #a8a69d;
        --border: rgb(255 255 255 / 12%);
        --accent: #f0997b;
        --cool: #85b7eb;
    }
}

* { box-sizing: border-box; }

body.ac {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ac a { color: var(--accent); }

/* Header */
.ac-header {
    max-width: 960px;
    margin: 0 auto;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ac-brand {
    display: flex;
    padding: 12px 0;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text) !important;
    text-decoration: none;
}
.ac-brand img { border-radius: 8px; }

.ac-footer a { color: var(--muted); }

.ac-nav a {
    display: inline-block;
    padding: 12px 0;
    margin-left: 20px;
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
}
.ac-nav a:hover { color: var(--text); }

/* Layout */
.ac-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.ac-main h1 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.ac-main h2 {
    font-size: 28px;
    margin: 56px 0 12px;
    letter-spacing: -0.01em;
}

.ac-main h3 {
    font-size: 19px;
    margin: 28px 0 6px;
}
.ac-main p, .ac-main li { color: var(--text); }

.ac-lede {
    font-size: 20px;
    color: var(--muted);
    max-width: 640px;
}
.ac-prose { max-width: 720px; }

/* Hero */
.ac-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    padding: 32px 0 16px;
}

.ac-hero-icon {
    width: 128px;
    height: 128px;
    border-radius: 28px;
}

.ac-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    border-radius: 12px;
    background: var(--text);
    color: var(--bg) !important;
    font-weight: 600;
    text-decoration: none;
}

.ac-badge-note {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
}

.ac-main .ac-help {
    margin: 12px 0 0;
    font-size: 15px;
    color: var(--muted);
}

/* Videos of the app in use */
.ac-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.ac-videos figure {
    margin: 0;
    text-align: center;
}

.ac-videos video {
    display: block;
    width: 260px;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
}

.ac-videos figcaption {
    margin-top: 12px;
    font-size: 15px;
    color: var(--muted);
}

/* Gradient band behind the screenshots */
.ac-screens {
    margin: 40px -24px 0;
    padding: 40px 24px;
    background: var(--grad);
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.ac-screens img {
    width: 220px;
    height: auto;
    flex: none;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 25%);
    scroll-snap-align: center;
}

@media (width >= 960px) {
    .ac-screens {
        margin: 40px 0 0;
        border-radius: 24px;
        justify-content: safe center;
    }
}

/* Features */
.ac-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.ac-features li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
}

.ac-features strong {
    display: block;
    margin-bottom: 4px;
}

.ac-features span {
    color: var(--muted);
    font-size: 15px;
}
.ac-warm { color: var(--accent); }
.ac-cool { color: var(--cool); }

/* Footer */
.ac-footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 24px 48px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}
.ac-footer p { margin: 6px 0; line-height: 1.8; }

@media (width >= 720px) {
    .ac-hero { grid-template-columns: auto 1fr; }
    .ac-main h1 { font-size: 52px; }
}
