:root {
  --bg: #f4f6fa;
  --bg-glow: #e4ecf8;
  --ink: #141824;
  --ink-soft: #5a6475;
  --line: rgba(20, 24, 36, 0.08);
  --navy: #232b74;
  --navy-deep: #1a2058;
  --mint: #bbe8dd;
  --sage: #a8d3a8;
  --blue: #232b74;
  --blue-deep: #1a2058;
  --dock: rgba(255, 255, 255, 0.74);
  --radius: 28px;
  --font: "Outfit", "Avenir Next", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --shadow: 0 18px 50px rgba(35, 43, 116, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 50% -8%, rgba(187, 232, 221, 0.45), transparent 58%),
    radial-gradient(900px 480px at 85% 12%, rgba(35, 43, 116, 0.08), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 42%, #eef2f7 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 8.5rem;
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1rem 0 2.5rem;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a93a3;
}

.app-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
}

h1 span {
  color: #3a4454;
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
}

.lede {
  margin: 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.store-badge {
  display: inline-flex;
  margin-top: 0.55rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.store-badge img {
  display: block;
  width: 155px;
  height: auto;
}

.fineprint {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: #8a93a3;
}

.shots {
  margin: 1rem 0 3rem;
  text-align: center;
}

.shots-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #0e1116;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.shots-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shots-caption {
  margin: 1rem auto 0;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.panel {
  padding: 3.2rem 0 1.2rem;
  border-top: 1px solid var(--line);
}

.panel.narrow {
  max-width: 40rem;
  margin-inline: auto;
}

.panel h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.panel p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.panel a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.panel a:hover {
  text-decoration: underline;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cards article {
  padding: 1.25rem 1.3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cards h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.cards p {
  margin: 0;
  font-size: 0.95rem;
}

.muted {
  color: #8a93a3 !important;
}

.maker-mark {
  display: block;
  margin: 1.1rem auto 0;
  width: 48px;
  height: auto;
  opacity: 0.88;
}

.site-footer {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: #8a93a3;
  font-size: 0.85rem;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 40;
  width: min(560px, calc(100% - 1.25rem));
  pointer-events: none;
}

.dock-glass {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.45rem 0.45rem 0.55rem;
  border-radius: 999px;
  background: var(--dock);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 40px rgba(35, 43, 116, 0.16);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
}

.dock-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
}

.dock-arrow,
.dock-center {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.dock-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  color: #6b7380;
}

.dock-arrow:hover {
  background: rgba(20, 24, 36, 0.06);
  color: var(--ink);
}

.dock-center {
  display: grid;
  justify-items: center;
  gap: 0.05rem;
  padding: 0.25rem 0.4rem;
  min-width: 0;
}

.dock-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.dock-sub {
  font-size: 0.68rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.dock-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 8px 20px rgba(35, 43, 116, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dock-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(35, 43, 116, 0.4);
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .dock-label {
    font-size: 0.72rem;
  }

  .dock-cta {
    padding-inline: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .store-badge,
  .dock-cta {
    transition: none;
  }
}
