/*
* Web 411 Solutions — mobile-first stylesheet
* Shared presentation rules for all five pages.
* Maintains existing design values and 23px desktop navigation gap.
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap");

/* =================================================================
Design tokens
================================================================= */

:root {
    --ink: #161b20;
    --muted: #565e67;
    --line: #dde4eb;
    --blue: #00a9ed;
    --deep-blue: #00a9ed;
    --pale: #e8f8ff;
    --bg: #fff;
    --wash: #f7f9fa;
    --serif: "Roboto",Arial,sans-serif;
    --sans: "Roboto",Arial,sans-serif;
}

/* =================================================================
Foundation and accessibility
================================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease,background-color .3s ease,border-color .3s ease,box-shadow .3s ease,transform .3s ease,opacity .3s ease;
}

a:hover {
    color: var(--deep-blue);
}

button {
    font: inherit;
}

svg {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.container {
    width: min(100% - 38px,1100px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    padding: .75rem;
    background: #fff;
    z-index: 50;
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

h1 {
    font-weight: 400;
}

h2 {
    font-weight: 400;
}

h3 {
    font-weight: 500;
}

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

a:hover, a:focus-visible {
    transition-duration: .3s;
}

/* =================================================================
Header and navigation
================================================================= */

.site-header {
    position: sticky;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e9ecee;
    top: 0;
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-weight: 500;
    font-size: clamp(1.35rem,2.4vw,1.75rem);
    white-space: nowrap;
}

.brand span {
    color: var(--blue);
}

.primary-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 13px 19px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #17253b12;
}

.primary-nav.is-open {
    display: flex;
}

.primary-nav a {
    padding: 11px 7px;
    font-size: 1rem;
    font-weight: 400;
}

.primary-nav a[aria-current=page] {
    color: var(--deep-blue);
    font-weight: 500;
}

.menu-toggle {
    width: 43px;
    height: 43px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* =================================================================
Hero
================================================================= */

.hero {
    overflow: hidden;
    background: linear-gradient(125deg,#f6f8fa 0%,#fff 57%,#e9edf0 100%);
}

/* Interior pages only: shared soft-wave hero background. */
.hero-inner {
    background-image: url("hero-interior-waves.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.hero-copy {
    padding: 65px 0 28px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-size: .9rem !important;
    text-transform: uppercase;
    font-weight: 500;
    color: #717d87;
    margin: 0 0 14px !important;
}

.hero h1 {
    font-family: var(--sans);
    font-size: clamp(2.5rem, 7vw, 4.25rem);
    line-height: 1.25;
    margin: 0 0 18px;
    font-weight: 400;
}

.hero p:not(.eyebrow) {
    font-size: 1.04rem;
    max-width: 520px;
    margin: 0 0 24px;
    color: #38434d;
    line-height: 1.75;
}

.hero-art {
    height: 210px;
    background-image: linear-gradient(90deg,#fff0 20%,#ffffff09 100%),url("workspace.webp");
    background-size: cover;
    background-position: center 43%;
    border-radius: 13px 13px 0 0;
}

.hero-home .hero-art {
    height: 240px;
}

.hero-inner .hero-copy {
    padding-block: 65px 30px;
}

.hero-inner h1 {
    font-size: clamp(2.55rem,5vw,3.8rem);
}

/* =================================================================
Buttons and links
================================================================= */

.button {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 12px 18px;
    font-weight: 300;
    font-size: 1.23rem;
    min-height: 47px;
    transition: background .3s,transform .3s;
}

.button svg,
.card-link svg {
    width: 18px;
    height: 18px;
}

.button-dark {
    background: #20252a;
    color: #fff;
}

.button-dark:hover {
    background: #000;
}

.button-blue {
    background: var(--blue);
    color: #fff;
}

.button-blue:hover {
    background: var(--deep-blue);
}

.hero-home .button-dark {
    min-height: 54px;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 300;
    transition: background-color .3s ease,color .3s ease;
    transform: none;
}

.hero-home .button-dark:hover {
    background: var(--blue);
    color: #fff;
    transform: none;
}

.hero-home .button-dark:active {
    transform: none;
}

/* =================================================================
Section headings
================================================================= */

.section-intro {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 38px;
}

.section-intro h2 {
    font-family: var(--serif);
    font-size: clamp(1.9rem,3vw,2.65rem);
    line-height: 1.3;
    margin: 0 0 14px;
    font-weight: 400;
}

.section-intro p:not(.eyebrow) {
    color: var(--muted);
    margin: 0;
}

.section-intro.align-left {
    text-align: left;
    margin-left: 0;
}

/* =================================================================
Homepage topic cards
================================================================= */

.home-essentials {
    padding-block: 72px 86px;
}

.three-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.topic-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 27px 25px 25px;
    display: flex;
    flex-direction: column;
    min-height: 318px;
    background: #fff;
    box-shadow: 0 3px 13px #101a2c06;
    transition: transform .2s,box-shadow .2s,border-color .2s;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px #101a2c11;
    border-color: #b4c9dc;
    color: inherit;
}

.card-icon,
.row-icon,
.next-icon,
.spotlight-icon {
    width: 63px;
    height: 63px;
    border-radius: 16px;
    background: #e9f4fb;
    color: #17679a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    margin-bottom: 18px;
    border-radius: 50%;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.topic-card h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    margin: 0 0 9px;
    font-weight: 500;
}

.topic-card p {
    color: var(--muted);
    margin: 0 0 22px;
    line-height: 1.75;
}

.card-link {
    margin-top: auto;
    font-size: 1.23rem;
    font-weight: 400;
    color: var(--deep-blue);
    display: flex;
    gap: 9px;
    align-items: center;
}

/* =================================================================
Featured Website Tip
================================================================= */

.spotlight-section {
    padding: 0 0 54px;
    background: var(--bg);
}

.featured-panel {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.featured-panel .section-intro {
    margin-bottom: 32px;
}

.spotlight {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 24px;
    max-width: none;
    margin: auto;
    flex-direction: column;
    width: 100%;
    margin-inline: auto;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--line);

    border-radius: 12px;
    box-shadow: 0 3px 13px #101a2c06;
}

.spotlight-icon {
    background: #e0f6ff;
    color: var(--blue);
    border-radius: 50%;
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    display: grid;
    place-items: center;
}

.spotlight-icon svg {
    height: 54px;
    width: 54px;
}

.spotlight-inner {
    display: block;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    max-width: none;
    width: 100%;
    min-width: 0;
    text-align: center;
}

.spotlight-inner a {
    color: var(--blue);
    font-weight: 400;
    font-size: 1.23rem;
    transition: color 0.3s ease;
}

.spotlight-inner a:hover {
    color: var(--ink);
}

.spotlight-inner > div {
    flex: 1;
    min-width: 0;
}

.spotlight-inner h3 {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.3;
    margin: 0 0 8px;
    font-weight: 500;
}

.spotlight-inner p:not(.eyebrow) {
    margin: 0 0 8px;
    color: var(--muted);
}

.spotlight-inner #tip-body {
    line-height: 1.7;
    margin-bottom: 16px;
}

.tip-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
}

.tip-highlights li {
    padding: 6px 12px;
    border-radius: 999px;
    background: #e0f6ff;
    color: #26546b;
    font-size: .78rem;
    font-weight: 400;
}

.tip-highlights li::before {
    content: "✓";
    color: var(--deep-blue);
    font-weight: 700;
    margin-right: 7px;
}

/* =================================================================
Interior page explanations
================================================================= */

.explanations {
    padding: 58px 0 64px;
    display: grid;
    gap: 36px;
}

.explain-row {
    display: grid;
    grid-template-columns: 62px minmax(0,1fr);
    gap: 17px;
    align-items: start;
}

.row-icon svg,
.next-icon svg {
    height: 32px;
    width: 32px;
}

.explain-row h2 {
    font-size: clamp(1.25rem,2.3vw,1.65rem);
    line-height: 1.3;
    margin: 0 0 8px;
    font-weight: 400;
}

.explain-row p {
    margin: 0;
    color: #4c5560;
    line-height: 1.72;
}

/* =================================================================
Frequently asked questions
================================================================= */

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

.faq-section .section-intro {
    margin-bottom: 27px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

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

details summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 5px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    font-weight: 300;
    font-size: 1.13rem;
}

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

details .plus-mark {
    font-size: 1.95rem;
    color: var(--blue);
    font-weight: 200;
    line-height: 1;
    transition: transform 0.3s ease;
}

details[open] .plus-mark {
    transform: rotate(45deg);
}

details>p {
    color: var(--muted);
    margin: 0;
    padding: 0 32px 23px 5px;
    max-width: 850px;
}

/* =================================================================
Next page and closing panels
================================================================= */

.next-section {
    padding-bottom: 80px;
}

.next-panel,
.closing-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    background: #e9f5fc;
    border-radius: 12px;
    padding: 25px;
}

.next-panel h2,
.closing-panel h2 {
    font-size: 1.48rem;
    margin: 0 0 3px;
    font-weight: 400;
}

.next-panel p,
.closing-panel p {
    margin: 0;
    color: var(--muted);
}

.next-panel .next-kicker {
    font-size: .69rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.next-icon {
    background: #d7ebf9;
}

.closing-section {
    padding-bottom: 85px;
}

.closing-panel {
    background: #eff7fb;
}

.closing-symbol {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #dceffa;
    display: grid;
    place-items: center;
    color: var(--blue);
}

/* =================================================================
Getting Started roadmap
================================================================= */

.roadmap {
    padding: 64px 0 76px;
}

.steps {
    padding: 0;
    margin: 0;
    list-style: none;
}

.steps li {
    display: grid;
    grid-template-columns: 38px 58px minmax(0,1fr);
    gap: 13px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.steps li:last-child {
    border-bottom: 0;
}

.steps .row-icon {
    width: 56px;
    height: 56px;
}

.steps .row-icon svg {
    width: 27px;
    height: 27px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #dff5ff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    color: #006f9f;
    margin-top: 10px;
}

.steps h3 {
    margin: 2px 0 7px;
    font-size: 1.14rem;
    font-weight: 500;
}

.steps p {
    margin: 0;
    color: var(--muted);
}

/* =================================================================
Back to top
================================================================= */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 3px 10px #101a2c12;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s ease,visibility .3s ease,transform .3s ease,background-color .3s ease,color .3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--ink);
}

.back-to-top svg {
    width: 34px;
    height: 34px;
}

/* =================================================================
Footer
================================================================= */

.site-footer {
    background: #20252a;
    color: #fff;
    padding-top: 40px;
}

.footer-wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 28px;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-brand span {
    color: var(--blue);
}

.footer-wrap p {
    margin: 4px 0 0;

    color: #fff;
    font-size: .95rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 23px;
    font-size: .95rem;
}

.footer-nav a:hover {
    color: #00a9ed;
}

.footer-bottom {
    border-top: 1px solid #484f56;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 7px;
    padding: 22px 0 28px;

    color: #fff;
    font-size: .76rem;
}

.footer-bottom p {
    margin: 0;
}

.fine-print {
    max-width: 760px;
}

/* =================================================================
Other shared components
================================================================= */

.card-icon, .row-icon, .next-icon {
    background: #e2f6ff;
    color: #0086c4;
}

.next-panel {
    background: #e5f6ff;
}

/* =================================================================
Responsive: min-width: 640px
================================================================= */

@media (min-width: 640px) {
    .container {
        width: min(100% - 64px,1100px);
    }

    .hero-grid {
        grid-template-columns: 1.08fr .92fr;
        align-items: center;
        min-height: 330px;
    }

    .hero-copy, .hero-inner .hero-copy {
        padding-block: 60px;
    }

    .hero-art,
    .hero-home .hero-art {
        height: 100%;
        min-height: 320px;
        align-self: stretch;
        border-radius: 0;
        background-position: right center;
        mask-image: linear-gradient(to right,transparent 0%,black 22%);
        width: calc(100% + max(32px, (100vw - 1100px)/2));
    }

    .three-cards {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 18px;
    }

    .topic-card {
        padding: 23px 20px;
    }

    .spotlight-inner {
        border-left: 1px solid var(--line);
        padding-left: 30px;
        text-align: left;
    }

    .explain-row {
        grid-template-columns: 74px minmax(0,1fr);
        gap: 23px;
    }

    .row-icon {
        width: 72px;
        height: 72px;
    }

    .next-panel,
    .closing-panel {
        flex-direction: row;
        align-items: center;
        padding: 30px 34px;
    }

    .next-panel .button, .closing-panel .button {
        margin-left: auto;
        white-space: nowrap;
    }

    .steps li {
        grid-template-columns: 47px 68px minmax(0,1fr);
        gap: 23px;
    }

    .steps .row-icon {
        height: 62px;
        width: 62px;
    }

    .footer-wrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: start;
    }

    .spotlight {
        /* The divider marks the edge of the bulb's column. */
        display: grid;
        grid-template-columns: 28% minmax(0, 1fr);
        gap: 0;
        align-items: center;
        padding-left: 0;
    }

    .spotlight-icon {
        justify-self: center;
        margin: 0;
        transform: none;
    }

    .spotlight-icon svg {
        width: 65px;
        height: 65px;
    }

    .tip-highlights {
        justify-content: flex-start;
    }
}

/* =================================================================
Responsive: min-width: 920px
================================================================= */

@media (min-width: 920px) {
    .nav-wrap {
        min-height: 86px;
    }

    .primary-nav {
        display: flex;
        flex-direction: row;
        position: static;
        padding: 0;
        background: none;
        box-shadow: none;
        border: 0;
        gap: 23px;
    }

    .primary-nav a {
        position: relative;
        padding: 12px 0;
        font-size: 1rem;
        font-weight: 400;
    }

    .primary-nav a[aria-current=page]:after {
        content: "";
        height: 2px;
        background: var(--blue);
        position: absolute;
        bottom: 5px;
        left: 0;
        right: 0;
    }

    .menu-toggle {
        display: none;
    }

    .hero-grid {
        min-height: 375px;
        grid-template-columns: 1.07fr .93fr;
    }

    .hero-home .hero-grid {
        min-height: 430px;
    }

    .hero-art,
    .hero-home .hero-art {
        min-height: 375px;
    }

    .hero-home .hero-art {
        min-height: 430px;
    }

    .explanations {
        gap: 47px;
    }

    .three-cards {
        gap: 26px;
    }

    .topic-card {
        padding: 30px 29px;
        min-height: 340px;
    }

    .primary-nav a[aria-current=page] {
        font-weight: 500;
    }

    .hero-home h1 {
        font-size: clamp(3.05rem, 4.2vw, 3.45rem);
        line-height: 1.25;
    }

    .spotlight {
        padding: 46px 54px 46px 0;
    }
}

/* =================================================================
Responsive: max-width: 639px
================================================================= */

@media (max-width: 639px) {
    .back-to-top {
        right: 14px;
        bottom: 14px;
    }

    .hero-home .button-dark {
        width: auto;
        padding-inline: 26px;
    }
}

/* =================================================================
Responsive: prefers-reduced-motion: reduce
================================================================= */

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

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

/* =================================================================
Domains page: subtle refinements scoped to this page only
================================================================= */

.domains-page .explain-row h2 {
    font-weight: 400;
}

.domains-page .next-panel {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 3px 13px #101a2c06;
}

.domains-page .next-panel .button-blue {
    background: var(--ink);
    border-radius: 4px;
    transition: background-color .3s ease, color .3s ease;
}

.domains-page .next-panel .button-blue:hover {
    background: var(--blue);
    color: #fff;
}

/* =================================================================
Interior heroes — match the approved Domains layout
Only these three interior pages; the homepage is unchanged.
================================================================= */

body.domains-page .hero-inner.domains-hero .hero-grid,
body.hosting-page .hero.hero-inner .hero-grid,
body.file-transfers-page .hero.hero-inner .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
}

body.domains-page .hero-inner.domains-hero .hero-copy,
body.hosting-page .hero.hero-inner .hero-copy,
body.file-transfers-page .hero.hero-inner .hero-copy {
    width: 100%;
    max-width: 760px;
    padding-block: 42px 28px;
}

body.domains-page .hero-inner.domains-hero h1,
body.hosting-page .hero.hero-inner h1,
body.file-transfers-page .hero.hero-inner h1 {
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: normal;
}

/* Use the existing Domains paragraph width (520px). */
body.domains-page .hero-inner.domains-hero .hero-copy p:not(.eyebrow),
body.hosting-page .hero.hero-inner .hero-copy p:not(.eyebrow),
body.file-transfers-page .hero.hero-inner .hero-copy p:not(.eyebrow) {
    max-width: 520px;
}

@media (min-width: 640px) {
    body.domains-page .hero-inner.domains-hero .hero-grid,
    body.hosting-page .hero.hero-inner .hero-grid,
    body.file-transfers-page .hero.hero-inner .hero-grid {
        min-height: 285px;
    }

    body.domains-page .hero-inner.domains-hero .hero-copy,
    body.hosting-page .hero.hero-inner .hero-copy,
    body.file-transfers-page .hero.hero-inner .hero-copy {
        padding-block: 34px;
    }
}

@media (min-width: 920px) {
    body.domains-page .hero-inner.domains-hero .hero-grid,
    body.hosting-page .hero.hero-inner .hero-grid,
    body.file-transfers-page .hero.hero-inner .hero-grid {
        min-height: 310px;
    }

    body.domains-page .hero-inner.domains-hero h1,
    body.hosting-page .hero.hero-inner h1,
    body.file-transfers-page .hero.hero-inner h1 {
        font-size: clamp(2.55rem, 3.45vw, 3.45rem);
    }
}

/* =================================================================
Getting Started — interior hero and numbered roadmap
Matches Domains without altering other pages.
================================================================= */

.getting-started-page .hero-inner .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
}

.getting-started-page .hero-inner .hero-copy {
    width: 100%;
    max-width: 760px;
    padding-block: 42px 28px;
}

.getting-started-page .hero-inner h1 {
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: normal;
}

.getting-started-page .hero-inner .hero-copy p:not(.eyebrow) {
    max-width: 520px;
}

.getting-started-page .steps li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
}

.getting-started-page .steps .step-icon {
    display: grid;
    place-items: center;
    background: #e2f6ff;
    color: #0086c4;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 500;
}

@media (min-width: 640px) {
    .getting-started-page .hero-inner .hero-grid {
        min-height: 285px;
    }

    .getting-started-page .hero-inner .hero-copy {
        padding-block: 34px;
    }

    .getting-started-page .steps li {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 23px;
    }
}

@media (min-width: 920px) {
    .getting-started-page .hero-inner .hero-grid {
        min-height: 310px;
    }

    .getting-started-page .hero-inner h1 {
        font-size: clamp(2.55rem, 3.45vw, 3.45rem);
    }
}

/* =================================================================
Getting Started — completion and optional resource panels
================================================================= */

.getting-started-page .closing-section {
    display: grid;
    gap: 28px;
}

.getting-started-page .promo-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 3px 13px #101a2c06;
}

.getting-started-page .promo-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #e2f6ff;
    color: #0086c4;
}

.getting-started-page .promo-icon svg {
    width: 28px;
    height: 28px;
}

.getting-started-page .promo-panel h2 {
    margin: 0 0 6px;
    font-size: 1.48rem;
    font-weight: 400;
}

.getting-started-page .promo-panel p {
    margin: 0 0 12px;
    color: var(--muted);
}

.getting-started-page .promo-panel strong {
    font-weight: 500;
}

.getting-started-page .promo-link {
    color: var(--blue);
    font-size: 1.1rem;
    font-weight: 400;
    transition: color .3s ease;
}

.getting-started-page .promo-link:hover {
    color: var(--ink);
}

@media (min-width: 640px) {
    .getting-started-page .promo-panel {
        flex-direction: row;
        align-items: flex-start;
        padding: 30px 34px;
    }
}

/* ================================================================
Logo preview — header only
SVG artwork preserves the approved letter shapes and alignment.
Change width to test logo scale without modifying other layout.
================================================================ */
.brand-logo {
    display: block;
    width: 245px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 380px) {
    .brand-logo {
        width: 185px;
    }
}

/* =================================================================
Full-screen mobile navigation — tablet and phone (under 920px)
The logo and toggle stay visible in the fixed/sticky header.
================================================================= */
@media (max-width: 919px) {
    /* Keep the page stationary while the full-screen menu is visible. */
    body.menu-open {
        overflow: hidden;
    }

    .site-header .primary-nav {
        display: flex; /* Always present, so open/close can animate. */
        position: fixed;
        inset: 76px 0 0;
        width: 100%;
        height: calc(100vh - 76px);
        height: calc(100dvh - 76px);
        padding: 34px 26px 48px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: clamp(12px, 3vh, 26px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        border: 0;
        box-shadow: 0 24px 40px #101a2c12;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-14px);
        transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
    }

    .site-header .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-header .primary-nav a {
        display: block;
        width: min(100%, 420px);
        padding: 8px 12px;
        font-size: clamp(1.55rem, 4.4vw, 2.2rem);
        font-weight: 400;
        line-height: 1.35;
        text-align: center;
        letter-spacing: -.02em;
        opacity: 0;
        transform: translateY(10px);
        transition: color .25s ease, opacity .3s ease, transform .3s ease;
    }

    .site-header .primary-nav.is-open a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(var(--link-index, 0) * 45ms);
    }

    .site-header .primary-nav a:hover,
    .site-header .primary-nav a:focus-visible,
    .site-header .primary-nav a[aria-current="page"] {
        color: var(--blue);
    }

    .site-header .menu-toggle {
        position: relative;
        z-index: 102;
        transition: border-color .25s ease, background-color .25s ease;
    }

    .site-header .menu-toggle span {
        transition: transform .3s ease, opacity .2s ease;
        transform-origin: center;
    }

    .site-header .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .site-header .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .hero-home {
        background: #fff;
    }

}

/* A small phone should still display all menu links without clipping. */
@media (max-width: 919px) and (max-height: 520px) {
    .site-header .primary-nav {
        justify-content: flex-start;
        gap: 6px;
        padding-block: 18px 30px;
    }
    .site-header .primary-nav a {
        font-size: 1.3rem;
    }
}

/* Honor reduced-motion preferences for menu and toggle animations. */
@media (prefers-reduced-motion: reduce) {
    .site-header .primary-nav,
    .site-header .primary-nav a,
    .site-header .menu-toggle span {
        transition: none !important;
    }
}

/* =================================================================
Homepage hero — stacked until desktop hero has room (640px–1023px)
Stack the copy and display a taller photo to reveal more of the desk scene.
Phone (<640px) and larger desktop (>=1024px) layouts are unchanged.
================================================================= */
@media (min-width: 640px) and (max-width: 1023px) {
    .hero-home {
        background: #fff;
    }

    .hero-home .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-home .hero-copy {
        padding: 46px 0 32px;
    }

    .hero-home .hero-art {
        width: 100%;
        height: clamp(320px, 50vw, 440px);
        min-height: 0;
        mask-image: none;
        -webkit-mask-image: none;
        background-position: center 48%;
        border-radius: 12px 12px 0 0;
    }
}

/* =================================================================
Branded 403 / 404 pages
Flex layout keeps the footer at the bottom of short viewports.
These rules are scoped to error pages only.
================================================================= */
body.error-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.error-page > main {
    flex: 1 0 auto;
    display: grid;
    place-items: center;
    padding: clamp(44px, 7vh, 85px) 0;
}

.error-page .error-content {
    width: min(100% - 38px, 740px);
    margin-inline: auto;
    text-align: center;
}

.error-page .error-number {
    display: block;
    margin: 0 0 12px;
    color: var(--blue);
    font-size: clamp(6rem, 12vw, 8.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.045em;
}

.error-page .error-content .eyebrow {
    text-align: center;
    margin-bottom: 12px !important;
}

.error-page .error-content h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 3.15rem);
    font-weight: 400;
    line-height: 1.2;
}

.error-page .error-description {
    max-width: 540px;
    margin: 0 auto 26px;
    color: var(--muted);
}

.error-page .error-content .button-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 4px;
    color: #fff;
    background: #20252a;
    transition: background-color .3s ease, color .3s ease;
}

.error-page .error-content .button-dark:hover {
    color: #fff;
    background: var(--blue);
}

/* Let the page grow naturally if the viewport is unusually short. */
@media (max-height: 520px) {
    body.error-page > main {
        padding-block: 22px;
    }
}

/* =================================================================
Homepage — subtle centered dividers between major content sections
================================================================= */
.home-essentials {
    padding-bottom: 0;
}

.home-roadmap {
    padding-top: 54px;
    padding-bottom: 54px;
}

.home-roadmap::before,
.home-roadmap + .spotlight-section::before {
    content: "";
    display: block;
    width: min(60vw, 660px);
    max-width: calc(100vw - 38px);
    height: 1px;
    margin-inline: auto;
    background-color: var(--line);
}

.home-roadmap::before {
    margin-bottom: 54px;
}

.home-roadmap + .spotlight-section::before {
    margin-bottom: 54px;
}

/* =================================================================
Site Building submenu — scoped to the shared main navigation
Main label remains a normal link; the chevron toggles the submenu.
================================================================= */
.primary-nav .nav-dropdown {
    position: relative;
    flex: 0 0 auto;
}
.primary-nav .nav-dropdown-heading {
    display: flex;
    align-items: center;
    gap: 3px;
}
.primary-nav .submenu-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 24px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    transition: color .3s ease;
}
.primary-nav .submenu-toggle svg {
    width: 15px;
    height: 15px;
    transition: transform .3s ease;
}
.primary-nav .nav-dropdown.is-open .submenu-toggle svg {
    transform: rotate(180deg);
}
.primary-nav .submenu-toggle:hover,
.primary-nav .nav-dropdown.is-open .submenu-toggle {
    color: var(--blue);
}
.primary-nav .submenu-toggle:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 3px;
}
.primary-nav .nav-submenu {
    display: none;
}
.primary-nav .nav-dropdown.is-open .nav-submenu {
    display: flex;
}

@media (min-width: 920px) {
    .primary-nav .nav-dropdown-heading > a {
        position: relative;
    }
    .primary-nav .nav-dropdown-heading > a[aria-current="page"]::after {
        content: "";
        position: absolute;
        bottom: 5px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--blue);
    }
    .primary-nav .nav-submenu {
        position: absolute;
        /* Slight overlap removes the hover seam beneath the heading. */
        top: calc(100% - 2px);
        left: -18px;
        min-width: 216px;
        padding: 9px;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 12px 30px #101a2c18;
        z-index: 110;
    }
    .primary-nav .nav-submenu a {
        display: block;
        padding: 10px 12px;
        border-radius: 5px;
        font-size: .95rem;
        font-weight: 400;
        white-space: nowrap;
    }
    .primary-nav .nav-submenu a:hover,
    .primary-nav .nav-submenu a:focus-visible,
    .primary-nav .nav-submenu a[aria-current="page"] {
        color: var(--blue);
        background: #f4fbff;
    }
    .primary-nav .nav-submenu a[aria-current="page"]::after {
        content: none;
    }
}

@media (max-width: 919px) {
    .site-header .primary-nav .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(100%, 420px);
        flex: 0 0 auto;
    }
    .site-header .primary-nav .nav-dropdown-heading {
        width: 100%;
        justify-content: center;
    }
    .site-header .primary-nav .nav-dropdown-heading > a {
        width: auto;
        padding-inline: 7px;
    }
    .site-header .primary-nav .submenu-toggle {
        width: 38px;
        height: 40px;
    }
    .site-header .primary-nav .submenu-toggle svg {
        width: 20px;
        height: 20px;
    }
    .site-header .primary-nav .nav-submenu {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 5px 0 8px;
        gap: 2px;
        border-top: 1px solid var(--line);
        margin-top: 5px;
    }
    .site-header .primary-nav .nav-submenu a {
        width: 100%;
        padding: 8px 12px;
        text-align: center;
        font-size: clamp(1.05rem, 3.4vw, 1.3rem);
        line-height: 1.35;
        opacity: 1;
        transform: none;
        transition: color .25s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .primary-nav .submenu-toggle,
    .primary-nav .submenu-toggle svg {
        transition: none !important;
    }
}
