/* Landing page only: navy in light and dark. Tokens and footer base come from style.css. */
body.home { min-height: 100svh; background: radial-gradient(120% 80% at 50% 0%, #25226a 0%, #1d1a4d 45%, #12102e 100%) fixed; color: #fff; }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.home .wrap { position: relative; z-index: 1; max-width: 560px; min-height: 100svh; display: flex; flex-direction: column; }
.home main { flex: 1; text-align: center; padding-top: 32px; }
.home .text { display: flex; flex-direction: column; align-items: center; gap: 22px; --f: calc((100vw - 40px) / 9.4); }
.row { display: flex; align-items: center; gap: 18px; }
.appicon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 14px 34px rgba(5, 4, 20, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.meta { font-size: 15px; line-height: 21px; color: #9a97c4; text-align: left; }
.meta b { display: block; color: #fff; font-weight: 600; }
.meta b.name { font-size: 22px; line-height: 28px; }
.home h1 { font-family: var(--sans); font-style: normal; font-weight: 800; font-size: calc(var(--f) * .925); line-height: 1.02; letter-spacing: -0.025em; margin: 0; color: #fff; }
.home h1 .l { display: block; white-space: nowrap; }
.home h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: -0.01em; font-size: var(--f); line-height: 1.05; margin-top: 4px; }
.home .sub { font-size: 1.1rem; line-height: 1.5; color: #b9b6d6; margin: 0; max-width: 520px; }
.badge { display: inline-block; line-height: 0; }
.badge img { display: block; height: 52px; width: auto; }
/* Phone mockup: 9:19.5 screen, thin bezel, Dynamic Island, side buttons. */
.phone { position: relative; margin: 56px auto 0; height: auto; width: min(62%, 270px); aspect-ratio: 0.4745; background: #0b0a1c; border-radius: 14% / 6.64%; padding: 2.6%; box-shadow: 0 0 0 1.5px #4a4590, 0 0 0 3px #0b0a1c, 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(239, 159, 39, 0.08); }
.phone::before, .phone::after { content: ""; position: absolute; width: 1.2%; background: #2c2960; border-radius: 2px; }
.phone::before { left: -2.2%; top: 17%; height: 5%; box-shadow: 0 9.5vmin 0 #2c2960; }
.phone::after { right: -2.2%; top: 24%; height: 9%; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 12.2% / 5.7%; overflow: hidden; background: #1d1a4d; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.island { position: absolute; top: 1.6%; left: 50%; width: 28%; aspect-ratio: 3.1; transform: translateX(-50%); background: #000; border-radius: 99px; }
.home footer.site { margin-top: 36px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); text-align: center; border-top-color: rgba(185, 182, 214, 0.2); color: #b9b6d6; font-size: 0.85rem; }
.home footer.site nav { justify-content: center; }
.home footer.site nav a { color: #dcdaf0; }
.home footer.site nav a:hover { color: #fff; }
.home footer.site nav a + a::before { margin: 0 8px; color: var(--gold); }
.home a:focus-visible { outline: 3px solid var(--gold); }
/* Desktop (matches web-lab 2a): 1100 px container, text left (flush left), 310 px phone right. */
@media (min-width: 960px) {
  .home .wrap { max-width: 1100px; padding: 0 32px; }
  .home main { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 72px; padding: 24px 0; text-align: left; }
  .home .text { align-items: flex-start; gap: 28px; --f: min(80px, calc((100vw - 446px) * .1114)); }
  .appicon { width: 84px; height: 84px; border-radius: 20px; }
  .meta b.name { font-size: 24px; line-height: 30px; }
  .home .sub { font-size: 22px; }
  .badge img { height: 58px; }
  .phone { margin: 0; width: min(310px, calc((100svh - 120px) * 0.4745)); height: auto; }
  .phone::before { box-shadow: 0 6svh 0 #2c2960; }
  .home footer.site { margin-top: 0; padding: 16px 0 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-8px); } }
  .badge { transition: transform 0.12s ease; } .badge:active { transform: scale(0.97); }
}
