
/* FocusOnNavigate puts focus on <main>. Hide the focus ring unless keyboard users request it. */
main:focus {
    outline: none;
}

main:focus-visible {
    outline: none;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.app-topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-brand {
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: inherit;
}

.app-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-link {
    text-decoration: none;
    color: inherit;
    opacity: 0.8;
    font-weight: 600;
}

    .app-link:hover {
        opacity: 1;
    }

.app-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.app-footer {
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0.6;
}

.app-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem;
}

/* Hero */
.app-hero {
    min-height: calc(70vh - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
}

.app-hero-inner {
    max-width: 860px;
    width: 100%;
}

.app-hero-brand {
    letter-spacing: .35em;
    font-weight: 700;
    opacity: .8;
    margin-bottom: .75rem;
}

.app-hero-sub {
    font-size: 1.15rem;
    opacity: .85;
    margin-bottom: 1.75rem;
}

.app-hero-ish {
    opacity: .6;
    font-size: .95em;
}

.app-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-cta-card {
    min-width: 170px;
    padding: .9rem 1.1rem;
    border-radius: .9rem;
    text-decoration: none;
    font-weight: 650;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.app-cta-title {
    font-size: 1.05rem;
}

.app-cta-sub {
    font-size: .85rem;
    opacity: .75;
    margin-top: .1rem;
    letter-spacing: .02em;
}

.app-cta-primary {
    background: #111;
    color: #fff;
}

.app-cta-ghost {
    background: transparent;
    border: 1px solid rgba(0,0,0,.25);
    color: #111;
}

.app-proof {
    margin-top: .85rem;
    font-size: .95rem;
    opacity: .55;
}

/* Forms */
.app-form-wrap {
    max-width: 760px;
    margin: 2.25rem auto;
    padding: 0 1.25rem;
}

.app-sub {
    margin: 0 0 1.25rem;
    opacity: .8;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.app-field label {
    display: block;
    font-weight: 650;
    margin-bottom: .35rem;
    opacity: .9;
}

.app-field-full {
    grid-column: 1 / -1;
}

.app-textarea {
    min-height: 120px;
    resize: vertical;
}

.app-input {
    width: 100%;
    padding: .7rem .8rem;
    border-radius: .75rem;
    border: 1px solid rgba(0,0,0,.2);
}

.app-checkbox {
    grid-column: 1 / -1;
}

    .app-checkbox label {
        display: flex;
        gap: .6rem;
        align-items: center;
        margin-top: .25rem;
    }

    .app-checkbox span {
        opacity: .9;
    }

.app-actions {
    display: flex;
    gap: .75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.app-btn {
    padding: .8rem 1.1rem;
    border-radius: .85rem;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
}

.app-btn-primary {
    background: #111;
    color: #fff;
}

.app-btn-ghost {
    border-color: rgba(0,0,0,.25);
    color: #111;
    background: transparent;
}

.app-card {
    border: 1px solid rgba(0,0,0,.1);
    border-radius: .9rem;
    padding: 1.1rem 1.2rem;
}

.app-success {
    background: rgba(0,0,0,.03);
}

.app-small {
    opacity: .75;
}

/* Honeypot */
.app-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 720px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer hover version */
.app-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-footer-version {
    opacity: 0;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.app-footer:hover .app-footer-version {
    opacity: 0.6;
}
