@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Shared type system: keep icons and monospace content in their own fonts. */
:root { --font-body: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif; }
body { font-family: var(--font-body); line-height: 1.65; }
input, select, textarea, button { font-family: var(--font-body); }
input, select, textarea { line-height: 1.5; }
button { line-height: 1.4; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
label { line-height: 1.5; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero p { max-width: 62ch; margin-inline: auto; line-height: 1.7; }
.category-card h3 { line-height: 1.4; }
.category-card p { line-height: 1.65; }
.form-group label, .field label { text-align: start; }
.login-container { box-sizing: border-box; width: 100%; }
.login-container h2 { font-size: clamp(1.65rem, 5vw, 2rem); margin-top: 0; }
.login-container .subtitle { line-height: 1.65; }
.login-container .switch-page { line-height: 1.65; text-wrap: balance; }
.login-container .switch-page:last-child a { display: inline-block; }
@media (max-width: 600px) {
    .login-container { margin: 24px auto; padding: 28px 22px; }
}

.extra-category-fields { margin: 20px 0; padding: 16px; border: 1px solid #dbe5ff; border-radius: 12px; background: #f8faff; text-align: left; }
.extra-category-fields summary { cursor: pointer; color: #0033aa; font-weight: 700; line-height: 1.5; }
.extra-category-fields p { font-size: .9rem; line-height: 1.65; color: #475569; }
.extra-category-fields label { display: block; margin: 16px 0 0; font-weight: 600; }
.extra-category-fields select { display: block; box-sizing: border-box; width: 100%; max-width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: white; font: inherit; }
.extra-category-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.extra-category-badges a.badge { margin: 0; text-decoration: none; }

/* Keep account cards within the screen when translated text wraps. */
body > main.box { box-sizing: border-box; min-width: 0; }

/* Visible account actions, with a distinct Google dark theme. */
.google-signin { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; box-sizing:border-box; min-height:52px; padding:10px 16px; margin:0 0 20px; border:1px solid #8e918f; border-radius:12px; background:#131314; color:#e3e3e3; text-decoration:none; font-size:1rem; font-weight:600; line-height:1.5; text-align:center; }
.google-signin:hover { background:#29292b; box-shadow:0 4px 12px #13131424; }
.google-signin-icon { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; border-radius:50%; background:white; }
.google-signin-icon img { display:block; width:20px; height:20px; object-fit:contain; }
.google-signin:disabled { background:#e2e8f0; border-color:#cbd5e1; color:#475569; cursor:not-allowed; box-shadow:none; }
.google-signin:focus-visible, .btn-submit:focus-visible, .service-button:focus-visible, .choice .go:focus-visible { outline:3px solid #ff9900; outline-offset:3px; }
.login-container .switch-page a, .form-container .btn-home { display:inline-flex; justify-content:center; align-items:center; box-sizing:border-box; min-height:44px; max-width:100%; padding:9px 14px; border:1px solid #c8d9ff; border-radius:10px; background:#eef3ff; color:#0033aa; text-decoration:none; font-weight:700; }
.login-container .switch-page a:hover, .form-container .btn-home:hover { background:#dce8ff; }
.login-container .switch-page a:focus-visible, .form-container .btn-home:focus-visible { outline:3px solid #0033aa; outline-offset:3px; }
.choice .go { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:10px; background:#0033aa; color:white; line-height:1.5; }
.choice.business .go { background:#a66000; color:white; }
.service-button:hover, .btn-submit:hover { filter:brightness(.94); }
.service-button:disabled, .btn-submit:disabled { background:#e2e8f0; color:#475569; cursor:not-allowed; filter:none; }
@media (max-width:600px) { .google-signin { padding:10px 12px; gap:10px; } .login-container .switch-page a { width:100%; } }
