

/* -------------------------------------------------
   COLOR AND DESIGN VARIABLES
------------------------------------------------- */

:root {
    --navy: #101b3c;
    --dark-blue: #182954;
    --blue: #3a68ff;
    --purple: #7c4dff;
    --light-blue: #dce7ff;
    --off-white: #f6f8fc;
    --white: #ffffff;
    --text: #202a44;
    --muted: #65708a;
    --border: #dce2ee;

    --shadow:
        0 18px 45px rgba(16, 27, 60, 0.11);

    --small-shadow:
        0 8px 24px rgba(16, 27, 60, 0.08);

    --large-radius: 26px;
    --medium-radius: 16px;
    --maximum-width: 1160px;
}


/* -------------------------------------------------
   BASIC PAGE STYLES
------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--text);
    background: var(--off-white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.7;
}

a {
    color: var(--blue);
    font-weight: bold;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--purple);
}

a:focus-visible {
    outline: 3px solid #f3b73f;
    outline-offset: 4px;
    border-radius: 4px;
}

p {
    margin-top: 0;
}

ul {
    padding-left: 22px;
}


/* -------------------------------------------------
   HERO AND NAVIGATION
------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 650px;

    color: var(--white);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(124, 77, 255, 0.65),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(58, 104, 255, 0.5),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--dark-blue)
        );
}

.hero::after {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    bottom: -230px;

    border: 70px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.plan-navigation {
    position: relative;
    z-index: 2;

    width: min(
        calc(100% - 40px),
        var(--maximum-width)
    );

    margin: auto;
    padding: 24px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.13);
}

.site-logo {
    color: var(--white);

    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;

    text-decoration: none;
}

.plan-navigation ul {
    margin: 0;
    padding: 0;

    display: flex;
    gap: 28px;

    list-style: none;
}

.plan-navigation a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.plan-navigation li a {
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-navigation a:hover {
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 1;

    width: min(
        calc(100% - 40px),
        var(--maximum-width)
    );

    margin: auto;
    padding: 115px 0 150px;
}

.eyebrow {
    margin-bottom: 18px;

    color: #b8caff;

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(3.4rem, 8vw, 7.3rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero-description {
    max-width: 680px;
    margin: 32px 0;

    color: rgba(255, 255, 255, 0.76);

    font-size: 1.15rem;
}

.primary-button {
    display: inline-block;

    padding: 13px 22px;

    color: var(--navy);
    background: var(--white);

    border-radius: 999px;

    text-decoration: none;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.primary-button:hover {
    color: var(--navy);

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.2);
}


/* -------------------------------------------------
   GENERAL SECTION STYLES
------------------------------------------------- */

.content-section {
    width: min(
        calc(100% - 40px),
        var(--maximum-width)
    );

    margin: auto;
    padding: 100px 0;
}

.alternate-section {
    position: relative;
}

.alternate-section::before {
    content: "";
    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: calc(
        (var(--maximum-width) - 100vw) / 2
    );

    right: calc(
        (var(--maximum-width) - 100vw) / 2
    );

    background: var(--white);
}

.section-heading {
    margin-bottom: 42px;

    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.section-number {
    margin: 4px 0 0;

    color: var(--blue);

    font-size: 0.85rem;
    font-weight: 800;
}

.section-label {
    margin: 0 0 8px;

    color: var(--purple);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h2 {
    margin: 0;

    color: var(--navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

h3 {
    margin-top: 0;
    color: var(--navy);
}

.section-introduction {
    max-width: 700px;
    margin: -15px 0 40px;

    color: var(--muted);
    font-size: 1.05rem;
}


/* -------------------------------------------------
   PURPOSE CARDS
------------------------------------------------- */

.two-column-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.information-card {
    padding: 34px;

    border: 1px solid var(--border);
    border-radius: var(--large-radius);

    background: var(--white);
    box-shadow: var(--small-shadow);
}

.information-card p:last-child {
    margin-bottom: 0;
}

.accent-card {
    color: var(--white);

    border: none;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple)
        );
}

.accent-card h3 {
    color: var(--white);
}

.check-list {
    margin-bottom: 0;
    padding: 0;

    list-style: none;
}

.check-list li {
    position: relative;
    padding: 8px 0 8px 30px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;

    color: #d6ffb7;
    font-weight: bold;
}


/* -------------------------------------------------
   AUDIENCE SECTION
------------------------------------------------- */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.audience-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--medium-radius);

    background: var(--off-white);
}

.card-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 24px;

    display: grid;
    place-items: center;

    color: var(--white);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple)
        );

    font-size: 0.8rem;
    font-weight: bold;
}

.audience-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.experience-panel {
    margin-top: 25px;
    padding: 35px;

    color: var(--white);

    border-radius: var(--large-radius);

    background: var(--navy);
}

.experience-panel h3 {
    color: var(--white);
}

.priority-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.priority-list div {
    padding-left: 16px;
    border-left: 3px solid var(--blue);
}

.priority-list strong,
.priority-list span {
    display: block;
}

.priority-list span {
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.86rem;
}


/* -------------------------------------------------
   PAGE PLAN CARDS
------------------------------------------------- */

.page-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.page-card {
    grid-column: span 2;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--medium-radius);

    background: var(--white);
    box-shadow: var(--small-shadow);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.page-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.page-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(16, 27, 60, 0.14);
}

.file-name {
    margin-bottom: 18px;

    color: var(--blue);

    font-family:
        "Courier New",
        monospace;

    font-size: 0.8rem;
    font-weight: bold;
}

.page-card p:not(.file-name) {
    color: var(--muted);
}

.page-purpose {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 12px;

    color: var(--purple);
    background: #eee9ff;

    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: bold;
}


/* -------------------------------------------------
   NAVIGATION PLAN
------------------------------------------------- */

.navigation-example {
    margin-bottom: 26px;
    padding: 20px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    color: var(--white);
    background: var(--navy);

    border-radius: var(--medium-radius);
}

.mock-logo {
    font-weight: 800;
}

.mock-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.83rem;
}


/* -------------------------------------------------
   DESIGN PLAN
------------------------------------------------- */

.design-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.design-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--medium-radius);

    background: var(--white);
}

.design-card > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.color-palette {
    margin: 25px 0;

    display: flex;
}

.color-palette span {
    width: 54px;
    height: 70px;

    margin-right: -7px;

    border: 4px solid var(--white);
    border-radius: 12px;

    box-shadow:
        0 7px 15px rgba(16, 27, 60, 0.12);
}

.color-one {
    background: var(--navy);
}

.color-two {
    background: var(--blue);
}

.color-three {
    background: var(--purple);
}

.color-four {
    background: var(--light-blue);
}

.color-five {
    background: var(--off-white);
}

.font-example {
    padding: 13px 16px;

    border-left: 4px solid var(--blue);

    background: var(--off-white);
}

.heading-font {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.5rem;
    font-weight: bold;
}

.body-font {
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

.layout-demo {
    margin: 25px 0;
    padding: 14px;

    background: var(--off-white);
    border-radius: 12px;
}

.layout-demo span {
    display: block;
    border-radius: 5px;
}

.layout-header {
    height: 28px;
    background: var(--navy);
}

.layout-demo div {
    margin: 9px 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.layout-demo div span {
    height: 70px;
    background: var(--light-blue);
}

.layout-footer {
    height: 20px;
    background: var(--purple);
}

.style-details {
    margin-top: 24px;
    padding: 34px;

    color: var(--white);

    border-radius: var(--large-radius);

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--dark-blue)
        );
}

.style-details h3 {
    color: var(--white);
}

.style-details ul {
    margin-bottom: 0;

    columns: 2;
    column-gap: 45px;
}

.style-details li {
    margin-bottom: 10px;
}


/* -------------------------------------------------
   SEO SECTION
------------------------------------------------- */

.keyword-panel {
    padding: 35px;

    border: 1px solid var(--border);
    border-radius: var(--large-radius);

    background: var(--off-white);
}

.keyword-list {
    margin: 22px 0;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-list span {
    padding: 9px 14px;

    color: var(--blue);
    background: var(--white);

    border: 1px solid var(--light-blue);
    border-radius: 999px;

    font-size: 0.84rem;
    font-weight: bold;
}

.keyword-panel p {
    margin-bottom: 0;
    color: var(--muted);
}

.similar-sites {
    margin-top: 24px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.external-site {
    padding: 30px;

    border-radius: var(--medium-radius);

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple)
        );
}

.external-site:nth-child(2) {
    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--blue)
        );
}

.external-site h3,
.external-site a {
    color: var(--white);
}

.external-site p:not(.external-label) {
    color: rgba(255, 255, 255, 0.76);
}

.external-label {
    color: #dce5ff;

    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* -------------------------------------------------
   TESTING SECTION
------------------------------------------------- */

.testing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.testing-grid article {
    padding: 25px;

    border-top: 4px solid var(--blue);
    border-radius: 0 0 var(--medium-radius) var(--medium-radius);

    background: var(--white);
    box-shadow: var(--small-shadow);
}

.testing-grid article > span {
    margin-bottom: 18px;

    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    color: var(--white);
    background: var(--blue);

    border-radius: 50%;

    font-weight: bold;
}

.testing-grid p {
    margin-bottom: 0;
    color: var(--muted);
}


/* -------------------------------------------------
   FOOTER
------------------------------------------------- */

.site-footer {
    padding: 35px max(
        20px,
        calc((100% - var(--maximum-width)) / 2)
    );

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--white);
    background: var(--navy);
}

.site-footer strong {
    font-size: 1.25rem;
}

.site-footer p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.6);
}

.site-footer a {
    color: var(--white);
}


/* -------------------------------------------------
   TABLET AND MOBILE DESIGN
------------------------------------------------- */

@media screen and (max-width: 900px) {

    .plan-navigation ul {
        display: none;
    }

    .two-column-layout,
    .similar-sites {
        grid-template-columns: 1fr;
    }

    .audience-grid,
    .design-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-card,
    .page-card:nth-child(4) {
        grid-column: auto;
    }

    .page-card:last-child {
        grid-column: 1 / -1;
    }
}


@media screen and (max-width: 600px) {

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding: 90px 0 110px;
    }

    .content-section {
        padding: 70px 0;
    }

    .section-heading {
        gap: 13px;
    }

    .page-grid,
    .priority-list,
    .testing-grid {
        grid-template-columns: 1fr;
    }

    .page-card:last-child {
        grid-column: auto;
    }

    .navigation-example,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .mock-links {
        gap: 12px;
    }

    .style-details ul {
        columns: 1;
    }

    .information-card,
    .experience-panel,
    .keyword-panel {
        padding: 25px;
    }
}


/* Removes movement for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}