body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f7fb;
    color: #111827;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 24px;
}

.page-intro {
    margin: 10px 0 22px;
    color: #475569;
    line-height: 1.6;
    max-width: 60ch;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #dbe2ea;
    margin-bottom: 14px;
}

.language-switcher__label {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.language-switcher__select {
    border: none;
    background: transparent;
    color: #111827;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.row {
    margin-bottom: 16px;
}

.row-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-weight: 500;
}

.checkbox-row input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    transform: scale(1.15);
}

.checkbox-row span {
    line-height: 1.45;
}

.checkbox-row a {
    color: #1d4ed8;
    font-weight: 700;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

input,
select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

.btn {
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.btn-secondary {
    background: #e5e7eb;
    color: #111827;
    text-align: center;
}

.helper {
    margin-top: -8px;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px;
}

.account-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 10px 0 18px;
}

.account-guide-card {
    border: 1px solid #dbe3f0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.account-guide-card:hover {
    border-color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.account-guide-card.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.account-guide-kicker {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-guide-card strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 17px;
}

.account-guide-card p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
    font-size: 14px;
}

.account-guide-panel,
.plan-guide-box {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #dbe3f0;
    background: #f8fafc;
}

.account-guide-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.account-guide-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
}

.account-guide-panel p,
.plan-guide-box p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.account-guide-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #334155;
}

.account-guide-list li + li {
    margin-top: 8px;
}

.plan-guide-box.is-trial {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.plan-guide-box.is-paid {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.plan-guide-box strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
}

.field-readonly {
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
    cursor: not-allowed;
}

.top-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
}

.top-link:hover {
    color: #111827;
}

.messages {
    margin-bottom: 18px;
    display: grid;
    gap: 10px;
}

.message {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    line-height: 1.5;
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.message__content {
    flex: 1;
}

.message__close {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.72;
    padding: 0;
    margin: -2px 0 0;
}

.message__close:hover {
    opacity: 1;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.info {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.debug {
    background: #ede9fe;
    color: #5b21b6;
    border-color: #ddd6fe;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }

    .card {
        padding: 22px;
    }

    label,
    input,
    select,
    .helper,
    .message,
    .top-link {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
        min-height: 46px;
    }

    .account-guide-grid {
        grid-template-columns: 1fr;
    }

    .account-guide-panel__head,
    .actions {
        flex-direction: column;
        align-items: stretch;
    }
}
