:root { --navy: #052576; --navy-deep: #021038; --ink: #1b1f2a; --muted: #5b6475; --line: #dde2ec; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--navy-deep); color: #fff; padding: 0 1.5rem; }
.site-nav { max-width: 64rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.wordmark { color: #fff; font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; gap: 1.25rem; font-size: .95rem; }
.nav-links a { color: #d6e0fa; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; text-decoration: underline; }
.hero { background: radial-gradient(120% 90% at 80% 20%, #1a47b8 0%, var(--navy) 45%, var(--navy-deep) 100%); color: #fff; padding: 5rem 1.5rem; }
.hero-inner { max-width: 64rem; margin: 0 auto; display: flex; align-items: center; gap: 4rem; }
.hero-text { flex: 1 1 0; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.15; letter-spacing: -.01em; }
.hero .lead { color: #d6e0fa; font-weight: 500; }
.phone { flex: 0 0 auto; width: 260px; padding: 10px; border-radius: 36px; background: #0b0f1a; box-shadow: 0 30px 60px rgba(0,0,0,.4), inset 0 0 0 2px #2a3242; }
.phone { position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: #0b0f1a; opacity: .55; }
.phone img { display: block; border-radius: 27px; }

main section { max-width: 64rem; margin: 0 auto; padding: 6rem 1.5rem; }
main section + section { border-top: 1px solid var(--line); }
h2 { font-size: 1.9rem; margin: 0 0 2rem; letter-spacing: -.01em; }
.lead { font-size: 1.3rem; font-weight: 600; }

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem; align-items: stretch; }
.app { border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem; }
.app-head { display: flex; align-items: center; gap: 1rem; }
.app-head h3 { margin: 0; font-size: 1.4rem; }
.app-icon { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 2px 8px rgba(5,37,118,.25); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: .6rem; margin: 1.25rem 0; }
.shots a { display: block; cursor: zoom-in; }
.shots img { border-radius: 10px; border: 1px solid var(--line); }
.play { display: inline-block; }
.play img { display: block; height: 54px; width: auto; }
.links { color: var(--muted); font-size: .95rem; }
.app { display: flex; flex-direction: column; }
.app .links { margin-top: auto; padding-top: 1rem; }
.soon { display: inline-block; align-self: flex-start; margin: .25rem 0 0; padding: .2rem .7rem; border-radius: 999px; background: #e8edfb; color: var(--navy); font-size: .85rem; font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-actions .button { margin-top: 0; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover, .button-light:focus-visible { background: #e8edfb; }
.button-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.button-ghost:hover, .button-ghost:focus-visible { background: rgba(255,255,255,.12); }

.lightbox { display: none; position: fixed; inset: 0; z-index: 10; background: rgba(2,16,56,.88); align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox:target { display: flex; }
.lightbox img { position: relative; max-height: 90vh; width: auto; border-radius: 12px; pointer-events: none; }
.lb-close { position: absolute; inset: 0; cursor: zoom-out; }

.points { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; }
.points li { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.points svg { width: 32px; height: 32px; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button { display: inline-block; margin-top: 1rem; padding: .85em 1.6em; border-radius: 8px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; }
.button:hover, .button:focus-visible { background: var(--navy-deep); }

footer { background: #f4f6fa; color: var(--muted); text-align: center; padding: 2.5rem 1rem; font-size: .9rem; }
footer .fine { font-size: .75rem; }

@media (max-width: 760px) {
  .site-header { padding: 0 1.25rem; }
  .wordmark { font-size: 1.5rem; }
  .nav-links { gap: .9rem; font-size: .9rem; }
  .hero { padding: 3.5rem 1.25rem; }
  .hero-inner { flex-direction: column; gap: 2.5rem; text-align: left; }
  .phone { width: 220px; }
  main section { padding: 4rem 1.25rem; }
  main section + section { margin-top: 2rem; padding-top: 5rem; }
  .work .button { display: block; width: 100%; text-align: center; }
}

@media (min-width: 900px) {
  #apps, #work-with-us { max-width: 72rem; }
  .apps { grid-template-columns: 2fr 1fr; }
}
