:root {
    color-scheme: light;
    --primary-color: #101714;
    --accent-color: #34d186;
    --background-light: #f0fdf4;
    --surface: #fff;
    --text-secondary: #385247;
    --border-color: #d0e4d7;
    --gradient-primary: linear-gradient(115deg, #34d186 0%, #dff8e8 100%);
    --shadow: 0 16px 48px rgb(13 50 32 / 8%);
    --border-radius: 20px;
    font-family: system-ui, "Noto Sans Devanagari", Mangal, sans-serif;
    line-height: 1.55;
    color: var(--primary-color);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 5rem; }
body { margin: 0; background: var(--background-light); }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid #157540;
    outline-offset: 3px;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.content-width, .header-content, .hero-content { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 2; background: #0a0e0c; color: #fff; }
.header-content, .header-actions, .logo { display: flex; align-items: center; gap: 16px; }
.header-content { justify-content: space-between; min-height: 64px; }
.logo, .nav-link { text-decoration: none; }
.logo { font-weight: 650; min-width: 0; }
.logo img { display: block; flex: none; }
.logo span { font-size: .85rem; line-height: 1.3; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; color: #c8f6dc; font-weight: 650; }
.language select { min-height: 44px; max-width: 116px; padding: 5px 8px; border: 1px solid #65736b; border-radius: 8px; background: #222c27; color: #fff; }
.hero { position: relative; overflow: hidden; background: var(--gradient-primary); }
.hero-content { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(30px, 7vw, 88px) 0; }
.eyebrow { color: #1c5335; font-weight: 750; line-height: 1.4; margin-bottom: 10px; }
.hero h1 { font-size: clamp(2.2rem, 6.5vw, 4.85rem); line-height: 1.13; letter-spacing: -.035em; }
.hero-subtitle { max-width: 35rem; margin: 15px 0 24px; color: #173b27; font-size: clamp(1rem, 2vw, 1.2rem); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 8px 17px; font-weight: 740; line-height: 1.25; text-align: center; text-decoration: none; border: 1px solid transparent; border-radius: 11px; transition: background-color .16s ease, border-color .16s ease; }
.button-primary { background: #11271b; color: #fff; }
.button-primary:not(:disabled):hover, .button-dark:not(:disabled):hover { background: #224d33; }
.button-dark { background: #173323; color: #fff; }
.button-light { background: #fff; color: #154f32; border-color: #b1d4bf; }
.button-light:not(:disabled):hover { background: #e3f7eb; border-color: #84b99a; }
.full { width: 100%; }
.hero-image { aspect-ratio: 1.28; border: 1px solid #92d4b3; border-radius: 30px; position: relative; display: grid; place-items: center; min-height: 210px; background: repeating-linear-gradient(0deg, transparent 0 24px, #8bc5a83b 24px 25px), repeating-linear-gradient(90deg, transparent 0 24px, #8bc5a83b 24px 25px), #ddf9e9; }
.route { position: absolute; width: 71%; height: 54%; border: 3px dashed #56a47d; border-bottom: 0; border-left: 0; border-radius: 0 60px 0 0; transform: rotate(-12deg); }
.route-marker { position: absolute; width: 18px; border: 4px solid #fff; aspect-ratio: 1; border-radius: 50%; background: #247753; z-index: 1; }
.route-marker-start { left: 14%; top: 30%; }
.route-marker-end { right: 12%; bottom: 32%; }
.cab { position: relative; width: 120px; height: 58px; filter: drop-shadow(0 12px 12px #19644355); transform: rotate(-12deg); }
.cab-roof { position: absolute; left: 26px; top: 2px; width: 58px; height: 34px; transform: skew(-19deg); border: 6px solid #113125; border-bottom: 0; border-radius: 13px 13px 0 0; background: #81e5b0; }
.cab-roof::before { position: absolute; top: -15px; left: 17px; width: 22px; height: 9px; content: ""; border-radius: 7px 7px 0 0; background: #113125; }
.cab-body { position: absolute; bottom: 10px; width: 100%; height: 25px; border-radius: 8px 17px 8px 8px; background: #113125; }
.cab-wheel { position: absolute; bottom: 2px; width: 21px; height: 21px; border: 5px solid #113125; border-radius: 50%; background: #a1f2c7; }
.cab-wheel-left { left: 16px; }
.cab-wheel-right { right: 15px; }
.bonus-section { padding: 24px 0; background: var(--background-light); }
.bonus-content { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: start; }
.bonus-content h2 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
.bonus-content p { margin-top: 3px; }
.bonus-icon { display: grid; place-items: center; width: 45px; aspect-ratio: 1; background: #c7f3d9; color: #18452e; font-size: 1.35rem; font-weight: 800; border-radius: 11px; }
.subtle { color: var(--text-secondary); }
.application-section { padding: clamp(29px, 6vw, 70px) 0; background: #fff; }
.application-container { max-width: 720px; }
.section-header { margin-bottom: 19px; }
.section-header h2 { font-size: clamp(1.55rem, 4vw, 2.4rem); line-height: 1.22; margin-bottom: 7px; }
.application-form { padding: clamp(16px, 5vw, 29px); border: 1px solid var(--border-color); border-radius: var(--border-radius); box-shadow: var(--shadow); background: var(--surface); }
.step-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.step-header h3, .success h3 { font-size: clamp(1.2rem, 3vw, 1.55rem); line-height: 1.35; }
.step-number { font-size: .84rem; font-weight: 750; color: #276044; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-group { min-width: 0; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 650; }
.form-group input, .form-group select { width: 100%; min-height: 46px; padding: 8px 10px; font-size: 1rem; color: var(--primary-color); border: 1px solid #99b8a6; border-radius: 9px; background: #fff; }
.form-group input::placeholder { color: #687c71; }
.form-group input:read-only { background: #f4f9f5; }
.field-note { color: var(--text-secondary); font-size: .86rem; margin-top: 6px; }
.notice { margin: 14px 0; border: 1px solid #dbc38a; border-radius: 10px; padding: 11px; background: #fff8e5; color: #3e2906; font-size: .88rem; }
.check-label { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; padding-top: 9px; cursor: pointer; }
.check-label input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #175d3c; }
.form-error { color: #90241e; font-weight: 650; margin: 10px 0; }
.license-upload-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 16px 0; }
.license-side { padding: 13px; border: 1px solid #b5dec5; border-radius: 13px; background: var(--background-light); min-width: 0; }
.license-side h4 { font-size: 1.04rem; }
.file-name { color: var(--text-secondary); font-size: .9rem; margin: 3px 0 8px; overflow-wrap: anywhere; }
.file-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.file-actions .button { flex: 1 1 auto; padding-inline: 8px; font-size: .88rem; }
.preview { display: block; max-width: 100%; height: 77px; object-fit: contain; margin-block: 6px 9px; border-radius: 5px; }
progress { width: 100%; height: 12px; accent-color: #168350; }
.file-status { margin-top: 4px; min-height: 2.6em; color: var(--text-secondary); font-size: .88rem; overflow-wrap: anywhere; }
.file-status[data-kind="error"] { color: #90241e; }
.file-status[data-kind="ok"] { color: #12532e; font-weight: 650; }
.success p { margin-top: 6px; }
.check-icon { width: 43px; height: 43px; display: grid; place-items: center; color: #15472e; background: #c4f2d8; border-radius: 50%; font-size: 1.4rem; margin-bottom: 7px; }
.reference { display: grid; gap: 2px; margin-bottom: 13px; overflow-wrap: anywhere; }
.reference output { font-family: monospace; font-size: .92rem; }
.footer { padding: 14px 0; background: #0a0e0c; color: #ccf0dc; font-size: .88rem; }
.footer-content { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; }
.footer-content a { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 650px) {
    .content-width, .header-content, .hero-content { width: calc(100% - 28px); }
    .header-content, .header-actions, .logo { gap: 8px; }
    .header-content { min-height: 56px; }
    .nav-link { display: none; }
    .hero-content { grid-template-columns: 1fr; gap: 20px; }
    .hero-image { aspect-ratio: auto; min-height: 105px; border-radius: 16px; }
    .route { width: 62%; height: 43%; border-radius: 0 35px 0 0; }
    .route-marker { width: 15px; border-width: 3px; }
    .route-marker-start { left: 21%; }
    .route-marker-end { right: 16%; }
    .cab { transform: rotate(-12deg) scale(.8); }
    .license-upload-container, .field-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
