/* Homepage hero: the Android launch, around the headline. The trailer below is untouched. */

/* announcement pill */
.pill-android { gap: 9px; padding-right: 14px; }
.pill-android .live { width: 8px; height: 8px; border-radius: 50%; background: #3FA34D; box-shadow: 0 0 0 0 rgba(63, 163, 77, .5); animation: ha-live 2s infinite; flex: none; }
.pill-android svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.pill-android .go { display: inline-block; transition: transform .3s var(--ease); color: var(--orange-ink); }
.pill-android:hover .go { transform: translateX(4px); }
@keyframes ha-live { 70% { box-shadow: 0 0 0 9px rgba(63, 163, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 163, 77, 0); } }

/* "Also on" platform row */
.hero-platforms { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
.hero-platforms > span:first-child { margin-right: 2px; }
.hero-platforms a, .hero-platforms .hp-soon { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; backdrop-filter: blur(6px); transition: border-color .2s, transform .3s var(--ease), background .2s; }
.hero-platforms a:hover { border-color: var(--orange-line); background: #fff; transform: translateY(-2px); }
.hero-platforms svg { width: 15px; height: 15px; }
.hero-platforms .hp-new { border-color: var(--orange-line); color: var(--ink); background: linear-gradient(180deg, #fff, #FFF4EC); box-shadow: 0 8px 20px -12px rgba(232, 98, 42, .7); }
.hero-platforms .hp-new svg { color: var(--orange); }
.hero-platforms .hp-new i { font: 700 9.5px/1 var(--mono); font-style: normal; letter-spacing: .06em; color: #fff; background: var(--orange); padding: 3px 5px; border-radius: 5px; }
.hero-platforms .hp-soon { opacity: .65; border-style: dashed; }

/* floating phone, right of the headline */
.hero-phone { position: absolute; z-index: 2; right: max(24px, calc(50% - 760px)); top: clamp(120px, 12vw, 180px); width: 176px; transform: rotate(7deg); animation: ha-bob 7s ease-in-out infinite; transition: filter .3s; display: block; }
.hero-phone:hover { filter: drop-shadow(0 20px 30px rgba(232, 98, 42, .25)); }
.hero-phone .body { border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #2A241D, #14110D); box-shadow: 0 40px 70px -30px rgba(80, 40, 10, .55), inset 0 0 0 1.5px #3A3229; }
.hero-phone .scr { position: relative; border-radius: 24px; overflow: hidden; background: var(--paper); height: 340px; display: flex; flex-direction: column; }
.hero-phone .scr::before { content: ""; position: absolute; top: 9px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #0B0907; z-index: 2; }
.hero-phone .in { flex: 1; padding: 26px 12px 8px; display: flex; flex-direction: column; gap: 8px; }
.hero-phone .tp { font: 600 6.5px var(--sans); letter-spacing: .14em; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; }
.hero-phone .tp b { color: var(--orange-ink); background: var(--orange-soft); border: 1px solid var(--orange-line); border-radius: 4px; padding: 0 4px; font-weight: 600; letter-spacing: .06em; }
.hero-phone .gr { font: 500 17px/1.05 var(--serif); color: var(--ink); }
.hero-phone .gr em { color: var(--orange); }
.hero-phone .sb { height: 26px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; gap: 5px; padding: 0 9px; font-size: 8px; color: var(--ink-3); }
.hero-phone .sb svg { width: 9px; height: 9px; }
.hero-phone .st { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.hero-phone .st i { aspect-ratio: 1; border-radius: 8px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font: 600 9px var(--serif); font-style: normal; }
.hero-phone .nw { border-radius: 10px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.hero-phone .body, .hero-phone .gr, .hero-phone .nw, .hero-phone .t, .hero-phone .nw .img, .hero-phone .nw .cap { display: block; }
.hero-phone .nw .img { height: 50px; background: linear-gradient(135deg, #2A3B4A, #6E8CA0 45%, #F2A65A 46%, #E8622A); }
.hero-phone .nw .cap { margin: 0; padding: 5px 7px 6px; font: 500 7.5px/1.25 var(--serif); color: var(--ink); }
.hero-phone .hx { border-radius: 10px; padding: 7px 8px; background: var(--night); color: var(--on-night-2); font-size: 7px; display: grid; gap: 4px; }
.hero-phone .hx b { color: var(--on-night); font-size: 7.5px; display: flex; align-items: center; gap: 4px; }
.hero-phone .hx b svg { width: 8px; height: 8px; color: var(--saffron); }
.hero-phone .hx span { display: block; height: 3px; border-radius: 3px; background: #2E2820; overflow: hidden; }
.hero-phone .hx span::after { content: ""; display: block; height: 100%; width: 60%; background: linear-gradient(90deg, var(--orange), var(--saffron)); animation: ha-grow 3.4s var(--ease) infinite; }
.hero-phone .bar { margin: 0 7px 9px; display: flex; align-items: center; gap: 4px; }
.hero-phone .bar .p { flex: 1; height: 24px; border-radius: 999px; background: var(--paper-2); display: flex; align-items: center; padding: 0 4px 0 8px; font-size: 7px; color: var(--ink-3); }
.hero-phone .bar .p i { margin-left: auto; width: 15px; height: 15px; border-radius: 5px; background: linear-gradient(150deg, #D97757, #B4461A); }
.hero-phone .bar .t { width: 14px; height: 14px; border-radius: 4px; border: 1.4px solid var(--ink); font: 700 7px/11px var(--sans); text-align: center; color: var(--ink); }
.hero-phone .tag { position: absolute; z-index: 3; left: -158px; top: 214px; transform: rotate(-7deg); display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-pop); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.hero-phone .tag b { color: var(--ink); display: block; font-size: 13px; }
.hero-phone .tag > span:last-child { display: block; line-height: 1.35; }
.hero-phone .tag .ic { width: 28px; height: 28px; border-radius: 9px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; }
.hero-phone .tag .ic svg { width: 15px; height: 15px; }
@keyframes ha-bob { 0%, 100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-12px); } }
@keyframes ha-grow { from { width: 8%; } 70%, to { width: 88%; } }

/* the desktop news, on the left, so it isn't lost */
.hero-news { position: absolute; z-index: 2; left: max(24px, calc(50% - 760px)); top: clamp(200px, 18vw, 260px); width: 220px; display: block; border-radius: 18px; background: rgba(253, 252, 250, .82); border: 1px solid var(--line); box-shadow: var(--shadow-pop); padding: 14px 16px; backdrop-filter: blur(8px); transform: rotate(-4deg); animation: ha-bob2 8s ease-in-out infinite; transition: border-color .2s; }
.hero-news:hover { border-color: var(--orange-line); }
.hero-news .k { font: 600 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); display: flex; align-items: center; gap: 6px; }
.hero-news .k svg { width: 11px; height: 11px; color: var(--orange); }
.hero-news b { display: block; font: 500 19px/1.15 var(--serif); color: var(--ink); margin: 6px 0 4px; }
.hero-news > span { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; display: block; }
.hero-news .more { color: var(--orange-ink); font-weight: 600; margin-top: 6px; }
@keyframes ha-bob2 { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-9px); } }

/* entrance */
.js .hero-phone, .js .hero-news { opacity: 0; }
.js .hero-phone.in-view, .js .hero-news.in-view { opacity: 1; transition: opacity .9s var(--ease) .2s, filter .3s; }

/* only where there's room beside the headline */
@media (max-width: 1480px) { .hero-news, .hero-phone { display: none; } }
@media (max-width: 560px) {
  .hero-platforms { gap: 6px; font-size: 12.5px; }
  .hero-platforms a, .hero-platforms .hp-soon { height: 32px; padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-phone, .hero-news, .pill-android .live, .hero-phone .hx span::after { animation: none !important; }
}
