/* All Pages and Layout */

:root {
    --paper: #fff9f5;
    --ink: #081438;
    --blue: #1455ff;
    --mint: #c9f5e6;
    --muted: #64708a;
    --line: #cbd2e2;
    --hero-cat-max-width: 360px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI",Arial,sans-serif;
    overflow-y: scroll;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font: inherit;
}

button {
    cursor: pointer;
}

a:focus-visible, button:focus-visible, input:focus-visible, [tabindex="-1"]:focus-visible {
    outline: 2.16px solid var(--blue);
    outline-offset: 3.6px;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(993.6px,calc(72% - 7.488vw));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    min-height: 54.72px;
    gap: 21.6px;
    position: relative;
    z-index: 10;
}

.wordmark {
    font-size: clamp(1.188rem,1.836vw,1.8rem);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: 1;
    white-space: nowrap;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: clamp(18.72px,2.52vw,41.76px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 39.6px;
}

.primary-navigation a {
    position: relative;
    padding-block: 11.52px;
    font-size: 0.9rem;
    font-weight: 600;
}

.primary-navigation a::after {
    content: "";
    position: absolute;
    height: 2.16px;
    border-radius: 6.48px;
    inset: auto 0 4.32px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform .18s ease;
}

.primary-navigation a:hover::after, .primary-navigation a.is-active::after {
    transform: scaleX(1);
}

.sign-in-link {
    background: var(--blue);
    color: #fff;
    border: 1.08px solid var(--blue);
    border-radius: 7.92px;
    padding: 5.76px 15.12px 7.2px;
    font-size: 0.864rem;
    font-weight: 650;
    white-space: nowrap;
    transition: background .18s,color .18s;
}

.sign-in-link:hover {
    color: #ff0000;
}

.menu-toggle {
    display: none;
}

.hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 41.76px;
    padding-top: 35.28px;
    padding-bottom: 51.84px;
    min-height: 511.2px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
    align-self: start;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.016rem,3.348vw,3.24rem);
    line-height: 1.04;
    letter-spacing: -.052em;
    font-weight: 750;
    margin-bottom: 17.28px;
    text-wrap: balance;
}

.hero-introduction {
    font-size: clamp(0.828rem,1.2384vw,1.188rem);
    line-height: 1.35;
    letter-spacing: -.025em;
    margin-bottom: 28.08px;
    max-width: 496.8px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 21.6px;
}

.feature {
    display: grid;
    grid-template-columns: 54.72px 1fr;
    column-gap: 18.72px;
    align-items: start;
}

.feature-icon {
    background: var(--mint);
    border-radius: 12.96px;
    width: 54.72px;
    height: 54.72px;
    display: grid;
    place-items: center;
}

.icon {
    width: 23.04px;
    height: 23.04px;
    flex: 0 0 auto;
}

.feature-icon .icon {
    width: 34.56px;
    height: 34.56px;
}

.feature h2 {
    font-size: 1.332rem;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.12;
    margin-bottom: 5.04px;
}

.feature p {
    font-size: 0.9rem;
    line-height: 1.36;
    letter-spacing: -.024em;
    margin-bottom: 0;
    max-width: 388.8px;
}

.hero-art {
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cat, .login-cat {
    display: block;
    width: 100%;
    max-width: var(--hero-cat-max-width);
    height: auto;
    aspect-ratio: 5 / 7;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.statement-banner {
    background: var(--ink);
    color: white;
    text-align: center;
    padding: 21.6px 0 25.92px;
    min-height: 109.44px;
}

.statement-banner h2 {
    font-size: clamp(1.296rem,2.052vw,1.908rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.035em;
    margin-bottom: 7.2px;
}

.statement-banner p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.copyright-footer {
    padding: 22px 20px;
    background: var(--paper);
    color: var(--ink);
    text-align: center;
    font-size: .9rem;
    line-height: 1.5;
}

.copyright-footer p {
    margin: 0;
}

.benefit-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: stretch;
    padding-block: 17.28px 24.48px;
}

.benefit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 8px 16px;
    color: var(--ink);
    font-size: clamp(.8rem, 1.125vw, 1.08rem);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.35;
}

.benefit + .benefit {
    border-left: 1px solid var(--line);
}

.benefit .icon {
    width: 28.8px;
    height: 28.8px;
}

.meezer-color-1 {
    background-color: #C7352C;
}

.meezer-color-2 {
    background-color: #326BA8;
}

.meezer-color-3 {
    background-color: #4F783A;
}

.meezer-color-4 {
    background-color: #79529A;
}

.meezer-color-5 {
    background-color: #D4AB24;
}

/* Home Page */

.hero--home {
    padding-bottom: 70.56px;
}

/* Hosting Page */

.hero--hosting {
    min-height: 572.4px;
}

/* Websites Page */

.hero--websites {
    padding-bottom: 61.2px;
}

.hero--websites h1 {
    font-size: clamp(1.872rem,3.024vw,2.88rem);
}

.hero--websites .hero-introduction {
    margin-bottom: 25.2px;
}

.hero--websites .feature-list {
    gap: 19.44px;
}

/* About Page */

.hero--about {
    min-height: 572.4px;
}

.hero--about h1 {
    max-width: 446.4px;
}

/* Sign-In / Forgot-Password */

.login-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "welcome form"
        "cat form";
    grid-template-rows: auto 1fr;
    column-gap: 41.76px;
    padding-block: 44.64px 50.4px;
}

.login-welcome {
    grid-area: welcome;
}

.login-welcome h1 {
    margin-top: 21.6px;
}

.login-welcome .hero-introduction {
    max-width: 388.8px;
    font-size: 1.44rem;
    margin-bottom: 0;
}

.login-cat {
    grid-area: cat;
    align-self: start;
    margin: 14.4px auto 0;
}

.login-card {
    grid-area: form;
    border: 0.72px solid #c8d0f0;
    border-radius: 15.84px;
    padding: 26.64px 33.12px 30.24px;
    box-shadow: 0 7.2px 18px #08143804;
}

.login-card h2 {
    font-size: 2.16rem;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -.04em;
    margin-bottom: 10.8px;
}

.login-introduction {
    font-size: 1.152rem;
    line-height: 1.35;
    letter-spacing: -.025em;
    margin-bottom: 24.48px;
}

.account-help {
    margin-top: 25.92px;
    padding-top: 18px;
    border-top: 0.72px solid #c8d0f0;
}

.account-help h3 {
    font-size: 1.44rem;
    line-height: 1.2;
    letter-spacing: -.03em;
    margin-bottom: 6.48px;
}

.account-help p {
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

.account-help .help-details {
    margin-top: 10.08px;
    color: var(--muted);
    font-size: 0.72rem;
}

.account-help .return-to-sign-in {
    margin-top: 16px;
}

/* Forms */

.form-field {
    margin-bottom: 18.72px;
}

.form-field > label {
    font-size: 0.972rem;
    font-weight: 700;
    display: block;
    margin-bottom: 7.2px;
    letter-spacing: -.025em;
}

.form-field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 44.64px;
    background: #ffffff45;
    border: 0.72px solid #8b9bd4;
    border-radius: 8.64px;
    color: var(--ink);
    padding: 8.64px 15.84px;
    font-size: 0.972rem;
}

.form-field input::placeholder {
    color: var(--muted);
    opacity: 1;
}

.form-field input.input-validation-error {
    border-color: #a92b3d;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 46.8px;
}

.password-toggle {
    position: absolute;
    right: 5.04px;
    top: 5.76px;
    width: 33.12px;
    height: 33.12px;
    border: 0;
    background: transparent;
    color: var(--ink);
    border-radius: 5.04px;
    display: grid;
    place-items: center;
}

.password-toggle img {
    width: 20.16px;
    height: 20.16px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12.96px;
    margin: 20.88px 0 23.04px;
    font-size: 0.864rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10.08px;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ink);
}

.forgot-link {
    color: var(--blue);
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    border: 0;
    border-radius: 8.64px;
    min-height: 46.8px;
    background: var(--blue);
    color: white;
    font-size: 1.152rem;
    font-weight: 650;
}

.submit-button:hover {
    color: #ff0000;
}

.field-error {
    display: block;
    color: #a02135;
    font-size: 0.684rem;
    line-height: 1.4;
    margin-top: 5.04px;
}

.field-error:empty {
    display: none;
}

.validation-summary {
    color: #8b1f30;
    background: #fff0f1;
    border-radius: 5.76px;
    padding: 8.64px 11.52px;
    margin-bottom: 15.84px;
    line-height: 1.5;
}

.validation-summary-valid {
    display: none;
}

.validation-summary ul {
    margin: 0;
    padding-left: 12.96px;
}

/* Responsive */

@media (min-width: 1650px) {
    .hero {
        padding-top: 46.8px;
    }
}

@media (max-width: 1100px) {
    .site-header {
        gap: 15.84px;
    }

    .primary-navigation {
        padding-left: 0;
        gap: 18px;
    }

    .primary-navigation a {
        font-size: 0.756rem;
    }

    .sign-in-link {
        font-size: 0.756rem;
        padding: 5.76px 11.52px;
    }

    .hero {
        gap: 18px;
        padding-top: 34.56px;
        min-height: auto;
        padding-bottom: 46.8px;
    }

    .feature {
        grid-template-columns: 43.2px 1fr;
        gap: 12.96px;
    }

    .feature-icon {
        width: 43.2px;
        height: 43.2px;
        border-radius: 10.08px;
    }

    .feature-icon .icon {
        width: 27.36px;
        height: 27.36px;
    }

    .feature h2 {
        font-size: 1.08rem;
    }

    .feature p {
        font-size: 0.756rem;
    }

    .feature-list {
        gap: 18px;
    }

    .login-layout {
        column-gap: 18px;
        padding-top: 32.4px;
    }

    .login-card {
        padding: 21.6px;
    }

    .login-card h2 {
        font-size: 1.8rem;
    }

    .login-introduction {
        font-size: 0.936rem;
    }

    .login-welcome .hero-introduction {
        font-size: 1.08rem;
    }

    .form-options {
        font-size: 0.72rem;
    }
}

@media (max-width: 760px) {
    :root {
        --hero-cat-max-width: 320px;
    }

    .container {
        width: calc(72% - 28.8px);
    }

    .site-header {
        min-height: 59.04px;
        gap: 10.08px;
        flex-wrap: wrap;
    }

    .wordmark {
        font-size: 1.224rem;
        margin-right: auto;
    }

    .sign-in-link {
        padding: 5.04px 8.64px;
        border-radius: 6.48px;
        font-size: 0.684rem;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 3.6px;
        background: transparent;
        border: 0;
        color: var(--ink);
        padding: 5.76px 0;
        font-size: 0.684rem;
        font-weight: 600;
    }

    .menu-toggle img {
        width: 15.12px;
        height: 15.12px;
    }

    .primary-navigation {
        display: none;
        order: 4;
        width: 100%;
        padding: 7.2px 0 12.96px;
        gap: 14.4px;
        border-top: 0.72px solid var(--line);
    }

    .primary-navigation.is-open {
        display: flex;
        justify-content: space-between;
    }

    .primary-navigation a {
        font-size: 0.72rem;
        padding-block: 7.2px;
    }

    .primary-navigation a::after {
        bottom: 0.72px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 14.4px;
        padding-top: 21.6px;
        padding-bottom: 32.4px;
    }

    h1, .hero--websites h1 {
        font-size: clamp(1.8rem,7.056vw,2.88rem);
        max-width: 468px;
        letter-spacing: -.045em;
        line-height: 1.08;
    }

    #hero-heading, .hero-introduction {
        text-align: center;
        margin-inline: auto;
    }

    .hero-introduction {
        font-size: 0.828rem;
        margin-bottom: 23.76px;
        max-width: 446.4px;
    }

    .feature {
        grid-template-columns: 41.04px 1fr;
        gap: 12.96px;
    }

    .feature-icon {
        width: 41.04px;
        height: 41.04px;
    }

    .feature-icon .icon {
        width: 25.2px;
        height: 25.2px;
    }

    .feature h2 {
        font-size: 1.044rem;
    }

    .feature p {
        font-size: 0.756rem;
        line-height: 1.5;
    }

    .feature-list, .hero--websites .feature-list {
        gap: 19.44px;
    }

    .hero-art {
        max-width: 360px;
        width: 100%;
        margin: 3.6px auto 0;
    }

    .statement-banner {
        padding-block: 21.6px 25.2px;
    }

    .statement-banner h2 {
        font-size: 1.332rem;
    }

    .statement-banner p {
        font-size: 0.756rem;
        line-height: 1.5;
    }

    .login-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "welcome"
            "form"
            "cat";
        grid-template-rows: auto auto auto;
        padding-top: 18px;
        gap: 21.6px;
        padding-bottom: 28.8px;
    }

    .login-welcome h1 {
        margin-top: 0;
        margin-bottom: 12.96px;
    }

    .login-welcome .hero-introduction {
        font-size: 0.864rem;
    }

    .desktop-break {
        display: none;
    }

    .login-cat {
        margin-top: 8.64px;
    }

    .login-card {
        padding: 19.44px 16.56px 21.6px;
        border-radius: 12.24px;
    }

    .login-card h2 {
        font-size: 1.548rem;
    }

    .login-introduction {
        font-size: 0.828rem;
        margin-bottom: 20.16px;
    }

    .form-field > label {
        font-size: 0.828rem;
    }

    .form-field input {
        font-size: 0.792rem;
        height: 41.04px;
        padding-left: 10.8px;
    }

    .form-options {
        gap: 12.96px 8.64px;
        margin-block: 17.28px;
    }

    .submit-button {
        font-size: 0.936rem;
        min-height: 41.04px;
    }

    .account-help h3 {
        font-size: 1.188rem;
    }

    .account-help p {
        font-size: 0.792rem;
    }

    .benefit-strip {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 0;
        padding-block: 0 25.2px;
    }

    .benefit {
        justify-content: center;
        text-align: center;
        padding: 8px 12px;
        gap: 10px;
        font-size: .85rem;
    }

    .benefit + .benefit {
        border-left: 0;
    }

    .benefit:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .benefit:nth-child(even) {
        border-left: 1px solid var(--line);
    }

    .benefit .icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .benefit-strip {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .benefit {
        padding-inline: 0;
    }

    .benefit:nth-child(even) {
        border-left: 0;
    }
}

@media (max-width: 370px) {
    .container {
        width: calc(72% - 20.16px);
    }

    .wordmark {
        font-size: 1.08rem;
    }

    .menu-toggle span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition: none !important;
    }
}
