:root {
  --text: #1D1D1F; --body: #3A3A3C; --muted: #6E6E73; --line: #E5E5EA; --link: #2E6FD9; --bg: #FFFFFF; --soft: #F5F5F7;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/24px "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
h1, h2 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
code { font: 500 14px/20px "Geist Mono", monospace; background: var(--soft); padding: 2px 4px; border-radius: 4px; }
bdi[lang="ar"] { font-family: system-ui, "Noto Sans Arabic", sans-serif; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

.col { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* top bar */
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.name { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.name:hover { text-decoration: none; }
.name img { border-radius: 6px; }
.top-dl { font-size: 14px; line-height: 20px; font-weight: 600; }

/* intro */
.intro { padding-top: 64px; padding-bottom: 48px; }
.app-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 1px 2px rgba(29, 29, 31, .08), 0 8px 24px rgba(29, 29, 31, .08); }
h1 { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 32px 0 0; }
.lede { font-size: 20px; line-height: 28px; color: var(--body); margin: 24px 0 0; }
.get { margin-top: 32px; }
.button { display: inline-block; background: var(--text); color: #fff; font-size: 16px; line-height: 24px; font-weight: 600;
  padding: 12px 24px; border-radius: 8px;
  transition: background-color 300ms var(--ease), transform 300ms var(--ease); }
.button:hover { background: #000; text-decoration: none; }
.button:active { transform: translateY(1px); }
#release-info { margin: 12px 0 0; }

/* screenshots: one row, never overlapping; scrolls sideways on small screens */
.shots { padding: 16px 0 64px; }
.shot-row { list-style: none; margin: 0 auto; padding: 0 24px; max-width: 1080px; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.shot-row li { margin: 0; }
.shot-row img { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); }
.shot-row span { display: block; margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); text-align: center; }

/* sections: text beside its screenshots, alternating sides */
.sections { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.feature { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.feature.flip .copy { order: 2; }
.copy { max-width: 520px; }
h2 { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }
.copy p, .narrow p { margin: 0 0 16px; color: var(--body); }
.copy p:last-child { margin-bottom: 0; }
.copy .button { margin-top: 8px; }
.media { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 24px; justify-content: center; }
.media.one { grid-template-columns: minmax(0, 260px); }
.phone { margin: 0; }
.phone img, .tablet img { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: var(--soft);
  box-shadow: 0 1px 2px rgba(29, 29, 31, .06), 0 12px 32px rgba(29, 29, 31, .08);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.phone:hover img, .shot-row li:hover img { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(29, 29, 31, .06), 0 24px 48px rgba(29, 29, 31, .12); }
.shot-row img { transition: transform 500ms var(--ease); }
.phone figcaption, .tablet figcaption { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); text-align: center; }
.media .phone:nth-child(2) { margin-top: 48px; }
.wide { padding: 64px 0; border-top: 1px solid var(--line); }
.narrow { max-width: 640px; }
.tablet { margin: 32px 0 0; }
.list { margin: 0; padding-left: 24px; color: var(--body); }
.list li { margin: 8px 0; padding-left: 4px; }
.steps { margin: 8px 0 16px; padding-left: 24px; color: var(--body); }
.steps li { margin: 12px 0; padding-left: 8px; }
.faq-section { padding: 64px 0; border-top: 1px solid var(--line); }
.faq-section .faq { max-width: 640px; }
.faq { margin: 0; }
.faq dt { font-weight: 600; margin-top: 16px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; color: var(--body); }

/* gentle entrance as each section scrolls into view */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.foot { padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .feature.flip .copy { order: 0; }
  .media .phone:nth-child(2) { margin-top: 32px; }
  .shot-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; gap: 12px; padding-bottom: 8px; }
  .shot-row li { flex: 0 0 62%; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  h1 { font-size: 30px; line-height: 36px; }
  .lede { font-size: 18px; line-height: 28px; }
  .intro { padding-top: 40px; }
  .shot-row li { flex-basis: 72%; }
  h2 { font-size: 24px; line-height: 32px; }
  .media { gap: 12px; }
  .media.one { grid-template-columns: minmax(0, 220px); }
}
@media (prefers-reduced-motion: reduce) {
  .button, .phone img, .shot-row img { transition: none; }
  .reveal { transform: none; transition: opacity 300ms var(--ease); }
}
