:root {
  color-scheme: light;
  --ios-system-blue: #007AFF;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d1d1f;
  background: #F4F4F4;
  line-height: 1.65;
}
a { color: var(--ios-system-blue); }
header {
  background: #fff;
  border-bottom: 1px solid #dedee3;
}
.nav, main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 20px;
}
.top-nav { justify-content: flex-end; }
.brand { color: #1d1d1f; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { font-size: .95rem; text-decoration: none; }
main { max-width: 780px; padding: 64px 0 80px; }
.home-hero {
  max-width: 920px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 336px);
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
}
.features {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 80px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 48px;
}
.features h2 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; }
.features p { margin: 0; color: #6e6e73; font-size: .875rem; }
.eyebrow { color: #6e6e73; font-size: .95rem; margin: 0 0 8px; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); letter-spacing: -.04em; line-height: 1.08; margin: 0 0 40px; }
.document-page h1 { font-size: clamp(2rem, 4vw, 2.5rem); }
.home-hero h1 { font-size: clamp(2.25rem, 5vw, 3rem); margin-bottom: 8px; }
.app-icon {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 0 16px;
  border-radius: 29px;
}
.hero-copy > h2 { margin: 0; color: #6e6e73; font-weight: 400; }
.hero-copy > p { margin: 28px 0 0; }
h2 { font-size: 1.45rem; line-height: 1.25; margin: 42px 0 12px; }
p, li { font-size: 1.05rem; }
ul { padding-left: 24px; }
.notice {
  padding: 20px 24px;
  background: #fff;
  border-radius: 16px;
  color: #515154;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(151px, 1fr));
  gap: 16px;
  align-items: start;
}
.gallery img {
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgb(0 0 0 / 12%);
}
.gallery .ipad { grid-column: span 2; }
.gallery + p { margin-top: 40px; }
.download {
  color: var(--ios-system-blue);
  font-weight: 400;
  text-decoration: underline;
}
.app-store-badge img { display: block; height: 60px; width: auto; }
.app-screenshot {
  display: block;
  width: min(336px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
}
footer { padding: 28px 20px; text-align: center; color: #6e6e73; font-size: .9rem; }
.footer-links { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; }
.footer-links a { color: var(--ios-system-blue); font-size: 1.125rem; text-decoration: none; }
.footer-links a + a { margin-left: -2px; padding-left: 16px; border-left: 1px solid #c7c7cc; }
.page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-bottom: 20px; }
.page-links a {
  color: var(--ios-system-blue);
  font-size: 1.125rem;
  font-weight: 400;
  text-decoration: none;
}
.page-links a + a { margin-left: 16px; padding-left: 16px; border-left: 1px solid #c7c7cc; }
@media (max-width: 700px) {
  .home-hero { grid-template-columns: 1fr; }
  .app-screenshot { margin-top: 48px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .nav { min-height: 58px; }
  main { padding-top: 44px; }
  .features { grid-template-columns: 1fr; gap: 36px; }
  .page-links a + a { margin-left: 12px; padding-left: 12px; }
  .gallery .ipad { grid-column: span 1; }
}
