:root {
    --ink: #18212f;
    --muted: #647084;
    --line: #dce3eb;
    --accent: #0e8f72;
    --accent-dark: #076f59;
    --green-dark: #007700;
    --blue-dark: #000077;
    --gold: #c28b21;
    --danger: #b42318;
    --success: #067647;
    --bar-bg: #f7faf9;
    --card-bg: #ffffff;
}

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

html,
body {
    margin: 0;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(145deg, #f9fbfc 0%, #eef4f3 46%, #f7f3ea 100%);
}

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

button,
input,
textarea {
    font: inherit;
}

#offer-form {
    scroll-margin-top: 60px;
}

.site {
    min-height: 100vh;
    padding-top: 50px;
}

.wrap {
    width: min(1160px, calc(100% - 36px));
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.bar {
    width: 100%;
    background: var(--bar-bg);
}

.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
}

.footer-bar {
    border-top: 1px solid var(--line);
}

.nav {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0;
    position: relative;
}

.mark {
    min-width: 0;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.mark span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mark-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #1d5f9f);
}

.nav-actions,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu {
    display: none;
}

.btn {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    color: var(--ink);
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.nav .btn {
    min-height: 34px;
    padding: 0 14px;
    font-size: 14px;
}

.btn:hover {
    border-color: rgba(14, 143, 114, .42);
}

.btn-primary {
    border-color: var(--accent);
    background: var(--blue-dark);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.hero {
    padding: 36px 0 62px;
}

.hero-inner {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
    gap: 44px;
    align-items: center;
}

.hero-inner > * {
    min-width: 0;
}

.hero-copy {
    text-align: center;
}

.sale-title {
    margin: 0 auto;
    max-width: 820px;
    font-size: 78px;
    line-height: .92;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: anywhere;
}

.domain {
    display: block;
    max-width: 100%;
    color: #aa0000;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sale-text {
    display: block;
    color: #007700;
}

.lead {
    max-width: 650px;
    margin: 24px auto 0;
    color: #435066;
    font-size: 20px;
    line-height: 1.65;
    text-align: center;
}

.hero-actions {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
}

.metrics {
    width: 100%;
    max-width: 720px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 38px auto 0;
    text-align: left;
}

.metric {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(220, 227, 235, .88);
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
}

.metric strong {
    display: block;
    font-size: 25px;
    line-height: 1.15;
}

.metric span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.panel {
    width: 100%;
    min-width: 0;
    background: var(--card-bg);
    border: 1px solid rgba(220, 227, 235, .9);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(24, 33, 47, .08);
    overflow: hidden;
}

.panel-head {
    padding: 25px 26px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.price {
    margin: 0 0 7px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0;
}

.panel-head h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.18;
}

.panel-head p {
    margin: 11px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

form {
    width: 100%;
    display: grid;
    gap: 14px;
    padding: 25px 25px 25px;
}

.field-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

label {
    min-width: 0;
    display: grid;
    gap: 5px;
    color: #2c384a;
    font-size: 13px;
    font-weight: 780;
}

input,
textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: rgba(14, 143, 114, .75);
    box-shadow: 0 0 0 3px rgba(14, 143, 114, .12);
}

textarea {
    min-height: 118px;
    resize: vertical;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.notice {
    display: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.notice.show {
    display: block;
}

.notice.success {
    color: var(--success);
    background: #ecfdf3;
    border: 1px solid #abefc6;
}

.notice.error {
    color: var(--danger);
    background: #fef3f2;
    border: 1px solid #fecdca;
}

.secure-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.secure-note svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--accent);
}

.steps {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 56px;
}

.step {
    min-width: 0;
    border-top: 1px solid rgba(24, 33, 47, .18);
    padding-top: 18px;
}

.step b {
    display: block;
    font-size: 15px;
}

.step p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.footer {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 940px) {
    .hero {
        padding-top: 18px;
    }

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

    .panel {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .sale-title {
        font-size: 62px;
    }
}

@media (max-width: 700px) {
    .nav-actions {
        gap: 6px;
    }

    .nav .btn {
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .wrap {
        width: auto;
        max-width: none;
        margin-left: 14px;
        margin-right: 14px;
    }

    .bar .wrap {
        width: auto;
        max-width: none;
        margin-left: 14px;
        margin-right: 14px;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu {
        height: 50px;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 100;
    }

    .mobile-menu summary {
        width: 42px;
        height: 38px;
        margin: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
        list-style: none;
        position: relative;
        z-index: 102;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary span {
        width: 20px;
        height: 2px;
        display: block;
        background: var(--ink);
        border-radius: 999px;
        transition: transform .18s ease, opacity .18s ease;
    }

    .mobile-menu[open] summary {
        border-color: rgba(14, 143, 114, .45);
        background: #fff;
    }

    .mobile-menu[open] summary span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu[open] summary span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu[open] summary span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu-list {
        position: fixed;
        inset: 50px 0 0 0;
        z-index: 101;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 12px;
        padding: 24px;
        background: rgba(247, 250, 249, .98);
        border-top: 1px solid var(--line);
    }

    .mobile-menu-list .btn {
        width: min(100%, 360px);
        min-height: 48px;
        margin-left: auto;
        margin-right: auto;
        background: #fff;
        font-size: 17px;
    }

    body:has(.mobile-menu[open]) {
        overflow: hidden;
    }

    .hero {
        padding: 18px 0 44px;
    }

    .hero-inner {
        gap: 30px;
    }

    .sale-title {
        font-size: 44px;
        line-height: 1;
    }

    .lead {
        font-size: 17px;
        line-height: 1.58;
    }

    .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-actions .btn,
    form .btn {
        width: 100%;
    }

    .metrics,
    .field-grid,
    .steps {
        width: auto;
        max-width: none;
        grid-template-columns: minmax(0, 1fr);
    }

    .metrics {
        gap: 10px;
        margin-top: 28px;
    }

    .steps {
        padding-bottom: 44px;
    }

    .panel {
        max-width: 100%;
        box-shadow: 0 8px 18px rgba(24, 33, 47, .07);
    }

    .panel-head,
    form {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 380px) {
    .wrap,
    .bar .wrap {
        margin-left: 12px;
        margin-right: 12px;
    }

    .sale-title {
        font-size: 38px;
    }

    .lead {
        font-size: 16px;
    }

    .metric {
        padding: 16px;
    }

    .metric strong {
        font-size: 23px;
    }

    .panel-head h2 {
        font-size: 23px;
    }

    .panel-head,
    form {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 200px) {
    .mark span:last-child {
        display: none;
    }

    .mark {
        flex: 0 0 auto;
    }

    .nav {
        gap: 8px;
    }
}