:root {
  --ink: #171819;
  --muted: #65686b;
  --line: #e4e6e8;
  --accent: #ff7900;
  --dark: #080808;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.6; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #5b95fa; outline-offset: 5px; }
.container { width: min(var(--max-width), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 18px; background: #fff; color: var(--ink); }
.skip-link:focus { top: 8px; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--dark); color: #fff; border-bottom: 1px solid #242424; }
.header-inner { display: flex; align-items: center; gap: 36px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: 26px; font-weight: 750; line-height: 1; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.main-nav { display: flex; gap: 32px; margin-left: auto; font-size: 14px; font-weight: 600; }
.main-nav a { color: #c9c9c9; padding-block: 12px; }
.main-nav a:hover { color: #fff; }
.header-app { display: inline-flex; gap: 16px; align-items: center; padding: 10px 18px; border: 1px solid #696969; border-radius: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.header-app:hover { border-color: var(--accent); color: #ffac63; }
.menu-button { display: none; }

.hero { position: relative; isolation: isolate; min-height: 610px; display: flex; align-items: center; background: var(--dark); color: #fff; overflow: hidden; }
.hero-content { position: relative; z-index: 2; pointer-events: none; padding-block: 68px; }
.hero-content > * { pointer-events: auto; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero .eyebrow { color: #ffa556; margin-bottom: 20px; }
.hero h1 { width: 46%; max-width: 540px; font-size: 48px; line-height: 1.12; font-weight: 750; overflow-wrap: break-word; }
.hero-description { width: 42%; max-width: 480px; margin-top: 26px; color: #bfc0c2; line-height: 1.75; }
.hero-action { display: inline-flex; align-items: center; gap: 20px; background: #fff; color: #171819; margin-top: 30px; padding: 13px 20px; border-radius: 6px; font-size: 14px; font-weight: 700; }
.hero-action:hover { background: #eee; }
.hero-downloads { display: flex; flex-wrap: wrap; gap: 12px; width: 46%; max-width: 540px; margin-top: 30px; }
.hero-downloads .hero-action { margin-top: 0; padding-inline: 16px; gap: 10px; }
.hero-action-secondary { border: 1px solid #787878; background: #080808; color: #fff; }
.hero-action-secondary:hover { background: #202020; }
.availability { margin-top: 12px; color: #a9aaac; font-size: 12px; }
.hero-media { position: absolute; inset: 0 0 0 51%; display: flex; align-items: center; }
.hero-media img { width: 100%; height: auto; object-fit: contain; }

.section { padding-block: 84px; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading .eyebrow { color: var(--muted); margin-bottom: 12px; }
h2 { font-size: 36px; line-height: 1.25; font-weight: 750; }
.section-heading > p:last-child { color: var(--muted); margin-top: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.feature { text-align: center; }
.feature img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 24px; border-radius: 8px; }
.feature h3 { font-size: 20px; line-height: 1.35; margin-bottom: 12px; }
.feature p { color: var(--muted); max-width: 300px; margin-inline: auto; }
.preview { background: #f3f4f6; border-top: 1px solid var(--line); }
.preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.preview-grid img { width: 100%; height: auto; aspect-ratio: 1242 / 2688; object-fit: contain; }

.site-footer { background: var(--dark); color: #fff; padding-top: 60px; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 48px; }
.footer-tagline { color: #bfc0c2; margin-top: 18px; }
.contact-line { color: #bfc0c2; margin-top: 20px; font-size: 14px; }
.contact-line a { color: #fff; overflow-wrap: anywhere; text-underline-offset: 4px; }
.contact-line a:hover { text-decoration: underline; }
.download { align-self: center; text-align: center; scroll-margin-top: 130px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-button { display: inline-flex; align-items: center; gap: 16px; padding: 10px 20px; border: 1px solid #787878; border-radius: 6px; background: #080808; color: #d6d6d6; text-align: left; line-height: 1.2; opacity: 1; }
a.store-button { cursor: pointer; }
a.store-button:hover { border-color: #fff; color: #fff; }
.store-button:disabled { cursor: not-allowed; }
.store-button > span:last-child { font-size: 12px; }
.store-button strong { display: block; font-size: 23px; font-weight: 500; margin-top: 2px; }
.play-mark { display: block; width: 22px; height: 26px; background: #d6d6d6; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.download p { color: #bfc0c2; font-size: 13px; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #292929; padding-block: 24px; color: #aaa; font-size: 12px; }
.footer-bottom a:hover { color: #fff; }

@media (min-width: 1600px) {
  .hero { min-height: 670px; }
  .hero-media { right: max(0px, calc((100% - 1500px) / 2)); }
}
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .header-inner { gap: 24px; }
  .hero h1 { font-size: 42px; width: 49%; }
  .hero-description { width: 47%; }
  .hero-downloads { width: 49%; }
  .feature-grid { gap: 24px; }
  .feature h3 { font-size: 18px; }
  .preview-grid { gap: 14px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: 68px; gap: 12px; }
  .brand { font-size: 21px; gap: 5px; }
  .brand img { width: 32px; height: 32px; }
  .header-app { margin-left: auto; font-size: 12px; padding: 8px 10px; gap: 8px; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 40px; padding: 8px; color: #fff; background: none; border: 0; flex-shrink: 0; order: 3; }
  .menu-button span { width: 20px; height: 2px; background: currentColor; }
  .main-nav { position: absolute; left: 0; right: 0; top: 68px; padding: 12px 20px 20px; background: #080808; border-bottom: 1px solid #292929; display: none; margin: 0; gap: 0; }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 12px 4px; }
  .hero { display: block; min-height: 0; }
  .hero-content { padding-block: 32px 16px; }
  .hero h1 { width: 100%; max-width: 560px; font-size: 32px; line-height: 1.15; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero-description { width: 100%; max-width: 560px; margin-top: 20px; font-size: 15px; line-height: 1.7; }
  .hero-downloads { width: 100%; max-width: none; margin-top: 24px; }
  .hero-media { position: relative; inset: auto; width: 100%; max-width: 620px; margin: auto; }
  .section { padding-block: 56px; }
  h2 { font-size: 30px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p:last-child { font-size: 15px; max-width: 460px; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 20px; text-align: left; }
  .feature img { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .feature h3 { margin: 0; font-size: 18px; }
  .feature p { max-width: none; margin: 0; font-size: 15px; }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .footer-main { flex-direction: column; gap: 32px; padding-bottom: 32px; }
  .download { align-self: flex-start; text-align: left; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .site-footer { padding-top: 40px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
  .header-inner { gap: 10px; }
  .header-app { font-size: 11px; gap: 5px; padding: 8px; }
  .hero-content { padding-top: 24px; }
  .hero h1 { font-size: 28px; }
  .hero-downloads .hero-action { font-size: 13px; }
  .preview-grid { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
