:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172026;
    background: #f5f7f8;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
button, input, select { font: inherit; }
.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: #101820; color: #eef6f7; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: #0f7b6c; font-weight: 900; }
nav { display: grid; gap: 6px; }
nav a, .button { min-height: 42px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; text-decoration: none; font-weight: 800; border: 0; cursor: pointer; }
nav a { justify-content: flex-start; color: #eef6f7; }
nav a:hover { background: #1d2c34; }
.account { margin-top: auto; border-top: 1px solid #2b3c45; padding-top: 14px; display: grid; gap: 10px; }
.account span { display: block; color: #9eb2ba; margin-top: 4px; }
main { padding: 28px; display: grid; gap: 18px; align-content: start; }
.hero { min-height: 540px; position: relative; overflow: hidden; border-radius: 8px; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 20, .84), rgba(10, 18, 20, .44) 48%, rgba(10, 18, 20, .05)); }
.hero-copy { position: relative; z-index: 1; color: white; max-width: 680px; padding: 56px; }
.hero h1 { font-size: 68px; line-height: .95; margin: 0 0 16px; letter-spacing: 0; }
.hero p { font-size: 21px; line-height: 1.45; color: #e2eff0; }
.eyebrow { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 900; color: #b8eadf; }
.eyebrow.dark { color: #0f7b6c; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button.primary { background: #0f7b6c; color: white; }
.button.secondary { background: white; border: 1px solid #cbd8dd; color: #172026; }
.button.light { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); color: white; }
.button.small { min-height: 34px; padding: 7px 10px; font-size: 14px; }
.workspace-head { background: #fff; border: 1px solid #dfe7eb; border-radius: 8px; min-height: 190px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: stretch; box-shadow: 0 12px 30px rgba(20, 36, 45, .06); }
.workspace-head div { padding: 26px; align-self: center; }
.workspace-head h1 { font-size: 42px; line-height: 1; margin-bottom: 10px; }
.workspace-head p:last-child { max-width: 640px; margin-bottom: 0; font-size: 18px; line-height: 1.45; }
.workspace-visual { width: 100%; height: 100%; object-fit: cover; min-height: 190px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.summary-grid article, .panel, .price-card { background: #fff; border: 1px solid #dfe7eb; border-radius: 8px; box-shadow: 0 12px 30px rgba(20, 36, 45, .06); }
.summary-grid article { padding: 18px; display: grid; gap: 5px; }
.summary-grid strong { font-size: 24px; }
.summary-grid span, p, small { color: #53646d; }
.panel { padding: 22px; }
.section-head, .job { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
h1, h2, h3 { letter-spacing: 0; margin-top: 0; }
.page-head h1 { font-size: 42px; max-width: 840px; }
.tab-list { background: #e8eef1; border: 1px solid #d4e0e5; border-radius: 8px; display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; }
.tab-button { min-height: 38px; border: 0; border-radius: 6px; background: transparent; color: #34444d; padding: 8px 14px; cursor: pointer; font-weight: 850; }
.tab-button.active { background: #fff; color: #0f6459; box-shadow: 0 6px 18px rgba(20, 36, 45, .08); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wide { grid-column: 1 / -1; }
label, .stack { display: grid; gap: 8px; font-weight: 750; color: #34444d; }
input, select { width: 100%; border: 1px solid #cbd8dd; border-radius: 8px; padding: 11px 12px; background: #fff; color: #172026; }
.sound-grid, .pricing-grid, .auth-grid, .tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sound-grid article, fieldset { border: 1px solid #dfe7eb; border-radius: 8px; padding: 14px; display: grid; gap: 8px; }
.jobs { display: grid; gap: 12px; }
.job { border: 1px solid #e0e8ec; border-radius: 8px; padding: 14px; }
.job div { display: grid; gap: 4px; }
.job small { color: #a03232; }
.notice { border-radius: 8px; padding: 12px 14px; }
.notice.success { background: #eef8f6; border: 1px solid #c3e7df; color: #0c5f53; }
.notice.error { background: #fff1f1; border: 1px solid #f2b8b8; color: #a03232; }
.price-card { padding: 22px; display: grid; gap: 14px; align-content: space-between; }
.price-card.featured { border-color: #0f7b6c; box-shadow: 0 18px 40px rgba(15, 123, 108, .13); }
.price-card strong { font-size: 36px; }
.price-card ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.price-card li::before { content: "✓ "; color: #0f7b6c; font-weight: 900; }
.inline-form { display: grid; grid-template-columns: 120px 120px auto; gap: 8px; }
.check { display: flex; align-items: center; }
.check input { width: auto; }
.narrow { max-width: 560px; }
.account-card { border: 1px solid #dfe7eb; border-radius: 8px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.account-card span { display: block; color: #53646d; margin-top: 4px; }
.auth-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.auth-switcher { background: #e8eef1; border: 1px solid #d4e0e5; border-radius: 8px; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 14px; }
.auth-switcher label { min-width: 96px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; cursor: pointer; font-weight: 850; color: #34444d; }
.auth-pane { display: none; max-width: 520px; }
#auth-login:checked ~ .auth-switcher label[for="auth-login"],
#auth-register:checked ~ .auth-switcher label[for="auth-register"],
#auth-forgot:checked ~ .auth-switcher label[for="auth-forgot"] { background: #fff; color: #0f6459; box-shadow: 0 6px 18px rgba(20, 36, 45, .08); }
#auth-login:checked ~ .auth-login,
#auth-register:checked ~ .auth-register,
#auth-forgot:checked ~ .auth-forgot { display: block; }

@media (max-width: 880px) {
    .app-shell, .summary-grid, .form-grid, .sound-grid, .pricing-grid, .auth-grid, .tier-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    main { padding: 18px; }
    .hero { min-height: 500px; align-items: flex-end; }
    .hero::after { background: linear-gradient(180deg, rgba(10,18,20,.12), rgba(10,18,20,.88)); }
    .hero-copy { padding: 28px; }
    .hero h1 { font-size: 48px; }
    .section-head, .job { flex-direction: column; }
    .inline-form { grid-template-columns: 1fr; width: 100%; }
    .workspace-head { grid-template-columns: 1fr; }
    .workspace-visual { max-height: 180px; order: -1; }
    .auth-switcher { display: flex; width: 100%; }
    .auth-switcher label { flex: 1; min-width: 0; }
}
