@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/assets/fonts/instrument-sans.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
:root {
  color-scheme: light dark;
  /* Cool, quiet neutrals. */
  --paper: #fff; --alt: #f5f5f7; --raised: #fff; --ink: #1d1d1f; --copy: #424245; --muted: #6e6e73;
  --line: #d2d2d7; --hairline: rgb(0 0 0 / 8%);
  /* The wing's azure, deepened to keep text contrast on white. */
  --accent: #0071c6;
  /* Iridescence sampled from the butterfly wing: sky blue, indigo, violet, orchid. */
  --iris-1: #0087ff; --iris-2: #2f5bff; --iris-3: #e01e9b; --iris-4: #ff2b6b;
  --iris: linear-gradient(96deg, var(--iris-1) 4%, var(--iris-2) 38%, var(--iris-3) 70%, var(--iris-4) 100%);
  --glass: rgb(255 255 255 / 68%);
  --shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 24px 48px -24px rgb(18 16 60 / 28%), 0 60px 120px -48px rgb(60 40 160 / 28%);
  --display: 'Manrope', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
  font-family: var(--body); font-synthesis: none; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; background: var(--paper); color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-180%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

/* Header: a thin translucent bar, as on Apple product pages. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--glass); border-bottom: 1px solid var(--hairline); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; flex-shrink: 0; }
.header-inner .app-icon { width: 28px; }
.app-icon { flex-shrink: 0; }
.app-icon img { border-radius: 23%; }
.primary-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 12px; color: var(--copy); }
.primary-nav a[aria-current] { color: var(--ink); font-weight: 600; }
.language-picker { position: relative; font-size: 12px; color: var(--copy); }
.language-picker summary { display: flex; align-items: center; gap: 7px; cursor: pointer; min-height: 44px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.chevron { width: 6px; height: 6px; border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); margin: -3px 3px 0; flex-shrink: 0; }
details[open] > summary .chevron { transform: rotate(225deg); margin-top: 3px; }
.language-picker nav { position: absolute; z-index: 20; top: calc(100% + 6px); right: -16px; width: 230px; padding: 8px; background: var(--raised); border: 1px solid var(--hairline); border-radius: 14px; box-shadow: var(--shadow); font-size: 13px; color: var(--ink); }
.language-picker nav a { display: block; padding: 9px 12px; border-radius: 8px; }
.language-picker nav a:hover, .language-picker nav a[aria-current] { background: var(--alt); color: var(--accent); }

/* Hero */
.hero { position: relative; overflow-x: clip; padding-top: 72px; isolation: isolate; }
.hero-copy { text-align: center; }
.hero-butterfly { width: 96px; height: 96px; margin: 0 auto 22px; object-fit: contain; filter: drop-shadow(0 12px 28px rgb(47 91 255 / 26%)); }
h1 { width: fit-content; max-width: 100%; margin-inline: auto; font-size: clamp(56px, 7.6vw, 96px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; padding-bottom: .06em; text-wrap: balance; color: var(--ink); }
.hero-description { max-width: 600px; margin: 26px auto 36px; color: var(--copy); font-size: 24px; line-height: 1.38; letter-spacing: -.016em; font-weight: 400; text-wrap: balance; }
.hero-platforms { display: block; }
.hero-description:lang(ja) { word-break: auto-phrase; }
.store-status { font-size: 14px; line-height: 1.35; letter-spacing: -.01em; color: var(--muted); }
/* Apple's badge artwork is shown as supplied: no recoloring, effects, or hover change. */
.store-link { display: inline-block; vertical-align: top; border-radius: 9px; }
.store-link img { width: auto; height: 48px; }
.store-link:focus-visible { border-radius: 9px; outline-offset: 4px; }
.platforms { margin-top: 18px; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.product-stage { position: relative; margin-top: 64px; isolation: isolate; }
.mac-screen { position: relative; display: block; width: 94%; margin-left: -2%; }
.mac-screen img { width: 100%; }

/* Sections */
.section-space { padding-block: 140px; }
.section-heading { max-width: 760px; margin-inline: auto; text-align: center; }
.eyebrow { color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
h2 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.03em; line-height: 1.06; font-weight: 600; text-wrap: balance; }
.section-heading > p:last-child, .section-lede { font-size: 21px; line-height: 1.48; letter-spacing: -.012em; color: var(--copy); }
.section-heading > p:last-child { margin: 26px auto 0; max-width: 640px; text-wrap: balance; }
.continuity { background: var(--alt); }
.continuity-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 110px; }
.conversation-visual { position: relative; isolation: isolate; }
.continuity-copy .section-lede { margin-top: 28px; }
.secondary-copy { font-size: 16px; color: var(--muted); line-height: 1.6; margin-top: 22px; }
.continuity-copy .secondary-copy { margin-top: 8px; }
.continuity-copy .platforms { margin-top: 34px; }
.provider-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 72px; }
.provider-grid h2 { max-width: 480px; font-size: clamp(36px, 4.2vw, 52px); }
.provider-grid .section-lede { font-size: 19px; }
.providers { padding-bottom: 96px; }
.provider-note { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.privacy-section { padding-top: 0; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.privacy-grid h2 { font-size: clamp(36px, 4.2vw, 52px); }
.privacy-grid .section-lede { font-size: 19px; }
.privacy-grid .secondary-copy { font-size: 15px; margin-top: 14px; text-wrap: pretty; }
.text-link { display: inline-block; color: var(--accent); font-size: 17px; line-height: 1.5; font-weight: 400; margin-top: 22px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link span { display: inline-block; padding-left: 4px; }
.availability-section { text-align: center; padding-block: 24px 120px; }
.requirements { max-width: 620px; margin: 26px auto 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.screenshot-note { margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.site-footer { background: var(--alt); border-top: 1px solid var(--hairline); padding: 30px 0 26px; }
.footer-main { display: flex; align-items: center; gap: 32px; font-size: 12px; color: var(--copy); }
.footer-main .brand { font-size: 15px; color: var(--ink); }
.footer-main nav { display: flex; gap: 24px; margin-left: auto; }
.footer-main > p { color: var(--muted); }
.legal { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hairline); }

/* Documents */
.document-main { padding-block: 80px 110px; }
.document-heading { max-width: 770px; margin-bottom: 56px; }
.document-heading h1 { margin-inline: 0; font-size: clamp(44px, 6vw, 68px); line-height: 1.08; letter-spacing: -.035em; }
.document-heading .section-lede { margin-top: 24px; }
.document-grid { display: grid; grid-template-columns: 230px minmax(0, 730px); gap: 70px; align-items: start; }
.document-toc { position: sticky; top: 88px; }
.document-toc nav { display: grid; gap: 14px; font-size: 12px; line-height: 1.5; }
.document-toc p { font-weight: 600; margin-bottom: 6px; }
.document-toc a { color: var(--muted); }
.document-toc a:hover { color: var(--accent); }
.policy-content { min-width: 0; overflow-wrap: anywhere; }
.policy-content h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 48px 0 18px; }
.policy-content h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; margin: 30px 0 14px; }
.policy-content p, .policy-content li { color: var(--copy); font-size: 16px; line-height: 1.75; }
.policy-content > p:first-child { color: var(--muted); font-size: 13px; }
.policy-content p + p { margin-top: 18px; }
.policy-content ul { padding-left: 22px; margin-block: 20px; }
.policy-content li { padding-left: 4px; margin-block: 12px; }
.policy-content a, .translation-note a, .photo-credits a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.policy-content a:hover, .photo-credits a:hover { text-decoration-color: currentColor; }
.policy-content strong { color: var(--ink); font-weight: 600; }
.translation-note { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 24px; }
.table-scroll { width: 100%; overflow-x: auto; margin-block: 24px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
td, th { border-bottom: 1px solid var(--line); padding: 15px 12px; text-align: left; vertical-align: top; }
th { color: var(--ink); font-weight: 600; background: var(--alt); }
td { color: var(--copy); }
.acknowledgements-main { max-width: 960px; }
.project-notice { border-top: 1px solid var(--line); }
.project-notice:last-child { border-bottom: 1px solid var(--line); }
.project-notice > summary { display: flex; align-items: center; gap: 18px; padding: 26px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.4; font-weight: 600; }
.project-notice .license-label { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; text-align: right; }
.notice-body { padding-bottom: 30px; }
.notice-body > .text-link { margin-top: 0; }
.notice { margin-top: 32px; }
.notice h3 { font-size: 15px; }
.notice-source { display: inline-block; font-size: 12px; color: var(--accent); margin-top: 10px; }
.notice pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; line-height: 1.75; padding: 22px; border-radius: 14px; background: var(--alt); color: var(--copy); }
.notice code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.photo-credits { margin-top: 72px; }
.photo-credits h2 { font-size: 28px; }
.photo-credits p, .photo-credits li { font-size: 13px; line-height: 1.8; color: var(--copy); margin-top: 20px; }
.photo-credits ul { padding-left: 20px; }

/* Dark: true black, with the iridescence carrying the light. */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #000; --alt: #111113; --raised: #1c1c1e; --ink: #f5f5f7; --copy: #c7c7cc; --muted: #8e8e93;
    --line: #2c2c2e; --hairline: rgb(255 255 255 / 10%);
    --accent: #57cdff;
    --iris-1: #2fd4ff; --iris-2: #4f86ff; --iris-3: #ff3dcf; --iris-4: #ff6390;
    --glass: rgb(22 22 24 / 72%);
    --shadow: 0 1px 2px rgb(0 0 0 / 50%), 0 30px 60px -28px rgb(0 0 0 / 80%), 0 60px 140px -50px rgb(0 120 255 / 24%);
  }
  .hero { background: radial-gradient(90% 55% at 50% -12%, rgb(28 60 150 / 22%), transparent 70%); }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .continuity-grid { gap: 48px; }
  .privacy-grid, .provider-grid { gap: 40px; }
  .document-grid { grid-template-columns: 175px minmax(0, 1fr); gap: 35px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 52px; gap: 20px; }
  .brand { font-size: 16px; gap: 7px; }
  .header-inner .app-icon { width: 26px; }
  .primary-nav { gap: 18px; font-size: 12px; }
  .language-name { display: none; }
  .language-picker summary { gap: 3px; }
  .language-picker nav { right: 0; }
  .hero { padding-top: 48px; }
  .hero-butterfly { width: 76px; height: 76px; margin-bottom: 18px; }
  h1 { font-size: clamp(52px, 16.5vw, 76px); letter-spacing: -.035em; }
  .hero-description { font-size: 19px; line-height: 1.42; max-width: 340px; margin: 20px auto 30px; }
  .store-status { font-size: 13px; }
  .store-link img { height: 44px; }
  .product-stage { margin-top: 48px; }
  .mac-screen { display: none; }
  .section-space { padding-block: 88px; }
  .section-heading { text-align: left; }
  h2 { font-size: 40px; letter-spacing: -.028em; }
  .section-heading > p:last-child, .section-lede { font-size: 19px; line-height: 1.5; }
  .section-heading > p:last-child { margin-top: 20px; }
  .eyebrow { font-size: 14px; margin-bottom: 12px; }
  .continuity-grid { display: flex; flex-direction: column-reverse; gap: 56px; }
  .continuity-copy .section-lede { margin-top: 20px; }
  .secondary-copy { font-size: 15px; }
  .providers { padding-bottom: 64px; }
  .privacy-section { padding-bottom: 72px; }
  .privacy-grid, .provider-grid { grid-template-columns: 1fr; gap: 24px; }
  .privacy-grid h2 { font-size: 34px; }
  .privacy-grid .section-lede, .provider-grid .section-lede { font-size: 17px; }
  .availability-section { padding-block: 16px 88px; }
  .footer-main { flex-wrap: wrap; gap: 24px; }
  .footer-main > p { width: 100%; font-size: 11px; }
  .footer-main nav { gap: 16px; }
  .document-main { padding-block: 48px 68px; }
  .document-heading { margin-bottom: 30px; }
  .document-heading h1 { font-size: 43px; }
  .document-grid { display: block; }
  .document-toc { position: static; padding-bottom: 26px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
  .document-toc nav { gap: 10px; }
  .policy-content h2 { font-size: 26px; }
  .policy-content p, .policy-content li { font-size: 15px; }
  table { min-width: 450px; }
  .project-notice > summary { flex-wrap: wrap; gap: 8px; position: relative; padding-right: 25px; }
  .project-notice .license-label { flex-basis: 100%; text-align: left; margin-left: 0; }
  .project-notice .chevron { position: absolute; right: 0; top: 32px; }
  .notice pre { padding: 16px; font-size: 10px; }
}
@media (max-width: 370px) {
  .header-inner { gap: 13px; }
  .primary-nav { gap: 12px; }
  .shell { width: calc(100% - 28px); }
  h1 { font-size: 50px; }
}
:lang(ja) h1, :lang(zh-Hans) h1, :lang(zh-Hant) h1, :lang(ko) h1 { letter-spacing: -.02em; }
:lang(ja) h2, :lang(zh-Hans) h2, :lang(zh-Hant) h2, :lang(ko) h2 { letter-spacing: -.01em; line-height: 1.2; }
:lang(th) h1, :lang(th) h2, :lang(th) h3 { line-height: 1.4; letter-spacing: -.015em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { --paper: #fff; --alt: #fff; --ink: #000; --copy: #222; --muted: #444; --line: #bbb; --accent: #00557a; }
  .hero h1 { background: none; color: var(--ink); }
  .site-header, .site-footer, .document-toc, .skip-link { display: none; }
  .privacy-grid { background: none; color: var(--ink); box-shadow: none; padding: 0; }
  .privacy-grid .eyebrow, .privacy-grid .section-lede, .privacy-grid .secondary-copy, .privacy-grid .text-link { color: var(--copy); }
  .document-grid { display: block; }
  .shell { width: 100%; }
  .document-main { padding: 0; }
  .policy-content h2 { break-after: avoid; }
  .table-scroll { overflow: visible; }
}

/* Rotate the complete phone on one composited layer to keep its curved edge smooth. */
.device { width: var(--phone-width); padding: 6px; border: 1px solid #747579; border-radius: calc(var(--phone-width) * .14); background: #000; box-shadow: 0 18px 48px rgb(0 0 0 / 20%); }
.device-screen { display: grid; aspect-ratio: 1260 / 2736; border-radius: calc(var(--phone-width) * .14 - 7px); overflow: hidden; isolation: isolate; background: var(--paper); }
.device img { width: 100%; }
.hero-preview { --phone-width: 246px; position: absolute; right: 3.5%; top: 19%; width: var(--phone-width); }
.hero-phone, .list-phone { -webkit-backface-visibility: hidden; backface-visibility: hidden; outline: 1px solid transparent; }
.hero-phone { position: relative; z-index: 1; transform: translateZ(0) rotate(3deg); }
.hero-phone:focus-visible { border-radius: calc(var(--phone-width) * .14); outline: 3px solid var(--accent); outline-offset: 6px; }
.list-phone { --phone-width: 270px; margin-inline: auto; transform: translateZ(0) rotate(-3deg); }
.preview-screen { grid-area: 1 / 1; aspect-ratio: 1260 / 2736; object-fit: contain; opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.preview-screen img { height: 100%; object-fit: contain; }
.preview-screen.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.discover { padding-top: 64px; }
.discover-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.discover-heading h2 { font-size: clamp(36px, 4vw, 48px); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.photo-story:hover { color: inherit; }
.photo-wrap { position: relative; overflow: hidden; border-radius: 16px; }
.photo-wrap img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.photo-story:hover .photo-wrap img { transform: scale(1.025); }
.open-photo { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgb(0 0 0 / 36%); color: white; font-size: 18px; }
.photo-category { margin-top: 20px; color: var(--muted); font-size: 12px; }
.photo-story h3 { margin-top: 8px; font-size: 23px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body:has(dialog[open]) { overflow: hidden; }
.conversation-dialog { width: fit-content; max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); border: 0; padding: 52px 20px 24px; background: transparent; color: var(--ink); overflow: visible; overscroll-behavior: contain; }
.conversation-dialog::backdrop { background: rgb(0 0 0 / 48%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.close-dialog { position: absolute; top: 0; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--raised); color: var(--ink); box-shadow: 0 2px 14px rgb(0 0 0 / 12%); font-size: 28px; line-height: 1; }
.conversation-capture { --phone-width: min(360px, calc(100vw - 80px), calc((100dvh - 120px) * .4605)); }
.conversation-capture .device-screen { display: block; aspect-ratio: auto; }
.conversation-capture img { width: 100%; height: auto; }
@media (max-width: 1200px) { .hero-preview { --phone-width: clamp(188px, 21vw, 236px); } }
@media (max-width: 800px) {
  .hero-phone, .list-phone { transform: translateZ(0); }
  .mac-screen { display: none; }
  .hero-preview { --phone-width: 256px; position: relative; inset: auto; display: flex; flex-direction: column; align-items: center; width: 100%; }
  .discover-heading { display: block; }
  .photo-story h3 { font-size: 20px; }
}
@media (max-width: 640px) {
  .list-phone { --phone-width: 252px; }
  .photo-grid { grid-template-columns: 1fr; gap: 28px; }
  .photo-story { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: end; }
  .photo-wrap { grid-row: span 2; }
  .photo-category { margin: 0; }
  .photo-story h3 { align-self: start; margin-top: 8px; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .conversation-dialog { display: none !important; } }
