/* AppyBod shared site styles — Apple-inspired, light/dark. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ink: #1D1D1F; --muted: #6E6E73; --line: #E8E8ED;
  --paper: #FFFFFF; --paper-2: #F5F5F7; --ink-dark: #0A0A0F; --accent: #6E5BE8; --accent-press: #5B49D6; --accent-lt: #9A8CFF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; line-height: 1.47; letter-spacing: -.003em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
img { display: block; max-width: 100%; }
a { color: inherit; }

nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.07); }
.nav-in { max-width: 1040px; margin: 0 auto; padding: 0 24px; height: 54px; display: flex; align-items: center; gap: 12px; }
.nav-in img { height: 26px; width: auto; }
.nav-name { font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { font-size: 14px; font-weight: 600; color: #fff !important; background: var(--accent); padding: 8px 16px; border-radius: 999px; transition: background .2s ease; }
.nav-cta:hover { background: var(--accent-press); }

.hero { text-align: center; padding: clamp(60px, 9vw, 104px) 0 clamp(6px, 2vw, 20px); }
.hero .eyebrow { color: var(--accent); font-weight: 600; font-size: clamp(14px,1.9vw,18px); }
h1 { margin-top: 10px; font-size: clamp(42px, 8vw, 80px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.hero .sub { margin: clamp(18px,2.6vw,24px) auto 0; max-width: 34ch; font-size: clamp(18px,2.5vw,24px); font-weight: 500; color: var(--ink); line-height: 1.32; letter-spacing: -.015em; text-wrap: balance; }
.cta-row { margin: clamp(26px,3.4vw,36px) 0 0; display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn { font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border: 0; }
.btn-primary { background: var(--accent); color: #fff; padding: 14px 30px; border-radius: 999px; transition: background .2s ease; }
.btn-primary:hover { background: var(--accent-press); }
.btn-link { color: var(--accent); background: none; }
.btn-link:hover { text-decoration: underline; }
.hero .stage { display: flex; justify-content: center; padding: clamp(40px,6vw,72px) 0 0; }

.device { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1170 / 2532; border-radius: clamp(40px,10vw,52px); padding: clamp(9px,2.4vw,12px); background: linear-gradient(165deg, #2a2a2e, #141416 55%); box-shadow: 0 2px 6px rgba(0,0,0,.12), 0 44px 80px -36px rgba(29,29,31,.5), inset 0 0 0 1.5px rgba(255,255,255,.06); }
.device .screen { width: 100%; height: 100%; border-radius: clamp(30px,7.6vw,42px); overflow: hidden; background: #000; }
.device .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.feature { padding: clamp(56px,9vw,104px) 0; }
.feature .row { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,6vw,76px); align-items: center; }
.feature .copy { max-width: 30ch; }
.feature.flip .copy { order: 2; }
.feature.flip .shot { order: 1; }
.shot { display: flex; justify-content: center; }
.kicker { color: var(--accent); font-weight: 600; font-size: clamp(13px,1.7vw,17px); }
.feature h2 { margin-top: 8px; font-size: clamp(28px,4.4vw,46px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.feature .copy p { margin-top: 15px; font-size: clamp(16px,2vw,20px); color: var(--muted); letter-spacing: -.01em; }
.feature.alt { background: var(--paper-2); }

.band { text-align: center; padding: clamp(80px,12vw,140px) 24px; background: var(--paper-2); }
.band.dark { background: var(--ink-dark); color: #fff; position: relative; overflow: hidden; }
.band.dark::before { content: ""; position: absolute; inset: -40% 0 auto 0; height: 560px; background: radial-gradient(560px 360px at 50% 0, rgba(122,111,240,.35), transparent 62%); pointer-events: none; }
.band.dark > * { position: relative; }
.band h2 { font-size: clamp(34px,6vw,64px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.band p { margin: 16px auto 0; max-width: 44ch; font-size: clamp(18px,2.3vw,22px); color: var(--muted); }
.band.dark p { color: rgba(255,255,255,.72); }

footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 13px; }
.foot-bar { max-width: 1040px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); align-items: center; }
.foot-bar a { text-decoration: none; color: var(--muted); }
.foot-bar a:hover { color: var(--ink); }
.foot-bar .sp { margin-left: auto; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.22,.7,.2,1), transform .7s cubic-bezier(.22,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Nav: on narrow screens the page links collapse behind a menu button
   (Apple-style full-screen menu; logic in /assets/nav.js). */
.nav-pages { display: flex; align-items: center; gap: 26px; }
.nav-pages a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; }
/* Anchor jumps (#get, #explore…) land below the sticky nav, not under it. */
html { scroll-padding-top: 62px; }
@media (max-width: 820px) {
  .nav-links { gap: 10px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -10px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
  .nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .25s ease, background-color .2s ease; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { transform: translateY(-4px); }
  .nav-toggle span::after { transform: translateY(4px); }
  nav.open .nav-toggle span { background-color: transparent; }
  nav.open .nav-toggle span::before { transform: rotate(45deg); }
  nav.open .nav-toggle span::after { transform: rotate(-45deg); }
  .nav-pages { position: fixed; top: 54px; left: 0; right: 0; height: calc(100dvh - 54px); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 32px; background: var(--paper); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  nav.open .nav-pages { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-pages a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
  nav.open { background: var(--paper); }
  html.nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-pages, .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { transition: none !important; }
}
@media (max-width: 760px) {
  .feature .row { grid-template-columns: 1fr; gap: 34px; text-align: center; justify-items: center; }
  .feature .copy { order: 0 !important; max-width: 34ch; }
  .feature .shot { order: 1 !important; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #F5F5F7; --muted: #A1A1A6; --line: #2A2A30; --paper: #000000; --paper-2: #0E0E12; --accent: #9A8CFF; --accent-press: #B2A6FF; }
  nav { background: rgba(0,0,0,.72); border-bottom-color: rgba(255,255,255,.1); }
  .nav-cta, .btn-primary { color: #15121f !important; }
}
