:root {
    color-scheme: light;
    --ink: #0f172a;
    --muted: #94a3b8;
    --line: #e2e8f0;
    --canvas: #f5f7fa;
    --surface: #ffffff;
    --primary: #2563eb;
    --active: #0f172a;
    --fast: #2563eb;
    --escrow: #22c55e;
    --owner-shield: #39ff14;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--canvas);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--canvas);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

button:hover {
    transform: translateY(-1px);
}

.platform-shell {
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.landing {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6.8vh 4vw;
    transition: width 360ms ease;
}

.sale-card {
    width: min(100%, 1270px);
    min-height: min(810px, 88vh);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 48px 62px 40px;
    border-radius: 18px;
    background: var(--surface);
    box-shadow:
        0 60px 140px rgba(15, 23, 42, 0.08),
        0 10px 30px rgba(15, 23, 42, 0.04);
}

.sale-kicker {
    margin: 0 0 62px;
    text-align: center;
    color: var(--muted);
    font-size: 1.15rem;
}

.landing-logo {
    display: flex;
    justify-content: center;
    margin: -10px 0 24px;
}

.landing-logo img {
    max-width: min(220px, 42vw);
    max-height: 70px;
    object-fit: contain;
}

.checkout-html-source {
    display: none !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 72px;
}

.domain-identity h1 {
    max-width: 720px;
    margin: 0;
    white-space: nowrap;
    overflow-wrap: normal;
    color: var(--ink);
    font-size: clamp(2.3rem, 3.2vw, 3.15rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.domain-identity h1.domain-title-long {
    font-size: clamp(2rem, 2.75vw, 2.8rem);
}

.domain-identity h1.domain-title-longer {
    font-size: clamp(1.68rem, 2.28vw, 2.32rem);
    letter-spacing: -0.043em;
}

.domain-identity h1.domain-title-longest {
    font-size: clamp(1.36rem, 1.86vw, 1.9rem);
    letter-spacing: -0.036em;
}

.panel-open .domain-identity h1.domain-title-long {
    font-size: clamp(1.62rem, 2.25vw, 2.22rem);
}

.panel-open .domain-identity h1.domain-title-longer {
    font-size: clamp(1.3rem, 1.82vw, 1.78rem);
}

.panel-open .domain-identity h1.domain-title-longest {
    font-size: clamp(1.05rem, 1.48vw, 1.42rem);
}

.domain-uppercase,
.domain-lowercase {
    margin: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.domain-uppercase {
    margin-top: 16px;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
}

.domain-lowercase {
    margin-top: 8px;
    font-size: 1.15rem;
}

.owner-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 0.96rem;
    font-weight: 500;
}

.owner-badge svg {
    width: 22px;
    height: 22px;
}

.owner-shield {
    fill: var(--owner-shield);
    stroke: #111827;
    stroke-width: 1.4;
}

.owner-check {
    fill: none;
    stroke: #111827;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.price-card {
    width: 100%;
    padding: 38px 40px;
    border: 1px solid #e6e9ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.04);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.12);
}

.price-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 500;
}

.price-heading strong {
    color: var(--ink);
    font-size: clamp(1.55rem, 2vw, 1.9rem);
    font-weight: 500;
    white-space: nowrap;
}

.cta-stack {
    display: grid;
    gap: 10px;
}

.cta-item {
    display: grid;
    gap: 0;
}

.cta-button {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-radius: 10px;
    padding: 7px 12px;
    background: #e2e8f0;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.cta-primary,
.cta-fast_buy {
    background: var(--primary);
    color: #fff;
}

.cta-escrow-buy-now,
.cta-escrow_buy_now {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    min-height: 34px;
    height: 34px;
    padding: 7px 12px;
    background: var(--escrow);
    color: #fff;
    font-size: 1.02rem;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.22);
}

.cta-escrow-buy-now::before,
.cta-escrow_buy_now::before {
    content: "";
    grid-column: 2;
    justify-self: center;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.42);
}

.cta-escrow-buy-now .cta-main-text,
.cta-escrow_buy_now .cta-main-text {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.cta-escrow-buy-now .cta-inline-provider,
.cta-escrow_buy_now .cta-inline-provider {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding-left: 0;
    font-size: 0.68rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.01em;
    opacity: 0.82;
    white-space: nowrap;
}

.cta-button.is-active {
    background: var(--active);
    color: #fff;
}

.trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(46px, 8vw, 120px);
    margin-top: auto;
    padding-top: 82px;
    font-size: 0.85rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    fill: #0099ff;
    stroke: #000;
    stroke-width: 1.4;
}

.landing-assurance {
    margin-top: 72px;
    text-align: center;
}

.landing-assurance p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.landing-assurance .benefit-line {
    margin-top: 20px;
    color: #1f2937;
}

.form-panel {
    width: 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #f8fafc;
    transition: width 360ms ease, padding 360ms ease;
}

.panel-open .landing {
    width: 64%;
}

.panel-open .form-panel {
    width: 36%;
    padding: 24px;
}

.form-panel-inner {
    position: relative;
    width: min(100%, 414px);
    max-height: 90vh;
    overflow: auto;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
    padding: 24px;
}

.form-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.inquiry-form {
    display: grid;
    gap: 9px;
}

.form-domain {
    margin: 4px 34px 0 0;
    color: #555;
    font-size: 0.86rem;
}

.inquiry-form h2 {
    margin: 2px 0 0;
    font-size: 1.2rem;
}

.form-intro {
    margin: 0 0 4px;
    color: #475569;
    font-size: 0.82rem;
}

.form-field {
    display: grid;
    gap: 5px;
}

.form-field label {
    color: #0f172a;
    font-size: 0.83rem;
    font-weight: 500;
}

.form-field label small {
    color: #64748b;
    font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #000;
    padding: 9px 10px;
    font-size: 0.86rem;
}

.form-field textarea {
    min-height: 70px;
    max-height: 180px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #2563eb;
    outline: 3px solid rgba(37, 99, 235, 0.12);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
    border-color: #dc2626;
}

.field-error {
    min-height: 0;
    margin: 0;
    color: #b91c1c;
    font-size: 0.75rem;
}

.form-errors {
    border-radius: 6px;
    background: #fef2f2;
    color: #991b1b;
    padding: 9px 10px;
    font-size: 0.8rem;
}

.form-submit {
    min-height: 39px;
    margin-top: 4px;
    border: 0;
    border-radius: 6px;
    background: var(--cta-context-bg, #111827);
    color: var(--cta-context-fg, #fff);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 700;
}

.form-submit:disabled {
    background: var(--cta-context-bg, #64748b);
    opacity: 0.86;
    cursor: wait;
}

.form-checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 2px;
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.08);
    color: #14532d;
    padding: 9px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    text-align: center;
}

.form-checkout-progress[hidden] {
    display: none;
}

.form-checkout-notice {
    margin: 0;
    border-radius: 7px;
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
    padding: 8px 10px;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.checkout-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(20, 83, 45, 0.18);
    border-top-color: #16a34a;
    border-radius: 999px;
    animation: checkout-spin 800ms linear infinite;
    flex: 0 0 auto;
}

.inquiry-form.cta-context-fast_buy .form-checkout-progress {
    border-color: rgba(37, 99, 235, 0.24);
    background: rgba(37, 99, 235, 0.08);
    color: #1e3a8a;
}

.inquiry-form.cta-context-fast_buy .checkout-spinner {
    border-color: rgba(30, 58, 138, 0.18);
    border-top-color: #2563eb;
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.form-security,
.form-copyright {
    margin: 0;
    color: #0f172a;
    font-size: 0.75rem;
}

.form-copyright {
    color: #64748b;
    font-size: 0.68rem;
}

.form-copyright a,
.page-copyright a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.prestep-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.thank-you {
    display: grid;
    place-items: center;
    min-height: 300px;
    text-align: center;
}

.thank-you h2 {
    margin: 0 0 10px;
}

.thank-you p {
    max-width: 320px;
    margin: 0;
    color: #475569;
}

.checkout-continue {
    width: min(100%, 260px);
    min-height: 40px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: var(--cta-context-bg, var(--fast));
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.22);
}

.submission-toast {
    position: fixed;
    z-index: 1200;
    top: calc(env(safe-area-inset-top, 0px) + 18px);
    left: 50%;
    width: min(calc(100% - 32px), 390px);
    padding: 13px 18px;
    border: 1px solid #86efac;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translate(-50%, -12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.submission-toast[hidden] {
    display: none;
}

.submission-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.prestep-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
}

.prestep-modal[hidden] {
    display: none;
}

.prestep-card {
    width: min(100%, 354px);
    border-radius: 12px;
    background: #fff;
    padding: 26px 22px 20px;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.prestep-card h2 {
    margin: 0 0 16px;
    font-size: 1.1rem;
}

.prestep-domain,
.prestep-price,
.prestep-message {
    margin: 8px 0;
}

.prestep-domain {
    font-size: 0.9rem;
}

.prestep-price {
    font-weight: 600;
}

.prestep-message,
.prestep-bullets {
    color: #5f6672;
    font-size: 0.84rem;
    line-height: 1.45;
}

.prestep-bullets {
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.prestep-bullets li::before {
    content: "✓";
    margin-right: 6px;
    color: #16a34a;
    font-weight: 700;
}

.prestep-email-wrap {
    display: grid;
    gap: 6px;
    margin: 12px 0 14px;
    text-align: left;
}

.prestep-email-wrap[hidden] {
    display: none;
}

.prestep-email-wrap label {
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 600;
}

.prestep-email-wrap input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 11px;
    color: #0f172a;
    background: #fff;
    font-size: 0.86rem;
}

.prestep-email-help,
.prestep-email-error,
.prestep-gate-note {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
}

.prestep-email-help,
.prestep-gate-note {
    color: #64748b;
    text-align: center;
}

.prestep-email-error {
    color: #b91c1c;
}

.prestep-continue,
.prestep-cancel {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.prestep-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--cta-context-bg, #2563eb);
    color: var(--cta-context-fg, #fff);
}

.prestep-continue.is-busy::before {
    content: "";
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.36);
    border-top-color: #fff;
    border-radius: 999px;
    animation: checkout-spin 800ms linear infinite;
}

.prestep-continue.is-busy,
.prestep-continue:disabled {
    opacity: 0.82;
    cursor: wait;
}

.prestep-cancel {
    margin-top: 8px;
    background: #eef0f3;
    color: #111827;
}

.page-copyright {
    position: fixed;
    left: 12px;
    bottom: 8px;
    margin: 0;
    color: #9ca3af;
    font-size: 0.62rem;
    font-style: italic;
    pointer-events: auto;
}

.mobile-form-slot {
    display: none;
}

.status-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.status-card {
    width: min(100%, 680px);
    border-radius: 18px;
    background: #fff;
    padding: 56px 34px;
    text-align: center;
    box-shadow: 0 30px 100px rgba(15, 23, 42, 0.1);
}

@media (max-width: 1100px) {
    .sale-card {
        padding-inline: 42px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 44px;
    }

    .price-card {
        padding-inline: 28px;
    }
}

@media (max-width: 900px) {
    .platform-shell {
        display: block;
        overflow: visible;
    }

    .landing,
    .panel-open .landing {
        width: 100%;
        padding: 0;
    }

    .sale-card {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        padding: 38px 22px 54px;
        box-shadow: none;
    }

    .sale-kicker {
        margin-bottom: 42px;
        font-size: 1rem;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .domain-identity {
        text-align: left;
    }

    .domain-identity h1 {
        font-size: clamp(1.7rem, 8.5vw, 3rem);
    }

    .domain-identity h1.domain-title-long {
        font-size: clamp(1.35rem, 6.8vw, 2.5rem);
    }

    .domain-identity h1.domain-title-longer {
        font-size: clamp(0.85rem, 4.9vw, 1.9rem);
        letter-spacing: -0.035em;
    }

    .domain-identity h1.domain-title-longest {
        font-size: clamp(0.72rem, 3.5vw, 1.35rem);
        letter-spacing: -0.03em;
    }

    .domain-uppercase {
        font-size: 1.12rem;
    }

    .domain-lowercase {
        font-size: 1rem;
    }

    .price-card {
        max-width: 480px;
        margin: 0 auto;
        padding: 28px 24px;
    }

    .mobile-form-slot {
        display: block;
    }

    .form-panel,
    .panel-open .form-panel {
        width: 100%;
        display: none;
        overflow: visible;
        padding: 20px 0 0;
        background: transparent;
    }

    .panel-open .form-panel {
        display: block;
    }

    .form-panel-inner {
        width: 100%;
        max-height: none;
        margin: 0 auto;
        padding: 22px;
    }

    .trust-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding-top: 54px;
    }

    .landing-assurance {
        margin-top: 48px;
    }

    .benefit-line {
        line-height: 1.7;
    }

    .page-copyright {
        position: static;
        padding: 8px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
