/* Apple-style product page: white (black in dark mode), system fonts, generous space, one accent. */
:root {
  color-scheme: light dark;
  --bg: #ffffff; --text: #1d1d1f; --muted: #6e6e73; --tile: #f5f5f7; --line: rgba(0,0,0,.1);
  --link: #0066cc; --button: #0071e3; --nav: rgba(255,255,255,.72); --menu: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --text: #f5f5f7; --muted: #86868b; --tile: #161617; --line: rgba(255,255,255,.16);
          --link: #2997ff; --nav: rgba(22,22,23,.72); --menu: #1d1d1f; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -.022em; -webkit-font-smoothing: antialiased;
}
:lang(ar) body, body:lang(ar) { font-family: -apple-system, "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", Tahoma, sans-serif; }
:lang(ja) body, body:lang(ja) { font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
:lang(ko) body, body:lang(ko) { font-family: -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
body:lang(ar), body:lang(ja), body:lang(ko) { letter-spacing: normal; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* Local navigation bar */
.localnav { position: sticky; top: 0; z-index: 20; background: var(--nav); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.localnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; }
.brand { font-size: 21px; font-weight: 600; color: var(--text); letter-spacing: .011em; }
.brand:hover { text-decoration: none; }
.actions { display: flex; align-items: center; gap: 14px; }
.pill { display: inline-block; border-radius: 980px; background: var(--button); color: #fff; font-weight: 400;
  padding: 12px 22px; font-size: 17px; line-height: 1.18; }
.pill:hover { text-decoration: none; background: #0077ed; }
.pill.small { padding: 4px 11px; font-size: 12px; letter-spacing: -.01em; }
.pill.soon { background: var(--tile); color: var(--muted); }
.pill { white-space: nowrap; }
details.langs { position: relative; font-size: 12px; }
details.langs summary { list-style: none; cursor: pointer; color: var(--text); display: flex; align-items: center; gap: 5px; }
details.langs summary::-webkit-details-marker { display: none; }
details.langs summary svg { width: 13px; height: 13px; }
details.langs nav { position: absolute; inset-inline-end: 0; top: calc(100% + 14px); display: grid; min-width: 160px; padding: 6px;
  background: var(--menu); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.14); }
details.langs nav a, details.langs nav span { padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--text); }
details.langs nav a:hover { background: var(--tile); text-decoration: none; }
details.langs nav span { color: var(--muted); }

/* Hero */
.hero { text-align: center; padding-top: 72px; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; }
.eyebrow { font-size: 21px; font-weight: 600; margin: 18px 0 4px; letter-spacing: .011em; }
h1 { font-size: clamp(40px, 7vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -.015em; margin: 0; }
.lede { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.33; color: var(--muted); max-width: 640px; margin: 18px auto 0; letter-spacing: .009em; }
.ctas { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.more { font-size: 17px; }
.more::after { content: " ›"; }
[dir="rtl"] .more::after { content: " ‹"; }
.fine { color: var(--muted); font-size: 12px; margin-top: 18px; letter-spacing: -.01em; }
body:lang(ar) .fine, body:lang(ja) .fine, body:lang(ko) .fine { letter-spacing: normal; }

/* Three iPhones */
.phones { display: flex; justify-content: center; align-items: flex-end; margin: 64px auto 0; max-width: 820px; direction: ltr; }
.phone { flex: 0 0 auto; width: 30%; max-width: 260px; border-radius: 15% / 7%; border: 8px solid #1d1d1f;
  overflow: hidden; background: #1d1d1f; }
.phone img { display: block; width: 100%; height: auto; }
.phone.side { width: 25%; margin-bottom: 4%; opacity: .96; }
.phone.side.left { margin-inline-end: -3%; }
.phone.side.right { margin-inline-start: -3%; }
.phone.center { position: relative; z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,.18); }

/* Sections */
section.block { padding-top: 110px; }
h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.003em; margin: 0 0 40px; text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--tile); border-radius: 28px; padding: 32px 30px 36px; }
.tile h3 { font-size: 21px; line-height: 1.19; font-weight: 600; margin: 0 0 10px; letter-spacing: .011em; }
.tile p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 48px; font-weight: 600; line-height: 1; margin-bottom: 14px; color: var(--muted); }
.download { text-align: center; padding-top: 120px; padding-bottom: 40px; }
.download h2 { margin-bottom: 0; }

/* Documents (privacy, support) */
article { max-width: 736px; margin: 0 auto; padding-top: 64px; padding-bottom: 40px; }
article h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; margin-bottom: 8px; }
article .meta { color: var(--muted); margin: 0 0 40px; }
article.centered { text-align: center; }
article h2 { font-size: 24px; line-height: 1.17; text-align: start; margin: 40px 0 10px; }
article ul { padding-inline-start: 1.2em; }
article li { margin-bottom: 6px; }
article details { border-bottom: 1px solid var(--line); padding: 18px 0; }
article details:first-of-type { border-top: 1px solid var(--line); margin-top: 32px; }
article summary { list-style: none; cursor: pointer; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
article summary::-webkit-details-marker { display: none; }
article summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; color: var(--muted); }
article details[open] summary::after { content: "−"; }
article details p { color: var(--muted); margin: 12px 0 0; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 30; padding: 8px 14px; border-radius: 10px;
  background: var(--menu); color: var(--text); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.skip:focus { top: 8px; text-decoration: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.download .icon { width: 72px; height: 72px; border-radius: 16px; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) .lede { word-break: auto-phrase; }

/* Footer */
footer { margin-top: 80px; background: var(--tile); color: var(--muted); font-size: 12px; line-height: 1.33; letter-spacing: -.01em; }
footer .wrap { padding-top: 18px; padding-bottom: 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 0; margin-bottom: 10px; }
footer nav a { color: var(--text); opacity: .8; }
footer nav a + a::before { content: "|"; color: var(--line); margin: 0 10px; }
footer p { margin: 6px 0 0; }

@media (max-width: 834px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .lede { font-size: 19px; }
  .tiles, .steps { grid-template-columns: 1fr; }
  .tile { padding: 26px 24px 30px; }
  section.block { padding-top: 80px; }
  .download { padding-top: 88px; }
  .phone { border-width: 5px; }
}
