/* An account without integrations: the run hero, then what to start from. Tiles rise in once; on hover the line
   between a tile's two logos flows. */

.start { display: grid; gap: 14px; }

/* ---------- What to start from ---------- */
.start-head { margin: 12px 2px 0; }
.start-head h3 { color: var(--ink); font-size: var(--fs-xl); font-weight: 600; letter-spacing: var(--tr-snug); }
.start-head p { margin: 2px 0 0; color: var(--ink-3); font-size: var(--fs-s); }

.start-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.tile.start-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; animation: start-rise .5s var(--ease) backwards; }
.start-tile:nth-child(2) { animation-delay: 60ms; }
.start-tile:nth-child(3) { animation-delay: 120ms; }
.start-tile:nth-child(4) { animation-delay: 180ms; }
.start-tile:nth-child(5) { animation-delay: 240ms; }
.start-tile:nth-child(6) { animation-delay: 300ms; }
a.start-tile:focus-visible { border-radius: var(--r-2xl); outline: 2px solid var(--brand-text); outline-offset: 2px; }
@keyframes start-rise {
  from { opacity: 0; transform: translateY(12px); }
}

.start-pair { display: flex; align-items: center; width: 100%; }
a.start-tile .start-pair { padding-right: 26px; }
.start-pair .brandmark { width: 96px; height: 40px; }
.start-tile .tile-go { top: 31px; right: 18px; }
.start-link { position: relative; display: grid; place-items: center; flex: 1; min-width: 34px; height: 24px; }
.start-link::before, .start-flow { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; }
.start-link::before { background: var(--line-strong); }
.start-flow { overflow: hidden; opacity: 0; transition: opacity .2s ease; }
.start-flow::before, .start-flow.both::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; background: linear-gradient(90deg, transparent, var(--brand-text), transparent); transform: translateX(-100%); }
.start-link .dir-arrow { position: relative; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); }
.start-name { color: var(--ink); font-size: var(--fs-l); font-weight: 600; line-height: 1.3; letter-spacing: var(--tr-snug); text-wrap: balance; }
.start-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.start-chips .chip { max-width: 100%; padding: 3px 10px; font-size: var(--fs-xs); white-space: normal; }
.start-chips .chip svg { flex: none; width: 13px; height: 13px; }

@keyframes start-flow { to { transform: translateX(170%); } }
@keyframes start-flow-back { from { transform: translateX(170%); } to { transform: translateX(-100%); } }
@media (hover: hover) and (pointer: fine) {
  a.start-tile:hover .start-flow { opacity: 1; }
  a.start-tile:hover .start-flow::before { animation: start-flow 1.3s linear infinite; }
  a.start-tile:hover .start-flow.both::after { animation: start-flow-back 1.3s linear infinite; }
}
a.start-tile:focus-visible .start-flow { opacity: 1; }
a.start-tile:focus-visible .start-flow::before { animation: start-flow 1.3s linear infinite; }
a.start-tile:focus-visible .start-flow.both::after { animation: start-flow-back 1.3s linear infinite; }

/* ---------- Anything else ---------- */
.tile.start-else { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 16px 20px; }
.start-else > div:first-child { flex: 1 1 320px; min-width: 0; }
.start-else b { display: block; color: var(--ink); font-size: var(--fs-m); font-weight: 600; }
.start-else > div:first-child span { display: block; color: var(--ink-3); font-size: var(--fs-s); }
.start-else-do { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 480px) {
  .start-else-do .btn { flex: 1 1 100%; }
}
