:root {
    color-scheme: light;

    --page-background: #f8f7fa;
    --surface-background: #ffffff;
    --surface-muted: #f3eff7;

    --border-color: #e5dfea;
    --border-color-strong: #d7cce0;

    --primary-color: #9400e8;
    --primary-dark: #6f00ad;
    --primary-soft: #f2e5fa;

    --text-color: #17121b;
    --muted-text-color: #665f6d;
    --subtle-text-color: #918a97;

    --content-width: 1120px;

    --small-radius: 8px;
    --medium-radius: 10px;
    --large-radius: 14px;

    --small-shadow: 0 8px 22px rgba(36, 19, 47, 0.06);
    --large-shadow: 0 22px 55px rgba(36, 19, 47, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text-color);

    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(148, 0, 232, 0.09),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #fbfaff,
            var(--page-background)
        );

    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
input,
a {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

button {
    appearance: none;
}

.visually-hidden {
    position: absolute;

    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;

    border: 0;

    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);

    overflow: hidden;
    white-space: nowrap;
}

.page {
    position: relative;

    min-height: 100vh;

    overflow: hidden;
}

.background-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(75, 54, 87, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(75, 54, 87, 0.03) 1px,
            transparent 1px
        );

    background-size: 54px 54px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.78),
            transparent 88%
        );

    pointer-events: none;
}

.page-header {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: 26px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: var(--medium-radius);

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #b230f2,
            var(--primary-dark)
        );

    box-shadow:
        0 10px 25px rgba(148, 0, 232, 0.18);
}

.brand-icon svg {
    width: 23px;
    height: 23px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    font-size: 16px;
    letter-spacing: -0.02em;
}

.brand-copy span {
    color: var(--muted-text-color);

    font-size: 12px;
    font-weight: 600;
}

.header-button {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 17px;

    border: 1px solid var(--border-color);
    border-radius: var(--medium-radius);

    background: rgba(255, 255, 255, 0.84);

    font-size: 14px;
    font-weight: 750;
    text-decoration: none;

    box-shadow: var(--small-shadow);

    transition:
        border-color 160ms ease,
        transform 160ms ease;
}

.header-button:hover {
    transform: translateY(-2px);

    border-color: rgba(148, 0, 232, 0.32);
}

main {
    position: relative;
    z-index: 1;

    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
}

.hero-section {
    min-height: calc(100vh - 150px);
    padding: 60px 0 70px;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.8fr);
    align-items: center;
    gap: 78px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 25px;
    padding: 9px 13px;

    border: 1px solid rgba(148, 0, 232, 0.16);
    border-radius: var(--medium-radius);

    color: #701694;
    background: rgba(255, 255, 255, 0.8);

    font-size: 13px;
    font-weight: 750;

    box-shadow: var(--small-shadow);
}

.eyebrow::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary-color);
}

.hero-title {
    max-width: 720px;
    margin: 0;

    font-size: clamp(3.2rem, 6.5vw, 6.4rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.hero-title span {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #6e168f,
            #a100ef
        );

    background-clip: text;
    -webkit-background-clip: text;
}

.hero-text {
    max-width: 650px;
    margin: 30px 0 0;

    color: var(--muted-text-color);

    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.75;
}

.hero-text strong {
    color: var(--text-color);
    font-weight: 800;
    white-space: nowrap;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 27px;
}

.hero-points span {
    position: relative;

    padding: 9px 12px 9px 31px;

    border: 1px solid var(--border-color);
    border-radius: var(--medium-radius);

    color: #4f4755;
    background: rgba(255, 255, 255, 0.8);

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 5px 15px rgba(36, 19, 47, 0.035);
}

.hero-points span::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 13px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary-color);

    transform: translateY(-50%);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 34px;
}

.button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 21px;

    border-radius: var(--medium-radius);

    font-size: 14px;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
}

.button svg {
    width: 17px;
    height: 17px;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #b52af5,
            #7b00c5
        );

    box-shadow:
        0 14px 30px rgba(148, 0, 232, 0.2);
}

.button-primary:hover {
    box-shadow:
        0 18px 35px rgba(148, 0, 232, 0.27);
}

.button-secondary {
    border: 1px solid var(--border-color);

    background: rgba(255, 255, 255, 0.82);

    box-shadow: var(--small-shadow);
}

.button-secondary:hover {
    border-color: rgba(148, 0, 232, 0.28);
}

.price-note {
    margin: 14px 0 0;

    color: var(--subtle-text-color);

    font-size: 12px;
    line-height: 1.5;
}

.domain-preview-card {
    padding: 26px;

    border: 1px solid var(--border-color);
    border-radius: var(--large-radius);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(246, 240, 250, 0.9)
        );

    box-shadow: var(--large-shadow);
}

.preview-toolbar {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 18px;
}

.preview-toolbar > span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #d5c9dc;
}

.preview-toolbar div {
    flex: 1;

    margin-left: 7px;
    padding: 10px 13px;

    border: 1px solid var(--border-color);
    border-radius: var(--small-radius);

    color: var(--muted-text-color);
    background: rgba(255, 255, 255, 0.72);

    font-size: 12px;
    font-weight: 650;
}

.preview-content {
    min-height: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 34px 24px;

    border: 1px solid var(--border-color);
    border-radius: var(--medium-radius);

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(148, 0, 232, 0.065),
            transparent 64%
        ),
        rgba(255, 255, 255, 0.7);
}

.preview-icon {
    width: 78px;
    height: 78px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border: 1px solid rgba(148, 0, 232, 0.16);
    border-radius: 14px;

    color: var(--primary-dark);
    background: var(--primary-soft);
}

.preview-icon svg {
    width: 42px;
    height: 42px;
}

.preview-label {
    margin: 0 0 8px;

    color: var(--muted-text-color);

    font-size: 13px;
    font-weight: 700;
}

.preview-domain {
    margin: 0;

    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.preview-text {
    max-width: 320px;
    margin: 17px auto 0;

    color: var(--muted-text-color);

    font-size: 14px;
    line-height: 1.65;
}

.section {
    padding: 95px 0 0;
}

.section-heading {
    max-width: 740px;
    margin: 0 auto 38px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 11px;

    color: var(--primary-color);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2,
.domain-endings-copy h2,
.domain-search-copy h2 {
    max-width: 520px;
    margin: 0 auto;

    font-size: clamp(2rem, 4vw, 3.10rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 900;

    text-wrap: balance;
}

.section-heading p,
.domain-endings-copy p,
.domain-search-copy p {
    margin: 17px 0 0;

    color: var(--muted-text-color);

    font-size: 16px;
    line-height: 1.72;
}

.information-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.information-card {
    padding: 27px;

    border: 1px solid var(--border-color);
    border-radius: var(--medium-radius);

    background: rgba(255, 255, 255, 0.82);

    box-shadow: var(--small-shadow);
}

.information-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    margin-bottom: 19px;

    border-radius: var(--medium-radius);

    color: var(--primary-color);
    background: var(--primary-soft);
}

.information-icon svg {
    width: 21px;
    height: 21px;
}

.information-card h3 {
    margin: 0 0 9px;

    font-size: 18px;
    letter-spacing: -0.02em;
}

.information-card p {
    margin: 0;

    color: var(--muted-text-color);

    font-size: 14px;
    line-height: 1.68;
}

.domain-endings-section {
    margin-top: 90px;
    padding: 42px;

    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 60px;

    border: 1px solid var(--border-color);
    border-radius: var(--large-radius);

    background: rgba(255, 255, 255, 0.78);

    box-shadow: var(--small-shadow);
}

.domain-ending-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
}

.domain-ending-list span {
    min-width: 86px;

    padding: 14px 15px;

    border: 1px solid var(--border-color);
    border-radius: var(--medium-radius);

    background: #ffffff;

    text-align: center;
    font-size: 16px;
    font-weight: 800;
}

.domain-ending-list .domain-ending-more {
    color: #721796;
    background: var(--primary-soft);
}

.domain-search-section {
    margin-top: 75px;
    padding: 48px;

    border: 1px solid rgba(148, 0, 232, 0.18);
    border-radius: var(--large-radius);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.92),
            rgba(244, 235, 250, 0.9)
        );

    box-shadow: var(--large-shadow);

    text-align: center;
}

.domain-search-copy {
    max-width: 720px;
    margin: 0 auto;
}

.domain-search-form {
    max-width: 720px;
    margin: 29px auto 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.domain-search-field {
    position: relative;
}

.domain-search-field svg {
    position: absolute;
    top: 50%;
    left: 17px;

    width: 18px;
    height: 18px;

    color: var(--subtle-text-color);

    transform: translateY(-50%);

    pointer-events: none;
}

.domain-search-field input {
    width: 100%;
    height: 56px;

    padding: 0 18px 0 47px;

    border: 1px solid var(--border-color-strong);
    border-radius: var(--medium-radius);
    outline: none;

    color: var(--text-color);
    background: #ffffff;

    font-size: 15px;
    font-weight: 650;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.domain-search-field input::placeholder {
    color: #9a929f;
}

.domain-search-field input:focus {
    border-color: rgba(148, 0, 232, 0.48);

    box-shadow:
        0 0 0 4px rgba(148, 0, 232, 0.08);
}

.domain-search-button {
    position: relative;

    min-width: 145px;
    height: 56px;

    padding: 0 22px;

    border: 0;
    border-radius: var(--medium-radius);

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #b52af5,
            #7b00c5
        );

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 12px 27px rgba(148, 0, 232, 0.2);

    cursor: pointer;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.domain-search-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 32px rgba(148, 0, 232, 0.26);
}

.domain-search-button:disabled {
    cursor: wait;
}

.domain-search-button-spinner {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 21px;
    height: 21px;

    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;

    opacity: 0;

    transform: translate(-50%, -50%);

    animation: spinner-rotation 700ms linear infinite;
}

.domain-search-button.is-loading .domain-search-button-text {
    opacity: 0;
}

.domain-search-button.is-loading .domain-search-button-spinner {
    opacity: 1;
}

.regional-section {
    margin-top: 36px;
    padding: 27px 30px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;

    border: 1px solid var(--border-color);
    border-radius: var(--large-radius);

    background: rgba(255, 255, 255, 0.74);

    box-shadow: var(--small-shadow);
}

.regional-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: var(--medium-radius);

    color: var(--primary-color);
    background: var(--primary-soft);
}

.regional-icon svg {
    width: 25px;
    height: 25px;
}

.regional-section h2 {
    margin: 0;

    font-size: 21px;
    letter-spacing: -0.03em;
}

.regional-section p {
    margin: 7px 0 0;

    color: var(--muted-text-color);

    line-height: 1.65;
}

.faq-section {
    max-width: 830px;
    margin: 75px auto 0;
}

.faq-list {
    display: grid;
    gap: 11px;

    margin-top: 34px;
}

.faq-list details {
    border: 1px solid var(--border-color);
    border-radius: var(--medium-radius);

    background: rgba(255, 255, 255, 0.82);

    box-shadow:
        0 5px 15px rgba(36, 19, 47, 0.035);

    overflow: hidden;
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 19px 21px;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary svg {
    width: 17px;
    height: 17px;

    color: var(--primary-color);

    transition: transform 160ms ease;
}

.faq-list details[open] summary svg {
    transform: rotate(180deg);
}

.faq-list details p {
    margin: 0;
    padding: 0 21px 20px;

    color: var(--muted-text-color);

    font-size: 14px;
    line-height: 1.7;
}

.page-footer {
    position: relative;
    z-index: 1;

    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: 45px 0 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: var(--subtle-text-color);

    font-size: 13px;
}

.page-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.page-footer a {
    color: #5f5665;

    font-weight: 700;
    text-decoration: none;
}

.page-footer a:hover {
    color: var(--primary-dark);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: grid;
    place-items: center;

    padding: 20px;

    background: rgba(248, 247, 250, 0.78);
    backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 160ms ease,
        visibility 160ms ease;
}

.loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.loading-box {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 18px 21px;

    border: 1px solid var(--border-color);
    border-radius: var(--medium-radius);

    background: #ffffff;

    box-shadow: var(--large-shadow);

    font-size: 14px;
    font-weight: 750;
}

.loading-spinner {
    width: 22px;
    height: 22px;

    border: 3px solid rgba(148, 0, 232, 0.15);
    border-top-color: var(--primary-color);
    border-radius: 50%;

    animation: spinner-rotation 700ms linear infinite;
}

@keyframes spinner-rotation {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 940px) {
    .hero-section {
        min-height: auto;

        grid-template-columns: 1fr;
        gap: 52px;

        text-align: center;
    }

    .hero-title,
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-points,
    .hero-actions {
        justify-content: center;
    }

    .domain-preview-card {
        width: min(100%, 610px);
        margin: 0 auto;
    }

    .information-grid {
        grid-template-columns: 1fr;
    }

    .domain-endings-section {
        grid-template-columns: 1fr;

        text-align: center;
    }
}

@media (max-width: 640px) {
    .page-header,
    main,
    .page-footer {
        width: min(calc(100% - 28px), var(--content-width));
    }

    .page-header {
        padding-top: 18px;
    }

    .brand-copy span {
        display: none;
    }

    .header-button {
        padding: 0 13px;

        font-size: 13px;
    }

    .hero-section {
        padding-top: 35px;
    }

    .hero-title {
        font-size: clamp(3rem, 17vw, 4.6rem);
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-text strong {
        white-space: normal;
    }

    .hero-points {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .domain-preview-card {
        padding: 17px;

        border-radius: 12px;
    }

    .preview-content {
        min-height: 320px;
        padding: 30px 17px;
    }

    .preview-domain {
        font-size: 29px;
    }

    .section {
        padding-top: 70px;
    }

    .domain-endings-section {
        margin-top: 70px;
        padding: 30px 20px;
    }

    .domain-ending-list span {
        min-width: calc(50% - 6px);
    }

    .domain-search-section {
        margin-top: 60px;
        padding: 35px 20px;
    }

    .domain-search-form {
        grid-template-columns: 1fr;
    }

    .domain-search-button {
        width: 100%;
    }

    .regional-section {
        grid-template-columns: 1fr;

        padding: 25px 20px;

        text-align: center;
    }

    .regional-icon {
        margin: 0 auto;
    }

    .faq-section {
        margin-top: 65px;
    }

    .page-footer {
        flex-direction: column;

        text-align: center;
    }

    .page-footer nav {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}