/*
Theme Name: StarGateDev Portal
Theme URI: https://stargatedev.ovh
Author: StarGateDev
Author URI: https://stargatedev.ovh
Description: A clean developer-style theme for promoting Android, iOS, Windows and Linux apps.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stargatedev
Tags: one-column, two-columns, custom-logo, custom-menu, blog, portfolio, responsive-layout
*/


        :root {
            /* Client (default) palette – cool blue / turquoise */
            --sg-bg: #020617;
            --sg-surface: #050816;
            --sg-surface-alt: #0b1120;
            --sg-border: rgba(30, 64, 175, 0.7);
            --sg-accent: #22d3ee;       /* cyan */
            --sg-accent-alt: #4f46e5;   /* indigo */
            --sg-text: #e5e7eb;
            --sg-muted: #9ca3af;
        }


    /* CSS reset basics */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--sg-surface);
    color: var(--sg-text);
    line-height: 1.6;
}

a {
    color: var(--sg-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


    body.mode-client {
        --sg-accent: #22d3ee;
        --sg-accent-alt: #4f46e5;
        --sg-bg: #020617;
        --sg-surface: #050816;
        --sg-surface-alt: #0b1120;
    }

    body.mode-dev {
        /* Slightly brighter, more "dev" / terminal vibe */
        --sg-accent: #22c55e;        /* green */
        --sg-accent-alt: #0ea5e9;    /* cyan */
        --sg-bg: #020617;
        --sg-surface: #020617;
        --sg-surface-alt: #020617;
    }

    .mode-dev-only {
        display: none;
    }

    .mode-client-only {
        display: inline;
    }

    body.mode-dev .mode-dev-only {
        display: inline;
    }

    body.mode-dev .mode-client-only {
        display: none;
    }

    .view-toggle {
        display: inline-flex;
        border-radius: 999px;
        border: 1px solid var(--sg-border);
        padding: 0.18rem;
        background: rgba(15,23,42,0.9);
        gap: 0.1rem;
        font-size: 0.75rem;
    }

    .view-toggle-btn {
        border: none;
        padding: 0.25rem 0.7rem;
        border-radius: 999px;
        background: transparent;
        color: var(--sg-muted);
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

    .view-toggle-btn.is-active {
        background: linear-gradient(120deg, var(--sg-accent), var(--sg-accent-alt));
        color: #0b1120;
    }

    .view-toggle-btn:focus-visible {
        outline: 2px solid var(--sg-accent);
        outline-offset: 2px;
    }

    @media (max-width: 600px) {
        .view-toggle {
            margin-top: 0.5rem;
        }
    }
    header.site-header {
    background: radial-gradient(circle at top, #1d4ed8 0, #020617 55%);
    color: var(--sg-text);
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(15,23,42,0.8);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background-color: rgba(15,23,42,0.9);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sg-text);
    background: radial-gradient(circle at top, #0ea5e9, #1e293b);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.8);
}

.site-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-description {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

nav.primary-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.primary-nav .menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.primary-nav .menu-item a {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sg-text);
}

.primary-nav .menu-item a:hover,
.primary-nav .current-menu-item a {
    border-color: rgba(148,163,184,0.6);
    background: linear-gradient(120deg, rgba(56,189,248,0.12), rgba(129,140,248,0.12));
}

.mobile-menu-toggle {
    display: none;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.5);
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: transparent;
    color: var(--sg-text);
}

main.site-main-wrapper {
    flex: 1;
    padding: 1.5rem 1.75rem 2.5rem;
}

.content-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.content-layout.full-width {
    grid-template-columns: minmax(0, 1fr);
}

.content-area {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), rgba(15, 23, 42, 0.96));
    border-radius: 1.25rem;
    border: 1px solid var(--sg-border);
    padding: 1.75rem 1.75rem 2rem;
    box-shadow:
        0 10px 30px rgba(15,23,42,0.9),
        0 0 40px rgba(56,189,248,0.18);
}

.sidebar {
    border-radius: 1.25rem;
    border: 1px solid var(--sg-border);
    padding: 1.25rem 1.25rem 1.5rem;
    background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
}

.sidebar-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sg-muted);
    margin: 0 0 0.5rem;
}

.sidebar .menu {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.9rem;
}

.sidebar .menu-item a {
    display: block;
    padding: 0.45rem 0.6rem;
    border-radius: 0.75rem;
    color: var(--sg-text);
    opacity: 0.9;
}

.sidebar .menu-item a:hover,
.sidebar .current-menu-item a {
    background: rgba(30,64,175,0.7);
    opacity: 1;
}

.widget {
    margin-bottom: 1.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(31,41,55,0.9);
}

.widget-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sg-muted);
    margin: 0.75rem 0 0.5rem;
}

footer.site-footer {
    border-top: 1px solid rgba(15,23,42,0.9);
    padding: 1.5rem 1.75rem 2rem;
    background: radial-gradient(circle at bottom, #020617, #020617);
    color: var(--sg-muted);
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-brand {
    max-width: 420px;
}

.footer-brand strong {
    color: var(--sg-text);
}

.footer-nav,
.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-nav a,
.footer-meta a {
    color: var(--sg-muted);
    font-size: 0.85rem;
}

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(31,41,55,0.9);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    padding: 0.22rem 0.65rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sg-muted);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle, #22c55e, #16a34a);
    box-shadow: 0 0 10px rgba(34,197,94,0.7);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.25rem;
}

.hero-copy h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(2.1rem, 4vw, 2.7rem);
    letter-spacing: 0.03em;
}

.hero-copy p {
    margin: 0 0 1.25rem;
    color: var(--sg-text);
}

.hero-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
}

.platform-pill {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    padding: 0.25rem 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(15,23,42,0.9);
}

.platform-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #38bdf8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(120deg, var(--sg-accent), var(--sg-accent-alt));
    color: #0b1120;
    box-shadow:
        0 10px 25px rgba(59,130,246,0.55),
        0 0 30px rgba(56,189,248,0.8);
}

.btn-primary:hover {
    filter: brightness(1.05);
    text-decoration: none;
}

.btn-ghost {
    border-color: rgba(148,163,184,0.7);
    color: var(--sg-text);
    background: rgba(15,23,42,0.7);
}

.btn-ghost:hover {
    background: rgba(30,64,175,0.6);
    text-decoration: none;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
    font-size: 0.8rem;
}

.metric-card {
    padding: 0.7rem 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid var(--sg-border);
    background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,1));
}

.metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sg-muted);
    margin-bottom: 0.25rem;
}

.metric-value {
    font-weight: 700;
    font-size: 0.95rem;
}

.metric-desc {
    font-size: 0.75rem;
    color: var(--sg-muted);
}

.hero-panel {
    border-radius: 1rem;
    border: 1px solid var(--sg-border);
    padding: 1.1rem 1.1rem 1.2rem;
    background: radial-gradient(circle at top right, rgba(56,189,248,0.16), rgba(15,23,42,0.96));
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.85rem;
}

.hero-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.hero-panel-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sg-muted);
}

.hero-panel-tagline {
    font-size: 0.8rem;
    color: var(--sg-text);
}

.hero-app-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.3rem;
}

.hero-app-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.6rem;
    border-radius: 0.75rem;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(31,41,55,0.95);
}

.hero-app-main {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-app-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-app-meta {
    font-size: 0.75rem;
    color: var(--sg-muted);
}

.hero-app-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.7rem;
}

.hero-app-chip {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(55,65,81,0.9);
    background: rgba(15,23,42,0.95);
    color: var(--sg-muted);
}

.hero-app-cta a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sg-accent);
}

.section-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sg-muted);
    margin: 0 0 0.3rem;
}

.section-heading {
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.app-card {
    border-radius: 1rem;
    border: 1px solid var(--sg-border);
    padding: 1rem 1rem 1.1rem;
    background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,1));
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.85rem;
}

.app-card-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.app-card-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--sg-muted);
}

.app-card-actions {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--sg-muted);
}

.meta-pill {
    border-radius: 999px;
    border: 1px solid rgba(55,65,81,0.9);
    padding: 0.15rem 0.6rem;
}

.post-list {
    display: grid;
    gap: 1.25rem;
}
    .devlog-header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .devlog-header a {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: var(--sg-accent);
    }

    .devlog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }

    .devlog-card {
        border-radius: 0.9rem;
        border: 1px solid rgba(31,41,55,0.95);
        padding: 1rem 1.1rem 1.1rem;
        background: var(--sg-surface-alt);
    }

    .devlog-card-title {
        font-size: 0.95rem;
        margin: 0 0 0.2rem;
    }

    .devlog-card-meta {
        font-size: 0.75rem;
        color: var(--sg-muted);
        margin-bottom: 0.4rem;
    }

    .devlog-card-excerpt {
        font-size: 0.85rem;
        color: var(--sg-text);
    }


.post-card {
    border-radius: 0.9rem;
    border: 1px solid rgba(31,41,55,0.95);
    padding: 1rem 1.1rem 1.1rem;
    background: var(--sg-surface-alt);
}

.post-card-title {
    font-size: 1.05rem;
    margin: 0 0 0.3rem;
}

.post-card-meta {
    font-size: 0.75rem;
    color: var(--sg-muted);
    margin-bottom: 0.5rem;
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: var(--sg-text);
    margin-bottom: 0.6rem;
}

.post-card-readmore {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.page-title {
    margin: 0 0 0.4rem;
    font-size: 1.4rem;
}

.page-meta {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: var(--sg-muted);
}

.pagination {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.pagination .page-numbers {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(55,65,81,0.9);
}

.pagination .current {
    background: rgba(30,64,175,0.8);
    border-color: rgba(30,64,175,0.9);
}

pre,
code {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
}

pre {
    border-radius: 0.75rem;
    border: 1px solid rgba(31,41,55,0.95);
    padding: 0.9rem 1rem;
    background: var(--sg-bg);
    overflow-x: auto;
}

.tag-links {
    margin-top: 0.75rem;
    font-size: 0.8rem;
}

.tag-links a {
    margin-right: 0.35rem;
}

.search-form {
    display: flex;
    gap: 0.4rem;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(55,65,81,0.9);
    background: var(--sg-surface);
    color: var(--sg-text);
}

.search-form button {
    border-radius: 0.7rem;
    border: 1px solid rgba(55,65,81,0.9);
    background: rgba(30,64,175,0.8);
    color: var(--sg-text);
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.search-form button:hover {
    background: rgba(37,99,235,0.9);
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav.primary-nav {
        width: 100%;
    }

    .primary-nav .menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 0.75rem;
    }

    .primary-nav .menu.is-open {
        display: flex;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    header.site-header,
    main.site-main-wrapper,
    footer.site-footer {
        padding-inline: 1rem;
    }

    .content-area,
    .sidebar {
        padding-inline: 1.25rem;
    }
}

    .apps-app-block {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--sg-border);
    }

    .apps-app-meta {
        margin-bottom: 0.6rem;
    }

    .apps-app-short {
        margin-top: 0.4rem;
        font-size: 0.9rem;
        color: var(--sg-text);
    }

    .apps-app-actions {
        margin-top: 0.6rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .apps-app-devlog-link {
        font-size: 0.8rem;
        color: var(--sg-muted);
    }

    .app-badges {
        margin-top: 0.3rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .app-badges .store-badge img {
        height: 48px;
        width: auto;
    }

    .platform-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-top: 0.2rem;
    }

    .platform-pill-badge {
        border-radius: 999px;
        border: 1px solid var(--sg-border);
        padding: 0.18rem 0.7rem;
        font-size: 0.75rem;
        color: var(--sg-muted);
        background: rgba(15,23,42,0.9);
    }

    @media (max-width: 700px) {
        .apps-app-block {
            margin-bottom: 1.5rem;
        }
    }

    .autocare-landing {
        max-width: 980px;
    }

    .autocare-hero {
        padding: 2.5rem 0 1.5rem;
        border-bottom: 1px solid var(--sg-border);
        margin-bottom: 1.5rem;
    }

    .autocare-hero-text h1 {
        font-size: 1.8rem;
        margin: 0.2rem 0 0.5rem;
    }

    .autocare-hero-lead {
        font-size: 0.95rem;
        color: var(--sg-text);
        max-width: 34rem;
    }

    .autocare-hero-actions {
        margin-top: 0.8rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
        align-items: center;
    }

    .autocare-body {
        padding: 0.5rem 0 2rem;
    }

    .autocare-section {
        margin-bottom: 2rem;
    }

    .autocare-feature-grid,
    .autocare-tech-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
        margin-top: 0.8rem;
    }

    .autocare-feature-card,
    .autocare-tech-card {
        border-radius: 0.9rem;
        border: 1px solid var(--sg-border);
        padding: 0.9rem 1rem;
        background: var(--sg-surface-alt);
        font-size: 0.9rem;
    }

    .autocare-feature-card h3,
    .autocare-tech-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .autocare-faq {
        margin-top: 0.8rem;
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .autocare-faq-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .autocare-faq-item p {
        font-size: 0.85rem;
        color: var(--sg-text);
    }

    .autocare-cta {
        border-top: 1px solid var(--sg-border);
        padding-top: 1.2rem;
    }

    .autocare-contact-link {
        font-size: 0.85rem;
        text-decoration: underline;
        text-underline-offset: 0.16em;
    }

    @media (max-width: 640px) {
        .autocare-hero {
            padding-top: 1.7rem;
        }
        .autocare-hero-text h1 {
            font-size: 1.4rem;
        }
    }

    .app-landing {
        max-width: 980px;
    }

    .app-hero {
        padding: 2.5rem 0 1.5rem;
        border-bottom: 1px solid var(--sg-border);
        margin-bottom: 1.5rem;
    }

    .app-hero-text h1 {
        font-size: 1.8rem;
        margin: 0.2rem 0 0.5rem;
    }

    .app-hero-lead {
        font-size: 0.95rem;
        color: var(--sg-text);
        max-width: 34rem;
    }

    .app-hero-actions {
        margin-top: 0.8rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
        align-items: center;
    }

    .app-body {
        padding: 0.5rem 0 2rem;
    }

    .app-section {
        margin-bottom: 2rem;
    }

    .app-feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
        margin-top: 0.8rem;
    }

    .app-feature-card {
        border-radius: 0.9rem;
        border: 1px solid var(--sg-border);
        padding: 0.9rem 1rem;
        background: var(--sg-surface-alt);
        font-size: 0.9rem;
    }

    .app-feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .app-faq {
        margin-top: 0.8rem;
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .app-faq-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .app-faq-item p {
        font-size: 0.85rem;
        color: var(--sg-text);
    }

    .app-cta {
        border-top: 1px solid var(--sg-border);
        padding-top: 1.2rem;
    }

    .app-contact-link {
        font-size: 0.85rem;
        text-decoration: underline;
        text-underline-offset: 0.16em;
    }

    @media (max-width: 640px) {
        .app-hero {
            padding-top: 1.7rem;
        }
        .app-hero-text h1 {
            font-size: 1.4rem;
        }
    }
