/* ===== GLOBAL FONT SIZE BUMP ===== */
html {
    font-size: 112.5%; /* 16px * 1.125 = 18px base */
}

/* ===== ROOT VARIABLES ===== */
:root {
    color: #0b1f21;
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --green: #005c34;
    --green-bright: #067340;
    --green-dark: #003b23;
    --ink: #0b2021;
    --muted: #59666a;
    --line: #e3e9e5;
    --pale: #eff7f1;
    font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: #fff;
    font-size: 1rem;
    line-height: 1.6;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-shell { overflow: hidden; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }

.site-header { height: 78px; background: rgba(255,255,255,.96); border-bottom: 1px solid #edf1ee; position: relative; z-index: 20; }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); flex: none; }
.brand .crest { width: 38px; height: 47px; display: inline-flex; align-items: center; justify-content: center; }
.brand .crest svg { width: 34px; height: 41px; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: .85; }
.brand strong { font-size: 28px; letter-spacing: -1.35px; font-weight: 800; }
.brand small { font-size: 9px; letter-spacing: .55px; margin-top: 5px; font-weight: 800; }

.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 52px; }
.desktop-nav a { font-size: 0.85rem; font-weight: 650; color: #152528; position: relative; transition: color .25s ease; }
.desktop-nav a::after { content: ""; height: 2px; background: var(--green-bright); position: absolute; left: 0; right: 100%; bottom: -7px; transition: right .25s ease; }
.desktop-nav a:hover { color: var(--green); }
.desktop-nav a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.search-button, .menu-button { border: 0; background: transparent; color: #0b1f21; padding: 5px; cursor: pointer; }
.search-button:hover, .menu-button:hover { color: var(--green-bright); }
.login-button { min-width: 89px; height: 43px; border: 1px solid #dce3df; background: #fff; border-radius: 9px; font-size: 0.85rem; font-weight: 700; color: #142426; cursor: pointer; transition: border .25s, box-shadow .25s, transform .25s; }
.login-button:hover { border-color: #8ab69c; box-shadow: 0 4px 13px rgba(4,70,39,.1); transform: translateY(-1px); }

.button { display: inline-flex; height: 3.2rem; align-items: center; justify-content: center; gap: 1.25rem; padding: 0 1.5rem; background: linear-gradient(110deg, #096e40, #004c2b); border: 0; color: #fff; border-radius: 9px; font-size: 0.95rem; font-weight: 750; box-shadow: 0 7px 15px rgba(0,73,39,.13); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { background: linear-gradient(110deg, #07834a, #005c34); transform: translateY(-2px); box-shadow: 0 11px 20px rgba(0,73,39,.2); }
.button-small { height: 2.7rem; padding: 0 1.2rem; font-size: 0.85rem; }
.button-outline { color: #0e2123; background: #fff; border: 1px solid #d7dfdb; box-shadow: 0 3px 8px rgba(12,38,24,.04); }
.button-outline:hover { color: var(--green); background: #f8fcf9; border-color: #92bea5; box-shadow: 0 8px 16px rgba(12,77,44,.1); }
.button-outline svg { margin-left: 3px; }
.menu-button, .mobile-nav { display: none; }

.hero { min-height: 730px; position: relative; isolation: isolate; }
.hero-photo { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 66%; overflow: hidden; }
.hero-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center; opacity: .75; filter: saturate(.82); }
.hero-wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff 6%, rgba(255,255,255,.97) 26%, rgba(255,255,255,.72) 48%, rgba(255,255,255,.04) 81%), linear-gradient(0deg, rgba(255,255,255,.5), transparent 35%); }
.hero-inner { min-height: 730px; display: flex; align-items: center; position: relative; }
.hero-copy { width: 56%; padding: 28px 0 8px; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #e5ece8; border-radius: 99px; height: 35px; padding: 0 13px 0 7px; background: rgba(255,255,255,.73); color: #1e2c2d; font-size: 0.8rem; font-weight: 650; box-shadow: 0 4px 15px rgba(30,65,43,.04); }
.eyebrow > span { width: 20px; height: 20px; border-radius: 50%; background: #dcf2e1; color: #087444; display: inline-flex; align-items: center; justify-content: center; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 4.5rem); letter-spacing: -2.8px; line-height: 1.1; margin: 28px 0 22px; font-weight: 780; color: var(--ink); }
.hero h1 em { color: var(--green-bright); font-style: normal; }
.hero-description { font-size: 1.1rem; line-height: 1.85; color: #48575b; max-width: 550px; }
.hero-ctas { display: flex; gap: 19px; margin-top: 32px; }
.social-proof { display: flex; align-items: center; gap: 18px; margin-top: 43px; }
.avatars { display: flex; align-items: center; padding-left: 1px; }
.avatars span { height: 48px; width: 48px; margin-left: -9px; border: 2px solid #fff; border-radius: 50%; background: #d1ded7 center / cover no-repeat; box-shadow: 0 2px 5px rgba(0,0,0,.16); }
.avatars span:first-child { margin-left: 0; background-image: url('/images/corps-connect-hero.jpg'); background-position: 14% center; }
.avatars span:nth-child(2) { background-image: url('/images/corps-connect-hero.jpg'); background-position: 28% center; }
.avatars span:nth-child(3) { background-image: url('/images/corps-connect-hero.jpg'); background-position: 45% center; }
.avatars span:nth-child(4) { background-image: url('/images/corps-connect-hero.jpg'); background-position: 61% center; }
.avatars span:nth-child(5) { background-image: url('/images/corps-connect-hero.jpg'); background-position: 78% center; }
.avatars span:last-child { background: #0b6b3d; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 23px; font-weight: 300; }
.stars { color: #f3bb24; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.social-proof p { color: #324044; font-size: 0.9rem; line-height: 1.42; margin: 6px 0 0; }
.hero-device { position: absolute; z-index: 3; right: 7.2%; top: 42px; animation: floatPhone 5.5s ease-in-out infinite; }

.app-phone { width: 338px; height: 680px; padding: 6px; border: 3px solid #15191a; border-radius: 45px; background: #111618; box-shadow: 0 19px 28px rgba(11,31,20,.22), inset 0 0 0 2px #56605f; }
.phone-shell { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; position: relative; }
.phone-screen { height: 100%; background: linear-gradient(#006331 0, #007340 34%, #f9fbfa 34.5%, #fff 100%); color: #122021; padding: 16px 14px 0; position: relative; }
.phone-status { display: flex; justify-content: space-between; color: #fff; padding: 1px 9px 0; font-size: 9px; position: relative; z-index: 2; }
.status-icons { letter-spacing: 2px; font-size: 6px; }
.phone-notch { position: absolute; top: 5px; width: 104px; height: 24px; background: #050708; border-radius: 20px; left: 50%; transform: translateX(-50%); z-index: 2; }
.app-greeting { display: flex; align-items: flex-start; justify-content: space-between; color: #fff; margin: 22px 7px 15px; }
.app-greeting small, .app-greeting strong { display: block; }
.app-greeting small { opacity: .72; font-size: 10px; }
.app-greeting strong { font-size: 17px; margin-top: 3px; font-weight: 620; }
.app-greeting strong span { color: #f7bd35; font-size: 16px; }
.profile-dot { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.2); }
.progress-card { background: #fff; border-radius: 13px; padding: 17px 15px 13px; box-shadow: 0 6px 13px rgba(8,31,20,.13); }
.progress-card > small { font-size: 10px; font-weight: 650; }
.progress-title { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.progress-title > strong { font-size: 11px; }
.progress-ring { width: 58px; height: 58px; border: 3px solid #e1e5e4; border-right-color: #0c7043; border-top-color: #0c7043; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 750; }
.progress-track { height: 6px; border-radius: 99px; background: #e4e7e7; margin-top: -16px; margin-right: 68px; position: relative; overflow: hidden; }
.progress-track i { display: block; width: 34%; height: 100%; background: #087343; border-radius: inherit; }
.progress-meta { display: flex; gap: 56px; border-top: 1px solid #edf0ef; padding-top: 11px; margin-top: 13px; }
.progress-meta span { display: flex; flex-direction: column; gap: 4px; }
.progress-meta b { font-size: 9px; font-weight: 550; color: #657276; }
.progress-meta strong { font-size: 15px; }
.upcoming-head { display: flex; justify-content: space-between; align-items: center; padding: 21px 5px 11px; }
.upcoming-head strong { font-size: 12px; }
.upcoming-head a { font-size: 9px; color: #087344; font-weight: 700; }
.upcoming-list { display: flex; flex-direction: column; gap: 1px; }
.upcoming-item { min-height: 47px; padding: 7px 6px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf0ef; }
.upcoming-item > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.upcoming-item b { font-size: 9px; }
.upcoming-item small { font-size: 8px; color: #6b7578; }
.upcoming-item em { font-style: normal; color: #98a2a4; font-size: 19px; }
.list-icon { width: 23px; height: 23px; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.list-icon.green { color: #087344; background: #e4f4e7; }
.list-icon.gold { color: #b17e13; background: #fff5dc; }
.list-icon.blue { color: #4686c9; background: #e5f1ff; }
.phone-tabs { height: 53px; position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid #e8ecea; display: flex; align-items: center; justify-content: space-around; background: rgba(255,255,255,.97); }
.phone-tabs span { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #778083; }
.phone-tabs span.active { color: #087344; }
.phone-tabs b { font-size: 7px; font-weight: 650; }
.app-phone-compact { width: 258px; height: 524px; border-radius: 36px; padding: 5px; transform: translateX(-12px); box-shadow: 0 17px 27px rgba(11,31,20,.18), inset 0 0 0 2px #56605f; }
.app-phone-compact .phone-shell { border-radius: 29px; }
.app-phone-compact .phone-screen { padding: 12px 10px 0; }
.app-phone-compact .phone-notch { height: 18px; width: 78px; }
.app-phone-compact .app-greeting { margin: 18px 4px 12px; }
.app-phone-compact .app-greeting strong { font-size: 13px; }
.app-phone-compact .app-greeting small { font-size: 8px; }
.app-phone-compact .profile-dot { width: 20px; height: 20px; }
.app-phone-compact .progress-card { padding: 12px 11px 10px; }
.app-phone-compact .progress-card > small { font-size: 8px; }
.app-phone-compact .progress-title > strong { font-size: 9px; }
.app-phone-compact .progress-ring { width: 45px; height: 45px; font-size: 10px; }
.app-phone-compact .progress-track { margin-top: -12px; }
.app-phone-compact .progress-meta { gap: 35px; padding-top: 8px; margin-top: 10px; }
.app-phone-compact .progress-meta b { font-size: 7px; }
.app-phone-compact .progress-meta strong { font-size: 12px; }
.app-phone-compact .upcoming-head { padding: 14px 3px 8px; }
.app-phone-compact .upcoming-head strong { font-size: 10px; }
.app-phone-compact .upcoming-item { min-height: 37px; gap: 7px; padding: 5px 3px; }
.app-phone-compact .upcoming-item b { font-size: 7px; }
.app-phone-compact .upcoming-item small { font-size: 6px; }
.app-phone-compact .list-icon { width: 18px; height: 18px; }
.app-phone-compact .phone-tabs { height: 42px; }
.app-phone-compact .phone-tabs b { font-size: 5px; }

.quick-links { min-height: 140px; margin-top: -10px; position: relative; z-index: 4; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(255,255,255,.96); border: 1px solid #e6ede8; border-radius: 20px; box-shadow: 0 12px 25px rgba(28,59,39,.08); padding: 25px 8px; }
.quick-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border-right: 1px solid #e5ebe7; text-align: center; padding: 0 16px; transition: transform .25s ease, color .25s ease; }
.quick-link:last-child { border: 0; }
.quick-link:hover { color: var(--green-bright); transform: translateY(-3px); }
.quick-link strong { font-size: 0.95rem; color: #0c3021; }
.quick-link small { max-width: 130px; color: #4f5d60; line-height: 1.45; font-size: 0.8rem; }
.quick-icon { color: #006b3c; height: 29px; display: flex; align-items: center; }
.section-space { padding: 83px 0 77px; }
.section-heading { text-align: center; }
.section-kicker { display: block; color: #14804d; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.45px; font-weight: 800; margin-bottom: 10px; }
.section-heading h2, .download-copy h2, .resource-inner h2 { margin: 0; color: #0a2423; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -1.1px; line-height: 1.16; }
.section-heading p { margin: 13px 0 0; color: #637072; font-size: 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 37px; }
.feature-tile { min-height: 200px; border: 1px solid #e2eae5; border-radius: 17px; padding: 22px 21px; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.feature-tile:hover { transform: translateY(-4px); border-color: #a8cbb3; box-shadow: 0 12px 25px rgba(8,65,37,.08); }
.feature-icon { height: 43px; width: 43px; border-radius: 11px; background: linear-gradient(135deg, #edf8f0, #e4f0e7); color: #087143; display: flex; align-items: center; justify-content: center; }
.feature-tile h3 { margin: 18px 0 8px; font-size: 1.1rem; letter-spacing: -.25px; }
.feature-tile p { margin: 0; color: #556367; font-size: 0.9rem; line-height: 1.55; }
.center-action { text-align: center; margin-top: 22px; }
.center-action .button { height: 50px; }
.impact-section { min-height: 255px; border-radius: 19px; overflow: hidden; position: relative; isolation: isolate; background: linear-gradient(105deg, #005b34, #003c25); color: #fff; }
.impact-photo { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 42%; overflow: hidden; }
.impact-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #005a33 2%, rgba(0,77,42,.82) 24%, rgba(0,47,27,.03) 80%); }
.impact-photo img { height: 100%; width: 100%; object-fit: cover; object-position: 72% center; filter: saturate(.9); }
.impact-content { padding: 37px 38px; }
.impact-content h2 { font-size: 1.6rem; margin: 0 0 30px; }
.impact-stats { display: grid; grid-template-columns: repeat(4, 1fr); width: 60%; }
.impact-stat { display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.2); padding-right: 25px; margin-right: 25px; }
.impact-stat:last-child { border: 0; margin: 0; }
.impact-stat svg { margin-bottom: 12px; }
.impact-stat strong { font-size: 2rem; line-height: 1; letter-spacing: -.8px; }
.impact-stat strong span { font-size: 1.2rem; }
.impact-stat small { font-size: 0.9rem; margin-top: 6px; opacity: .92; }
.download-section { padding-top: 95px; padding-bottom: 84px; }
.download-inner { min-height: 400px; display: flex; position: relative; }
.download-copy { width: 50%; padding: 42px 0 0 23px; }
.download-copy h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #064b2d; }
.download-copy p { color: #4e5d60; font-size: 1rem; line-height: 1.7; max-width: 365px; margin: 18px 0 22px; }
.store-buttons { display: flex; gap: 14px; }
.store-button { height: 47px; min-width: 154px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 5px; background: #031f13; color: white; transition: transform .25s, background .25s; }
.store-button:hover { transform: translateY(-2px); background: #075530; }
.store-button > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.store-button small { font-size: 7px; letter-spacing: .3px; }
.store-button strong { font-size: 16px; font-weight: 600; margin-top: 3px; }
.play-store { width: 22px; height: 25px; position: relative; display: block; overflow: hidden; }
.play-store i { display: block; position: absolute; width: 0; height: 0; border-style: solid; }
.play-store i:first-child { left: 0; top: 0; border-width: 12.5px 19px 12.5px 0; border-color: transparent #24d17b transparent transparent; transform: rotate(180deg); }
.play-store i:nth-child(2) { top: 0; right: 0; border-width: 7px 0 7px 9px; border-color: transparent transparent transparent #f4cf43; }
.play-store i:nth-child(3) { bottom: 0; right: 0; border-width: 7px 0 7px 9px; border-color: transparent transparent transparent #e65455; }
.apple-mark { font-size: 22px; width: 22px; text-align: center; line-height: 1; color: #fff; }
.download-visual { position: absolute; right: 3.5%; top: 0; height: 405px; width: 58%; }
.download-visual .app-phone { position: absolute; left: 38%; top: 0; }
.dot-grid { position: absolute; left: 10%; top: 20px; width: 160px; height: 330px; opacity: .45; background-image: radial-gradient(#b5cec0 1px, transparent 1px); background-size: 11px 11px; mask-image: linear-gradient(90deg, black, transparent); }
.floating-note { position: absolute; z-index: 2; width: 235px; min-height: 81px; border: 1px solid #e6ece8; border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 8px 19px rgba(19,59,37,.1); display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.note-one { right: 2%; top: 48px; }
.note-two { right: -1%; top: 164px; }
.note-icon { width: 43px; height: 43px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #0b7041; flex: none; }
.note-icon.pale { background: #f2f9cf; }
.note-icon.mint { background: #e0f3eb; }
.floating-note > span:last-child { display: flex; flex-direction: column; }
.floating-note strong { font-size: 0.8rem; }
.floating-note small { font-size: 0.7rem; line-height: 1.5; color: #687476; margin-top: 3px; }
.resource-strip { background: #f0f8f2; padding: 53px 0; border-top: 1px solid #e3efe6; border-bottom: 1px solid #e3efe6; }
.resource-inner { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.resource-inner h2 { color: #075a35; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.resource-inner > p { color: #4f6260; font-size: 1rem; margin: 0 auto 2px 30px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #087143; font-weight: 750; font-size: 0.95rem; white-space: nowrap; }
.text-link:hover svg { transform: translateX(4px); }
.text-link svg { transition: transform .25s; }
.site-footer { background: #003c24; color: #fff; padding: 53px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr 1.45fr; gap: 34px; }
.brand-light { color: #fff; }
.brand-light .crest svg { filter: brightness(1.03); }
.footer-brand p { max-width: 207px; color: rgba(255,255,255,.78); font-size: 0.9rem; line-height: 1.6; margin: 20px 0 16px; }
.social-links { display: flex; gap: 9px; }
.social-links a { width: 25px; height: 25px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; }
.social-links a:hover { background: #14804d; transform: translateY(-2px); }
.footer-column, .footer-newsletter { display: flex; flex-direction: column; align-items: flex-start; }
.footer-column h3, .footer-newsletter h3 { margin: 5px 0 17px; font-size: 0.9rem; }
.footer-column a { color: rgba(255,255,255,.8); font-size: 0.9rem; line-height: 2.1; transition: color .25s, padding .25s; }
.footer-column a:hover { color: #fff; padding-left: 4px; }
.footer-newsletter p { color: rgba(255,255,255,.8); font-size: 0.9rem; line-height: 1.6; margin: 0 0 15px; }
.footer-newsletter form { width: 100%; height: 43px; position: relative; }
.footer-newsletter input { height: 100%; width: 100%; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: rgba(255,255,255,.07); color: white; outline: none; padding: 0 38px 0 13px; font-size: 0.85rem; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.48); }
.footer-newsletter input:focus { border-color: rgba(180,231,196,.65); }
.footer-newsletter button { position: absolute; right: 6px; top: 6px; border: 0; background: #e9f5ea; color: #08663c; width: 31px; height: 31px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.subscribed { display: flex; gap: 7px; align-items: center; color: #d9f2df; font-size: 0.9rem; background: rgba(255,255,255,.09); border-radius: 7px; padding: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 17px; display: flex; justify-content: space-between; color: rgba(255,255,255,.73); font-size: 0.9rem; }
.heart { color: #ee424b; font-size: 14px; padding: 0 2px; }
.notice { position: fixed; z-index: 50; bottom: 24px; left: 50%; transform: translate(-50%, 22px); background: #062d1d; color: white; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 25px rgba(0,0,0,.16); padding: 13px 19px; border-radius: 8px; opacity: 0; pointer-events: none; font-size: 0.9rem; transition: opacity .25s, transform .25s; }
.notice.show { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .04s; }
.reveal-delay-2 { transition-delay: .1s; }
.reveal-delay-3 { transition-delay: .16s; }
.reveal-delay-4 { transition-delay: .22s; }
.hero-enter { animation: heroIn .75s both cubic-bezier(.2,.75,.25,1); }
.hero-enter-delay { animation-delay: .12s; }
.hero-enter-delay-2 { animation-delay: .2s; }
.hero-enter-delay-3 { animation-delay: .28s; }
.hero-enter-delay-4 { animation-delay: .37s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatPhone { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 1080px) {
    .container { width: min(100% - 48px, 980px); }
    .desktop-nav { gap: 20px; margin-right: 25px; }
    .hero-copy { width: 57%; }
    .hero-device { right: 2%; }
    .app-phone { width: 300px; height: 606px; }
    .impact-stats { width: 65%; }
    .download-visual { right: -4%; }
}
@media (max-width: 760px) {
    .container { width: min(100% - 36px, 600px); }
    .site-header { height: 68px; }
    .brand .crest { width: 31px; height: 41px; }
    .brand .crest svg { width: 29px; height: 36px; }
    .brand strong { font-size: 24px; }
    .brand small { font-size: 7px; margin-top: 4px; }
    .desktop-nav, .nav-actions .search-button, .nav-actions .login-button, .nav-actions .button-small { display: none; }
    .menu-button { display: inline-flex; }
    .mobile-nav { display: flex; position: absolute; left: 0; right: 0; top: 67px; z-index: 10; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid #e3ece7; box-shadow: 0 10px 20px rgba(8,47,27,.08); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
    .mobile-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .mobile-nav a { padding: 15px 20px; font-size: 0.95rem; font-weight: 650; border-top: 1px solid #eff3f0; }
    .mobile-nav a:hover { background: #f2f8f3; color: var(--green); }
    .hero { min-height: auto; padding: 64px 0 0; }
    .hero-photo { width: 100%; height: 475px; top: auto; bottom: 0; opacity: .46; }
    .hero-wash { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.98) 37%, rgba(255,255,255,.68) 72%, rgba(255,255,255,.17) 100%); }
    .hero-inner { min-height: 1060px; flex-direction: column; align-items: stretch; }
    .hero-copy { width: 100%; padding: 0; }
    .eyebrow { font-size: 0.75rem; height: 32px; }
    .hero h1 { font-size: clamp(2.5rem, 10vw, 3.8rem); letter-spacing: -2px; margin: 23px 0 18px; }
    .hero-description { font-size: 1rem; line-height: 1.72; max-width: 510px; }
    .hero-ctas { gap: 10px; margin-top: 25px; }
    .button { height: 2.8rem; padding: 0 1.1rem; font-size: 0.9rem; gap: 0.8rem; }
    .social-proof { margin-top: 31px; gap: 13px; }
    .avatars span { height: 39px; width: 39px; }
    .stars { font-size: 0.9rem; }
    .social-proof p { font-size: 0.8rem; }
    .hero-device { right: auto; top: auto; bottom: 31px; left: 50%; transform: translateX(-50%); animation: none; }
    .app-phone { width: 252px; height: 512px; border-radius: 36px; }
    .phone-shell { border-radius: 29px; }
    .phone-notch { width: 79px; height: 18px; }
    .phone-screen { padding: 12px 10px 0; }
    .app-greeting { margin: 18px 5px 12px; }
    .app-greeting strong { font-size: 13px; }
    .app-greeting small { font-size: 8px; }
    .profile-dot { width: 20px; height: 20px; }
    .progress-card { padding: 12px 11px 10px; }
    .progress-card > small { font-size: 8px; }
    .progress-title > strong { font-size: 9px; }
    .progress-ring { width: 45px; height: 45px; font-size: 10px; }
    .progress-track { margin-top: -12px; }
    .progress-meta { gap: 34px; padding-top: 8px; margin-top: 10px; }
    .progress-meta b { font-size: 7px; }
    .progress-meta strong { font-size: 12px; }
    .upcoming-head { padding: 14px 3px 8px; }
    .upcoming-head strong { font-size: 10px; }
    .upcoming-item { min-height: 37px; gap: 7px; padding: 5px 3px; }
    .upcoming-item b { font-size: 7px; }
    .upcoming-item small { font-size: 6px; }
    .list-icon { width: 18px; height: 18px; }
    .phone-tabs { height: 42px; }
    .phone-tabs b { font-size: 5px; }
    .quick-links { width: 100%; margin-top: 0; border-radius: 0; border-left: 0; border-right: 0; min-height: auto; grid-template-columns: repeat(3, 1fr); padding: 12px 4px; box-shadow: 0 8px 18px rgba(28,59,39,.06); }
    .quick-link { min-height: 90px; padding: 7px 5px; }
    .quick-link:nth-child(3) { border-right: 0; }
    .quick-link:nth-child(-n+3) { border-bottom: 1px solid #e5ebe7; }
    .quick-link strong { font-size: 0.85rem; }
    .quick-link small { font-size: 0.7rem; line-height: 1.3; }
    .quick-icon { height: 25px; }
    .section-space { padding: 63px 0 59px; }
    .section-heading h2, .download-copy h2, .resource-inner h2 { font-size: 1.8rem; }
    .section-heading p { line-height: 1.5; font-size: 0.95rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
    .feature-tile { min-height: 190px; border-radius: 13px; padding: 16px 14px; }
    .feature-icon { width: 37px; height: 37px; border-radius: 9px; }
    .feature-icon i { font-size: 1.2rem !important; }
    .feature-tile h3 { margin: 13px 0 7px; font-size: 1rem; }
    .feature-tile p { font-size: 0.85rem; line-height: 1.5; }
    .center-action { margin-top: 18px; }
    .impact-section { width: 100%; border-radius: 0; min-height: 405px; }
    .impact-photo { width: 100%; height: 48%; top: auto; }
    .impact-photo::before { background: linear-gradient(0deg, #005332, rgba(0,84,45,.1)); }
    .impact-content { padding: 28px 22px; }
    .impact-content h2 { font-size: 1.4rem; margin-bottom: 25px; }
    .impact-stats { width: 100%; grid-template-columns: repeat(4, 1fr); }
    .impact-stat { padding-right: 9px; margin-right: 9px; }
    .impact-stat i { font-size: 1.2rem !important; margin-bottom: 9px; }
    .impact-stat strong { font-size: 1.5rem; }
    .impact-stat small { font-size: 0.7rem; line-height: 1.2; }
    .download-section { padding: 65px 0 50px; }
    .download-inner { min-height: 825px; display: block; }
    .download-copy { width: 100%; padding: 0; }
    .download-copy h2 { font-size: 1.8rem; }
    .download-copy p { font-size: 0.95rem; max-width: 100%; margin: 15px 0 19px; }
    .store-buttons { gap: 8px; }
    .store-button { min-width: 143px; height: 44px; }
    .store-button strong { font-size: 14px; }
    .download-visual { width: 100%; height: 490px; right: 0; top: 334px; }
    .download-visual .app-phone { left: 50%; transform: translateX(-50%); }
    .dot-grid { left: 0; top: 40px; }
    .floating-note { width: 184px; min-height: 70px; padding: 9px; gap: 8px; }
    .note-one { right: -3px; top: 64px; }
    .note-two { right: -3px; top: 157px; }
    .note-icon { height: 35px; width: 35px; }
    .floating-note strong { font-size: 0.7rem; }
    .floating-note small { font-size: 0.6rem; }
    .resource-strip { padding: 40px 0; }
    .resource-inner { display: block; }
    .resource-inner > p { margin: 13px 0 18px; line-height: 1.5; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-newsletter { grid-column: 1 / -1; }
    .site-footer { padding-top: 42px; }
    .footer-bottom { gap: 11px; flex-direction: column; font-size: 0.8rem; }
    .footer-bottom span:last-child { align-self: flex-start; }
}
@media (max-width: 420px) {
    .container { width: calc(100% - 28px); }
    .hero h1 { font-size: 2.3rem; }
    .hero-inner { min-height: 1030px; }
    .hero-ctas .button { padding: 0 0.8rem; gap: 0.5rem; }
    .feature-tile { min-height: 202px; }
    .quick-link small { max-width: 82px; }
    .download-inner { min-height: 810px; }
    .floating-note { width: 161px; }
    .floating-note small { font-size: 0.6rem; }
    .app-phone-compact { width: 237px; height: 481px; }
    .download-visual .app-phone { top: 14px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .hero-enter, .hero-device { animation: none; transition: none; opacity: 1; transform: none; }
}

/* ===== AUTH PAGE STYLES (appended) ===== */
:root {
  --green-950: #04240f;
  --green-900: #06301a;
  --green-800: #0a3b1c;
  --green-700: #0b4423;
  --green-600: #0d5228;
  --green-500: #116c37;
  --green-400: #158a45;
  --green-300: #22b35c;
  --green-200: #2ecc61;
  --ink-900: #10151b;
  --ink-700: #2f3944;
  --ink-500: #5b6772;
  --ink-400: #7b8794;
  --ink-300: #9aa4b0;
  --surface: #f1f2f4;
  --shadow-card: 0 1px 2px rgba(16,24,40,.04), 0 14px 40px -14px rgba(16,24,40,.14);
  --shadow-panel: 0 30px 70px -30px rgba(6,48,26,.45);
}

.page-shell { min-height: 100vh; padding: 16px; }
.app-shell { width: 100%; max-width: 1400px; min-height: calc(100vh - 32px); margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 60px -40px rgba(16,24,40,.28); }
.main-grid { display: grid; grid-template-columns: 41.3% 1fr; flex: 1; min-height: 0; }
.brand-wrap { display: flex; padding: 0 0 40px; }
.brand-panel { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; width: 100%; border-radius: 24px 30px 30px 24px; background: #0a3b1c; color: #fff; box-shadow: var(--shadow-panel); }
.ambient { position: absolute; inset: 0; z-index: -10; background: radial-gradient(120% 80% at 0% 0%, #0f5029 0%, #0a3b1c 46%, #062d15 100%); }
.glow { position: absolute; z-index: -10; }
.glow-right { right: -96px; top: 40px; width: 420px; height: 520px; transform: rotate(18deg); border-radius: 45%; background: radial-gradient(closest-side, rgba(46,204,97,.22), transparent 72%); filter: blur(6px); animation: floatSlow 9s ease-in-out infinite; }
.glow-left { left: -128px; top: 33%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.07), transparent 70%); }
.swooshes { position: absolute; inset: 0; z-index: -10; width: 100%; height: 100%; opacity: .7; pointer-events: none; }
.brand-content { padding: 48px 60px 0; }
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.crest-wrap { width: 52px; height: 60px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); transition: transform .5s; }
.crest-wrap:hover { transform: rotate(-3deg) scale(1.05); }
.brand-wordmark { display: block; }
.brand-wordmark > span { display: block; font-size: 35px; font-weight: 800; line-height: 1; letter-spacing: -.015em; }
.brand-wordmark small { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: .16em; color: rgba(255,255,255,.9); }
.headline-block { margin-top: 46px; }
.headline-block h1 { max-width: 360px; margin: 0; font-size: 34px; font-weight: 800; line-height: 1.2; letter-spacing: -.022em; }
.headline-block h1 span { color: var(--green-200); }
.headline-block i { display: block; width: 34px; height: 4px; margin-top: 18px; border-radius: 999px; background: rgba(255,255,255,.9); }
.headline-block p { max-width: 300px; margin: 22px 0 0; font-size: 16.5px; line-height: 1.62; color: rgba(255,255,255,.8); }
.feature-list { max-width: 380px; margin: 36px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.feature-icon { width: 52px; height: 52px; flex: 0 0 52px; margin-top: 2px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: .3s; }
.feature-list li:hover .feature-icon { transform: translateY(-2px); background: rgba(34,179,92,.3); box-shadow: inset 0 0 0 1px rgba(46,204,97,.4); }
.feature-list li > div { flex: 1; padding-bottom: 18px; }
.feature-list li:not(:last-child) > div { border-bottom: 1px solid rgba(255,255,255,.13); }
.feature-list li:not(:first-child) > div { padding-top: 2px; }
.feature-list h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.feature-list p { max-width: 228px; margin: 9px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.75); }
.hero-photo { position: relative; margin-top: auto; padding-top: 24px; }
.photo-fade { position: absolute; inset: 0 0 auto; height: 112px; z-index: 10; background: linear-gradient(to bottom, #0a3b1c, rgba(10,59,28,.7), transparent); pointer-events: none; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 494/372; object-fit: cover; object-position: 50% 22%; transform: scale(1.01); transition: transform 1.2s ease-out; }
.hero-photo:hover img { transform: scale(1.05); }
.photo-wave { position: absolute; inset: auto 0 0; width: 100%; height: 86px; color: #fff; }
.auth-wrap { display: flex; flex-direction: column; padding: 0 60px 40px; }
.topbar { display: flex; justify-content: flex-end; padding-top: 46px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: #2f3944; font-size: 15px; font-weight: 600; transition: .2s; }
.theme-toggle:hover { background: rgba(21,138,69,.1); color: var(--green-600); }
.theme-icon { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.theme-icon > span { position: absolute; display: grid; place-items: center; transition: .5s; }
.theme-icon svg { width: 21px; height: 21px; }
.auth-main { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 16px 0; }
.auth-container { width: 100%; max-width: 560px; margin: 0 auto; }
.auth-card { width: 100%; padding: 40px 32px; border: 1px solid #ededef; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.auth-card h2 { margin: 0; text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -.025em; color: #0e2418; }
.intro { max-width: 320px; margin: 10px auto 0; text-align: center; font-size: 15.5px; line-height: 1.6; color: var(--ink-500); }
.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 62px; margin-top: 30px; border: 1px solid #e7e8eb; border-radius: 13px; background: #fbfbfc; overflow: hidden; }
.segment-indicator { position: absolute; inset: -1px auto -1px -1px; width: calc(50% + 1px); border-radius: 13px; background: linear-gradient(135deg, var(--green-600), var(--green-700)); box-shadow: 0 12px 26px -14px rgba(11,68,35,.9); transition: transform .42s cubic-bezier(.16,1,.3,1); }
.segmented.register .segment-indicator { transform: translateX(100%); }
.mode-btn { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 13px; background: transparent; color: var(--ink-500); font-size: 16px; font-weight: 700; transition: color .3s; }
.mode-btn.active { color: #fff; }
.mode-btn:not(.active):hover { color: var(--green-600); }
.mode-btn svg { width: 19px; height: 19px; }
.auth-form { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.field label { display: block; margin-bottom: 10px; font-size: 14.5px; font-weight: 700; letter-spacing: -.005em; color: #1b2a20; }
.input-wrap { position: relative; }
.input-icon { position: absolute; left: 13px; top: 50%; z-index: 2; width: 34px; height: 34px; transform: translateY(-50%); display: grid; place-items: center; border-radius: 9px; background: #eaf5ec; color: var(--green-500); pointer-events: none; }
.input-icon svg { width: 17px; height: 17px; }
.field input { width: 100%; height: 56px; padding: 0 16px 0 60px; border: 1px solid #e6e7ea; border-radius: 13px; background: #fff; color: var(--ink-900); font-size: 15.5px; font-weight: 500; outline: none; transition: .2s; }
.field input::placeholder { font-weight: 400; color: var(--ink-300); }
.field input:hover { border-color: rgba(34,179,92,.7); }
.field input:focus { border-color: var(--green-400); box-shadow: 0 0 0 4px rgba(21,138,69,.12); }
.field input.has-error { border-color: #f87171; }
.eye-btn { position: absolute; right: 14px; top: 50%; width: 36px; height: 36px; transform: translateY(-50%); display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink-400); transition: .2s; }
.eye-btn:hover { background: rgba(21,138,69,.1); color: var(--green-500); }
.eye-btn svg { width: 19px; height: 19px; }
.error { display: none; margin-top: 8px; font-size: 13px; font-weight: 500; color: #dc2626; }
.field.has-error .error { display: block; }
.form-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 2px; }
.checkbox-label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.checkbox { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.checkbox input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.checkmark { width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid #d5d9de; border-radius: 7px; background: #fff; color: #fff; pointer-events: none; transition: .2s; }
.checkmark svg { width: 13px; height: 13px; opacity: 0; transform: scale(.5); transition: .2s; }
.checkbox input:checked + .checkmark { border-color: var(--green-500); background: var(--green-500); }
.checkbox input:checked + .checkmark svg { opacity: 1; transform: scale(1); }
.checkbox-label > span:last-child { font-size: 14.5px; font-weight: 500; color: #3b4650; }
.form-options a { font-size: 14.5px; font-weight: 700; color: var(--green-600); text-decoration: none; }
.form-options a:hover,
.switch-text button:hover { color: var(--green-400); text-decoration: underline; }
.submit-btn { position: relative; width: 100%; height: 62px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 13px; background: linear-gradient(90deg, var(--green-700), var(--green-600), var(--green-700)); color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 16px 34px -18px rgba(11,68,35,.95); transition: .3s; }
.submit-btn:hover { box-shadow: 0 22px 44px -18px rgba(11,68,35,.95); filter: brightness(1.12); }
.submit-btn:active { transform: scale(.995); }
.submit-btn:disabled { cursor: not-allowed; opacity: .8; }
.submit-btn svg { position: absolute; right: 26px; width: 21px; height: 21px; transition: .3s; }
.submit-btn:hover svg { transform: translateX(4px); }
.submit-text { display: flex; align-items: center; gap: 12px; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.submit-btn.loading .spinner { display: inline-block; }
.status-message { height: 0; overflow: hidden; margin: 0; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--green-500); opacity: 0; transition: opacity .3s; }
.status-message.show { height: auto; opacity: 1; }
.divider { display: flex; align-items: center; gap: 16px; margin: 26px 0; }
.divider span { height: 1px; flex: 1; background: #e8e9ec; }
.divider b { font-size: 13.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink-400); }
.socials { display: flex; flex-direction: column; gap: 18px; }
.social-btn { width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #e6e7ea; border-radius: 13px; background: #fff; color: #1b2a20; font-size: 15.5px; font-weight: 700; transition: .2s; }
.social-btn:hover { transform: translateY(-1px); border-color: var(--green-300); background: #f7fbf8; box-shadow: 0 10px 24px -14px rgba(11,68,35,.5); }
.social-btn svg { width: 21px; height: 21px; }
.social-btn:last-child svg { width: 22px; height: 22px; }
.switch-text { margin: 38px 0 0; text-align: center; font-size: 15px; color: var(--ink-500); }
.switch-text button { padding: 0; border: 0; background: transparent; color: var(--green-600); font-weight: 700; }
.trust-strip { margin-top: 38px; }
.trust-strip p { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; text-align: center; font-size: 15px; font-weight: 700; color: #2b3a30; }
.trust-strip p svg { width: 22px; height: 22px; color: var(--green-500); }
.trust-strip small { display: block; margin-top: 10px; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--ink-400); }
.footer { border-top: 1px solid #e9eaec; padding: 24px 60px; }
.footer > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { margin: 0; font-size: 14px; color: var(--ink-500); }
.footer nav { display: flex; align-items: center; gap: 62px; }
.footer a { font-size: 14px; font-weight: 700; color: var(--green-500); text-decoration: underline; text-underline-offset: 4px; }
.footer a:last-child { color: #1b2a20; }
.footer a:hover { color: var(--green-400); }
.hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.reveal-left { transform: translateX(-24px); }
.reveal-scale { transform: translateY(18px) scale(.985); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes floatSlow { 0%, 100% { transform: translate3d(0,0,0) rotate(18deg); } 50% { transform: translate3d(0,-10px,0) rotate(18deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Dark mode overrides for auth */
.dark body { background: #080d0a; }
.dark .app-shell { background: #0f1613; box-shadow: 0 24px 60px -40px rgba(0,0,0,.9); }
.dark .auth-card { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.035); }
.dark .auth-card h2 { color: #fff; }
.dark .intro { color: rgba(255,255,255,.6); }
.dark .segmented { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.dark .mode-btn { color: rgba(255,255,255,.55); }
.dark .mode-btn:not(.active):hover { color: #fff; }
.dark .field label { color: rgba(255,255,255,.85); }
.dark .input-icon { background: rgba(21,138,69,.15); color: var(--green-200); }
.dark .field input { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: rgba(255,255,255,.9); }
.dark .field input::placeholder { color: rgba(255,255,255,.3); }
.dark .eye-btn { color: rgba(255,255,255,.4); }
.dark .eye-btn:hover { color: var(--green-200); }
.dark .checkbox input:checked + .checkmark { border-color: #7ee7a5; background: #7ee7a5; color: #04240f; }
.dark .checkmark { border-color: rgba(255,255,255,.25); background: transparent; }
.dark .checkbox-label > span:last-child { color: rgba(255,255,255,.7); }
.dark .form-options a,
.dark .switch-text button { color: var(--green-200); }
.dark .divider span { background: rgba(255,255,255,.1); }
.dark .divider b { color: rgba(255,255,255,.45); }
.dark .social-btn { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: rgba(255,255,255,.9); }
.dark .social-btn:hover { background: rgba(255,255,255,.08); }
.dark .switch-text { color: rgba(255,255,255,.6); }
.dark .trust-strip p { color: rgba(255,255,255,.8); }
.dark .trust-strip small { color: rgba(255,255,255,.45); }
.dark .theme-toggle { color: rgba(255,255,255,.75); }
.dark .theme-toggle:hover { color: #b8f5cb; }
.dark .footer { border-color: rgba(255,255,255,.1); }
.dark .footer p { color: rgba(255,255,255,.5); }
.dark .footer a { color: #b8f5cb; }
.dark .footer a:last-child { color: rgba(255,255,255,.8); }
.dark .photo-wave { color: #0f1613; }

/* Auth responsive */
@media (max-width: 1023px) {
  .page-shell { padding: 12px; }
  .app-shell { min-height: calc(100vh - 24px); }
  .main-grid { grid-template-columns: 1fr; }
  .brand-wrap { padding: 12px; }
  .brand-panel { min-height: 720px; border-radius: 26px; }
  .brand-content { padding: 48px 48px 0; }
  .auth-wrap { padding: 0 32px 32px; }
  .topbar { padding-top: 28px; }
  .auth-main { padding: 28px 0; }
  .footer { padding: 24px 40px; }
}
@media (max-width: 640px) {
  .page-shell { padding: 8px; }
  .app-shell { min-height: calc(100vh - 16px); border-radius: 20px; }
  .brand-wrap { padding: 8px; }
  .brand-panel { min-height: 680px; border-radius: 22px; }
  .brand-content { padding: 34px 28px 0; }
  .brand-wordmark > span { font-size: 30px; }
  .headline-block { margin-top: 38px; }
  .headline-block h1 { font-size: 30px; }
  .feature-list { margin-top: 30px; }
  .feature-list li { gap: 14px; }
  .feature-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .feature-list p { font-size: 13.5px; }
  .auth-wrap { padding: 0 14px 22px; }
  .topbar { padding-top: 18px; }
  .auth-main { padding: 20px 0; }
  .auth-card { padding: 30px 18px; }
  .auth-card h2 { font-size: 27px; }
  .intro { font-size: 14.5px; }
  .segmented { height: 58px; }
  .auth-form { gap: 22px; }
  .form-options { align-items: flex-start; }
  .footer { padding: 20px; }
  .footer > div { flex-direction: column; text-align: center; }
  .footer nav { gap: 28px; }
  .hero-photo img { aspect-ratio: 494/330; }
}
@media (max-width: 420px) {
  .brand-panel { min-height: 650px; }
  .brand-content { padding: 30px 22px 0; }
  .headline-block p { font-size: 15px; }
  .feature-list h2 { font-size: 15px; }
  .feature-list p { font-size: 13px; }
  .auth-card { padding: 26px 14px; }
  .mode-btn { font-size: 14px; }
  .mode-btn svg { width: 17px; height: 17px; }
  .footer nav { gap: 18px; }
  .footer p, .footer a { font-size: 12.5px; }
}

/* ===== DASHBOARD STYLES (appended) ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #f3f5f1;
    color: #182720;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { cursor: pointer; }
a { text-decoration: none; color: inherit; }

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid #e5e9e2;
    backdrop-filter: blur(10px);
}
.topbar-inner {
    height: 64px;
    max-width: 1440px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    color: #0d3a20;
}
.brand b { display: block; font: 800 19px Manrope, sans-serif; }
.brand small { display: block; margin-top: 4px; font-size: 8.5px; font-weight: 700; letter-spacing: .26em; color: #1a5c36; }
.brand.light { color: #fff; }
.brand.light small { color: #b7dfc6; }
.emblem {
    width: 36px;
    height: 36px;
    display: block;
    flex: none;
    border-radius: 50%;
    background: #0d3a20;
    border: 2px solid #d9ab3c;
    position: relative;
    box-shadow: inset 0 0 0 3px #fff;
}
.emblem:after {
    content: "★";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #e8c25a;
    font-size: 18px;
}
.divider { width: 1px; height: 28px; background: #e5e9e2; margin-left: 2px; }
.icon-btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    color: #63756a;
    display: grid;
    place-items: center;
    position: relative;
}
.icon-btn:hover { background: #eef6f0; color: #134a2b; }
.icon-btn i { font-size: 1.1rem; }
.notify span {
    position: absolute;
    right: 0;
    top: 0;
    background: #237344;
    color: white;
    border-radius: 99px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
    display: grid;
    place-items: center;
    font-weight: 700;
}
.desktop-search {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: auto;
}
.desktop-search input,
.mobile-search input {
    width: 100%;
    height: 38px;
    border: 1px solid #e5e9e2;
    border-radius: 8px;
    background: #f5f7f4;
    padding: 0 40px 0 15px;
    outline: none;
}
.desktop-search i,
.mobile-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #63756a;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    padding: 4px 8px;
    margin-left: 4px;
    border-radius: 8px;
}
.profile-btn:hover { background: #eef6f0; }
.profile-btn img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #dcefe2;
}
.profile-btn span { text-align: left; }
.profile-btn b, .profile-btn small { display: block; }
.profile-btn b { font-size: 13px; }
.profile-btn small { font-size: 11px; color: #63756a; margin-top: 2px; }
.profile-btn i { font-size: 0.8rem; color: #63756a; }
.mobile-search-btn, .mobile-search { display: none; }

/* Layout */
.layout {
    max-width: 1440px;
    margin: auto;
    display: flex;
    align-items: flex-start;
}
.desktop-sidebar {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    width: 224px;
    flex: none;
    overflow: hidden;
    transition: width .3s;
}
.desktop-sidebar.collapsed { width: 0; }
.sidebar {
    height: 100%;
    width: 224px;
    background: #0d3a20;
    color: white;
    display: flex;
    flex-direction: column;
}
.sidebar nav { flex: 1; overflow: auto; padding: 16px 12px; }
.nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(238,246,240,.65);
    font-size: 13.5px;
    text-align: left;
    margin-bottom: 2px;
}
.nav-btn i { width: 18px; font-size: 1rem; }
.nav-btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-btn.active {
    background: rgba(35,115,68,.75);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.sidebar-bottom {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.upgrade {
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}
.upgrade .crown { font-size: 22px; color: #e8c25a; }
.upgrade p { font-size: 13.5px; font-weight: 700; margin: 8px 0 4px; }
.upgrade small { font-size: 11px; line-height: 1.5; color: rgba(238,246,240,.6); }
.upgrade button {
    width: 100%;
    margin-top: 12px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    color: #0d3a20;
    background: #fff;
}
.upgrade button:hover { background: #eef6f0; }
.logout {
    width: 100%;
    border: 0;
    background: transparent;
    color: rgba(238,246,240,.65);
    padding: 10px 12px;
    text-align: left;
    font-size: 13.5px;
    margin-top: 12px;
}
.logout:hover { color: #fff; background: rgba(255,255,255,.06); border-radius: 8px; }

/* Main content */
main {
    min-width: 0;
    flex: 1;
    padding: 24px 32px 56px;
}
.columns {
    display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 20px;
}
.left-col, .right-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cards */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

.greeting {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.greeting h1 { font: 800 26px Manrope, sans-serif; letter-spacing: -.03em; margin: 0; }
.greeting p { font-size: 13px; color: #63756a; margin: 5px 0 0; }

.outline-btn, .full-outline {
    border: 1px solid #86c5a0;
    background: #fff;
    color: #134a2b;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.outline-btn i { font-size: 0.8rem; }
.share-wrap { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    width: 192px;
    background: #fff;
    border: 1px solid #e5e9e2;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 16px 40px -12px rgba(13,43,25,.25);
}
.dropdown.open { display: block; }
.dropdown button {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    font-size: 12.5px;
    color: #182720;
}
.dropdown button:hover { background: #eef6f0; color: #134a2b; }
.dropdown i { font-size: 0.9rem; color: #237344; }

.card {
    background: #fff;
    border: 1px solid #e5e9e2;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(13,43,25,.05);
}
.dark-card {
    padding: 0;
    border-color: rgba(19,74,43,.4);
    background: #0d3a20;
    box-shadow: 0 14px 34px -14px rgba(13,58,32,.55);
    overflow: hidden;
}
.dark-inner {
    position: relative;
    background: #0d3a20;
    border-radius: 10px;
    padding: 20px;
}
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}
.g1 { width: 250px; height: 250px; right: -55px; top: -95px; background: rgba(53,144,90,.25); }
.g2 { width: 210px; height: 210px; left: 25%; bottom: -100px; background: rgba(220,174,58,.1); }

h2, h3 { font-family: Manrope, sans-serif; }
h3 { font-size: 15px; margin: 0; }

.progress-head {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}
.progress-head p { font-size: 12.5px; color: rgba(183,223,198,.85); margin: 0; }
.progress-head h2 { font-size: 30px; color: #fff; margin: 4px 0 0; }

.progress-ring {
    width: 78px;
    height: 78px;
    position: relative;
    flex: none;
}
.progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 5.5; }
.ring-bg { stroke: rgba(255,255,255,.16); }
.ring-value {
    stroke: #9bdcb2;
    stroke-linecap: round;
    stroke-dasharray: 188.5;
    stroke-dashoffset: 188.5;
    transition: stroke-dashoffset 1.4s cubic-bezier(.22,1,.36,1);
}
.progress-ring span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font: 700 15px Manrope;
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,.15);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 20px;
}
.progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,#86c5a0,#fff);
    border-radius: 99px;
    transition: width 1.4s cubic-bezier(.22,1,.36,1);
}

.service-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 20px;
}
.service-stats > div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b7dfc6;
}
.service-stats > div + div {
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,.1);
}
.service-stats i { font-size: 1.1rem; flex: none; }
.service-stats small, .service-stats b { display: block; }
.service-stats small { font-size: 11px; color: rgba(183,223,198,.75); }
.service-stats b { font: 700 17px Manrope; color: #fff; margin-top: 2px; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-head a, .text-btn {
    font-size: 12px;
    font-weight: 600;
    color: #237344;
    background: none;
    border: 0;
}
.section-head a:hover, .text-btn:hover { text-decoration: underline; color: #134a2b; }

.task-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-top: 16px;
}
.task {
    border: 1px solid #e5e9e2;
    border-radius: 12px;
    padding: 14px;
    transition: .3s;
}
.task:hover {
    transform: translateY(-4px);
    border-color: #86c5a0;
    box-shadow: 0 12px 26px -12px rgba(13,58,32,.3);
}
.task-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}
.task-icon.green { background: #eef6f0; color: #237344; }
.task-icon.amber { background: #fffbeb; color: #c2922c; }
.task-icon.slate { background: #f1f5f9; color: #94a3b8; }
.task-icon i { font-size: 1.1rem; }
.task b, .task small { display: block; }
.task b { font-size: 13px; margin-top: 12px; }
.task small { font-size: 11.5px; color: #63756a; margin-top: 2px; }

.pill {
    display: inline-flex;
    border-radius: 99px;
    padding: 3px 8px;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 600;
    border: 1px solid;
    margin-top: 10px;
}
.green-pill { background: #eef6f0; color: #1a5c36; border-color: #b7dfc6; }
.amber-pill { background: #fffbeb; color: #a16207; border-color: #fde68a; }
.slate-pill { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; }
.outline-pill { background: transparent; color: #237344; border-color: #86c5a0; margin: 0 0 0 4px; }

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 16px;
}
.overview {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid #e5e9e2;
    border-radius: 12px;
    padding: 12px;
    transition: .3s;
}
.overview:hover {
    transform: translateY(-2px);
    border-color: #b7dfc6;
    background: #eef6f0;
}
.overview > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef6f0;
    color: #237344;
    flex: none;
}
.overview i { font-size: 1.1rem; }
.overview p { margin: 0; font-size: 11px; color: #63756a; }
.overview p b, .overview p small { display: block; }
.overview p b { font: 700 17px Manrope; color: #182720; margin-top: 2px; }
.overview p small { font-size: 10.5px; color: #63756a; }

.updates { margin-top: 8px; }
.update {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 8px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(229,233,226,.7);
}
.update:hover { background: rgba(238,246,240,.7); }
.update img {
    width: 96px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex: none;
}
.update div { min-width: 0; flex: 1; }
.update b {
    font-size: 13.5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.update p { font-size: 11.5px; color: #63756a; margin: 5px 0 0; }
.update time { font-size: 11px; color: #63756a; white-space: nowrap; }
.center { text-align: center; margin-top: 16px; }
.light-btn {
    border: 1px solid #e5e9e2;
    background: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #63756a;
}
.light-btn:hover { border-color: #86c5a0; background: #eef6f0; color: #134a2b; }

.great {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.great > div:nth-child(2) { max-width: 250px; }
.great h3 { color: #fff; }
.great p { font-size: 12px; line-height: 1.6; color: rgba(183,223,198,.8); margin: 6px 0 0; }

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.badge { text-align: center; }
.seal {
    width: 48px;
    height: 48px;
    border: 2px solid #e3b54b;
    border-radius: 50%;
    background: #0b3a1f;
    color: #e3b54b;
    display: grid;
    place-items: center;
    font-size: 21px;
    margin: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.badge small { display: block; color: rgba(238,246,240,.9); font-size: 10px; max-width: 64px; margin-top: 6px; }

.profile { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.profile img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #dcefe2; }
.profile b, .profile small { display: block; }
.profile b { font-size: 15px; }
.profile small { font-size: 12px; color: #63756a; margin-top: 2px; }
.profile-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.profile-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(24,39,32,.8);
    margin: 10px 0;
}
.profile-list i { font-size: 0.9rem; color: #35905a; flex: none; }
.full-outline { width: 100%; justify-content: center; }

/* Calendar */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}
.calendar-nav button {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #63756a;
    border-radius: 6px;
}
.calendar-nav button:hover { background: #eef6f0; color: #134a2b; }
.calendar-nav i { font-size: 0.9rem; }
.calendar-nav b { font: 700 14px Manrope; }

.weekdays, .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    text-align: center;
}
.weekdays {
    margin-top: 8px;
    color: rgba(99,117,106,.7);
    font-size: 10.5px;
    font-weight: 600;
}
.weekdays span { padding: 6px 0; }
.cal-day {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    border-radius: 50%;
    margin: auto;
    position: relative;
    color: rgba(24,39,32,.8);
    font-size: 12px;
}
.cal-day:hover { background: #eef6f0; color: #0d3a20; }
.cal-day.muted { color: rgba(99,117,106,.4); }
.cal-day.selected { background: #134a2b; color: #fff; font-weight: 700; }
.cal-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: #35905a;
}
.cal-dot.amber { background: #f2c14e; }
.cal-day.selected .cal-dot { background: #fff; }

.events {
    list-style: none;
    padding: 12px 0 0;
    margin: 12px 0 0;
    border-top: 1px solid #e5e9e2;
}
.events li {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    margin: 9px 0;
}
.events i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35905a;
    flex: none;
}
.events i.amber { background: #f2c14e; }
.events b { width: 48px; color: rgba(24,39,32,.7); }

.dark-btn {
    width: 100%;
    border: 0;
    background: #134a2b;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 8px 18px -8px rgba(13,58,32,.5);
}
.dark-btn:hover { background: #1a5c36; }

.actions { margin-top: 8px; }
.actions button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: left;
    color: rgba(24,39,32,.85);
    font-size: 13px;
}
.actions button:hover { background: rgba(238,246,240,.7); color: #0d3a20; }
.actions button > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef6f0;
    color: #237344;
}
.actions button > span i { font-size: 1rem; }
.actions button > i { font-size: 0.8rem; margin-left: auto; color: rgba(99,117,106,.5); }

.ai-card {
    position: relative;
    overflow: hidden;
    min-height: 160px;
}
.ai-card h3 span { color: #dcae3a; }
.ai-card p { max-width: 170px; font-size: 12.5px; line-height: 1.6; color: #63756a; margin: 6px 0 12px; }
.ai-card .dark-btn { width: auto; padding: 10px 18px; }
.ai-card img {
    position: absolute;
    right: 2px;
    bottom: -12px;
    width: 104px;
    animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-7px); } }

/* Mobile responsive for dashboard */
.mobile-overlay, .mobile-drawer { display: none; }

@media (max-width: 1100px) {
    main { padding-left: 20px; padding-right: 20px; }
    .columns { grid-template-columns: minmax(0,1fr) 300px; }
    .task-grid { grid-template-columns: repeat(2,1fr); }
    .overview-grid { grid-template-columns: repeat(2,1fr); }
    .service-stats {
        grid-template-columns: repeat(2,1fr);
        gap: 18px;
    }
    .service-stats > div + div { padding-left: 0; border-left: 0; }
}

@media (max-width: 1023px) {
    .desktop-sidebar { display: none; }
    .topbar-inner { padding: 0 16px; }
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(8,42,23,.55);
        backdrop-filter: blur(2px);
        z-index: 50;
        display: block;
        opacity: 0;
        pointer-events: none;
        transition: .3s;
    }
    .mobile-overlay.open { opacity: 1; pointer-events: auto; }
    .mobile-drawer {
        position: fixed;
        inset: 0 auto 0 0;
        width: 272px;
        max-width: 85vw;
        z-index: 51;
        display: block;
        transform: translateX(-100%);
        transition: .3s;
        box-shadow: 0 20px 40px rgba(0,0,0,.25);
    }
    .mobile-drawer.open { transform: translateX(0); }
    .mobile-drawer .sidebar { width: 100%; }
    .mobile-drawer .sidebar-head {
        height: 58px;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255,255,255,.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .mobile-drawer .sidebar-head button {
        background: transparent;
        border: 0;
        color: #b7dfc6;
        font-size: 1.2rem;
    }
    .mobile-search-btn { display: grid; }
    .desktop-search { display: none; }
    .message { display: none; }
    .profile-btn span, .profile-btn > i { display: none; }
    .columns { grid-template-columns: 1fr; }
    .right-col { display: grid; grid-template-columns: 1fr 1fr; }
    .right-col .ai-card { grid-column: 1/-1; }
}

@media (max-width: 700px) {
    .divider { display: none; }
    .greeting h1 { font-size: 22px; }
    .greeting { align-items: flex-start; flex-direction: column; }
    .topbar-inner { gap: 8px; }
    .top-actions { margin-left: auto; }
    .profile-btn { padding: 2px; }
    .card { padding: 16px; }
    .dark-inner { padding: 18px; }
    .progress-head h2 { font-size: 26px; }
    .progress-ring { width: 70px; height: 70px; }
    .task-grid, .overview-grid { grid-template-columns: 1fr 1fr; }
    .right-col { display: flex; flex-direction: column; }
    .update time { display: none; }
    .update img { width: 84px; }
    .great { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    main { padding: 18px 14px 44px; }
    .topbar-inner { padding: 0 12px; }
    .brand b { font-size: 17px; }
    .brand small { font-size: 7px; }
    .emblem { width: 34px; height: 34px; }
    .task-grid, .overview-grid { grid-template-columns: 1fr; }
    .service-stats { grid-template-columns: 1fr 1fr; }
    .service-stats > div { gap: 8px; }
    .service-stats b { font-size: 15px; }
    .progress-head h2 { font-size: 23px; }
    .progress-ring { width: 64px; height: 64px; }
    .update b { font-size: 12.5px; }
    .update img { width: 76px; height: 52px; }
    .desktop-sidebar { width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .ai-card img { animation: none; }
}