:root {
    --accent: #50B6D2;
    --ink: #14191f;
    --muted: #5b6670;
    --pale: #f4f8fa;
    --line: #dae2e7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
}

.site-header {
    height: 82px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 0 4%;
    position: sticky;
    top: 0;
    background: var(--pale);
    z-index: 20;
}

.brand-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    cursor: pointer;
}

.brand-mini img {
    height: 48px;
    width: auto;
    max-width: 86px;
    object-fit: contain;
}

nav {
    margin: auto;
    display: flex;
    gap: 34px;
}

nav button {
    border: 0;
    background: none;
    font-size: 16px;
    padding: 18px 0 8px;
    cursor: pointer;
    color: var(--ink);
}

nav button.active {
    border-bottom: 2px solid #111;
}

.actions {
    display: flex;
    gap: 18px;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
}

.actions a.login-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    margin-left: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.signup,
.primary {
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 14px 26px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.page {
    display: none;
    min-height: calc(100vh - 82px);
}

.page.active {
    display: block;
}

.wrap {
    max-width: 1260px;
    margin: auto;
    padding: 72px 36px;
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin: 0 0 22px;
}

.hero p {
    font-size: 23px;
    color: var(--muted);
    line-height: 1.5;
}

.hero-banner {
    padding: 24px;
    border-top: 4px solid var(--accent);
}

.hero-banner p {
    margin: 0;
    color: var(--ink);
}

.logo-large {
    display: block;
    max-width: 760px;
    width: 70%;
    margin: 55px auto;
}

.logo-large.contact-logo {
    margin-top: 70px;
    margin-bottom: 70px;
}

.pale {
    background: var(--pale);
    border-radius: 14px;
}

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

.center {
    text-align: center;
}

.section-title {
    font-size: 38px;
    margin: 0 0 24px;
}

.section-title.spaced {
    margin-top: 45px;
}

.body {
    font-size: 22px;
    line-height: 1.55;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 34px;
}

.feature {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 42px;
}

.quote {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px;
    font-size: 20px;
    line-height: 1.45;
}

.process {
    padding: 38px 55px;
    margin-top: 40px;
}

.process ol {
    font-size: 21px;
    line-height: 1.8;
}

.process-list {
    text-align: left;
    max-width: 720px;
    margin: 25px auto;
}

.closing {
    margin-top: 40px;
    padding: 28px;
    text-align: center;
    font-size: 29px;
    font-weight: 700;
}

.hero-compact h1 {
    font-size: 40px;
}

.hero-compact p {
    font-size: 28px;
}

.cards2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.card .head {
    background: #111;
    color: #fff;
    padding: 30px;
    text-align: center;
}

.card .head h2 {
    margin: 0 0 10px;
}

.card .content {
    padding: 34px;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 30px 0;
}

.star-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.burst {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    color: #111;
}

.types {
    text-align: center;
    padding: 25px;
}

.credits {
    padding: 34px;
    margin-top: 34px;
}

.credit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.credit {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 8px;
    text-align: center;
    font-size: 18px;
}

.credit strong {
    display: block;
    font-size: 24px;
    margin-top: 8px;
}

.template-master {
    padding: 42px;
}

.subcard {
    background: #fff;
    border-radius: 12px;
    padding: 34px;
    margin-top: 34px;
}

.subcard h2 {
    text-align: center;
    font-size: 32px;
}

.strap {
    text-align: center;
    color: var(--accent);
    font-size: 23px;
    font-weight: 700;
}

.campaign-card {
    padding: 28px;
}

.price {
    font-size: 32px;
    font-weight: 700;
}

.price-note {
    font-size: 27px;
    font-weight: 700;
}

.credit-tagline {
    font-size: 22px;
    font-weight: 700;
}

.reload-card {
    margin-top: 34px;
    padding: 30px;
}

.create-account-row {
    margin-top: 35px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 44px;
    margin-top: 45px;
}

.formbox,
.contactbox {
    padding: 42px;
    border-radius: 14px;
}

.formbox {
    background: var(--pale);
}

.contactbox {
    border: 1px solid var(--line);
}

.formbox h2,
.contactbox h2 {
    text-align: center;
    font-size: 30px;
}

.underline {
    width: 170px;
    height: 4px;
    background: var(--accent);
    margin: 14px auto 36px;
}

.fields2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    padding: 15px;
    font-size: 17px;
}

.field textarea {
    height: 145px;
    resize: vertical;
}

.sendrow {
    text-align: center;
}

.contact-detail {
    margin-top: 55px;
}

.contact-close {
    margin-top: 70px;
}

.footer-band {
    margin-top: 54px;
    padding: 34px;
    text-align: center;
}

.site-footer {
    text-align: center;
    border-top: 1px solid var(--line);
    padding: 35px;
    color: var(--muted);
}

.flash {
    max-width: 1260px;
    margin: 16px auto 0;
    padding: 14px 20px;
    border-radius: 8px;
}

.flash.success {
    background: #e8f7ee;
    color: #146c2e;
}

.flash.error {
    background: #fdecea;
    color: #8a1f11;
}

@media (max-width: 850px) {
    .site-header {
        flex-wrap: wrap;
        height: auto;
        min-height: 82px;
        padding: 12px 4%;
    }

    .brand-mini {
        order: 1;
    }

    .actions {
        order: 2;
        margin-left: auto;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .actions .signup {
        padding: 12px 16px;
    }

    nav {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin: 8px 0 0;
    }

    .site-header.nav-open nav {
        display: flex;
    }

    nav button {
        padding: 14px 0;
        text-align: left;
        border-bottom: 1px solid var(--line);
    }

    nav button.active {
        border-bottom: 2px solid #111;
    }

    .wrap {
        padding: 45px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .cards2,
    .testimonials,
    .contact-grid,
    .star-row {
        grid-template-columns: 1fr;
    }

    .credit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fields2 {
        grid-template-columns: 1fr;
    }

    .logo-large {
        width: 95%;
    }
}

@media (max-width: 560px) {
    .brand-mini span {
        display: none;
    }

    .actions {
        gap: 12px;
    }
}
