.home-page{display:flex;flex-direction:column;gap:40px}

.home-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:center;padding:20px 0 10px}
.home-hero-left{--hero-from:#d6ed83;position:relative;overflow:hidden;padding:46px 42px;border-radius:28px;border:1px solid var(--line);background:linear-gradient(150deg,var(--hero-from) 0%,var(--surface) 88%)}
[data-theme="dark"] .home-hero-left{--hero-from:#2d4a24}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .home-hero-left{--hero-from:#2d4a24}}
/* decorative drone silhouette (partials/hero-drone.blade.php): large, translucent, behind the text */
.home-hero-drone{position:absolute;right:-26%;top:52%;width:84%;max-width:620px;height:auto;aspect-ratio:1;transform:translateY(-50%) rotate(-8deg);color:var(--ink);fill:currentColor;opacity:.083;z-index:0;pointer-events:none}
[data-theme="dark"] .home-hero-drone{color:var(--accent);opacity:.17}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .home-hero-drone{color:var(--accent);opacity:.17}}
.home-hero-left .home-hero-text,.home-hero-left .stats small,.home-hero-left .fine{color:color-mix(in srgb,var(--text) 74%,transparent)}
.home-hero-left .auth-story{position:relative;z-index:1}
.home-hero-text{max-width:460px;margin:16px 0 26px;color:var(--muted);font-size:16px}
.home-stats{gap:26px 34px}
.home-stats strong{font-size:26px}

.home-login-card{max-width:420px;width:100%;justify-self:end;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:44px 42px}
/* same edges and the same inner inset as the hero card next to it; first/last child carry no margin, so top and bottom padding are equal */
.home-login-card>:first-child{margin-top:0}
.home-login-card>:last-child{margin-bottom:0}
.home-login-card h2{margin:6px 0 22px}
.home-login-card .fine{margin:12px 0 0}
.home-login-card>.fine:last-child{margin-top:16px}
.home-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--muted);font-size:12px}
.home-divider::before,.home-divider::after{content:'';flex:1;height:1px;background:var(--line)}

.home-features-section h2{margin:6px 0 20px}
.home-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature-card{padding:22px;display:flex;flex-direction:column;gap:10px;transition:transform .15s ease,box-shadow .15s ease}
.feature-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px #123a2216}
.feature-card h3{margin:2px 0 0;font-size:16px}
.feature-card p{margin:0}
.feature-icon{width:44px;height:44px;border-radius:12px;background:var(--surface-alt);color:var(--ink);display:grid;place-items:center;font-size:20px;flex-shrink:0}
[data-theme="dark"] .feature-icon{color:var(--accent)}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .feature-icon{color:var(--accent)}}

@media(max-width:900px){
    .home-hero-grid{grid-template-columns:1fr;gap:34px}
    .home-login-card{justify-self:stretch;align-self:auto;max-width:none;margin:0}
    .home-feature-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
    .home-hero-left{padding:30px 22px;border-radius:24px}
    .home-login-card{padding:30px 32px}
    .home-hero-drone{width:118%;max-width:none;right:-46%;top:70%;opacity:.1}
    .home-page{gap:30px}
    .home-hero-grid{padding:6px 0 0}
    .home-stats{gap:18px 24px}
    .home-feature-grid{grid-template-columns:1fr}
}
