:root {
  --paper: #fff;
  --ink: #090909;
  --muted: #777;
  --accent: #b8c9ff;
  --surface: #141414;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid #789aff; outline-offset: 6px; }
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #000; }
.section-wrap { max-width: 1280px; padding-left: 64px; padding-right: 64px; margin: 0 auto; }
.site-header { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { font-size: 42px; font-weight: 650; letter-spacing: -2.7px; line-height: 1; }
.site-header nav { display: flex; gap: 34px; font-size: 12px; font-weight: 500; margin-left: auto; margin-right: 26px; }
.site-header nav a { padding: 12px 0; }
.site-header nav a:hover { color: #617dcc; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 30px; padding: 18px 29px; font-size: 14px; font-weight: 550; line-height: 1.2; background: var(--ink); color: #fff; transition: background .2s, transform .2s; }
.button:hover { background: #303030; transform: translateY(-2px); }
.button-small { padding: 12px 22px; font-size: 12px; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 770px; padding-top: 15px; padding-bottom: 70px; overflow: clip; }
.hero-copy { position: relative; z-index: 3; padding-bottom: 15px; }
.hero h1 { max-width: 92%; font-size: clamp(68px, 6.5vw, 86px); line-height: 1.02; font-weight: 550; letter-spacing: -4.8px; }
.hero h1 span { color: #777; }
.hero-copy p { font-size: 16px; line-height: 1.6; margin: 29px 0; }
.availability { display: block; font-size: 11px; color: var(--muted); margin-top: 15px; }
.hero-product { height: 650px; position: relative; margin-top: 25px; }
.phone { display: block; position: relative; width: 270px; padding: 6px; background: #000; border: 2px solid #818181; border-radius: 44px; box-shadow: 0 0 0 1px #1c1c1c, 3px 4px 0 2px #303030, 9px 16px 25px #00000016, 20px 34px 45px #00000026; transition: transform .45s ease; line-height: 0; }
.phone img { width: 100%; height: auto; border-radius: 36px; background: #000; }
.phone:before { content: ""; position: absolute; width: 3px; height: 43px; right: -5px; top: 115px; border-radius: 0 2px 2px 0; background: #505050; }
.phone:after { content: ""; position: absolute; width: 3px; height: 32px; left: -4px; top: 115px; border-radius: 2px 0 0 2px; background: #656565; }
.dynamic-island { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 27%; height: 16px; background: #020202; border-radius: 20px; box-shadow: 0 0 0 1px #111; }
.hero-phone-back { position: absolute; width: 253px; left: 12px; top: 46px; transform: rotate(-10deg); z-index: 1; }
.hero-phone-front { position: absolute; width: 288px; left: 215px; top: 28px; transform: rotate(9deg); z-index: 2; }
.hero-phone-back:hover { transform: rotate(-7deg) translateY(-7px); }
.hero-phone-front:hover { transform: rotate(6deg) translateY(-7px); }
h2 { font-size: 72px; line-height: 1.02; font-weight: 550; letter-spacing: -3.7px; }
.friends-section { background: #000; color: #fff; overflow: clip; }
.friends-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 65px; min-height: 810px; padding-top: 90px; padding-bottom: 80px; }
.friends-art { position: relative; height: 620px; }
.friends-phone { position: absolute; width: 238px; left: 15px; top: 0; transform: rotate(-8deg); z-index: 2; }
.friends-table { position: absolute; width: 244px; left: 247px; top: 63px; transform: rotate(8deg); }
.friends-phone:hover { transform: rotate(-5deg) translateY(-5px); }
.friends-table:hover { transform: rotate(5deg) translateY(-5px); }
.friends-art .phone { box-shadow: 0 0 0 1px #555, 3px 4px 0 2px #303030, 16px 25px 40px #0009; }
.friends-copy h2 { font-size: 85px; }
.friends-copy h2 span { color: var(--accent); }
.friends-copy p { color: #b0b0b0; font-size: 16px; margin-top: 27px; }
.your-way { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 35px; padding-top: 110px; padding-bottom: 100px; overflow: clip; }
.mode-copy h2 span { color: #777; }
.mode-copy>p { font-size: 15px; color: #666; line-height: 1.5; }
.mode-switch { --mode-position: 0%; position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr; width: min(100%, 320px); background: #f0f0f0; padding: 4px; border-radius: 35px; margin: 32px 0 22px; touch-action: pan-y; user-select: none; }
.mode-switch::before { content: ""; position: absolute; z-index: -1; left: 4px; top: 4px; bottom: 4px; width: calc((100% - 8px) / 2); border-radius: 30px; background: var(--accent); transform: translateX(var(--mode-position)); transition: transform .44s cubic-bezier(.22, 1, .36, 1); }
.mode-switch[data-selected-mode="digital"] { --mode-position: 100%; }
.mode-switch.dragging::before { transition: none; }
.mode-switch button { min-height: 48px; border-radius: 30px; padding: 13px 17px; background: transparent; font-size: 13px; font-weight: 600; color: #666; transition: color .2s; }
.mode-switch button.selected { background: transparent; color: #000; }
.mode-art { position: relative; height: 650px; }
.mode-choice-phone { position: absolute; top: 20px; left: 0; width: 250px; transform: rotate(-8deg); }
.mode-phone { position: absolute; top: 70px; left: 245px; width: 255px; transform: rotate(8deg); }
.mode-choice-phone:hover { transform: rotate(-5deg) translateY(-5px); }
.mode-phone:hover { transform: rotate(5deg) translateY(-5px); }
.details { padding-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { height: 700px; border-radius: 30px; background: #f3f3f3; position: relative; overflow: clip; }
.feature-card h2 { font-size: 44px; letter-spacing: -2px; padding: 45px; position: relative; z-index: 1; }
.settle-feature { background: var(--accent); }
.feature-phone { position: absolute; width: 290px; top: 235px; left: calc(50% - 145px); transform: rotate(-7deg); }
.feature-phone:hover { transform: rotate(-4deg) translateY(-8px); }
.settle-feature .feature-phone { transform: rotate(7deg); }
.settle-feature .feature-phone:hover { transform: rotate(4deg) translateY(-8px); }
.expand-button { position: absolute; right: 24px; bottom: 24px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; font-size: 23px; font-weight: 350; z-index: 3; }
.closing { text-align: center; padding-top: 125px; padding-bottom: 110px; }
.closing h2 { font-size: 80px; margin-bottom: 34px; }
.closing h2 span { color: #777; }
.site-footer { padding-top: 32px; padding-bottom: 32px; display: flex; align-items: center; gap: 30px; }
.site-footer .wordmark { font-size: 34px; }
.site-footer>span { font-size: 11px; color: #777; }
.site-footer>span:last-child { margin-left: auto; }
.skip-link { position: fixed; left: 15px; top: -70px; background: #fff; padding: 15px; z-index: 100; border-radius: 5px; }
.skip-link:focus { top: 15px; }
dialog { border: 0; padding: 0; max-width: calc(100% - 32px); color: #000; }
dialog::backdrop { background: #000b; backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 17px; right: 17px; width: 35px; height: 35px; display: grid; place-items: center; font-size: 24px; background: #eee; border-radius: 50%; z-index: 3; line-height: 1; }
.install-dialog { width: 460px; border-radius: 30px; text-align: center; background: #fff; padding: 50px 35px 38px; max-height: calc(100svh - 40px); }
.install-dialog .wordmark { display: inline-block; font-size: 34px; margin-bottom: 25px; }
.install-dialog h2 { font-size: 47px; letter-spacing: -2px; margin-bottom: 22px; }
.install-dialog p { font-size: 14px; line-height: 1.7; color: #777; margin-bottom: 24px; }
.screen-dialog { background: #111; border: 1px solid #333; border-radius: 24px; padding: 24px; color: #fff; overflow: auto; width: 430px; max-height: calc(100svh - 28px); }
.screen-dialog .dialog-close { top: 12px; right: 12px; width: 28px; height: 28px; font-size: 20px; background: #303030; color: #fff; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 25px 0 15px; }
.gallery-controls button { background: #303030; color: #fff; border-radius: 50%; width: 34px; height: 34px; flex-shrink: 0; }
.gallery-controls p { font-size: 12px; text-align: center; }
.screen-dialog>img { height: min(73svh, 760px); width: auto; margin: auto; border-radius: 28px; border: 1px solid #333; object-fit: contain; }
@media(max-width:1100px) {
  .section-wrap { padding-left: 40px; padding-right: 40px; }
  .hero { min-height: 715px; }
  .hero h1 { font-size: 72px; letter-spacing: -4px; }
  .hero-product { transform: scale(.85); transform-origin: center left; width: 540px; height: 650px; margin-left: -15px; }
  .hero-copy p { font-size: 14px; }
  .friends-layout { gap: 45px; min-height: 730px; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .friends-art { transform: scale(.85); transform-origin: center left; width: 510px; height: 610px; margin-right: -85px; }
  .friends-copy h2 { font-size: 74px; }
  .your-way { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
  .mode-copy h2 { font-size: 64px; }
  .mode-art { transform: scale(.85); transform-origin: center left; width: 520px; margin-right: -70px; }
  .feature-card { height: 650px; }
  .feature-card h2 { font-size: 39px; padding: 36px; }
}
@media(max-width:800px) {
  .section-wrap { padding-left: 28px; padding-right: 28px; }
  .site-header { height: 85px; }
  .wordmark { font-size: 36px; }
  .site-header nav { gap: 22px; margin-right: 0; font-size: 11px; }
  .hero { min-height: 630px; }
  .hero h1 { font-size: 59px; letter-spacing: -3px; }
  .hero-product { transform: scale(.68); height: 570px; margin-left: -10px; }
  .hero-copy p { font-size: 12px; max-width: 220px; }
  .button { font-size: 12px; padding: 17px 24px; }
  .button-small { padding: 12px 20px; font-size: 11px; }
  .friends-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 30px; min-height: 620px; padding-top: 40px; padding-bottom: 40px; }
  .friends-art { transform: scale(.68); height: 540px; margin-right: -160px; }
  .friends-copy h2 { font-size: 61px; letter-spacing: -3px; }
  .friends-copy p { font-size: 13px; }
  .your-way { padding-top: 55px; padding-bottom: 55px; }
  .mode-copy h2 { font-size: 53px; letter-spacing: -2.5px; }
  .mode-copy>p { font-size: 13px; }
  .mode-switch button { font-size: 11px; padding: 12px 15px; }
  .mode-art { transform: scale(.65); height: 600px; margin-right: -160px; }
  .feature-grid { gap: 18px; }
  .feature-card { height: 600px; }
  .feature-card h2 { font-size: 33px; padding: 30px; letter-spacing: -1.4px; }
  .feature-phone { width: 250px; left: calc(50% - 125px); top: 225px; }
  .closing h2 { font-size: 68px; }
}
@media(max-width:600px) {
  html { scroll-padding-top: 20px; }
  .section-wrap { padding-left: 24px; padding-right: 24px; }
  .site-header { height: 82px; }
  .site-header nav { display: none; }
  .hero { display: flex; flex-direction: column; padding-top: 36px; padding-bottom: 45px; min-height: 0; text-align: center; }
  .hero-copy { width: 100%; padding: 0; }
  .hero h1 { max-width: none; font-size: 48px; letter-spacing: -2.4px; line-height: 1.08; }
  .hero h1 span { font-size: .88em; }
  .hero-copy p { font-size: 13px; max-width: none; margin: 24px 0; }
  .availability { font-size: 10px; margin-top: 12px; }
  .hero-product { width: 340px; height: 505px; margin: 36px auto 0; transform: none; flex-shrink: 0; }
  .hero-phone-back { width: 180px; top: 35px; left: 7px; }
  .hero-phone-front { width: 209px; top: 38px; left: 131px; }
  .hero-product .phone { border-radius: 33px; padding: 4px; }
  .hero-product .phone img { border-radius: 27px; }
  .hero-product .dynamic-island { top: 10px; height: 12px; }
  .friends-layout { display: flex; flex-direction: column-reverse; padding-top: 64px; padding-bottom: 38px; gap: 36px; min-height: 0; }
  .friends-copy { text-align: center; }
  .friends-copy h2 { font-size: 62px; letter-spacing: -3px; }
  .friends-copy p { font-size: 14px; margin-top: 20px; }
  .friends-art { transform: none; width: 340px; height: 510px; margin: 0; }
  .friends-phone { width: 193px; left: 10px; top: 15px; }
  .friends-table { width: 196px; left: 147px; top: 56px; }
  .friends-art .phone { padding: 5px; border-radius: 32px; }
  .friends-art .phone img { border-radius: 25px; }
  .friends-art .dynamic-island { top: 11px; height: 11px; }
  .your-way { display: flex; flex-direction: column; padding-top: 65px; padding-bottom: 40px; gap: 30px; }
  .mode-copy { text-align: center; width: 100%; }
  .mode-copy h2 { font-size: 55px; letter-spacing: -2.5px; }
  .mode-switch { margin: 25px 0 18px; }
  .mode-switch button { padding: 12px 19px; font-size: 12px; }
  .mode-art { width: 340px; height: 510px; margin: 0; transform: none; }
  .mode-choice-phone { width: 193px; left: 4px; top: 10px; }
  .mode-phone { width: 196px; left: 148px; top: 55px; }
  .mode-art .phone { padding: 5px; border-radius: 32px; }
  .mode-art .phone img { border-radius: 25px; }
  .mode-art .dynamic-island { top: 11px; height: 11px; }
  .feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .feature-card { height: 570px; border-radius: 26px; }
  .feature-card h2 { font-size: 36px; letter-spacing: -1.5px; padding: 32px; }
  .feature-phone { top: 195px; width: 260px; left: calc(50% - 130px); }
  .expand-button { width: 34px; height: 34px; right: 20px; bottom: 20px; }
  .closing { padding-top: 75px; padding-bottom: 65px; }
  .closing h2 { font-size: 53px; letter-spacing: -2.6px; margin-bottom: 29px; }
  .site-footer { gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
  .site-footer .wordmark { font-size: 30px; }
  .site-footer>span { font-size: 9px; }
  .site-footer>span:last-child { font-size: 9px; }
  .install-dialog { padding: 45px 25px 28px; }
  .install-dialog h2 { font-size: 42px; }
  .screen-dialog { padding: 18px; }
  .gallery-controls { margin-top: 28px; }
}
@media(max-width:360px) {
  .hero h1 { font-size: 42px; letter-spacing: -2.2px; }
  .hero-copy p { font-size: 11px; }
  .hero-product, .friends-art, .mode-art { transform: scale(.86); transform-origin: top center; margin-bottom: -68px; }
  .hero-product { align-self: center; }
  .mode-copy h2 { font-size: 49px; }
  .feature-card h2 { font-size: 31px; }
  .feature-phone { width: 240px; left: calc(50% - 120px); }
  .closing h2 { font-size: 47px; }
  .site-footer { gap: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

@media(min-width:801px) and (max-width:1000px) {
  .hero-product { transform: scale(.72); }
  .hero h1 { font-size: 65px; letter-spacing: -3.8px; }
  .friends-art { transform: scale(.74); }
  .friends-copy h2 { font-size: 66px; }
  .mode-art { transform: scale(.75); }
}

/* Native joining walkthrough and the unmodified Apple download badge. */
.app-store-button { display: inline-block; padding: 0; background: transparent; line-height: 0; border-radius: 9px; }
.app-store-button img { width: auto; height: 50px; }
.app-store-button:focus-visible { outline-offset: 8px; }
.friends-copy p { line-height: 1.7; max-width: 355px; }
.mode-copy>p { max-width: 340px; min-height: 3em; white-space: pre-line; }
.friends-art.join-demo { margin: 0; width: 100%; height: 690px; transform: none; }
.join-player { position: absolute; width: 285px; left: calc(50% - 142px); top: 10px; transform: rotate(-5deg); }
.join-player video { display: block; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 36px; background: #000; }
.join-demo figcaption { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; }
.playback-button { min-height: 44px; padding: 10px 16px; background: transparent; font-size: 12px; color: #aaa; text-decoration: underline; text-underline-offset: 5px; }
.playback-button:hover { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(max-width:1100px) {
  .friends-art.join-demo { height: 630px; }
  .join-player { width: 260px; left: calc(50% - 130px); }
}
@media(max-width:800px) {
  .friends-art.join-demo { height: 560px; }
  .join-player { width: 228px; left: calc(50% - 114px); }
  .join-player video { border-radius: 29px; }
  .friends-copy p { font-size: 13px; }
}
@media(max-width:600px) {
  .app-store-button img { height: 46px; }
  .friends-art.join-demo { width: 100%; height: 635px; }
  .join-player { width: 263px; left: calc(50% - 131px); top: 12px; }
  .join-player video { border-radius: 27px; }
  .friends-copy p { font-size: 13px; }
  .mode-copy>p { margin-left: auto; margin-right: auto; }
}
@media(max-width:360px) {
  .friends-art.join-demo { height: 585px; }
  .join-player { width: 243px; left: calc(50% - 121px); }
}
