/* Quota – Flight Radar · home page. Base (top bar, languages) in style.css. */

body.home {
  --ink: #f5f5f7;
  --gray: #86868b;
  --gray-2: #a1a1a6;
  --tile: #141416;
  --hair: rgba(255, 255, 255, .12);
  --link: #2fc6e0;
  --bezel: #1b1c20;
  --rim: #3b3e45;
  background: #000;
  color: var(--ink);
  font: 400 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, system-ui, sans-serif;
  letter-spacing: -0.01em;
}
.home a { color: var(--link); }
.home .wrap { width: min(1024px, 100% - 44px); }
.home .wrap.narrow { width: min(760px, 100% - 44px); }
.home h1, .home h2, .home h3, .home h4 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Inter, system-ui, sans-serif; color: var(--ink); }
.dim { color: var(--gray); }

/* Top bar */
.home .top { background: rgba(0, 0, 0, .72); border-bottom: 1px solid var(--hair); }
.home .top .wrap { height: 52px; position: relative; justify-content: center; }
.home .top nav { margin: 0; }
.home .top .langs { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); margin: 0; }
.home .brand { font-weight: 600; font-size: 17px; }
.home .brand, .home .brand:hover { color: var(--ink); }
.home .brand img { width: 26px; height: 26px; border-radius: 6px; }
.home .top nav { gap: 26px; font-size: 13px; }
.home .top nav a { color: var(--gray-2); }
.home .top nav a:hover { color: var(--ink); }
.home .langs { border-color: var(--hair); }
.home .langs button { font: 500 11px/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .02em; padding: 6px 9px; }
html[data-lang="en"] .home .langs [data-set="en"],
html[data-lang="it"] .home .langs [data-set="it"] { background: rgba(255, 255, 255, .14); color: var(--ink); }

/* Sections */
.block { padding: 130px 0; }
.tint { background: #0a0a0c; }
.head { max-width: 760px; margin-bottom: 64px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.head p { color: var(--gray); font-size: 21px; line-height: 1.4; margin: 20px auto 0; max-width: 680px; }

/* Store button */
.actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: #000 !important; font-size: 17px; font-weight: 500; transition: background .2s ease; }
.store:hover { text-decoration: none; background: #fff; }
.store svg { width: 17px; height: 17px; margin-top: -2px; }
.store[aria-disabled="true"] { pointer-events: none; }
.store .now { display: none; }
.store.live .now { display: inline; }
.store.live .soon { display: none; }
.more { font-size: 17px; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }

/* ---------- Device frames, drawn here so every screenshot sits in the same family ---------- */
.dev { position: relative; background: var(--bezel); box-shadow: 0 0 0 1.5px var(--rim), 0 40px 90px -30px rgba(0, 0, 0, .9); }
.dev img { display: block; width: 100%; height: auto; }
.dev.iphone { padding: 10px; border-radius: 15% / 7%; }
.dev.iphone img { border-radius: 12% / 5.6%; }
.dev.iphone::after { content: ""; position: absolute; top: 5.2%; left: 50%; width: 27%; height: 2.6%; margin-left: -13.5%; border-radius: 99px; background: #000; }
.dev.iphone.land { padding: 12px; border-radius: 7% / 15%; }
.dev.iphone.land img { border-radius: 5.6% / 12%; }
.dev.iphone.land::after { display: none; }
.dev.ipad { padding: 18px; border-radius: 4.2% / 5.6%; }
.dev.ipad img { border-radius: 2.6% / 3.4%; }
.dev.watch { padding: 15px; border-radius: 26% / 22%; }
.dev.watch img { border-radius: 20% / 17%; }
.dev.watch::after { content: ""; position: absolute; right: -4.5%; top: 22%; width: 5%; height: 16%; border-radius: 3px; background: linear-gradient(90deg, #4a4d55, #2a2c31); }
.dev.duo-open { padding: 12px; border-radius: 5% / 7%; }
.dev.duo-open img { border-radius: 3.6% / 5%; }
.dev.duo-open::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .06); }

/* Mac: a laptop with Quota's window on the desktop */
.dev.mac { background: none; box-shadow: none; }
.mac-screen { background: var(--bezel); border-radius: 18px 18px 6px 6px; padding: 16px 16px 22px; box-shadow: 0 0 0 1.5px var(--rim); }
.mac-desk { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 20% 10%, #23466b 0%, #0e1d33 45%, #070b14 100%); }
.mac-window { position: relative; width: 66%; background: #1c1c1f; border-radius: 10px; padding-top: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.mac-window i { position: absolute; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.mac-window i:nth-child(1) { left: 10px; }
.mac-window i:nth-child(2) { left: 25px; background: #febc2e; }
.mac-window i:nth-child(3) { left: 40px; background: #28c840; }
.mac-window img { display: block; width: 100%; }
.mac-base { height: 14px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(#3b3e45, #1b1c20); position: relative; }
.mac-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; margin-left: -8%; border-radius: 0 0 6px 6px; background: #121316; }

/* ---------- Hero ---------- */
.home .hero { padding: 96px 0 0; text-align: center; overflow: hidden; }
.home .hero .wrap { display: block; }
.home section { padding-left: 0; padding-right: 0; }
.hero-icon { width: 88px; height: 88px; border-radius: 22%; margin: 0 auto 22px; box-shadow: 0 10px 40px rgba(47, 198, 224, .25); }
.hero-icon.small { width: 64px; height: 64px; margin-bottom: 18px; }
.home .hero h1 { font-size: clamp(64px, 11vw, 120px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; margin: 0; padding-bottom: .04em;
  background: linear-gradient(180deg, #fff 30%, #9fdcea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home .hero h1 { display: inline-flex; align-items: center; gap: .16em; font-size: clamp(52px, 7.4vw, 92px); }
.hero-mark { height: 1.02em; width: auto; flex: none; margin: -.06em 0 0 -.1em; }
.hero-sub { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 22px auto 0; }
.hero-note { color: var(--gray); font-size: 15px; margin: 18px 0 0; }
.lineup { position: relative; width: min(1100px, 100% - 44px); margin: 80px auto 0; aspect-ratio: 16 / 8.6; }
.home .hero { padding-bottom: 40px; }
.lineup .dev { position: absolute; }
.lineup .ipad { left: 50%; width: 64%; margin-left: -32%; top: 0; }
.lineup .iphone { left: 4%; bottom: -2%; width: 21%; }
.lineup .watch { right: 6%; bottom: 4%; width: 15%; }
.lineup .iphone { padding: clamp(5px, .75vw, 9px); }
.lineup .ipad { padding: clamp(8px, 1.3vw, 15px); }
.lineup .watch { padding: clamp(6px, 1vw, 12px); }

/* ---------- Devices: the whole family together ---------- */
.family { position: relative; width: min(1120px, 100%); margin: 0 auto; aspect-ratio: 16 / 8.4; }
.fam { position: absolute; transition: opacity 1s ease, transform 1.3s cubic-bezier(.16, 1, .3, 1); }
.js .family .fam { opacity: 0; transform: translateY(70px); }
.js .family.in .fam { opacity: 1; transform: none; }
.family .fam.mac { left: 25%; top: 0; width: 50%; z-index: 1; transition-delay: 0s; }
.family .fam.ipad { left: 1%; bottom: 5%; width: 36%; z-index: 2; padding: clamp(6px, 1.2vw, 15px); transition-delay: .12s; }
.family .fam.duo-open { right: 1%; bottom: 7%; width: 35%; z-index: 2; padding: clamp(5px, 1vw, 12px); transition-delay: .24s; }
.family .fam.iphone { left: 31%; bottom: 0; width: 12%; z-index: 3; padding: clamp(3px, .6vw, 8px); transition-delay: .36s; }
.family .fam.watch { right: 31.5%; bottom: 2%; width: 9.5%; z-index: 3; padding: clamp(4px, .8vw, 10px); transition-delay: .48s; }
.family .mac-screen { padding: clamp(5px, .9vw, 12px) clamp(5px, .9vw, 12px) clamp(7px, 1.2vw, 16px); border-radius: clamp(8px, 1.3vw, 16px) clamp(8px, 1.3vw, 16px) 4px 4px; }
.family .mac-base { height: clamp(6px, .9vw, 12px); margin: 0 -7%; }
.family .mac-screen { position: relative; }
/* The Mac: a desktop with the menu bar, Quota's window and the Dock, sized to the screen. */
.mac-os { container-type: inline-size; position: relative; display: block; border-radius: 3px;
  background: radial-gradient(70% 90% at 15% 0%, #1f5f8b 0%, rgba(31, 95, 139, 0) 60%), radial-gradient(60% 80% at 100% 100%, #3b2a6b 0%, rgba(59, 42, 107, 0) 65%),
    radial-gradient(80% 70% at 60% 40%, #0f3a4d 0%, rgba(15, 58, 77, 0) 70%), #07101c; }
.mac-os .mbar { position: absolute; left: 0; right: 0; top: 0; height: 2.7cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 0 1.6cqw;
  background: rgba(10, 14, 24, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: rgba(255, 255, 255, .92); font: 500 1.35cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; white-space: nowrap; z-index: 2; }
.mac-os .mbar b { font-weight: 700; }
.mac-os .mbar .apple { width: 1.3cqw; height: 1.5cqw; margin-top: -.2cqw; }
.mac-os .mbar .clock { margin-left: auto; }
.mac-os .notch { position: absolute; left: 50%; top: 0; width: 10cqw; height: 2.7cqw; margin-left: -5cqw; border-radius: 0 0 1cqw 1cqw; background: #000; z-index: 3; }
.mac-os .mwin { position: absolute; left: 50%; top: 4.4cqw; width: 70cqw; margin-left: -35cqw; border-radius: 1.4cqw; overflow: hidden; background: #1c1c1f; z-index: 1;
  box-shadow: 0 0 0 .12cqw rgba(255, 255, 255, .16), 0 3cqw 6cqw rgba(0, 0, 0, .55); }
.mac-os .mtitle { position: relative; height: 3.4cqw; display: flex; align-items: center; justify-content: center; background: #26262a; border-bottom: .1cqw solid rgba(0, 0, 0, .5);
  color: rgba(255, 255, 255, .8); font: 600 1.35cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.mac-os .mtitle i { position: absolute; top: 50%; width: 1.25cqw; height: 1.25cqw; margin-top: -.62cqw; border-radius: 50%; background: #ff5f57; }
.mac-os .mtitle i:nth-child(1) { left: 1.4cqw; }
.mac-os .mtitle i:nth-child(2) { left: 3.2cqw; background: #febc2e; }
.mac-os .mtitle i:nth-child(3) { left: 5cqw; background: #28c840; }
.mac-os .mwin img { display: block; width: 100%; aspect-ratio: 1600 / 1203; object-fit: cover; object-position: center top; }
.family .fam.dev { box-shadow: 0 0 0 1.5px var(--rim), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.hero-family { margin-top: 80px; }
.hero .fam-list { text-align: left; margin-bottom: 40px; }
.fam-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; max-width: 1120px; margin: 72px auto 0; padding-top: 32px; border-top: 1px solid var(--hair); }
.fam-list h4 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.fam-list p { margin: 0; color: var(--gray); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) {
  .family { aspect-ratio: 16 / 11; }
  .family .fam.mac { left: 17%; width: 66%; }
  .family .fam.ipad { width: 45%; left: 0; bottom: 6%; }
  .family .fam.duo-open { width: 43%; right: 0; bottom: 8%; }
  .family .fam.iphone { width: 16%; left: 27%; }
  .family .fam.watch { width: 13%; right: 27%; }
  .fam-list { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .js .family .fam { opacity: 1; transform: none; transition: none; } }

/* ---------- Features: a list and one iPhone ---------- */
.fx { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 90px; align-items: center; max-width: 960px; margin: 0 auto; }
.fx-list { list-style: none; margin: 0; padding: 0; }
.fx-list li { position: relative; border-top: 1px solid var(--hair); }
.fx-list li:last-child { border-bottom: 1px solid var(--hair); }
.fx-list button { appearance: none; display: block; width: 100%; padding: 26px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fx-list h3 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; margin: 0; color: var(--gray); transition: color .4s ease; }
.fx-list button:hover h3, .fx-list li.on h3 { color: var(--ink); }
.fx-list p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: var(--gray); font-size: 17px; line-height: 1.5;
  transition: max-height .6s cubic-bezier(.16, 1, .3, 1), opacity .4s ease, margin .6s cubic-bezier(.16, 1, .3, 1); }
.fx-list li.on p { max-height: 200px; opacity: 1; margin-top: 10px; }
.fx-bar { position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--ink); }
.fx-list li.on .fx-bar { animation: fxbar var(--fx-dur, 6s) linear forwards; }
.fx.chosen .fx-list li.on .fx-bar { animation: none; width: 100%; }
@keyframes fxbar { to { width: 100%; } }
.fx-phone .dev.iphone { width: 290px; }
.fx-phone .dev img { transition: opacity .6s ease; opacity: 0; }
.fx-phone .dev img.on { opacity: 1; }
.fx-phone .dev img:not(:first-child) { position: absolute; top: 10px; left: 10px; width: calc(100% - 20px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; max-width: 960px; margin: 110px auto 0; }
.facts h4 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.facts p { color: var(--gray); margin: 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 860px) {
  .fx { grid-template-columns: 1fr; gap: 44px; }
  .fx-phone { order: -1; justify-self: center; }
  .fx-phone .dev.iphone { width: min(250px, 62vw); padding: 8px; }
  .fx-phone .dev img:not(:first-child) { top: 8px; left: 8px; width: calc(100% - 16px); }
  .fx-list h3 { font-size: 21px; }
  .facts { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
}


/* ---------- Rain compare ---------- */
.shot { display: block; width: 100%; height: auto; background: #0b0b0d; }
.shot.ipad { border-radius: 2.6% / 3.4%; }
.compare { max-width: 980px; margin: 0 auto; }
.compare .frame { position: relative; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border-radius: 3.4% / 4.4%; padding: 2%; background: var(--bezel); box-shadow: 0 0 0 1.5px var(--rim), 0 40px 90px -30px rgba(0, 0, 0, .9); }
.compare .over { position: absolute; inset: 2%; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.compare .handle { position: absolute; top: 2%; bottom: 2%; left: calc(2% + var(--x, 50%) * .96); width: 2px; margin-left: -1px; background: #fff; }
.compare .handle span { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .4); }
.compare .handle span::before, .compare .handle span::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border: solid #000; border-width: 0 0 1.6px 1.6px; }
.compare .handle span::before { left: 9px; transform: rotate(45deg); }
.compare .handle span::after { right: 9px; transform: rotate(-135deg); }
.compare-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compare:focus-within .handle span { outline: 2px solid var(--link); outline-offset: 3px; }
.hint { text-align: center; color: var(--gray); font-size: 14px; margin: 20px 0 0; }

/* ---------- iPhone Duo in 3D, played on a timeline ---------- */
.duo-scene { position: relative; background: #000; }
.duo-pin { position: relative; height: clamp(660px, 100vh, 940px); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.duo-top { position: relative; z-index: 3; padding: 96px 0 24px; }
.duo-head { text-align: center; }
.duo-head h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -0.025em; margin: 0 0 12px; }
.duo-captions { display: grid; min-height: 58px; }
.duo-caption { grid-area: 1 / 1; margin: 0 auto; color: var(--gray-2); font-size: 21px; line-height: 1.35; max-width: 660px; opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease; }
.duo-caption.on { opacity: 1; transform: none; }
.duo-stage { position: relative; z-index: 1; display: grid; place-items: center; padding: 0 22px; min-height: 0; }
/* The perspective sits on the direct parent of the device. */
.zoomer { position: relative; width: min(680px, 84vw, 66vh); transform-origin: 50% 50%; will-change: transform; perspective: 2200px; perspective-origin: 50% 40%; }
.floor { position: absolute; left: 50%; top: 100%; width: 100%; height: 14%; margin-top: 1%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0) 70%), radial-gradient(50% 40% at 50% 50%, rgba(47, 198, 224, .12), rgba(47, 198, 224, 0) 70%); filter: blur(8px); }
.book { --t: 11px; --r: 30px; position: relative; width: 100%; aspect-ratio: 1441 / 1008; transform-style: preserve-3d; will-change: transform; }
.half { position: absolute; top: 0; width: 50%; height: 100%; transform-style: preserve-3d; }
.half.r { left: 50%; }
/* The left half swings: closed, it lies on the right half and its back is the cover screen. It opens from right to left, around the hinge. */
.half.l { left: 0; transform-origin: right center; will-change: transform; }
.half.l > * { border-radius: var(--r) 6px 6px var(--r); }
.half.r > * { border-radius: 6px var(--r) var(--r) 6px; }
.face { position: absolute; inset: 0; box-sizing: border-box; backface-visibility: hidden; -webkit-backface-visibility: hidden; background-color: #0b0b0d; background-repeat: no-repeat; }
/* No bezel at the hinge: the inner screen runs straight across. */
.half.l .front { background-image: url(shots/duo-interno.jpg); background-size: 200% 100%; background-position: left center; border: 10px solid var(--bezel); border-right: 0; }
.half.r .front { background-image: url(shots/duo-interno.jpg); background-size: 200% 100%; background-position: right center; border: 10px solid var(--bezel); border-left: 0; }
.half.l .back { transform: translateZ(calc(var(--t) * -1)) rotateY(180deg); background: url(shots/duo-esterno.jpg) center / cover no-repeat; border: 9px solid var(--bezel); overflow: hidden; }
.half.l > .face.back { border-radius: 6px var(--r) var(--r) 6px; }
.half.r .back { transform: translateZ(calc(var(--t) * -1)) rotateY(180deg); background: linear-gradient(135deg, #34363c, #18191c); }
.half.r > .face.back { border-radius: var(--r) 6px 6px var(--r); }
/* The frame: thin slices with the same rounded outline, so the edges look rounded from any angle. */
.layer { position: absolute; inset: 0; pointer-events: none; }
.gloss { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .05)); }
.shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .7)); opacity: 0; pointer-events: none;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(.5px); }
/* Once open, the screens change flat on top. */
.screens { position: absolute; inset: 10px; border-radius: calc(var(--r) - 9px); overflow: hidden; opacity: 0; pointer-events: none; transform: translateZ(1px); }
.screens.on { opacity: 1; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: 0; transition: opacity .6s ease; }
.screens img.on { opacity: 1; }
/* A box on the feature, a line, and the card that explains it. */
.leader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.leader rect, .leader path { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.leader rect { stroke: #2fc6e0; stroke-width: 2; fill: rgba(47, 198, 224, .06); }
.leader circle { fill: #2fc6e0; }
.leader * { opacity: 0; }
.callouts { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; box-sizing: border-box; width: 280px; padding: 16px 20px 18px; border-radius: 18px; opacity: 0;
  background: #1c1c1f; visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 50px rgba(0, 0, 0, .5); }
.callout b { display: block; color: #2fc6e0; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 6px; }
.callout p { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.4; }
/* Timeline: play or pause, drag, or jump to a point. */
.timeline { position: relative; z-index: 6; display: flex; align-items: center; gap: 16px; width: min(620px, calc(100% - 48px)); margin: 0 auto 44px; }
.tl-play { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .12); transition: background .2s ease; }
.tl-play:hover { background: rgba(255, 255, 255, .2); }
.tl-play i { box-sizing: border-box; width: 11px; height: 12px; border-left: 3.5px solid #fff; border-right: 3.5px solid #fff; }
.tl-play.paused i { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.tl-track { position: relative; flex: 1; height: 30px; cursor: pointer; touch-action: none; }
.tl-track::before, .tl-fill { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.tl-track::before { right: 0; background: rgba(255, 255, 255, .14); }
.tl-fill { width: 0; background: rgba(255, 255, 255, .85); }
.tl-knob { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.tl-marks button { position: absolute; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; padding: 0; border: 0; background: none; cursor: pointer; }
.tl-marks button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #3a3b40; box-shadow: 0 0 0 2px #000; transition: background .3s ease; }
.tl-marks button.done::after { background: #2fc6e0; }
.tl-marks button::before { content: attr(data-label); position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap; padding: 5px 9px; border-radius: 8px;
  background: rgba(40, 40, 44, .95); color: var(--ink); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.tl-marks button:hover::before, .tl-marks button:focus-visible::before { opacity: 1; transform: translateX(-50%); }
@media (max-width: 760px) {
  .duo-pin { height: auto; min-height: 760px; }
  .duo-top { padding-top: 80px; }
  .duo-caption { font-size: 17px; } .duo-captions { min-height: 70px; }
  .duo-stage { min-height: 360px; align-items: start; padding-top: 30px; }
  .callout p { font-size: 15px; } .callout { padding: 14px 16px; }
  .timeline { margin-bottom: 36px; }
}

/* ---------- Pilots ---------- */
.prow { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 72px; align-items: center; max-width: 1080px; margin: 0 auto; }
.prow + .prow { margin-top: 130px; }
.prow.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.prow.rev .prow-media { order: 2; }
.prow .dev.iphone.land { width: 100%; box-sizing: border-box; }
.prow-text h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; }
.prow-text > p { color: var(--gray); font-size: 18px; line-height: 1.5; margin: 0; }
.specs { list-style: none; padding: 0; margin: 26px 0 0; }
.specs li { padding: 11px 0; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.4; color: var(--gray-2); }
.specs li:last-child { border-bottom: 1px solid var(--hair); }
.dev.swap img:not(:first-child) { position: absolute; top: 18px; left: 18px; width: calc(100% - 36px); }
.dev.swap img { opacity: 0; transition: opacity 1s ease; }
.dev.swap img.on { opacity: 1; }
.fine { color: var(--gray); font-size: 13px; line-height: 1.5; max-width: 760px; margin: 110px auto 0; text-align: center; }
@media (max-width: 900px) {
  .prow { grid-template-columns: 1fr; gap: 36px; }
  .prow.rev { grid-template-columns: 1fr; }
  .prow.rev .prow-media { order: 0; }
  .prow + .prow { margin-top: 90px; }
  .dev.swap img:not(:first-child) { top: 9px; left: 9px; width: calc(100% - 18px); }
  .prow .dev.ipad { padding: 9px; }
}

/* ---------- Closing ---------- */
.closing { text-align: center; }
.closing h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
.closing p { color: var(--gray); font-size: 21px; margin: 16px auto 0; max-width: 560px; }

/* ---------- FAQ ---------- */
.home .faq { display: block; max-width: none; }
.home details { background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 0; }
.home details:first-child { border-top: 1px solid var(--hair); }
.home details[open] { border-color: var(--hair); }
.home summary { padding: 22px 0; font-size: 19px; font-weight: 500; }
.home summary::after { content: "+"; font: 300 26px/1 -apple-system, sans-serif; color: var(--gray); transition: transform .25s ease; }
.home details[open] summary::after { transform: rotate(45deg); }
.home details p { color: var(--gray); margin: 0 0 24px; max-width: 640px; }
#faq .head, #support .head { text-align: left; }

/* ---------- Support ---------- */
.report { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding: 34px; border-radius: 24px; background: var(--tile); }
.report .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.label { font-size: 13px; font-weight: 600; color: var(--gray-2); letter-spacing: .01em; }
.label em { font-style: normal; font-weight: 400; color: var(--gray); }
.report input:not([type="radio"]), .report textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1);
  background: #0c0c0e; color: var(--ink); font: 400 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; transition: border-color .2s ease, box-shadow .2s ease; }
.report textarea { resize: vertical; min-height: 130px; }
.report input::placeholder, .report textarea::placeholder { color: #5d5d63; }
.report input:focus, .report textarea:focus { outline: none; border-color: #2fc6e0; box-shadow: 0 0 0 3px rgba(47, 198, 224, .18); }
.report .bad { border-color: #ff6b6b !important; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: #0c0c0e; border: 1px solid rgba(255, 255, 255, .1); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: block; text-align: center; padding: 9px 6px; border-radius: 9px; font-size: 14px; color: var(--gray-2); transition: background .2s ease, color .2s ease; }
.seg input:checked ~ span { background: rgba(255, 255, 255, .12); color: var(--ink); }
.seg input:focus-visible ~ span { box-shadow: 0 0 0 2px #2fc6e0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 4px; }
.form-foot p { margin: 0; font-size: 14px; color: var(--gray); max-width: 380px; }
.send { appearance: none; border: 0; cursor: pointer; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #000; font: 600 16px/1 -apple-system, BlinkMacSystemFont, sans-serif; flex: none; }
.send:hover { background: #fff; }
.form-error { margin: 0; color: #ff8a8a; font-size: 14px; }
.alt { margin: 28px 0 0; color: var(--gray); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
@media (max-width: 640px) {
  .report { grid-template-columns: 1fr; padding: 22px; }
  .seg { grid-template-columns: 1fr 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .send { width: 100%; }
}

/* ---------- Footer ---------- */
.foot { background: #0a0a0c; border-top: 1px solid var(--hair); padding: 28px 0 40px; color: var(--gray); font-size: 12px; line-height: 1.6; }
.foot a { color: var(--gray-2); }
.foot .credits { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.foot .row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot .row span:first-child { flex: 1; min-width: 200px; }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.js [data-reveal="rise"] { transform: translateY(70px) scale(.97); transition-duration: 1.2s, 1.4s; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero [data-reveal]:nth-child(2) { transition-delay: .06s; }
.js .hero [data-reveal]:nth-child(3), .js .hero [data-reveal]:nth-child(4) { transition-delay: .12s; }
.js .hero [data-reveal]:nth-child(5) { transition-delay: .18s; }
.js .hero [data-reveal]:nth-child(6) { transition-delay: .22s; }
.js .lineup[data-reveal] { transition-delay: .3s; }

@media (max-width: 760px) {
  .dev.iphone.land { padding: 7px; }
  .block { padding: 96px 0; }
  .head { margin-bottom: 44px; }
  .hero { padding-top: 72px; }
  .lineup { margin-top: 56px; aspect-ratio: 16 / 10; }
  .lineup .iphone { width: 26%; }
  .lineup .watch { width: 19%; right: 2%; }
  .dev-tabs button { padding: 8px 12px; font-size: 14px; }
  .duo-caption { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .duo-caption, .screens img { transition: none !important; }
}

/* ---------- Privacy policy ---------- */
.policy { padding-bottom: 120px; }
.policy-hero { padding: 120px 0 56px; }
.policy .eyebrow { margin: 0 0 14px; color: #2fc6e0; font: 600 15px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; letter-spacing: .01em; text-transform: none; }
.policy h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.policy .lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--gray-2); margin: 24px 0 0; }
.policy .date { color: var(--gray); font-size: 14px; margin: 18px 0 0; }
.summary { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--hair); padding-top: 28px; }
.summary b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.summary span { color: var(--gray); font-size: 15px; line-height: 1.5; }
.policy h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; margin: 80px 0 18px; }
.policy p { color: var(--gray-2); font-size: 17px; line-height: 1.6; margin: 0 0 16px; }
.policy a { color: var(--link); }
.rows { margin: 24px 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); border-top: 1px solid var(--hair); }
.rows dt, .rows dd { padding: 18px 0; border-bottom: 1px solid var(--hair); margin: 0; }
.rows dt { font-size: 16px; font-weight: 600; color: var(--ink); padding-right: 24px; line-height: 1.4; }
.rows dt small { display: block; font-size: 13px; font-weight: 400; color: var(--gray); margin-top: 3px; }
.rows dd { font-size: 16px; line-height: 1.55; color: var(--gray-2); }
@media (max-width: 680px) {
  .policy-hero { padding: 88px 0 40px; }
  .summary { grid-template-columns: 1fr; gap: 20px; }
  .rows { grid-template-columns: 1fr; }
  .rows dt { border-bottom: 0; padding-bottom: 4px; }
  .rows dd { padding-top: 0; }
}

/* Privacy page: the brand back to the home page, top left. */
.home .top .top-brand { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.home .top .top-brand img { width: 22px; height: 22px; border-radius: 0; object-fit: contain; }
.policy-closing { border-top: 1px solid var(--hair); margin-top: 40px; }
@media (max-width: 700px) {
  .home .top .top-brand span { display: none; }
  .home .top nav { gap: 16px; }
}

/* App Store QR code: only where the visitor is not already on a phone. */
.qr { display: none; margin: 40px auto 0; width: max-content; text-align: center; }
.qr img { display: block; width: 132px; height: 132px; padding: 14px; background: #fff; border-radius: 18px; box-sizing: content-box; }
.qr figcaption { margin-top: 12px; font-size: 13px; color: var(--gray-2); }
@media (min-width: 861px) and (hover: hover) { .qr { display: block; } }
