/* cloudvideo.si: apple.com's product-page language in its dark version (as on Apple's Pro pages), with
   CloudVideo's orange where apple.com uses blue. Type sizes and tracking follow apple.com; headings and buttons use
   Title Case, body copy sentence case; one accent color, own icons, nothing decorative. Motion is transform and
   opacity only, stops under reduced motion and has a pause button wherever it loops. */
:root {
  --bg: #000;
  --text: #f5f5f7;
  --text-body: #d2d2d7;
  --text-2: #86868b;
  --fill: #1d1d1f;
  --fill-2: #333336;
  --line: #424245;
  --brand: #e2733c;
  --brand-light: #ec8650;
  --brand-dark: #c9622f;
  --content: 980px;
  /* From the screen edge to the content column: galleries start there and run off the right edge. */
  --edge: max(6.25vw, (100vw - var(--content)) / 2);
  --ease: cubic-bezier(.28, .11, .32, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Anchor jumps and focused elements stop below the sticky local nav. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
/* The width/height attributes reserve space while loading; height: auto lets CSS aspect-ratio and width set the box. */
img { height: auto; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
#main:focus { outline: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(var(--content), 87.5%); margin-inline: auto; }
.o { color: var(--brand); }
.si-mark b { color: var(--brand); font-weight: inherit; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mark { fill: currentColor; flex: none; }

/* Skip link: off screen until a keyboard user tabs to it. */
.skip-link {
  position: fixed; z-index: 30; top: calc(env(safe-area-inset-top, 0px) + 8px); inset-inline-start: 8px;
  padding: 10px 18px; border-radius: 980px; background: #fff; color: #000;
  font-size: 14px; font-weight: 600; letter-spacing: -0.016em; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* apple.com's type scale */
.headline { font-size: 56px; line-height: 1.07143; letter-spacing: -0.005em; }
.intro { font-size: 21px; line-height: 1.38105; font-weight: 600; letter-spacing: .011em; color: var(--text-2); }
.intro strong { color: var(--text); font-weight: 600; }
@media (max-width: 1068px) { .headline { font-size: 48px; line-height: 1.08349; letter-spacing: -0.003em; } }
@media (max-width: 734px) {
  .headline { font-size: 32px; line-height: 1.125; letter-spacing: .004em; }
  .intro { font-size: 19px; line-height: 1.42105; letter-spacing: .012em; }
}

/* Nav: one bar in the style of apple.com's product nav; sticks to the top. Nearly opaque rather than frosted: the blur
   was redrawn on every scroll frame and on every frame of the clips passing under it. */
.localnav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; height: 52px;
  background: rgba(22, 22, 23, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.localnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
/* Where the page runs under a phone's status bar, that strip is painted like the nav instead of showing content scrolling by. */
body::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 21; height: env(safe-area-inset-top, 0px); background: #161617; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 26px; height: 20px; color: #e8e8ed; transition: color .3s; }
.brand:hover .mark { color: var(--brand); }
.localnav-title { font-size: 21px; line-height: 1.14; font-weight: 600; letter-spacing: .011em; }
.localnav-links { display: flex; align-items: center; gap: 26px; }
.localnav-links a:not(.pill) { font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em; color: #d2d2d7; text-decoration: none; transition: color .2s; }
.localnav-links a:not(.pill):hover, .localnav-links a[aria-current] { color: #fff; }
@media (max-width: 833px) { .localnav-links .wide { display: none; } }
@media (max-width: 374px) { .localnav-links { gap: 18px; } }
.pill {
  display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 980px;
  background: var(--brand); color: #fff;
  font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s;
}
.pill:hover { background: var(--brand-light); }
.pill:active { background: var(--brand-dark); }

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 21px; border-radius: 980px;
  background: var(--brand); color: #fff;
  font-size: 17px; line-height: 1.17648; font-weight: 600; letter-spacing: -0.022em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s;
}
.button:hover { background: var(--brand-light); }
.button:active { background: var(--brand-dark); }
.more { display: inline-flex; align-items: center; gap: 3px; color: var(--brand); font-size: 17px; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more .icon { width: 13px; height: 13px; stroke-width: 2.6; }
/* .when-live shows once APP_STORE_ID is set in config.js. The "Coming soon to the App Store" lines (.when-soon) are
   switched off: the owner had them removed on 23.11.2026, a week before the release. */
html:not(.store-live) .when-live, .when-soon { display: none !important; }

/* Store buttons: the two official badges. A phone sees only its own store (config.js sets .is-ios or .is-android
   before the page paints). */
.stores { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 20px; margin-top: 30px; }
.store { display: block; border-radius: 9px; }
.store img { display: block; width: auto; height: 48px; transition: opacity .2s; }
.store:hover img { opacity: .82; }
.is-ios .store[data-store="android"], .is-android .store[data-store="ios"] { display: none; }
/* On a computer (a mouse or a trackpad, at any window width) the QR code next to the buttons takes the visitor's
   phone to the download page. */
.store-qr { display: none; align-items: center; gap: 10px; margin-inline-start: 6px; font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em; color: var(--text-2); text-align: start; }
.store-qr img { width: 64px; height: 64px; padding: 5px; border-radius: 10px; background: #fff; }
.store-qr span { max-width: 7em; }
@media (pointer: fine) { .store-qr { display: inline-flex; } }
@media (max-width: 374px) { .stores { gap: 14px 12px; } .store img { height: 44px; } }

/* Hero: the product name and what it does (one h1), the buttons, then the two ways in as cards. */
.hero { padding-top: 76px; text-align: center; overflow: hidden; }
.hero-title { display: flex; flex-direction: column; align-items: center; }
.hero-name { font-size: 80px; line-height: 1.05; letter-spacing: -0.015em; }
.subhead { display: block; max-width: 21em; margin-top: 10px; font-size: 28px; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 34px; margin-top: 30px; }
.hero .note { margin-top: 22px; font-size: 17px; color: var(--text-2); text-wrap: balance; }
/* Pages about one thing (an AI twin, templates…): the same hero without the cards, and the first section sits closer. */
.hero-page .hero-name { font-size: 64px; line-height: 1.0625; letter-spacing: -0.009em; text-wrap: balance; }
.hero-page + .section { padding-top: 120px; }
/* A long one-word name (Japanese, Finnish, German) breaks inside the word instead of running off a phone. */
.hero-page .hero-name { max-width: 100%; overflow-wrap: anywhere; }
:lang(ja) .hero-page .hero-name { word-break: normal; }
@media (max-width: 1068px) {
  .hero-name { font-size: 64px; line-height: 1.0625; letter-spacing: -0.009em; }
  .hero-page .hero-name { font-size: 56px; line-height: 1.07143; letter-spacing: -0.005em; }
  .subhead { font-size: 24px; line-height: 1.16667; letter-spacing: .009em; }
}
@media (max-width: 734px) {
  .hero { padding-top: 56px; }
  .hero-name { font-size: 48px; line-height: 1.08349; letter-spacing: -0.003em; }
  .hero-page .hero-name { font-size: 40px; line-height: 1.1; letter-spacing: 0; }
  .hero-page + .section { padding-top: 84px; }
  .subhead { margin-top: 8px; font-size: 21px; line-height: 1.19048; letter-spacing: .011em; }
  .ctas { gap: 14px 28px; margin-top: 26px; }
  .hero .note { margin-top: 18px; font-size: 14px; letter-spacing: -0.016em; }
}

/* The two ways in, as the app's first screen asks "Who stars in your videos?": cards like the looks further down.
   Each picture holds still for four seconds, then the next fades in over it in 0.8 s; the second card changes two
   seconds after the first. site.js adds the pictures once the page has loaded and runs the fades, so between fades
   nothing animates (eight pictures animating without a break made the top of the page stutter). The pictures round
   their own corners instead of being clipped by the card: Safari masks a fading picture inside a rounded clip on
   every frame. */
.picks-scroll { margin-top: 64px; }
.picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; text-align: start; }
.pick { --radius: 28px; display: block; height: 100%; border-radius: var(--radius); background: var(--fill); text-decoration: none; }
.pick:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.pick-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius) var(--radius) 0 0; background: var(--fill-2); }
.pick-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.pick-media img:not(.is-shown) { opacity: 0; }
.pick-media img.is-top { z-index: 1; transition: opacity .8s ease-in-out; }
.pick-copy { padding: 24px 32px 30px; }
.pick-copy b { display: block; font-size: 28px; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; transition: color .2s; }
.pick-copy span { display: block; margin-top: 8px; font-size: 17px; color: var(--text-2); }
.pick:hover b { color: var(--brand); }
@media (max-width: 1068px) {
  .pick-copy { padding: 20px 26px 26px; }
  .pick-copy b { font-size: 24px; line-height: 1.16667; letter-spacing: .009em; }
}
@media (max-width: 734px) {
  .picks-scroll { margin-top: 48px; }
  /* Side by side, swiping, out to the screen edges. */
  .picks { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 14px; width: max-content; margin: 0; padding: 0 var(--edge); }
  .picks li { scroll-snap-align: start; }
  .pick { --radius: 22px; }
  .pick-copy { padding: 18px 22px 22px; }
  .pick-copy b { font-size: 21px; line-height: 1.19048; letter-spacing: .011em; }
  .pick-copy span { margin-top: 6px; font-size: 15px; line-height: 1.4; letter-spacing: -0.016em; }
}

/* Pause and play for everything that loops on its own (WCAG 2.2.2); hidden where nothing moves. */
.stage-foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.motion-toggle {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: var(--fill-2); color: var(--text); cursor: pointer; transition: background-color .2s, opacity .2s;
}
.motion-toggle:hover { background: var(--line); }
.motion-toggle:active { background: #4f4f53; }
.motion-toggle .icon { width: 16px; height: 16px; stroke-width: 2.4; }
html:not(.js) .motion-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

/* Sections */
.section { padding-top: 160px; }
.section .intro { max-width: 690px; margin-top: 20px; }
.section-link { margin-top: 28px; }
@media (max-width: 734px) { .section { padding-top: 104px; } }

/* Reveal: headlines and copy rise in as they reach the screen. site.js adds .reveal-ready, so without it everything simply shows. */
.reveal-ready .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(20px); }

/* Rows that fit the content column on large screens and turn into a swipeable row running to the screen edges on
   smaller ones (the hero cards, the outfits, the looks and the five selfies). */
.row-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > :where(ul, ol) { display: grid; width: min(var(--content), 87.5%); margin: 0 auto; padding: 0; list-style: none; }

/* AI twin and AI influencers share one layout: a panel with what goes in and what comes out, then a row of cards. */
.panel { margin-top: 52px; padding: 48px 48px 52px; border-radius: 28px; background: var(--fill); }
.panel-text { max-width: 24em; font-size: 32px; line-height: 1.125; font-weight: 600; letter-spacing: .004em; text-wrap: balance; }
.panel-note { margin-top: 28px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-2); }
.cards-scroll { margin-top: 20px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards figure { height: 100%; overflow: hidden; border-radius: 28px; background: var(--fill); }
.cards img { width: 100%; object-fit: cover; }
.cards figcaption { padding: 22px 28px 28px; }
.cards b { display: block; font-size: 24px; line-height: 1.16667; font-weight: 600; letter-spacing: .009em; }
.cards span { display: block; margin-top: 6px; font-size: 17px; color: var(--text-2); }

/* The twin from four sides, as the app shows it before you keep it; outfits under it, head to toe. */
.sides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; padding: 0; list-style: none; }
.sides img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: var(--fill-2); }
.sides span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-body); }
.outfits img { aspect-ratio: 9 / 16; }

/* AI influencers: the sentence and the four faces it made; under them the three looks. */
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; padding: 0; list-style: none; }
.faces img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: var(--fill-2); }
.looks img { aspect-ratio: 4 / 5; object-position: 50% 15%; }
@media (max-width: 1068px) {
  .panel { padding: 40px 40px 44px; }
  .panel-text { font-size: 28px; line-height: 1.14286; letter-spacing: .007em; }
  .faces, .sides { gap: 16px; }
}
@media (max-width: 734px) {
  .panel { margin-top: 36px; padding: 28px 24px 32px; border-radius: 22px; }
  .panel-text { font-size: 21px; line-height: 1.19048; letter-spacing: .011em; }
  .panel-note { margin-top: 20px; }
  .faces { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
  .faces img { border-radius: 12px; }
  .sides { grid-template-columns: 1fr 1fr; gap: 18px 14px; margin-top: 24px; }
  .sides img { border-radius: 12px; }
  .sides span { margin-top: 8px; }
  .cards-scroll { margin-top: 14px; }
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68vw; gap: 14px; width: max-content; margin: 0; padding: 0 var(--edge); }
  .cards li { scroll-snap-align: start; }
  .cards figure { border-radius: 22px; }
  .cards figcaption { padding: 18px 22px 22px; }
  .cards b { font-size: 21px; line-height: 1.19048; letter-spacing: .011em; }
}

/* Video types: a segmented control picks the type; three frames and one line show it. site.js builds the control
   and hides the other types; without it all four show, each under its name. */
.kinds { margin-top: 48px; }
/* One line in every language: when the names are longer than the column (German, Tamil…), the control scrolls
   sideways inside its pill instead of breaking into two rows. */
.kind-tabs { display: inline-flex; gap: 4px; max-width: 100%; padding: 4px; border-radius: 980px; background: var(--fill); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.kind-tabs::-webkit-scrollbar { display: none; }
.kind-tabs button {
  flex: none; min-width: 88px; padding: 8px 20px; border: 0; white-space: nowrap; border-radius: 980px; background: none; color: var(--text-2);
  font: inherit; font-size: 17px; line-height: 1.23536; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s;
}
.kind-tabs button:hover { color: var(--text); }
.kind-tabs [aria-selected="true"] { background: var(--fill-2); color: var(--text); }
.kind-tabs button:focus-visible { outline-offset: 0; border-radius: 980px; }
.kind + .kind { margin-top: 64px; }
.kind-name { font-size: 28px; line-height: 1.14286; letter-spacing: .007em; }
.is-tabbed .kind { margin-top: 32px; }
.is-tabbed .kind-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.is-tabbed .kind:focus-visible { outline-offset: 8px; border-radius: 22px; }
.kind-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; padding: 0; list-style: none; }
.is-tabbed .kind-frames { margin-top: 0; }
.kind-frames img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: var(--fill); }
.kind-text { max-width: 36em; margin-top: 24px; font-size: 21px; line-height: 1.38105; font-weight: 600; letter-spacing: .011em; color: var(--text-body); }
@media (prefers-reduced-motion: no-preference) { .is-tabbed .kind:not([hidden]) { animation: kind-in .5s var(--ease); } }
@keyframes kind-in { from { opacity: 0; } }
@media (max-width: 734px) {
  .kinds { margin-top: 36px; }
  /* Five types on one line: the control spans the column and the segments share it. */
  .kind-tabs { display: flex; }
  .kind-tabs button { flex: 1 0 auto; min-width: 0; padding: 7px 10px; font-size: 15px; }
  .is-tabbed .kind { margin-top: 24px; }
  /* Frames swipe sideways, out to the screen edges. */
  .kind-frames {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62vw; gap: 14px;
    margin-inline: calc(-1 * var(--edge)); padding-inline: var(--edge);
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  }
  .kind-frames::-webkit-scrollbar { display: none; }
  .kind-frames li { scroll-snap-align: start; }
  .kind-frames img { border-radius: 18px; }
  .kind-text { margin-top: 18px; font-size: 19px; line-height: 1.42105; letter-spacing: .012em; }
}

@media (max-width: 374px) { .kind-tabs button { padding: 7px 6px; font-size: 14px; } }

/* Templates and the series: names under the pictures. */
.storyboard img { width: 100%; object-fit: cover; background: var(--fill); }
.tile figcaption { margin-top: 14px; }
.tile b { display: block; font-size: 17px; line-height: 1.23536; font-weight: 600; }
.tile span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-2); }

/* Privacy: the five live selfies a twin is made from, with the names the app gives them. */
.poses-scroll { margin-top: 48px; }
.poses { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.poses img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: var(--fill); }
.poses figcaption { margin-top: 12px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-body); }
@media (max-width: 734px) {
  .poses-scroll { margin-top: 36px; }
  .poses { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 36vw; gap: 12px; width: max-content; margin: 0; padding: 0 var(--edge); }
  .poses li { scroll-snap-align: start; }
  .poses img { border-radius: 14px; }
}

/* Voice: copy beside one picture. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 28px; background: var(--fill); }
@media (max-width: 734px) { .split { grid-template-columns: 1fr; } .split-media img { border-radius: 22px; } }

/* Series: the scenes of one story side by side. */
.storyboard { margin-top: 52px; }
.storyboard ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.storyboard img { aspect-ratio: 9 / 16; border-radius: 14px; }
.storyboard li span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-body); }
.storyboard figcaption { margin-top: 18px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-2); }
@media (max-width: 734px) { .storyboard { margin-top: 36px; } .storyboard ol { grid-template-columns: 1fr 1fr; gap: 22px 12px; } }

/* SI = Super Intelligence: "SI" sits zoomed in the middle, then the I slides over and the words unfold.
   site.js measures the line and sets --si-dx, --si-gx and --si-shift; only transform, opacity and clip-path animate. */
.si { --si-zoom: 1.7; padding-top: 170px; text-align: center; overflow-x: clip; }
.si-word {
  display: flex; justify-content: center;
  /* Room above and below for the zoomed "SI": the scale doesn't move the text around it. */
  margin: calc((var(--si-zoom) - 1) * .53em) 0;
  font-size: clamp(32px, 9.4vw, 124px); line-height: 1.05; letter-spacing: -0.025em; white-space: nowrap;
}
.si-line { display: inline-flex; align-items: baseline; transform-origin: var(--si-gx, 50%) 50%; }
.si-line > span { display: inline-block; }
.si-line [data-text]::before { content: attr(data-text); }
.si-s, .si-i { color: var(--brand); }
.si-rest { padding-right: .03em; }
.si-space { width: .22em; }
.js .si:not(.is-open) .si-line { transform: translateX(var(--si-dx, 0px)) scale(var(--si-zoom)); }
.js .si:not(.is-open) .si-i { transform: translateX(calc(-1 * var(--si-shift, 0px))); }
.js .si:not(.is-open) .si-rest { opacity: 0; clip-path: inset(0 100% 0 0); }
.si.is-measured .si-line, .si.is-measured .si-i { transition: transform 1.3s var(--ease); }
.si.is-measured .si-rest { transition: opacity .9s .35s, clip-path 1.3s var(--ease); }
.si.is-measured:not(.is-open) .si-rest { transition-delay: 0s; }
.si .intro { max-width: 690px; margin: 18px auto 0; }
@media (max-width: 734px) { .si { --si-zoom: 2.4; padding-top: 120px; } }

/* Templates: a grid on the content column like the rest of the page, names under the clips as in the app. The first
   two rows show; "See More Templates" opens the rest (site.js; without it every template shows). */
.templates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; margin-top: 52px; padding: 0; list-style: none; }
.tile video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--fill); }
.js .templates:not(.is-open) > li:nth-child(n + 9) { display: none; }
.templates-foot { position: relative; display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 40px; }
.templates-foot .motion-toggle { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); }
.see-more {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 22px; border: 0; border-radius: 980px;
  background: var(--fill); color: var(--text); font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -0.022em;
  cursor: pointer; transition: background-color .2s;
}
.see-more:hover { background: var(--fill-2); }
.see-more:focus-visible { border-radius: 980px; }
.see-more .icon { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .3s var(--ease); }
.see-more[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (max-width: 1068px) { .templates { grid-template-columns: repeat(3, minmax(0, 1fr)); } .js .templates:not(.is-open) > li:nth-child(n + 7) { display: none; } }
@media (max-width: 734px) {
  .templates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin-top: 36px; }
  .tile video { border-radius: 14px; }
  .tile figcaption { margin-top: 10px; }
  .tile b { font-size: 15px; }
  .templates-foot { margin-top: 32px; }
}

/* At a glance: a spec list. */
.specs { margin-top: 48px; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4px 40px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 21px; line-height: 1.19048; font-weight: 600; letter-spacing: .011em; }
.specs dd { font-size: 17px; color: var(--text-2); }
@media (max-width: 734px) { .specs { margin-top: 36px; } .specs > div { grid-template-columns: 1fr; padding: 18px 0; } .specs dt { font-size: 19px; } }

/* Questions: native details/summary, open and close without JavaScript. */
.faq { margin-top: 14px; border-top: 1px solid var(--line); }
.section .faq { margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 19px; line-height: 1.21053; font-weight: 600; letter-spacing: .012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary .icon { width: 18px; height: 18px; color: var(--text-2); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding-bottom: 22px; }
.faq p { max-width: 720px; font-size: 17px; line-height: 1.47059; color: var(--text-body); }
.faq a { color: var(--brand); text-decoration: none; }
.faq a:hover { text-decoration: underline; }

/* Guides: a plain list of links. */
.guide-list { margin-top: 40px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: block; padding: 22px 0; text-decoration: none; }
.guide-list b { display: block; font-size: 21px; line-height: 1.19048; font-weight: 600; letter-spacing: .011em; transition: color .2s; }
.guide-list a:hover b { color: var(--brand); }
.guide-list span { display: block; margin-top: 6px; font-size: 17px; color: var(--text-2); }
@media (max-width: 734px) { .guide-list b { font-size: 19px; } }

/* Closing: the app icon, the name, the button. */
.final { padding: 170px 0 160px; text-align: center; }
.app-icon { width: 120px; height: 120px; margin: 0 auto 30px; }
.final .intro { max-width: 30em; margin: 12px auto 0; }
.final .note { max-width: 36em; margin: 26px auto 0; font-size: 14px; letter-spacing: -0.016em; color: var(--text-2); text-wrap: balance; }
/* The download block at the foot of every page: both store buttons and, on a computer, a QR code for the phone. */
.get { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; margin-top: 34px; }
.get .stores { margin-top: 0; }
.get .store-qr { display: none; }
.qr { display: none; flex-direction: column; align-items: center; gap: 9px; font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em; color: var(--text-2); }
.qr img { width: 108px; height: 108px; padding: 8px; border-radius: 14px; background: #fff; }
@media (pointer: fine) { .qr { display: flex; } }
/* Small screens: a floating bar with "Get the App" stays at the bottom once the first screen is behind, until the
   download block shows. On a phone the button opens its store; otherwise it scrolls to the download block. */
.getbar {
  position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 19;
  display: none; align-items: center; gap: 12px; max-width: 440px; margin-inline: auto; padding: 10px 10px 10px 12px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; background: rgba(29, 29, 31, .98);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8);
  transform: translateY(160%); transition: transform .35s var(--ease);
}
.getbar.is-on { transform: none; }
.getbar-icon { flex: none; width: 40px; height: 40px; border-radius: 9px; }
.getbar p { flex: 1; min-width: 0; font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em; color: var(--text-2); }
.getbar b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; line-height: 1.3; font-weight: 600; letter-spacing: -0.016em; color: var(--text); }
.getbar p span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.is-android .getbar p span { display: none; }
.getbar .button { flex: none; padding: 10px 18px; font-size: 15px; }
@media (max-width: 734px) {
  .js .getbar { display: flex; }
  .js .footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .getbar { transition: none; } }
@media (max-width: 734px) { .final { padding: 120px 0 112px; } .app-icon { width: 96px; height: 96px; margin-bottom: 24px; } }

/* Footer: fine print, breadcrumbs, a directory and the legal line. */
.footer { background: #161617; color: var(--text-2); font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer .wrap { padding: 18px 0 24px; }
.footer a { color: #d2d2d7; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-notes { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.footer-notes p + p { margin-top: 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; padding: 14px 0 6px; list-style: none; color: #d2d2d7; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; margin-inline: 9px 11px; border: solid var(--text-2); border-width: 1px 1px 0 0; transform: rotate(45deg); }
.breadcrumbs .mark { width: 17px; height: 13px; transition: color .3s; }
.breadcrumbs a:hover .mark { color: var(--brand); }
.directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 18px 0 30px; }
.directory h3 { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: #e8e8ed; }
.directory ul { padding: 0; list-style: none; }
.directory li + li { margin-top: 9px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal-links { display: flex; flex-wrap: wrap; padding: 0; list-style: none; }
.legal-links li + li::before { content: "|"; margin: 0 9px; color: var(--line); }
@media (max-width: 734px) { .directory { grid-template-columns: 1fr 1fr; } }

/* Support, privacy, terms and guides */
.doc { width: min(692px, 87.5%); margin: 0 auto; padding: 80px 0 140px; }
.doc h1 { font-size: 48px; line-height: 1.08349; letter-spacing: -0.003em; }
.doc .updated { margin: 12px 0 48px; font-size: 17px; color: var(--text-2); }
.doc h2 { margin: 56px 0 14px; font-size: 28px; line-height: 1.14286; letter-spacing: .007em; scroll-margin-top: 72px; }
.doc h3 { margin: 32px 0 10px; font-size: 21px; line-height: 1.19048; letter-spacing: .011em; scroll-margin-top: 72px; }
.doc p, .doc li, .doc td { font-size: 17px; line-height: 1.47059; color: var(--text-body); }
.doc p + p { margin-top: 14px; }
.doc ul + p, .doc ol + p, .doc .table-scroll + p { margin-top: 16px; }
.doc ul, .doc ol { margin-top: 12px; padding-inline-start: 1.3em; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--text-2); }
.doc strong { font-weight: 600; color: var(--text); }
.doc a { color: var(--brand); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc .button { color: #fff; text-decoration: none; }
.doc .lede { margin-top: 20px; font-size: 21px; line-height: 1.38105; letter-spacing: .011em; color: var(--text-body); }
.byline { margin-top: 18px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-2); }
.summary, .answer { padding: 28px 32px; border-radius: 18px; background: var(--fill); }
.answer { margin-top: 40px; }
.summary h2, .answer h2 { margin: 0 0 10px; font-size: 21px; line-height: 1.19048; letter-spacing: .011em; }
.toc { margin-top: 40px; }
.toc h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.23536; letter-spacing: -0.022em; color: var(--text-2); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc li + li { margin-top: 6px; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.shots img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: var(--fill); }
.shots figcaption { grid-column: 1 / -1; margin-top: 4px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-2); }
.table-scroll { margin-top: 16px; overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; }
.doc th, .doc td { padding-block: 12px; padding-inline: 0 16px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.doc th { font-size: 14px; font-weight: 600; letter-spacing: -0.016em; color: var(--text); }
.doc td { font-size: 15px; line-height: 1.4; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 28px 32px; border-radius: 18px; background: var(--fill); }
.doc .cta-box { margin-top: 56px; }
.contact .button .icon { width: 20px; height: 20px; stroke-width: 2; }
.contact p { flex: 1 1 18em; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: var(--text-2); }
.contact p strong { display: block; margin-bottom: 4px; font-size: 17px; letter-spacing: -0.022em; }
.doc .guide-list { margin-top: 24px; }
@media (max-width: 734px) {
  .doc { padding-top: 56px; }
  .doc h1 { font-size: 40px; line-height: 1.1; letter-spacing: 0; }
  .doc h2 { font-size: 24px; line-height: 1.16667; letter-spacing: .009em; }
  .doc .lede { font-size: 19px; }
  .summary, .answer, .contact { padding: 24px; }
  .shots { gap: 8px; }
}

.not-found { padding: 150px 0 170px; text-align: center; }
.not-found .intro { margin-top: 14px; }
.not-found .more { margin-top: 26px; }

/* Language versions (tools/i18n.py builds them from the English pages). */
/* Right-to-left pages: arrows and the breadcrumb chevrons point the other way; the Super Intelligence wordmark stays
   left-to-right because site.js measures it that way. */
[dir="rtl"] .icon:has(use[href="#i-forward"]), [dir="rtl"] .icon:has(use[href="#i-back"]) { transform: scaleX(-1); }
[dir="rtl"] .breadcrumbs li + li::before { transform: rotate(-135deg); }
.si-line { direction: ltr; unicode-bidi: isolate; }
/* Arabic letters join, and Indic, Thai and East Asian scripts are drawn to fixed spacing: no tracking for them. */
:lang(ar), :lang(ur), :lang(he), :lang(hi), :lang(mr), :lang(bn), :lang(gu), :lang(pa), :lang(or), :lang(ta), :lang(te),
:lang(kn), :lang(ml), :lang(th), :lang(ja), :lang(ko), :lang(zh) { letter-spacing: normal !important; }
/* Scripts with tall marks need more room between lines than the Latin settings allow. */
:is(:lang(hi), :lang(mr), :lang(bn), :lang(gu), :lang(pa), :lang(or), :lang(ta), :lang(te), :lang(kn), :lang(ml), :lang(th), :lang(ar))
  :is(h1, h2, h3, .headline, .subhead, .hero-name, .panel-text, .pick-copy b, .cards b, .kind-name, .specs dt, .faq summary, .guide-list b) { line-height: 1.32; }
:is(:lang(hi), :lang(mr), :lang(bn), :lang(gu), :lang(pa), :lang(or), :lang(ta), :lang(te), :lang(kn), :lang(ml), :lang(th), :lang(ar))
  :is(p, li, dd, td, .intro, .kind-text, .pick-copy span) { line-height: 1.6; }
:lang(ur) :is(h1, h2, h3, .headline, .subhead, .panel-text, .pick-copy b, .cards b, .kind-name, .specs dt, .faq summary, .guide-list b) { line-height: 1.7; }
:lang(ur) :is(p, li, dd, td, .intro, .kind-text, .pick-copy span) { line-height: 2; }
/* East Asian type: the regional font for each, so the same character is drawn the way its readers expect. */
body:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; line-break: strict; }
body:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; }
body:lang(zh-Hans) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; line-break: strict; }
body:lang(zh-Hant) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; line-break: strict; }
/* Japanese headings break between phrases, not inside a word (Chrome; other browsers keep their usual breaks). */
:lang(ja) :is(h1, h2, h3, .headline, .subhead, .panel-text, .pick-copy b, .cards b, .intro, .faq summary, .guide-list b) { word-break: auto-phrase; }
/* Long words (German, Finnish, Dutch…) break inside big headings instead of running off a phone screen. */
html:not(:lang(en)) :is(h1, h2, h3, .headline, .subhead, .panel-text, .pick-copy b, .cards b, .kind-name, .specs dt, .guide-list b) { overflow-wrap: break-word; hyphens: auto; }

/* Language menu at the foot of every page. */
.langs { flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
.langs summary { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; color: #d2d2d7; cursor: pointer; list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 5px; height: 5px; margin-top: -3px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); transition: transform .2s var(--ease); }
.langs[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.langs summary:hover { color: var(--text); }
.langs ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 24px; margin: 14px 0 6px; padding: 0; list-style: none; }
.langs a { display: inline-block; }
.langs a[aria-current] { color: var(--text); font-weight: 600; }
/* The offer to read a page in the visitor's own language (site.js), above the navigation. */
.lang-suggest { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 56px; background: #1d1d1f; font-size: 14px; line-height: 1.42859; text-align: center; }
.lang-suggest a { color: var(--brand); font-weight: 600; text-decoration: none; }
.lang-suggest a:hover { text-decoration: underline; }
.lang-suggest button { position: absolute; top: 50%; inset-inline-end: 8px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-2); cursor: pointer; transform: translateY(-50%); }
.lang-suggest button:hover { color: var(--text); }
.lang-suggest svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
