/* The icon's paper and red; the text stays the system's, as in the app. */
:root { --paper: #F4F1EE; --ink: #1d1b19; --muted: #6e6862; --red: #DA3F23; --line: #e3ddd6; }
* { box-sizing: border-box; margin: 0; }
body { background: var(--paper); color: var(--ink); font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 19px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.lang { color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.lang a { text-decoration: none; }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px 0 72px; }
h1 { font: 700 64px/1.02 -apple-system, "SF Pro Display", system-ui, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--red); }
.lede { font-size: 21px; color: var(--muted); margin: 22px 0 30px; max-width: 30em; }
.store img { height: 54px; width: auto; display: block; }
.platforms { margin-top: 16px; color: var(--muted); font-size: 15px; }

.devices { position: relative; justify-self: center; width: 440px; height: 600px; }
.ipad, .phone { position: absolute; background: #111; box-shadow: 0 30px 60px -20px rgba(80, 40, 20, .35); }
.ipad { right: 0; top: 0; width: 380px; border-radius: 30px; padding: 12px; }
.phone { left: 0; bottom: 0; width: 190px; border-radius: 32px; padding: 7px; }
.ipad img, .phone img { width: 100%; display: block; }
.ipad img { border-radius: 19px; }
.phone img { border-radius: 26px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 56px 0; border-top: 1px solid var(--line); }
.features h2 { font-size: 19px; margin-bottom: 6px; }
.features p { color: var(--muted); font-size: 16px; }
.dot { width: 10px; height: 10px; border-radius: 3px; background: var(--red); margin-bottom: 14px; }

.document { max-width: 680px; padding: 48px 0 72px; }
.document h1 { font-size: 44px; }
.document h2 { font-size: 21px; margin: 32px 0 8px; }
.document .updated { color: var(--muted); font-size: 15px; margin-top: 10px; }
.document .lede { margin: 18px 0 24px; }
.mail { color: var(--red); font-size: 21px; font-weight: 600; text-decoration: none; }

footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink); text-decoration: none; margin-right: 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  h1 { font-size: 42px; }
  .document h1 { font-size: 34px; }
  .features { grid-template-columns: 1fr; }
  .devices { width: 320px; height: 440px; }
  .ipad { width: 280px; }
  .phone { width: 140px; }
}
