/* Get MeterX: the stores sit on the logo's dial and the needle points at the visitor's browser. */

/* Desktop: the dial stays pinned on the left while the stores stack on the right. */
/* Top: the dial beside the heading and the stores you can install today. */
.get-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; padding: 48px var(--m) 0; align-items: center; }
.get-side { display: grid; gap: 56px; }
.get-side h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 16px; }
.get-side .small { margin: -8px 0 16px; }
.get-intro { display: grid; gap: 16px; justify-items: start; }
.get-intro h1 { font-size: var(--t-h1); }
@media (max-width: 960px) {
  .get-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
}

.get-hero { position: relative; display: grid; place-items: center; width: min(430px, 100%); aspect-ratio: 1; margin: 0 auto; }
.dial { position: absolute; inset: 0; }
.dial-arc { position: absolute; inset: 4%; width: 92%; height: 92%; }
.dial-arc path { fill: none; stroke: var(--control); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 0.6 2.4; animation: dial-flow 6s linear infinite; }
@keyframes dial-flow { to { stroke-dashoffset: -30; } }
.dial-mark { position: relative; }
.dial-mark img { width: 80px; height: 80px; }

.needle { position: absolute; left: 50%; top: 50%; width: 0; height: 40%; transform-origin: 50% 0; transform: rotate(var(--a, 180deg)); transition: transform 1.1s cubic-bezier(.2, 1.4, .4, 1); }
/* Only the outer part of the needle is drawn, so it points at the store without crossing the words in the middle. */
.needle::before { content: ""; position: absolute; left: -1.5px; top: 62%; width: 3px; height: 26%; border-radius: 2px; background: var(--data); }
.needle::after { content: ""; position: absolute; left: -5px; top: calc(62% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--data); }
@media (prefers-reduced-motion: reduce) { .needle { transition: none; } .dial-arc path { animation: none; } }

.stop { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); transition: transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.stop:hover { transform: scale(1.08); }
.stop .logo { width: 28px; height: 28px; background: var(--muted); opacity: .45; }
.stop.live .logo { background: var(--c); opacity: 1; }
.stop.mine { box-shadow: 0 0 0 2px var(--data), 0 12px 32px -12px var(--data); transform: scale(1.12); }

.logo { display: block; flex: none; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; background: var(--c); }

@media (max-width: 560px) {
  .stop { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 12px; }
  .stop .logo { width: 22px; height: 22px; }
  .dial-mark img { width: 56px; height: 56px; }
}

/* Store cards */
.stores { display: grid; gap: 10px; }
/* Coming next: full width again, in a grid. */
.stores.grid { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.store { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.store .logo { width: 36px; height: 36px; }
.store > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.store p { font-size: var(--t-small); color: var(--muted); }
.store.mine { box-shadow: 0 0 0 2px var(--data); }
.stores.soon .logo { background: var(--muted); opacity: .6; }
.stores.soon .pill { justify-self: start; margin-top: 6px; white-space: normal; height: auto; padding: 3px 10px; }
