/* Homepage mobile layout. All rules are scoped to the home section. */
@media(max-width:900px){
 .page-shell:not(.page-shell-subpage){width:100%;min-height:100svh;padding:calc(36px + env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));box-sizing:border-box;grid-template-rows:minmax(min-content,1fr) auto;row-gap:32px}
 .hero-section{max-width:380px;margin:auto;min-width:0}
 .hero-section .app-icon{width:88px;height:88px;border-radius:22px}
 .hero-section .hero-wordmark{width:min(220px,62vw);height:auto;margin-top:24px}
 .hero-section .hero-slogan{max-width:100%;white-space:normal;text-wrap:balance;overflow-wrap:anywhere;font-size:clamp(17px,4.6vw,22px);line-height:1.65;letter-spacing:0;margin-top:26px}
 .hero-section .hero-lead{font-size:10px;line-height:1.6;letter-spacing:.12em;white-space:normal;overflow-wrap:anywhere;margin-top:6px}
 .hero-section .hero-actions{width:100%;max-width:380px;gap:16px;margin-top:32px}
 .hero-section .hero-action-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}
 .hero-section .action-button{min-width:0;width:100%;min-height:54px;height:auto;padding:14px 12px;border-radius:16px;line-height:1.5;font-size:14px;font-weight:650;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
 .hero-section .action-button-primary{box-shadow:0 8px 20px rgba(27,23,18,.12)}
 .hero-section .hero-action-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;max-width:none;padding:0;border:1px solid rgba(27,23,18,.08);border-radius:18px;background:rgba(255,255,255,.48);box-shadow:none}
 .hero-section .hero-action-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:56px;height:auto;padding:16px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#4f493f;font-size:13px;font-weight:550;line-height:1.6;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
 .hero-section .hero-action-links a:after{content:"";width:14px;height:14px;flex-shrink:0;background:currentColor;opacity:.6;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h10v10M7 17 17 7' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
 .hero-section .hero-action-links a:nth-child(odd){border-right:1px solid rgba(27,23,18,.08)}
 .hero-section .hero-action-links a:nth-child(n+3){border-top:1px solid rgba(27,23,18,.08)}
 .hero-section .hero-action-links a:first-child{border-top-left-radius:17px}
 .hero-section .hero-action-links a:nth-child(2){border-top-right-radius:17px}
 .hero-section .hero-action-links a:nth-child(3){border-bottom-left-radius:17px}
 .hero-section .hero-action-links a:last-child{border-bottom-right-radius:17px}
 .hero-section .hero-action-links a:hover{background:rgba(255,255,255,.4);transform:none}
 .page-shell:not(.page-shell-subpage)>.site-footer{margin:0;gap:8px;flex-wrap:wrap;line-height:1.6;max-width:100%;font-size:10px;letter-spacing:0}
}
@media(max-width:360px){
 .hero-section .hero-action-main{gap:10px}
 .hero-section .action-button{font-size:13px;padding:14px 10px}
 .hero-section .hero-action-links a{font-size:12px;padding:16px 14px;gap:6px}
}
@media(max-width:900px) and (max-height:650px){
 .page-shell:not(.page-shell-subpage){padding-top:24px;row-gap:24px}
 .hero-section .app-icon{width:64px;height:64px;border-radius:17px}
 .hero-section .hero-wordmark{width:180px;margin-top:18px}
 .hero-section .hero-slogan{margin-top:20px}
 .hero-section .hero-actions{margin-top:24px}
}
