* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f8f8f8;
    color: #334155;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: #1d4ed8;
}

a:hover,
a:focus {
    color: #7c3aed;
}

.theme {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #f8f8f8;
}

.theme td {
    padding: 0;
    border: 0;
    vertical-align: top;
}

.theme-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.topbar {
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 48%, #5b21b6 100%);
    color: #ffffff;
}

.topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.lockup {
    display: block;
    line-height: 0;
    flex: 0 0 auto;
}

.lockup-img {
    height: 125px;
    width: auto;
    max-width: none;
    mix-blend-mode: screen;
}

.menubar {
    background: transparent;
    border: 0;
}

.menubar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.menubar a,
.nav-caret,
.nav-form button {
    display: inline-block;
    margin: 3px;
    padding: 8px 12px;
    background: transparent;
    border: 0;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.menubar a:hover,
.menubar a:focus,
.nav-caret:hover,
.nav-form button:hover,
.nav-form button:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.menubar a.active {
    background: #3b82f6;
    color: #ffffff;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
}

.support-link:hover,
.support-link:focus {
    background: #16a34a;
    color: #ffffff;
}

.support-svg {
    display: block;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.nav-caret {
    padding: 8px 8px 8px 0;
    margin-left: -6px;
    line-height: 1;
}

.nav-sub {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 230px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 6px 0;
    z-index: 20;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub,
.nav-item > .nav-check:checked ~ .nav-sub {
    display: block;
}

.nav-sub a {
    display: block;
    margin: 0;
    border-radius: 0;
    background: #ffffff;
    color: #1e293b;
    font-weight: 600;
}

.nav-sub a:hover,
.nav-sub a:focus {
    background: #eff6ff;
    color: #1d4ed8;
}

.nav-form {
    display: inline;
    margin: 0;
}

.signed-in {
    margin: 0;
    padding: 8px 22px;
    background: #ffffff;
    color: #475569;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.92rem;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 22px 64px;
}

.page-home {
    max-width: none;
    padding: 0;
}

.flash-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 22px 0;
}

.page h1,
.page h2,
.page h3 {
    color: #1e3a8a;
    font-weight: 700;
    line-height: 1.25;
}

.hero {
    position: relative;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 42%, rgba(168, 85, 247, 0.45), transparent 32%),
        linear-gradient(105deg, #1e1b4b 0%, #312e81 42%, #6d28d9 100%);
    padding: 18px 22px 78px;
    overflow: hidden;
}

.is-home .hero {
    background: radial-gradient(circle at 72% 45%, rgba(255, 255, 255, 0.12), transparent 34%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 46px;
    background: #f8f8f8;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.05;
}

.hero-copy p {
    max-width: 34rem;
    font-size: 1.08rem;
    color: #eef2ff;
}

.hero-photo {
    min-height: 340px;
    border-radius: 18px;
    background-image: url("../images/CWSaG_mockop.png");
    background-repeat: no-repeat;
    background-size: 250% auto;
    background-position: 92% 13%;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.options {
    background: #f8f8f8;
    padding: 10px 22px 20px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.options h2,
.ordering h2 {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 2rem;
}

.options h2 {
    border-bottom: 4px solid #3b82f6;
    padding-bottom: 2px;
}

.section-lead {
    max-width: 46rem;
    color: #475569;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.option-card {
    display: block;
    position: relative;
    min-height: 210px;
    padding: 18px 16px 42px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: #475569;
    text-decoration: none;
}

.option-card:hover,
.option-card:focus {
    color: #334155;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.16);
}

.option-card h3 {
    margin: 12px 0 6px;
    color: #0f172a;
    font-size: 1.05rem;
}

.option-card p {
    margin: 0;
    font-size: 0.92rem;
}

.option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 58px;
}

.option-icon svg {
    width: 54px;
    height: 54px;
}

.icon-banner {
    width: 86px;
    height: 54px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #ffffff;
    border-radius: 8px 18px 8px 18px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.15;
    transform: rotate(-6deg);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.option-arrow {
    position: absolute;
    right: 14px;
    bottom: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.promo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 18px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #38bdf8, #6366f1 42%, #e879f9 78%, #fb7185);
    border-radius: 36px 18px 42px 20px;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
}

.promo p {
    margin: 0;
    color: #ffffff;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 1.85rem;
    line-height: 1.15;
}

.perks {
    list-style: none;
    margin: 8px 0 0;
    padding: 8px 4px;
}

.perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: #1e293b;
    font-weight: 700;
}

.perk {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.perk-1 { background: #2563eb; }
.perk-2 { background: #16a34a; }
.perk-3 { background: #f59e0b; }
.perk-4 { background: #7c3aed; }

.ordering {
    margin-top: 28px;
    padding: 42px 22px 48px;
    color: #ffffff;
    background:
        radial-gradient(circle at 50% 120%, rgba(56, 189, 248, 0.35), transparent 42%),
        linear-gradient(180deg, #1e1b4b 0%, #312e81 58%, #6d28d9 100%);
}

.ordering h2 {
    color: #ffffff;
    border: 0;
}

.gear {
    display: inline-block;
    margin-right: 6px;
}

.order-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 22px;
}

.step {
    position: relative;
    background: #ffffff;
    color: #334155;
    border-radius: 16px;
    padding: 16px 16px 18px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.step h3 {
    margin: 10px 0 4px;
    color: #0f172a;
    font-size: 1.05rem;
}

.step p {
    margin: 0;
}

.step-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
}

.step-1 { background: #2563eb; }
.step-2 { background: #7c3aed; }
.step-3 { background: #16a34a; }
.step-4 { background: #eab308; color: #1a1a1a; }

.step:not(:last-child)::after {
    content: ">";
    position: absolute;
    right: -18px;
    top: 42%;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.lede {
    max-width: 42rem;
    font-size: 1.08rem;
}

.narrow {
    max-width: 40rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.grid .card,
.portfolio-grid .card {
    margin-bottom: 0;
}

.card h3 {
    margin-top: 0;
}

.size {
    color: #64748b;
    font-size: 0.92rem;
}

.price {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
}

.price-note {
    color: #334155;
}

.catalog-group {
    margin-top: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 1.2rem 0 1.6rem;
}

.stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.stat strong {
    display: block;
    color: #1e3a8a;
    font-size: 1.6rem;
}

.button,
button,
input[type="submit"] {
    font: inherit;
}

.button,
button.action,
input[type="submit"].action {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    font-weight: 700;
}

.button.secondary,
button.secondary {
    display: inline-block;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}

.button:hover,
.button:focus,
button.action:hover,
button.action:focus {
    background: #1d4ed8;
    color: #ffffff;
}

.button-yellow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 0.75rem 1.25rem;
    background: #f5c518;
    color: #1a1a1a;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.button-yellow:hover,
.button-yellow:focus {
    background: #ffd84d;
    color: #1a1a1a;
}

.button.small,
button.small {
    padding: 0.35rem 0.7rem;
    font-size: 0.92rem;
}

.form-row {
    margin: 0 0 1rem;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    color: #1e293b;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    max-width: 32rem;
    padding: 0.55rem 0.7rem;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

textarea {
    min-height: 8rem;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.help {
    color: #64748b;
    font-size: 0.92rem;
    max-width: 36rem;
}

.meter {
    display: flex;
    gap: 4px;
    max-width: 280px;
    margin-top: 0.7rem;
}

.meter-seg {
    flex: 1;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
}

.meter-seg.on-1 { background: #dc2626; }
.meter-seg.on-2 { background: #d97706; }
.meter-seg.on-3 { background: #2563eb; }
.meter-seg.on-4 { background: #16a34a; }

.meter-label {
    margin: 0.35rem 0;
    font-weight: 700;
    color: #0f172a;
}

.rules {
    margin: 0.2rem 0 0.8rem;
    padding-left: 1.2rem;
}

.rules .pass { color: #157a45; }
.rules .fail { color: #b42318; }

.alert {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    color: #333333;
}

.alert.ok {
    border-color: #8dceb0;
    background: #eefaf3;
    color: #146c43;
}

.alert.error {
    border-color: #e7a8b0;
    background: #fff1f2;
    color: #9f1239;
}

.error-list {
    margin: 0 0 1rem;
    padding: 0.7rem 0.9rem 0.7rem 2rem;
    border: 1px solid #e7a8b0;
    border-radius: 10px;
    background: #fff1f2;
    color: #9f1239;
}

.table-wrap {
    overflow-x: auto;
}

table.data {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

table.data th,
table.data td {
    text-align: left;
    padding: 0.65rem 0.55rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

table.data th {
    color: #1e3a8a;
    font-weight: 700;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.portfolio-frame {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    min-height: 140px;
}

.portfolio-frame img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.inline-form {
    display: inline;
}

.check-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.check-line input {
    width: auto;
}

.check-line label {
    display: inline;
    margin: 0;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.site-footer {
    padding: 28px 22px 22px;
    background: linear-gradient(90deg, #1e1b4b 0%, #3730a3 52%, #5b21b6 100%);
    text-align: center;
    color: #e0e7ff;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 12px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 0 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
}

.footer-nav a:first-child {
    border-left: 0;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #fde68a;
}

.site-footer p {
    margin: 0.3rem 0;
}

.site-footer .tech {
    color: #ddd6fe;
    letter-spacing: 0.14em;
    font-size: 0.84rem;
}

.site-footer .copy {
    color: #e0e7ff;
}

.admin-link img {
    width: 22px;
    height: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.mockup-page {
    margin: 0;
    background: #eef3f8;
}

.mockup {
    position: relative;
    width: min(1100px, 100%);
    margin: 0 auto;
    line-height: 0;
}

.mockup > img {
    width: 100%;
    height: auto;
    display: block;
}

.mockup .spot {
    position: absolute;
    z-index: 2;
    overflow: hidden;
    text-indent: -999px;
    white-space: nowrap;
    text-decoration: none;
}

.mockup .spot:focus {
    outline: 2px solid #f5c518;
    outline-offset: 2px;
    overflow: visible;
}

.spot-logo { top: 0.6%; left: 1.5%; width: 28%; height: 6.2%; }
.spot-home { top: 1.5%; left: 45.5%; width: 8.5%; height: 3.4%; }
.spot-catalog { top: 1.3%; left: 54.2%; width: 10.5%; height: 3.8%; overflow: visible; text-indent: 0; }
.spot-account { top: 1.5%; left: 65%; width: 13%; height: 3.4%; }
.spot-login { top: 1.5%; left: 78.2%; width: 7%; height: 3.4%; }
.spot-support { top: 1.3%; left: 85.6%; width: 12.2%; height: 3.8%; }
.spot-cta { top: 22.6%; left: 4.2%; width: 24%; height: 3.6%; }

.spot-banners { top: 37.6%; left: 3.2%; width: 22.4%; height: 13.6%; }
.spot-splash { top: 37.6%; left: 27%; width: 22.4%; height: 13.6%; }
.spot-capture { top: 37.6%; left: 50.6%; width: 22.4%; height: 13.6%; }
.spot-sites { top: 37.6%; left: 74.2%; width: 22.4%; height: 13.6%; }
.spot-themes { top: 52.2%; left: 3.2%; width: 22.4%; height: 13.6%; }
.spot-icons { top: 52.2%; left: 27%; width: 22.4%; height: 13.6%; }

.spot-step-1 { top: 74.8%; left: 3.2%; width: 22%; height: 11.5%; }
.spot-step-2 { top: 74.8%; left: 27%; width: 22%; height: 11.5%; }
.spot-step-3 { top: 74.8%; left: 50.6%; width: 22%; height: 11.5%; }
.spot-step-4 { top: 74.8%; left: 74.2%; width: 22%; height: 11.5%; }

.spot-foot-home { top: 91.2%; left: 27%; width: 8%; height: 2.4%; }
.spot-foot-catalog { top: 91.2%; left: 35.5%; width: 8%; height: 2.4%; }
.spot-foot-account { top: 91.2%; left: 44%; width: 13%; height: 2.4%; }
.spot-foot-login { top: 91.2%; left: 57.5%; width: 7%; height: 2.4%; }
.spot-foot-support { top: 91.2%; left: 65%; width: 9%; height: 2.4%; }

.spot-hit {
    position: absolute;
    inset: 0;
    overflow: hidden;
    text-indent: -999px;
    white-space: nowrap;
}

.mock-sub {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
    padding: 6px 0;
    z-index: 4;
}

.spot-catalog:hover .mock-sub,
.spot-catalog:focus-within .mock-sub {
    display: block;
}

.mock-sub a {
    display: block;
    padding: 8px 14px;
    color: #1e293b;
    text-indent: 0;
    text-decoration: none;
    line-height: 1.4;
    font-size: 0.95rem;
    background: #ffffff;
}

.mock-sub a:hover,
.mock-sub a:focus {
    background: #eff6ff;
    color: #1d4ed8;
}

@media (max-width: 900px) {
    .hero-inner,
    .options-grid,
    .order-steps {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stage {
        min-height: 280px;
    }

    .step:not(:last-child)::after {
        content: none;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 22px 14px 40px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-inner,
    .options-grid,
    .order-steps {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 250px;
    }

    .nav-sub {
        position: static;
        min-width: 0;
        width: 100%;
    }

    .nav-item {
        flex-wrap: wrap;
        width: 100%;
    }

    .lockup-img {
        height: 52px;
    }
}
