:root {
    --bg: #151313;
    --card: #211c1c;
    --accent: #c66b76;
    --text: #f7eee9;
    --muted: #b7a8a5;
    --border: #493536;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 28px 16px;
    background:
        radial-gradient(ellipse at top, #48252b 0%, transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.brand {
    text-align: center;
    margin-bottom: 26px;
}

.eyebrow {
    color: #e7a3aa;
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(38px, 10vw, 56px);
    line-height: 1;
    margin: 15px 0 10px;
    letter-spacing: -2px;
}

.subtitle {
    color: var(--muted);
    font-size: 14px;
}

.card {
    background: rgba(33, 28, 28, .96);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 70px #0005;
}

.section-title {
    font-size: 19px;
    margin: 0 0 20px;
}

label {
    display: block;
    font-size: 13px;
    margin: 17px 0 8px;
    color: #e8d9d6;
}

input,
select {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #171414;
    color: var(--text);
    font: inherit;
    outline: none;
}

input:focus,
select:focus {
    border-color: var(--accent);
}

.hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 7px;
    line-height: 1.5;
}

.price-box {
    margin-top: 24px;
    padding: 18px;
    background: #171414;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-label {
    color: var(--muted);
    font-size: 13px;
}

#price {
    font-size: 32px;
    font-weight: bold;
}

#deadline {
    color: #e7a3aa;
    font-size: 12px;
    margin-top: 8px;
}

.button {
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #190f10;
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.button:disabled {
    opacity: .6;
    cursor: wait;
}

.notice {
    display: none;
    padding: 13px;
    margin-top: 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.success {
    display: block;
    background: #163b2b;
    color: #b6f5d2;
}

.failure {
    display: block;
    background: #482125;
    color: #ffd0d3;
}

.footer {
    color: var(--muted);
    text-align: center;
    font-size: 11px;
    line-height: 1.7;
    margin-top: 20px;
}

@media (max-width: 380px) {
    .card {
        padding: 18px;
    }
}

.phone-input {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.phone-input .country-code {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: #190f10;
    color: #e3c3bd;
    border: 1px solid #c66b76;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.phone-input input {
    flex: 1;
    min-width: 0;
    border-radius: 0 8px 8px 0;
}