:root {
    --sale-ink: #151719;
    --sale-muted: rgba(21, 23, 25, 0.68);
    --sale-paper: #f6efe8;
    --sale-white: #fffaf3;
    --sale-line: rgba(21, 23, 25, 0.14);
    --sale-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.domain-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.domain-sale-ribbon {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 168px;
    height: 168px;
    overflow: hidden;
    pointer-events: none;
}

.domain-sale-ribbon span {
    position: absolute;
    top: 30px;
    right: -46px;
    width: 204px;
    padding: 0.62rem 0;
    color: #fffaf3;
    background: #151719;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.domain-kicker {
    margin: 0 0 1rem;
    color: currentColor;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.domain-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.domain-button:hover,
.domain-button:focus-visible {
    transform: translateY(-1px);
}

.domain-button--dark {
    color: #fffaf3;
    background: #151719;
    box-shadow: 0 18px 38px rgba(21, 23, 25, 0.18);
}


.domain-button--ghost,
.domain-button--ghost-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(21, 23, 25, 0.18);
}

.domain-button--ghost-light {
    color: #eafff7;
    border-color: rgba(234, 255, 247, 0.3);
}

.domain-index-shell {
    width: min(1180px, calc(100% - 2rem));
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5rem);
}

.domain-index-intro-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1rem;
}

.domain-index-feature {
    position: relative;
    min-height: min(620px, calc(100vh - 128px));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    padding: clamp(2rem, 6vw, 5rem);
    border: 1px solid rgba(21, 23, 25, 0.12);
    border-radius: 8px;
    box-shadow: var(--sale-shadow);
}

.domain-index-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.domain-index-feature > * {
    position: relative;
    z-index: 1;
}

.domain-index-feature-copy {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.domain-index-feature-copy h2 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(4rem, 12vw, 7.4rem);
    line-height: 0.86;
}

.domain-index-feature-copy p:not(.domain-kicker) {
    max-width: 660px;
    margin: 1.4rem 0 2rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.domain-index-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.domain-index-feature-art {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: min(92px, 28%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
}

.domain-index-feature-art img {
    width: 54%;
    height: 54%;
    object-fit: contain;
}

.domain-index-copy h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.92;
}

.domain-index-copy {
    align-self: center;
}

.domain-index-copy p:not(.domain-kicker) {
    max-width: 620px;
    margin: 1.4rem 0 2rem;
    color: var(--sale-muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.domain-index-grid-section {
    display: grid;
    gap: 1rem;
}

.domain-index-grid-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.domain-index-grid-header h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.98;
}

.domain-index-grid-header .domain-kicker {
    margin-bottom: 0.75rem;
    color: var(--sale-muted);
}

.domain-index-board {
    display: grid;
    gap: 1rem;
}

.domain-index-board--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.domain-listing-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.7rem;
    padding: clamp(1.2rem, 3vw, 2rem);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(21, 23, 25, 0.13);
    border-radius: 8px;
    box-shadow: var(--sale-shadow);
}

.domain-listing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.7;
    pointer-events: none;
}

.domain-listing-card > * {
    position: relative;
}

.domain-listing-label {
    width: fit-content;
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid currentColor;
    border-radius: 6px;
}

.domain-listing-card strong {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 0.98;
}

.domain-listing-card small {
    max-width: 520px;
    color: currentColor;
    font-size: 0.98rem;
    line-height: 1.55;
}


.sale-hero {
    position: relative;
    min-height: min(820px, 100vh);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    align-items: end;
    gap: clamp(1.5rem, 4vw, 4rem);
    overflow: hidden;
    padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.sale-hero-heading {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    width: 100%;
}

.sale-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.sale-hero h1 {
    margin: 0;
    overflow-wrap: normal;
    font-size: 6.6rem;
    line-height: 0.9;
    white-space: nowrap;
}

.domain-tagline {
    max-width: 720px;
    margin: 0;
    color: currentColor;
    font-size: clamp(1.08rem, 2.5vw, 1.45rem);
    line-height: 1.55;
}

.sale-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}


.sale-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
    gap: clamp(1.2rem, 4vw, 3.5rem);
    padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.sale-detail h2 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    line-height: 1;
}

.sale-detail p {
    color: var(--sale-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.sale-points {
    display: grid;
    gap: 0.8rem;
}

.sale-points p {
    margin: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(21, 23, 25, 0.1);
    border-radius: 8px;
}


.domain-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
    padding: 1.2rem;
    color: var(--sale-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--sale-line);
}

.domain-footer a {
    color: currentColor;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.domain-inquiry-page main {
    min-height: 100vh;
}

.domain-inquiry-shell {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 5rem) 1rem;
}


.domain-inquiry-card {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    min-height: 410px;
    overflow: hidden;
    padding: clamp(1.5rem, 5vw, 2.25rem);
    color: #1d1714;
    background: rgba(255, 250, 243, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(23, 15, 11, 0.24);
    backdrop-filter: blur(18px);
}


.domain-inquiry-card h1 {
    margin: 0 0 1.6rem;
    overflow-wrap: anywhere;
    font-size: clamp(2.35rem, 9vw, 4.6rem);
    line-height: 0.92;
}

.domain-inquiry-form-panel {
    transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.domain-inquiry-card--submitted .domain-inquiry-form-panel {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px) scale(0.97);
    filter: blur(4px);
}

.domain-inquiry-form {
    display: grid;
    gap: 0.75rem;
}

.domain-inquiry-form label {
    font-weight: 850;
}

.domain-inquiry-input {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 0.95rem;
    color: #1d1714;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(21, 23, 25, 0.18);
    border-radius: 8px;
    font: inherit;
}


.domain-inquiry-input:focus {
    outline: 3px solid rgba(241, 155, 71, 0.28);
    border-color: rgba(177, 58, 45, 0.55);
}


.domain-inquiry-form--submitting {
    opacity: 0.72;
}

.domain-inquiry-note {
    margin: 0.35rem 0 0;
    color: rgba(29, 23, 20, 0.68);
    font-size: 0.95rem;
    line-height: 1.55;
}

.domain-inquiry-errors {
    min-height: 1.4rem;
}

.domain-inquiry-errors p {
    margin: 0;
    color: #b13a2d;
    font-size: 0.9rem;
    font-weight: 750;
}


.inquiry-context-field {
    position: absolute;
    left: -37vw;
    top: 43%;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0.01;
    clip-path: inset(50%);
    pointer-events: none;
}

.domain-inquiry-success {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(22px) scale(0.96);
    transition: opacity 0.45s ease 0.14s, transform 0.45s ease 0.14s;
}

.domain-inquiry-card--submitted .domain-inquiry-success {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.domain-success-check {
    width: 82px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: #2f9d61;
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(47, 157, 97, 0.26);
}

.domain-success-check::before {
    content: "";
    width: 40%;
    height: 22%;
    border-left: 6px solid #ffffff;
    border-bottom: 6px solid #ffffff;
    transform: translateY(-10%) rotate(-45deg);
}

.domain-inquiry-success p {
    margin: 0;
    max-width: 340px;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
}

.domain-inquiry-list {
    width: min(1120px, calc(100% - 2rem));
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem) 0;
}

.domain-inquiry-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.domain-inquiry-list-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.domain-inquiry-list h1 {
    margin: 0;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 0.95;
}

.domain-inquiry-table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(21, 23, 25, 0.12);
    border-radius: 8px;
    box-shadow: var(--sale-shadow);
}

.domain-inquiry-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.domain-inquiry-table th,
.domain-inquiry-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(21, 23, 25, 0.1);
}

.domain-inquiry-table th {
    color: rgba(21, 23, 25, 0.64);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.domain-inquiry-table tr:last-child td {
    border-bottom: 0;
}

.domain-button--compact {
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
}

.domain-inquiry-empty {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(21, 23, 25, 0.12);
    border-radius: 8px;
}

@media (max-width: 1120px) {
    .sale-hero h1 {
        font-size: 5.6rem;
    }
}

@media (max-width: 860px) {
    .domain-index-intro-split,
    .domain-index-feature,
    .sale-hero,
    .sale-detail {
        grid-template-columns: 1fr;
    }

    .domain-index-feature {
        min-height: auto;
    }

    .domain-index-feature-art {
        position: relative;
        top: auto;
        right: auto;
        justify-self: start;
        width: min(200px, 62vw);
    }

    .domain-index-grid-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .sale-hero {
        min-height: auto;
    }

    .sale-hero h1 {
        font-size: 4.8rem;
    }

}

@media (max-width: 540px) {
    .domain-sale-ribbon {
        width: 132px;
        height: 132px;
    }

    .domain-sale-ribbon span {
        top: 23px;
        right: -48px;
        width: 184px;
        padding: 0.52rem 0;
        font-size: 0.68rem;
    }

    .domain-index-feature {
        padding: 1.35rem;
    }

    .domain-index-feature-copy h2 {
        font-size: clamp(3.4rem, 24vw, 5.2rem);
    }

    .domain-index-board--grid {
        grid-template-columns: 1fr;
    }

    .sale-hero h1 {
        font-size: 3rem;
    }

    .sale-actions,
    .domain-button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .sale-hero h1 {
        font-size: 2.55rem;
    }
}

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