* { box-sizing: border-box; }
html { color-scheme: light; }
body {
    margin: 0;
    min-width: 0;
    background: #f6f5f3;
    color: #222;
    font: 400 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: clamp(20px, 6vw, 64px) 16px;
}
button, input, select { font: inherit; }
.default-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgb(0 0 0 / 7%);
}
.logo { text-align: center; margin-bottom: 24px; }
.logo img { display: inline-block; width: 80px; height: 80px; object-fit: contain; max-width: 100%; }
h1, .title { margin: 0 0 20px; font-size: clamp(24px, 5vw, 30px); line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.title { text-align: center; }
.service-description { margin: 0 0 12px; text-align: center; font-weight: 500; }
p { margin: 0 0 20px; }
.check-order { margin: 0 0 16px; }
.order-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    cursor: pointer;
    min-height: 48px;
}
.order-label input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: #8a5800; }
.order-label span { min-width: 0; overflow-wrap: anywhere; }
a { color: #075fae; text-underline-offset: 3px; }
a:hover { color: #03467f; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #075fae; outline-offset: 4px; }
.loan-term { margin-bottom: 24px; }
.loan-term label { display: block; margin-bottom: 8px; font-weight: 600; }
.loan-term select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #767676; border-radius: 8px; color: #222; background: #fff; }
.submit, .secondary-action {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    cursor: pointer;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.submit { color: #222; background: #ffdb4d; margin-top: 24px; }
.submit:hover { background: #ffce1c; color: #222; }
.submit:disabled { background: #e8e8e8; color: #555; cursor: wait; }
.secondary-action { border: 1px solid #c5c5c5; margin-top: 12px; }
.notice { margin: 12px 0 0; color: #595959; font-size: 14px; line-height: 1.6; }
.form-error { color: #a21b1b; margin: 12px 0 0; }
.payment-notice { background: #fff6d8; border-radius: 8px; padding: 14px; margin-bottom: 20px; }
[hidden] { display: none !important; }
@media (max-width: 480px) {
    .default-form { padding: 24px 20px; }
    body { padding-left: 12px; padding-right: 12px; }
}
