/* Villife landing — hero, wavy download button, screenshot, footer */
@font-face { font-family: "VLF Montserrat"; font-weight: 600; font-display: swap; src: url("/lp/fonts/Montserrat-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "VLF Montserrat"; font-weight: 800; font-display: swap; src: url("/lp/fonts/Montserrat-ExtraBold.ttf") format("truetype"); }

:root { --lp-btn: #1b1e29; --lp-btn-hover: #232736; --lp-wave: #c9cedb; --lp-wave-hover: #b9bfce; }
html.theme-dark { --lp-btn: #252733; --lp-btn-hover: #2d3040; --lp-wave: #5a5b68; --lp-wave-hover: #6b6c7b; }

.lp { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: clamp(40px, 9vh, 100px) 24px 0; }
.lp-hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-mark { width: 56px; height: 56px; margin-bottom: 28px; color: var(--ink); }
.lp h1 { max-width: 14ch; margin: 0; color: var(--ink); font: 800 clamp(2.5rem, 7.2vw, 5.25rem)/1.04 "VLF Montserrat", var(--display); letter-spacing: -.045em; text-wrap: balance; }
.lp h1 span { display: block; }
.lp h1 .lp-dim { color: var(--muted); }

.lp-download { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(36px, 6vh, 56px); }
.lp-dl { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 268px; height: 60px; margin: 12px; padding: 0 34px; border-radius: 22px; color: #fff; font: 600 16px/1 "VLF Montserrat", var(--sans); letter-spacing: -.01em; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: transform .2s var(--ease); }
.lp-dl:active { transform: scale(.97); }
.lp-dl:focus-visible { outline: 2px solid var(--accent); outline-offset: 16px; }
.lp-shape { position: absolute; z-index: 0; left: -12px; top: -12px; overflow: visible; pointer-events: none; }
.lp-shape .ring { fill: var(--lp-wave); transition: fill .3s var(--ease); }
.lp-shape .body { fill: var(--lp-btn); transition: fill .3s var(--ease); }
.lp-dl:hover .lp-shape .ring { fill: var(--lp-wave-hover); }
.lp-dl:hover .lp-shape .body { fill: var(--lp-btn-hover); }
.lp-dl > span { position: relative; z-index: 1; display: inline-flex; align-items: center; }
.lp-ico { display: block; width: auto; height: 24px; }
.lp-ico.invert { filter: invert(1); }
.lp-ico.tux { height: 30px; }
.lp-ico.apple { height: 26px; }
.lp-other { color: var(--muted); font-size: 12.5px; font-weight: 500; transition: color .2s; }
@media (hover: hover) { .lp-other:hover { color: var(--ink); } }

.lp-shot { position: relative; width: min(1180px, 100%); margin-top: clamp(48px, 9vh, 96px); }
.lp-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; background: #050505; box-shadow: 0 -30px 120px color-mix(in srgb, var(--ink) 6%, transparent); }
.lp-shot::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

.lp-footer { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 24px 44px; }
.lp-foot-mark { width: 30px; height: 30px; color: var(--ink); opacity: .9; }
.lp-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; color: var(--muted); font-size: 13px; font-weight: 500; }
.lp-footer nav a { transition: color .2s; }
@media (hover: hover) { .lp-footer nav a:hover { color: var(--ink); } }

@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lp-mark, .lp h1 span, .lp-download, .lp-shot { animation: lp-rise .7s var(--ease) both; }
.lp-mark { animation-delay: .02s; }
.lp h1 span:nth-child(1) { animation-delay: .08s; }
.lp h1 span:nth-child(2) { animation-delay: .16s; }
.lp h1 span:nth-child(3) { animation-delay: .24s; }
.lp-download { animation-delay: .36s; }
.lp-shot { animation-delay: .48s; }
@media (prefers-reduced-motion: reduce) { .lp *, .lp-footer * { animation: none !important; transition: none !important; } }

@media (max-width: 480px) { .lp-dl { min-width: 0; width: calc(100vw - 72px); max-width: 300px; padding: 0 20px; } }
