/* Public landing foundations only. Portal and registration styles stay separate. */
:root {
    --blue: #2563eb;
    --blue-soft: #eaf2ff;
    --text: #1f2937;
    --muted: #64748b;
    --line: #dbe4f0;
    --shadow: 0 10px 28px rgba(23, 35, 52, .08);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: "Segoe UI", Arial, sans-serif; color: var(--text); background: #f7f9fc; }
a { color: var(--blue); text-decoration: none; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #334155; font: inherit; font-weight: 650; cursor: pointer; }
.production-home-shell { max-width: 1080px; margin: 0 auto; padding: 16px 32px 22px; }
.production-home-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 24px; }
.production-home-brand { display: flex; align-items: baseline; gap: 16px; color: var(--blue); }
.production-home-brand h1 { margin: 0; font-size: clamp(42px, 6vw, 64px); letter-spacing: -1.5px; }
.production-home-brand .turbodane-wordmark { display: block; width: min(320px, 70vw); height: auto; }
.production-home-heading > p { margin: 0; font-size: 22px; line-height: 1.4; color: var(--muted); }
.production-home-heading > p > strong { white-space: nowrap; }
.production-home-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.production-home-paths .production-home-choice { min-width: 0; }
.production-home-paths section.production-home-choice,
.production-home-paths form.production-home-choice { margin: 0; }
.production-home-choice { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.production-home-choice h2 { margin: 24px 0 14px; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; }
.production-home-choice > p { margin: 0 0 32px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 340px; }
.production-home-choice-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.production-home-choice-primary > p { color: #fff; }
.production-home-choice:hover { border-color: var(--blue); box-shadow: 0 12px 32px rgba(37, 99, 235, .14); }
.production-home-choice-primary:hover { background: #1d4ed8; }
.production-home-choice:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.production-home-choice-heading { display: flex; align-items: center; gap: 14px; }
.production-home-choice-heading > .icon { flex: 0 0 auto; width: 32px; height: 32px; color: #2563eb; }
.production-home-choice-heading h2 { margin: 0; }
.production-home-choice-primary .production-home-choice-heading { gap: 28px; }
.production-home-choice-primary .production-home-choice-heading > .icon { color: #fff; }
.production-home-choice-primary > p { margin-top: 20px; max-width: none; }
.production-home-login > p,
.production-home-demo > p { max-width: none; margin-top: 20px; font-size: 16px; line-height: 1.6; }
.production-home-login > p { margin-top: 12px; margin-bottom: 16px; }
.production-home-login-form { display: grid; width: 100%; gap: 12px; margin-top: 0; }
.production-home-login-form label { display: grid; gap: 7px; color: #182230; font-size: 14px; font-weight: 650; }
.production-home-password { display: grid; gap: 7px; }
.production-home-password-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.production-home-login-form input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; color: #182230; font: inherit; }
.production-home-login-form input:focus { border-color: #2563eb; outline: 3px solid rgba(37, 99, 235, .18); }
.production-home-forgot { justify-self: end; color: #2563eb; font-size: 14px; text-underline-offset: 3px; }
.production-home-login-button,
.production-home-demo-button,
.production-home-guest-button,
.production-home-register-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 18px; border: 1px solid #2563eb; border-radius: 9px; background: #2563eb; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.production-home-login-button { width: 100%; }
.production-home-register-button,
.production-home-guest-button { width: 100%; margin-top: auto; }
.production-home-login-button .icon,
.production-home-demo-button .icon,
.production-home-guest-button .icon,
.production-home-register-button .icon { width: 18px; height: 18px; }
.production-home-login-button:hover,
.production-home-register:hover .production-home-register-button { background: #1d4ed8; }
.production-home-demo-button,
.production-home-guest-button { background: #fff; color: #2563eb; }
.production-home-demo-button:hover,
.production-home-choice-primary:hover .production-home-guest-button { background: #eff6ff; }
.production-home-login-button:focus-visible,
.production-home-demo-button:focus-visible,
.production-home-forgot:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.production-home-demo { display: grid; grid-template-rows: auto auto minmax(48px, 1fr); align-items: flex-start; justify-items: stretch; gap: 8px; text-align: left; }
.production-home-demo > h2 { margin: 0; font-size: 28px; line-height: 1.25; letter-spacing: -.5px; }
.production-home-demo p { margin: 0; color: var(--muted); }
.production-home-demo-description { display: flex; align-items: flex-start; gap: 14px; }
.production-home-demo-description > .icon { flex: 0 0 auto; width: 28px; height: 28px; color: #2563eb; margin-top: 3px; }
.production-home-register > p { max-width: none; margin-top: 20px; }
.production-home-demo .production-home-demo-button { align-self: end; width: 100%; margin-top: auto; }
.production-home-choice-disabled { box-shadow: none; }
.auth-message { margin: 0 0 18px; padding: 11px 13px; border: 1px solid; border-radius: 5px; line-height: 1.45; }
.auth-message.error { color: #9b1c1c; background: #fff0f0; border-color: #f3b5b5; }
.auth-message.success { color: #17603a; background: #edf9f2; border-color: #a9d9bc; }
.auth-message.warning { color: #75500f; background: #fff7df; border-color: #e5c77e; }
.public-home-content { max-width: 1080px; margin: 0 auto; padding: 52px 32px 24px; color: #182230; }
.public-home-section { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.public-home-section h2, .public-home-faq h2 { margin: 0 0 14px; font-size: clamp(25px, 3vw, 34px); line-height: 1.25; letter-spacing: -.5px; }
.public-home-section p, .public-home-features p, .public-home-faq details p { color: #5c6878; font-size: 16px; line-height: 1.7; }
.public-home-section p { margin: 0; }
.public-home-product-preview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; max-width: none; }
.public-home-product-copy { min-width: 0; }
.public-home-product-copy h2 { font-size: clamp(22px, 2.5vw, 30px); }
.public-home-product-heading-break { display: none; }
.public-home-product-figure { min-width: 0; width: 100%; max-width: 380px; margin: 0 auto; }
.public-home-preview-paper { display: block; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 4px 18px #18223012; }
.public-home-preview-paper img { display: block; width: 100%; height: auto; }
.public-home-product-figure figcaption { margin-top: 12px; color: #50617a; font-size: 13px; line-height: 1.5; text-align: center; }
.public-home-preview-paper:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.public-home-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 44px; }
.public-home-features article { padding: 24px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.public-home-features h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.35; }
.public-home-features p { margin: 0; font-size: 15px; }
.public-home-features .public-home-feature-registry { border-color: #bfdbfe; background: #eff6ff; }
.public-home-feature-registry h3 { color: #2563eb; }
.public-home-faq { max-width: 820px; margin: 0 auto; }
.public-home-faq h2 { margin-bottom: 18px; }
.public-home-faq details { padding: 17px 0; border-top: 1px solid #e2e8f0; }
.public-home-faq summary { color: #182230; font-weight: 650; cursor: pointer; line-height: 1.5; }
.public-home-faq summary:focus-visible, .public-home-footer a:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.public-home-faq details p { margin: 10px 0 0; font-size: 15px; }
.public-home-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; padding: 26px 20px 34px; border-top: 1px solid #e2e8f0; color: #5c6878; font-size: 14px; }
.public-home-footer a { color: inherit; text-underline-offset: 3px; }
.public-home-footer button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 640px) {
    .production-home-choice-primary > p { margin-bottom: 24px; }
}
@media (max-width: 720px) {
    .public-home-product-preview { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .public-home-product-heading-break { display: inline; }
    .production-home-shell { padding: 16px 20px 22px; }
    .production-home-heading { gap: 8px 20px; margin-bottom: 20px; }
    .production-home-paths { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .production-home-paths .production-home-choice { padding: 24px; }
    .production-home-demo > p { margin-top: 16px; }
    .production-home-demo > h2 { font-size: clamp(20px, 3.5vw, 25px); }
    .public-home-content { padding: 34px 20px 18px; }
    .public-home-features { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 34px; }
    .public-home-features article { padding: 21px; }
    .public-home-footer { padding-bottom: 26px; }
}
@media (max-width: 360px) {
    .production-home-paths .production-home-choice { padding: 21px 18px; }
    .production-home-choice-heading { align-items: flex-start; gap: 11px; }
    .production-home-choice-primary .production-home-choice-heading { gap: 22px; }
    .production-home-choice-heading > .icon { width: 28px; height: 28px; }
    .production-home-login-form input { min-width: 0; }
}
