/* North Alliance service pages. Fonts come from /css/fonts.css (Inter Tight, Oswald). */

:root {
    --bg: #121212;
    --panel: #1e1e1e;
    --line: rgb(255 255 255 / 12%);
    --text: #ffffff;
    --muted: #d4d4d4;
    --soft: #a0a0a0;
    --accent: #c84600;
    --accent-hover: #ee5300;
    --wrap: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter Tight", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 12px;
    top: 12px;
    z-index: 100;
    padding: 8px 12px;
    background: var(--text);
    color: var(--bg);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: var(--text);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--accent-hover);
}

.btn-ghost {
    border-color: rgb(255 255 255 / 40%);
    color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--text);
}

.btn svg {
    width: 16px;
    height: 16px;
    flex: none;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(18 18 18 / 94%);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
}

.logo img {
    height: 30px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions .btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
}

.header-actions .btn-call span {
    display: none;
}

/* Hero */

.hero {
    padding: 28px 0 48px;
}

.hero .wrap {
    display: grid;
    gap: 28px;
}

.kicker {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--soft);
}

.kicker a {
    text-decoration: none;
}

.kicker a:hover {
    color: var(--text);
}

h1,
h2 {
    margin: 0;
    font-family: Oswald, Arial, sans-serif;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.lead {
    margin: 16px 0 0;
    max-width: 34em;
    font-size: 18px;
    line-height: 1.5;
    color: var(--muted);
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.hero-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-checks li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent-hover);
    border-radius: 50%;
    flex: none;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-photo {
    margin: 0;
    background: var(--panel);
    border-radius: 2px;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Sections */

.section {
    padding: 48px 0;
    border-top: 1px solid var(--line);
}

.section-head {
    margin-bottom: 26px;
}

.section-head p {
    margin: 10px 0 0;
    max-width: 40em;
    color: var(--muted);
}

.checklist {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    position: relative;
    padding-left: 32px;
    color: var(--muted);
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.note {
    margin: 22px 0 0;
    padding: 16px 18px;
    max-width: 46em;
    background: var(--panel);
    border-left: 3px solid var(--accent);
    color: var(--muted);
}

.note strong {
    color: var(--text);
}

.note a {
    color: var(--text);
}

/* Why us */

.why-grid {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.why-grid li {
    padding: 20px;
    background: var(--panel);
    border-radius: 2px;
}

.why-grid p {
    margin: 0;
    font-size: 15px;
    color: var(--soft);
}

/* Photo grid */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.photo-grid figure {
    margin: 0;
    background: var(--panel);
    overflow: hidden;
    border-radius: 2px;
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* FAQ */

.faq {
    max-width: 820px;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
    border-top: 1px solid var(--line);
}

.faq summary {
    position: relative;
    padding: 18px 40px 18px 0;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 300;
    color: var(--accent-hover);
}

.faq details[open] summary::after {
    content: "\2212";
}

.faq details p {
    margin: 0 0 20px;
    max-width: 44em;
    color: var(--muted);
}

/* CTA band */

.cta-band {
    padding: 56px 0;
    background: var(--panel);
    border-top: 3px solid var(--accent);
    text-align: center;
}

.cta-band p {
    margin: 14px auto 0;
    max-width: 34em;
    color: var(--muted);
}

.cta-band .hero-cta {
    justify-content: center;
}

/* Footer */

.site-footer {
    padding: 44px 0 28px;
    font-size: 15px;
    color: var(--soft);
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer-grid .logo img {
    height: 28px;
}

.footer-about p {
    margin: 14px 0 0;
    max-width: 26em;
}

.footer-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text);
}

.footer-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current] {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer-bottom a {
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--text);
}

/* Larger screens */

@media (min-width: 560px) {
    .header-actions .btn-call span {
        display: inline;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .wrap {
        padding: 0 32px;
    }

    .site-header .wrap {
        min-height: 76px;
    }

    .logo img {
        height: 36px;
    }

    .header-actions .btn {
        min-height: 44px;
        padding: 0 18px;
    }

    .hero {
        padding: 56px 0 72px;
    }

    .hero .wrap {
        grid-template-columns: 1.05fr 1fr;
        align-items: center;
        gap: 56px;
    }

    .hero-photo img {
        aspect-ratio: 4 / 5;
    }

    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 38px;
    }

    .section {
        padding: 72px 0;
    }

    .split {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 56px;
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-band {
        padding: 80px 0;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}
